Leigh L Klotz, Jr. wrote:
> I note that the example in the recent nightly of 16-Jan-2007, HTML markup
> inside input/label is rendered as literal text, whereas HTML markup inside
> trigger/label is presented.
>
> I searched for existing examples in the nightly and found only uses of
> trigger/label (for example dynamic-image-trigger.xhtml).
>
> Is it just a bug that input/label doesn't support markup? Is there a way
> I can fix it?
This is probably just a missing feature ;-)
Initially we did not support XHTML at all within labels, and
progressively we added support to xforms:output/@mediatype="text/html",
xforms:trigger/xforms:label, etc. But it looks like these changes may
not have made it everywhere yet.
It shouldn't be *too* hard to fix. One aspect is to make it so that the
control handlers use the right helper code to output the initial value
as XHTML instead as plain text as outputLabelHintHelpAlert() does now.
We also may have to modify xforms.js to handle the HTML as HTML.
I entered an RFE:
http://forge.objectweb.org/tracker/index.php?func=detail&aid=306579&group_id=168&atid=350207Thanks for the test case!
-Erik
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.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
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws