how to use xhtml with xforms:help when help uses reference to element

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

how to use xhtml with xforms:help when help uses reference to element

Mauno
Hi, I'm having difficulties setting xhtml content to xforms:help when help uses binding to node.

Xhtml content works if I do help like this:
<xforms:help>
   <div>ok</div>
</xforms:help>

But it doesn't work if I do it like this:
<forms:help ref="instance('instructions')/sendButton"/>

I have tried it with escaped xhtml:
<sendButton>
<div>ok</div>
</sendButton>

With xforms:output I can set mediatype-attribute but it doesn't seem to work with xforms:help.
Reply | Threaded
Open this post in threaded view
|

Re: how to use xhtml with xforms:help when help uses reference to element

fl.schmitt
Hi Mauno,

> Hi, I'm having difficulties setting xhtml content to xforms:help when help
> uses binding to node. (...)
 >
> With xforms:output I can set mediatype-attribute but it doesn't seem to work
> with xforms:help.

You can nest an xforms:output element with mediatype attribute inside an
xforms:help. There's an example in the documentation:

http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-label-alert-help-hint

HTH
florian






--
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: how to use xhtml with xforms:help when help uses reference to element

Mauno
Thanks! Somehow my eyes skipped that part in documentation :)

fs(gmx) wrote
Hi Mauno,

> Hi, I'm having difficulties setting xhtml content to xforms:help when help
> uses binding to node. (...)
 >
> With xforms:output I can set mediatype-attribute but it doesn't seem to work
> with xforms:help.

You can nest an xforms:output element with mediatype attribute inside an
xforms:help. There's an example in the documentation:

http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-label-alert-help-hint

HTH
florian






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