Custom component renderer

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Custom component renderer

JigarJoshi
Hi,

I need to redefine the HTML of the component,

For example in my form I have a text box and I have three version of text box

one for ipad/phone
one for normal browser
one for wap version

Now depending on request I need to choose one

So the question is

With Orbeon forms , can I achieve such customization of components and conditionally rendering ?

I may need to use some jQuery components too, if yes any sample/tutorial would be really helpful

Thanks!
Jigar
Reply | Threaded
Open this post in threaded view
|

Re: Custom component renderer

Alessandro  Vernet
Administrator
Hi Jigar,

HTML generation for the basic XForms components (not XBL components)
is done in Java/Scala, so it isn't super-easy to change. So ideally,
you wouldn't need to change the HTML that gets generated. We've been
doing some experiments with jQuery Mobile, which can "mobilify" the
form controls generated by Orbeon Forms. Would using jQuery Mobile be
an option in your case?

Alex

On Wed, Mar 21, 2012 at 3:56 AM, JigarJoshi <[hidden email]> wrote:

> Hi,
>
> I need to redefine the HTML of the component,
>
> For example in my form I have a text box and I have three version of text
> box
>
> one for ipad/phone
> one for normal browser
> one for wap version
>
> Now depending on request I need to choose one
>
> So the question is
>
> With Orbeon forms , can I achieve such customization of components and
> conditionally rendering ?
>
> I may need to use some jQuery components too, if yes any sample/tutorial
> would be really helpful
>
> Thanks!
> Jigar
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Custom-component-renderer-tp4491911p4491911.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Custom component renderer

JigarJoshi
Hi Alex,

Thanks for your reply,
Yes I was looking to set jQueryMobile only.

Could you pleas give me some reference to implementation/example about the thing you mentioned

Thanks!
Jigar

On Fri, Mar 23, 2012 at 4:04 AM, Alessandro Vernet [via Orbeon Forms (ops-users)] <[hidden email]> wrote:
Hi Jigar,

HTML generation for the basic XForms components (not XBL components)
is done in Java/Scala, so it isn't super-easy to change. So ideally,
you wouldn't need to change the HTML that gets generated. We've been
doing some experiments with jQuery Mobile, which can "mobilify" the
form controls generated by Orbeon Forms. Would using jQuery Mobile be
an option in your case?

Alex

On Wed, Mar 21, 2012 at 3:56 AM, JigarJoshi <[hidden email]> wrote:

> Hi,
>
> I need to redefine the HTML of the component,
>
> For example in my form I have a text box and I have three version of text
> box
>
> one for ipad/phone
> one for normal browser
> one for wap version
>
> Now depending on request I need to choose one
>
> So the question is
>
> With Orbeon forms , can I achieve such customization of components and
> conditionally rendering ?
>
> I may need to use some jQuery components too, if yes any sample/tutorial
> would be really helpful
>
> Thanks!
> Jigar
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Custom-component-renderer-tp4491911p4491911.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws



If you reply to this email, your message will be added to the discussion below:
http://orbeon-forms-ops-users.24843.n4.nabble.com/Custom-component-renderer-tp4491911p4497178.html
To unsubscribe from Custom component renderer, click here.
NAML



--
--Jigar
 

Reply | Threaded
Open this post in threaded view
|

Re: Re: Custom component renderer

JigarJoshi
Hi Alex,

Could you please provide me some information regarding custom jQuery based component rendering ?

Thanks!
Jigar

On Fri, Mar 23, 2012 at 9:41 AM, JigarJoshi <[hidden email]> wrote:
Hi Alex,

Thanks for your reply,
Yes I was looking to set jQueryMobile only.

Could you pleas give me some reference to implementation/example about the thing you mentioned

Thanks!
Jigar

On Fri, Mar 23, 2012 at 4:04 AM, Alessandro Vernet [via Orbeon Forms (ops-users)] <[hidden email]> wrote:
Hi Jigar,

HTML generation for the basic XForms components (not XBL components)
is done in Java/Scala, so it isn't super-easy to change. So ideally,
you wouldn't need to change the HTML that gets generated. We've been
doing some experiments with jQuery Mobile, which can "mobilify" the
form controls generated by Orbeon Forms. Would using jQuery Mobile be
an option in your case?

Alex

On Wed, Mar 21, 2012 at 3:56 AM, JigarJoshi <[hidden email]> wrote:

> Hi,
>
> I need to redefine the HTML of the component,
>
> For example in my form I have a text box and I have three version of text
> box
>
> one for ipad/phone
> one for normal browser
> one for wap version
>
> Now depending on request I need to choose one
>
> So the question is
>
> With Orbeon forms , can I achieve such customization of components and
> conditionally rendering ?
>
> I may need to use some jQuery components too, if yes any sample/tutorial
> would be really helpful
>
> Thanks!
> Jigar
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Custom-component-renderer-tp4491911p4491911.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws



If you reply to this email, your message will be added to the discussion below:
http://orbeon-forms-ops-users.24843.n4.nabble.com/Custom-component-renderer-tp4491911p4497178.html
To unsubscribe from Custom component renderer, click here.
NAML



--
--Jigar
 



View this message in context: Re: Custom component renderer

Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
--Jigar
 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws