Html Encoding Label (fieldset legend)

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

Html Encoding Label (fieldset legend)

klemm
 
I'm trying to include a span inside a fieldset legend but orbeon is encoding the html.  I need to do this due to many issue with styling legends.
 
Can html encoding be disabled or overridden?
 
Thanks,
Daniel


--
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: Html Encoding Label (fieldset legend)

Erik Bruchez
Administrator
Daniel,

Are you using appearance="xxforms:fieldset"?

Right now, the legend content is output as XML characters (so escaped):

https://github.com/orbeon/orbeon-forms/blob/master/src/java/org/orbeon/oxf/xforms/processor/handlers/XFormsGroupFieldsetHandler.java#L70

The Java code (and possibly JavaScript for Ajax updates) would have to
be modified to handle this I think.

What if you try instead a plain fieldset/legend:

<xhtml:legend><xhtml:span><xforms:output .../></xhtml:span></xhtml:legend>

-Erik

On Tue, Jul 12, 2011 at 1:43 AM, Daniel R. Klemm <[hidden email]> wrote:

>
> I'm trying to include a span inside a fieldset legend but orbeon is encoding
> the html.  I need to do this due to many issue with styling legends.
>
> Can html encoding be disabled or overridden?
>
> Thanks,
> Daniel
>
> --
> 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