Orbeon Xforms Dyanamic Questions..

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

Orbeon Xforms Dyanamic Questions..

hrajaram
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon Xforms Dyanamic Questions..

Erik Bruchez
Administrator
In general, with Orbeon Forms, yes, you can generated anything as
dynamically as you want.

BUT the XForms engine prefers stuff that can be cached, for
performance reasons. That is, it's better if by "dynamically", you
generate only a small number of things. For example, if at each page
request, the XForms document is different, performance will suffer. On
the other hand, if there is only a small number of distinct XForms
documents, then caching can take place.

-Erik

On Tue, Jun 5, 2012 at 8:43 AM, hrajaram <[hidden email]> wrote:

> I wanted to confirm if we can
> 1)Dyanamically generate model.
> 2)Dyanamically create controls.
> 3)Dyanimically create validations.
> 4)Conditonally tweaking the model.
>
> Appreciate your reply..
>
> Hari
>
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Orbeon-Xforms-Dyanamic-Questions-tp4655196.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
>


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon Xforms Dyanamic Questions..

hrajaram
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon Xforms Dyanamic Questions..

hrajaram
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Orbeon Xforms Dyanamic Questions..

Erik Bruchez
Administrator
Hari,

Yes, a page flow model can output a complete form on its "data"
output. You can use your own processor for that, or XSLT, or a
combination.

-Erik

On Tue, Jun 26, 2012 at 11:23 AM, hrajaram <[hidden email]> wrote:

> Erik,
> How do we generate xforms:bind on the fly in the model along with the
> instance?
> Will the xpl do the trick if I have model="blah.xpl" in page-flow,xml and
> assuming I have my own custom processor which returns me the total xml
> inlcuding the bind
> i.e
> <page path-info="/dc/get" model="dc.xpl"/>
> and I call dc/get on xforms ready..
>
>
> I will try to give an e.g and c if it makes sense. Let us say @ the end of
> the data my model should  look like this with the bind.note just fyi ..the
> bind always changes depending on the requirement so I can't have it in my
> xhtml,,,
>
> <xforms:model id="main-model">
>            <xforms:instance id="main">
>             <test>
>               <name>hari</name>
>             </test>
>            </xforms:instance>
> <xforms:bind nodeset="instance/name" required="true()" type="xs:string"
> id="nameBindId"/>
> </xforms:model>
>
> Appreciate your reply.
>
> Hari
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Orbeon-Xforms-Dyanamic-Questions-tp4655196p4655354.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
>


--
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