Need help !

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

Need help !

Wang Yan
Hi, someone could tell me how can I add some sub-menus links under a switch trigged by a main link ?

For example :

<xforms:switch>
    <xforms:case id="delete">
        <xforms:trigger appearance="xxforms:link">
            <xforms:label>Management1</xforms:label>
            <xforms:toggle case="confirm" ev:event="DOMActivate"/>
        </xforms:trigger>
    </xforms:case>
    <xforms:case id="confirm">
        <xforms:trigger appearance="xxforms:link">
            <xforms:label>Management2</xforms:label>
             !!!
             <li><a href > link1 </a></li>
             <li><a href > link2 </a></li>
             ....

            <xforms:toggle case="delete" ev:event="DOMActivate"/>
        </xforms:trigger>
    </xforms:case>
</xforms:switch>
--------------------------------------------------------------

thank you !



--
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: Need help !

Erik Bruchez
Administrator
I am not sure I understand the question completely, but you would
probably have to create one trigger per link.

-Erik

[hidden email] wrote:

> Hi, someone could tell me how can I add some sub-menus links under a switch trigged by a main link ?
>
> For example :
>
> <xforms:switch>
>     <xforms:case id="delete">
>         <xforms:trigger appearance="xxforms:link">
>             <xforms:label>Management1</xforms:label>
>             <xforms:toggle case="confirm" ev:event="DOMActivate"/>
>         </xforms:trigger>
>     </xforms:case>
>     <xforms:case id="confirm">
>         <xforms:trigger appearance="xxforms:link">
>             <xforms:label>Management2</xforms:label>
>              !!!
>              <li><a href > link1 </a></li>
>              <li><a href > link2 </a></li>
>              ....
>
>             <xforms:toggle case="delete" ev:event="DOMActivate"/>
>         </xforms:trigger>
>     </xforms:case>
> </xforms:switch>
> --------------------------------------------------------------
>
> thank you !
--
Orbeon Forms - 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