Positioning XForms model out of HTML head

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

Positioning XForms model out of HTML head

tijana.momirov


Hi!


Is it possible to position XForms model into HTML body  instead of the
head element? The reason I need this is to avoid processing the whole
page by Orbeon, but instead putting the XForm into only one Tile attribute.


Thank you!

Regards,
Tijana



--
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: Positioning XForms model out of HTML head

Louis Ratzesberger-2

Hi Tijana,

You can place the model in either the <head> or <body> elements:

http://www.orbeon.com/orbeon/doc/reference-xforms-extensions#controls-models-placement

Cheers,
Hank

Quoting Tijana Momirov <[hidden email]>:

>
>
> Hi!
>
>
> Is it possible to position XForms model into HTML body  instead of  
> the head element? The reason I need this is to avoid processing the  
> whole page by Orbeon, but instead putting the XForm into only one  
> Tile attribute.
>
>
> Thank you!
>
> Regards,
> Tijana
>
>


--
Hank Ratzesberger
[hidden email]



--
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: Positioning XForms model out of HTML head

Alessandro  Vernet
Administrator
In reply to this post by tijana.momirov
Tijana, Hank,

Right now, you can have a model inside the body, but only if this is
in addition to a model in the head. The XForms engine supports models
anywhere, but the pipeline that decides whether to run the XForms
engine only does so if it finds at least a model in the head. You can
easily relax this test by changing ops/pfc/xforms-epilogue.xpl (in an
Orbeon jar, which you can override by placing that file in your own
resources). Look for the <p:when
test="/xhtml:html/xhtml:head/xforms:model">, and replace this test by,
say, //xforms:model.

Alex

On Fri, Jul 2, 2010 at 8:22 AM, Tijana Momirov
<[hidden email]> wrote:

>
>
> Hi!
>
>
> Is it possible to position XForms model into HTML body  instead of the head
> element? The reason I need this is to avoid processing the whole page by
> Orbeon, but instead putting the XForm into only one Tile attribute.
>
>
> Thank you!
>
> Regards,
> Tijana
>
>
>
> --
> 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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/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