filling a label dynamic with xforms:repeat

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

filling a label dynamic with xforms:repeat

hospbene
Is it possible to let a trigger's label, fill in dynamically?

I try to do something like that:
<xhtml:table>
<xforms:trigger>
  <xforms:label>
    <xhtml:tr>
      <xforms:repeat>
             <xhtml:td>         
                <xforms:output/>
              <xhtml:td>
       </xforms:repeat>
    </xhtml:tr>
  </xforms:label>
<xforms:action>
...
...
</xforms:action>
</xforms:table>


But when i do it like that, there is no output in the label.
Can't I put a repeat-section into a label?

When I am setting the the trigger into a second td (after the repeat) with its own label(an image), it works fine. But I wanna be able to click the whole row, not only one icon!

Is this possible?

thanks for you answers.

bene
Reply | Threaded
Open this post in threaded view
|

Re: filling a label dynamic with xforms:repeat

hospbene
when i am using appearance="full" instead of apperance="minimal" there are some outputs.

it is not the text of the items in the repeat section, but there are buttons instead.
Buttons with no label or something. But i can click them and the trigger catches the event right!

Is a little bit confusing. do I have to change some style attributes or content-type for the label of the trigger?

thanks in adavance

bene
Reply | Threaded
Open this post in threaded view
|

Re: Re: filling a label dynamic with xforms:repeat

Erik Bruchez
Administrator
You can't put an XForms control (including xforms:trigger) or
xforms:label between an xhtml:table and an xhtml:tr element. The only
XForms elements we support there are repeat and group.

Could you precise what you are trying to do?

-Erik

On Wed, Sep 29, 2010 at 5:25 AM, hospbene
<[hidden email]> wrote:

>
> when i am using appearance="full" instead of apperance="minimal" there are
> some outputs.
>
> it is not the text of the items in the repeat section, but there are buttons
> instead.
> Buttons with no label or something. But i can click them and the trigger
> catches the event right!
>
> Is a little bit confusing. do I have to change some style attributes or
> content-type for the label of the trigger?
>
> thanks in adavance
>
> bene
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/filling-a-label-dynamic-with-xforms-repeat-tp2718851p2718883.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
>
>


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