bug: blank trigger label in repeat displayed as $xforms-template-label$

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

bug: blank trigger label in repeat displayed as $xforms-template-label$

Adrian Baker
If I have a trigger with an empty label (common if just an image is to be displayed) then the cloned repeat instances don't get their label cleared but are incorrectly left as $xforms-template-label$. This worked a month or two ago.

Sample attached.


--
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

sampleRepeatForm.xhtml (172K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: bug: blank trigger label in repeat displayed as $xforms-template-label$

Alessandro Vernet
Administrator
Adrian,

On 10/8/07, Adrian Baker <[hidden email]> wrote:
>  If I have a trigger with an empty label (common if just an image is to be
> displayed) then the cloned repeat instances don't get their label cleared
> but are incorrectly left as $xforms-template-label$. This worked a month or
> two ago.

Yes, this is one of the issues we need to fix before the release. You
can find the corresponding bug here:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=307579&group_id=168&atid=350207

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: bug: blank trigger label in repeat displayed as $xforms-template-label$

Adrian Baker
Thanks Alex. A workaround is to put a space character in the label, eg

  <xf:label> <xf:label>

Which means the label is cleared, but the display is unaffected.

Note if your label is coming from XSLT you may need

  <xf:label><xsl:text> </xsl:text></xf:label>

Adrian

Alessandro Vernet wrote:
Adrian,

On 10/8/07, Adrian Baker [hidden email] wrote:
  
 If I have a trigger with an empty label (common if just an image is to be
displayed) then the cloned repeat instances don't get their label cleared
but are incorrectly left as $xforms-template-label$. This worked a month or
two ago.
    

Yes, this is one of the issues we need to fix before the release. You
can find the corresponding bug here:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=307579&group_id=168&atid=350207

Alex
  


--
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: bug: blank trigger label in repeat displayed as $xforms-template-label$

Adrian Baker-3
In reply to this post by Alessandro Vernet
This bug still exists in 3.7.1, I think it's different to the one you've referenced.

Alessandro Vernet wrote
Adrian,

On 10/8/07, Adrian Baker <adrian.baker@orionhealth.com> wrote:
>  If I have a trigger with an empty label (common if just an image is to be
> displayed) then the cloned repeat instances don't get their label cleared
> but are incorrectly left as $xforms-template-label$. This worked a month or
> two ago.

Yes, this is one of the issues we need to fix before the release. You
can find the corresponding bug here:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=307579&group_id=168&atid=350207

Alex
Reply | Threaded
Open this post in threaded view
|

Re: bug: blank trigger label in repeat displayed as $xforms-template-label$

Alessandro Vernet
Administrator
Adrian,

Adrian Baker wrote
This bug still exists in 3.7.1, I think it's different to the one you've referenced.
Indeed. I created a bug for this:

http://forge.ow2.org/tracker/index.php?func=detail&aid=314046&group_id=168&atid=350207

Alex
Reply | Threaded
Open this post in threaded view
|

Re: bug: blank trigger label in repeat displayed as $xforms-template-label$

Alessandro Vernet
Administrator
Adrian,

Alessandro Vernet wrote
It is now fixed, and will be in the next nightly build. You'll let us know if this works for you.

Alex