toggle within item of select1

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

toggle within item of select1

PaulZH
XForms snippet working in Mozilla but not in Orbeon Forms

<f:select1 ref="instance('navigate')">
        <f:label>Edit </f:label>
                <f:item>
                        <f:label>A</f:label>
                        <f:value>A</f:value>
                        <f:toggle case="C1" ev:event="xforms-select"/>
                </f:item>
....
</f:select>


Cases are not toggled if there is an item selected in the select1.

Paul






--
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: toggle within item of select1

Erik Bruchez
Administrator
Hi Paul,

This is probably related to this bug:

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

-Erik

[hidden email] wrote:

> XForms snippet working in Mozilla but not in Orbeon Forms
>
> <f:select1 ref="instance('navigate')">
> <f:label>Edit </f:label>
> <f:item>
> <f:label>A</f:label>
> <f:value>A</f:value>
> <f:toggle case="C1" ev:event="xforms-select"/>
>                 </f:item>
> ....
> </f:select>
>
>
> Cases are not toggled if there is an item selected in the select1.
>
> Paul
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: toggle within item of select1

Alessandro Vernet
Administrator
In reply to this post by PaulZH
Paul,

As a workaround, you can use the event xforms-value-changed. For most
of the select/select1 controls, as soon as the user selects a value,
the value is comited to the instance, and so you will receive the
xforms-value-changed event.

Alex

On 4/17/07, [hidden email] <[hidden email]> wrote:

> XForms snippet working in Mozilla but not in Orbeon Forms
>
> <f:select1 ref="instance('navigate')">
>         <f:label>Edit </f:label>
>                 <f:item>
>                         <f:label>A</f:label>
>                         <f:value>A</f:value>
>                         <f:toggle case="C1" ev:event="xforms-select"/>
>                 </f:item>
> ....
> </f:select>
>
>
> Cases are not toggled if there is an item selected in the select1.
>
> Paul
>
>
>
>
>
>
> --
> 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
>
>

--
Orbeon Forms - Web 2.0 Forms 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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws