-------- Original Message --------
All, Is there a way to "setfocus" so the focus goes to another tab in the document or maybe use a "trigger" to go to another tab? Randy -- 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 |
Administrator
|
Randy,
Your last message responding to Hank was empty, but I assume you are referring to the tab control currently used in the XForms Controls example. It does not support an explicit event to do that, but is right now implemented in XSLT that generated XForms based on your <widget:*> elements. To switch to another tab, say from the text-controls tab to the selection-controls, you can do: <xforms:action> <xforms:toggle case="text-controls-inactive"/> <xforms:toggle case="selection-controls"/> <xforms:toggle case="selection-controls-active"/> </xforms:action> This is a bit more verbose than we'd like it to, and for other reasons as well we are now thinking about (and actually started) re-implementing the tabs widget in XBL. Alex -- Orbeon Forms - Web forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ My Twitter: http://twitter.com/avernet -- 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 |
Thanks Alex!
It worked to get me over to the correct tab. After doing some <xforms:select1... to fill in some attributes I need to go back to the original tab. I assume I go back the same way I came? Also, is there a way to set the tab I jump to, to an active state? When I jump to it ,the tab is not "selected" or it is not dimmed like it would be if selected with a mouse click. Thanks, Randy Alessandro Vernet wrote: > Randy, > > Your last message responding to Hank was empty, but I assume you are > referring to the tab control currently used in the XForms Controls > example. It does not support an explicit event to do that, but is > right now implemented in XSLT that generated XForms based on your > <widget:*> elements. To switch to another tab, say from the > text-controls tab to the selection-controls, you can do: > > <xforms:action> > <xforms:toggle case="text-controls-inactive"/> > <xforms:toggle case="selection-controls"/> > <xforms:toggle case="selection-controls-active"/> > </xforms:action> > > This is a bit more verbose than we'd like it to, and for other reasons > as well we are now thinking about (and actually started) > re-implementing the tabs widget in XBL. > > Alex > -- > Orbeon Forms - Web forms, open-source, for the Enterprise > Orbeon's Blog: http://www.orbeon.com/blog/ > My Twitter: http://twitter.com/avernet > -- 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 |
Administrator
|
Randy,
On Mon, Sep 21, 2009 at 3:04 PM, Randy Smith <[hidden email]> wrote: > Thanks Alex! > It worked to get me over to the correct tab. After doing some > <xforms:select1... to fill in some attributes I need to go back to the > original tab. I assume I go back the same way I came? Also, is there a way > to set the tab I jump to, to an active state? When I jump to it ,the tab is > not "selected" or it is not dimmed like it would be if selected with a mouse > click. Right: you can go back to the "previous tab" the same way. For the focus, you'll need to set the focus on the first control in the tab you are making active with an <xforms:setfocus>. Alex -- Orbeon Forms - Web forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ My Twitter: http://twitter.com/avernet -- 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 |
Free forum by Nabble | Edit this page |