Strange bihaviour with xf:repeat, xf:label and xf:output

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

Strange bihaviour with xf:repeat, xf:label and xf:output

Florent Georges
  Hi

  I'm running an SVN build (from 2006-08-18).  In an XHTML
view file, I have an instance like this (actually, it is a
piece of the instance, and the piece of XHTML below is in a
xf:repeat, but the context is the same):

    <email type="work">[hidden email]</email>
    <email type="home">[hidden email]</email>

and the following piece of XHTML (within the appropriate
xf:repeat):

    <xf:repeat nodeset="email">
      <h:p>
        <xf:input ref=".">
          <xf:label>Email (<xf:output ref="@type"/>):</xf:label>
          <xf:hint>An email</xf:hint>
        </xf:input>
      </h:p>
    </xf:repeat>

  I'd expect to have the following output (labels on the
left, fields on the right):

    Email (work):                   [hidden email]
    Email (home):                   [hidden email]

but I get:

    Email ([hidden email]):       [hidden email]
    Email ([hidden email]):           [hidden email]

  Is it the expected behaviour?

  Regards,

--drkm























       
 p4.vert.ukl.yahoo.com uncompressed/chunked Thu Aug 24 22:13:38 GMT 2006
       
               
___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.
http://fr.answers.yahoo.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
Reply | Threaded
Open this post in threaded view
|

Re: Strange bihaviour with xf:repeat, xf:label and xf:output

Erik Bruchez
Administrator
Florent,

That was a bug. Support for xforms:output within xforms:label and the
likes is fairly new.

That's now fixed :-)

-Erik

Florent Georges wrote:

>   Hi
>
>   I'm running an SVN build (from 2006-08-18).  In an XHTML
> view file, I have an instance like this (actually, it is a
> piece of the instance, and the piece of XHTML below is in a
> xf:repeat, but the context is the same):
>
>     <email type="work">[hidden email]</email>
>     <email type="home">[hidden email]</email>
>
> and the following piece of XHTML (within the appropriate
> xf:repeat):
>
>     <xf:repeat nodeset="email">
>       <h:p>
>         <xf:input ref=".">
>           <xf:label>Email (<xf:output ref="@type"/>):</xf:label>
>           <xf:hint>An email</xf:hint>
>         </xf:input>
>       </h:p>
>     </xf:repeat>
>
>   I'd expect to have the following output (labels on the
> left, fields on the right):
>
>     Email (work):                   [hidden email]
>     Email (home):                   [hidden email]
>
> but I get:
>
>     Email ([hidden email]):       [hidden email]
>     Email ([hidden email]):           [hidden email]
>
>   Is it the expected behaviour?
>
>   Regards,
>
> --drkm
--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Strange bihaviour with xf:repeat, xf:label and xf:output

Florent Georges
Erik Bruchez wrote:

> Florent Georges wrote:

> >   I'm running an SVN build (from 2006-08-18).

> That was a bug.

> That's now fixed :-)

  Thanks for the fast support ;-).  BTW, thanks to you all guys for
OPS!

  Regards,

--drkm





















       
 p5.vert.ukl.yahoo.com uncompressed/chunked Thu Aug 24 11:13:42 GMT 2006
       
               
___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.
http://fr.answers.yahoo.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