Hint displayed in plain html when using (x)html tags

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

Hint displayed in plain html when using (x)html tags

stessy
Hi,

I'm experiencing a problem when trying to use (x)html  tags inside help and hint.

Here is the xhtml file:

CP-FP-INFSO-A1.xhtml

If I use plain text like: <xforms:hint>TEST</xforms:hint>, it works.

But when I try to use the following code:

<xforms:hint>
        <xhtml:div>
                <xhtml:p>The short title or acronym will be used to identify your proposal efficiently in this call. It should be of no more than 20 characters (use standard Latin alphabet and numbers only; no spaces, symbols or special characters please).</xhtml:p>
                <xhtml:p>The same acronym should appear on each page of part B of your proposal.</xhtml:p>
        </xhtml:div>
</xforms:hint>

The hint is displayed in plain html text near the input field.

Same behavior, when using external resource like this:

<xforms:hint>
                <xforms:output mediatype="text/html" value="xxforms:serialize(instance('resources')/hint/prop_acrnm/*,'html')"/>                                                                                                               
</xforms:hint>


hint displayed in plain html

Now when I try to use (x)html in help, here is what the help box displays:

<div xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:widget="http://orbeon.org/oxf/xml/widget" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:ev="http://www.w3.org/2001/xml-events"> <p>The short title or acronym will be used to identify your proposal efficiently in this call. It should be of no more than 20 characters (use standard Latin alphabet and numbers only; no spaces, symbols or special characters please). </p> <p>The same acronym should appear on each page of part B of your proposal.</p> </div>

Is someone has advices, they are welcome. :-)

Thanks a lot for your help.

Stessy
Reply | Threaded
Open this post in threaded view
|

Re: Hint displayed in plain html when using (x)html tags

stessy
Hi ,

I forgot to mention that I'm using the release: Orbeon Forms dev-3.7.1.200905272119
I'm not using the nightly build release as someone reported some problem with the LHHA.

Stessy

Stessy wrote
Hi,

I'm experiencing a problem when trying to use (x)html  tags inside help and hint.

Here is the xhtml file:

CP-FP-INFSO-A1.xhtml

If I use plain text like: <xforms:hint>TEST</xforms:hint>, it works.

But when I try to use the following code:

<xforms:hint>
        <xhtml:div>
                <xhtml:p>The short title or acronym will be used to identify your proposal efficiently in this call. It should be of no more than 20 characters (use standard Latin alphabet and numbers only; no spaces, symbols or special characters please).</xhtml:p>
                <xhtml:p>The same acronym should appear on each page of part B of your proposal.</xhtml:p>
        </xhtml:div>
</xforms:hint>

The hint is displayed in plain html text near the input field.

Same behavior, when using external resource like this:

<xforms:hint>
                <xforms:output mediatype="text/html" value="xxforms:serialize(instance('resources')/hint/prop_acrnm/*,'html')"/>                                                                                                               
</xforms:hint>


hint displayed in plain html

Now when I try to use (x)html in help, here is what the help box displays:

<div xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:widget="http://orbeon.org/oxf/xml/widget" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:ev="http://www.w3.org/2001/xml-events"> <p>The short title or acronym will be used to identify your proposal efficiently in this call. It should be of no more than 20 characters (use standard Latin alphabet and numbers only; no spaces, symbols or special characters please). </p> <p>The same acronym should appear on each page of part B of your proposal.</p> </div>

Is someone has advices, they are welcome. :-)

Thanks a lot for your help.

Stessy