Re: [Chiba-users] switch case does not seem to work?
Creators discontinued Chiba & founded betterFORM http://betterform.de
Brought to you by:
chibaxforms,
windauer
From: Lars W. <win...@gm...> - 2009-01-28 09:47:41
|
Dear Satishwar, are you running on chiba-web-3.0.0b1? There the switch / case implementation for the various appearances is missing yet but to come very soon. So far this switch / tab construct should work for web-3.0.0b1: <xf:switch appearance="dijit:TabContainer"> <xf:case name="switch-toggles" selected="false"> <xf:trigger id="t-intro"> <xf:label/> <xf:toggle case="intro"/> </xf:trigger> <xf:trigger id="t-input"> <xf:label/> <xf:toggle case="input"/> </xf:trigger> </xf:case> <xf:case id="intro" selected="true"> <xf:label>INTRO</xf:label> </xf:case> <xf:case id="input" selected="false"> <xf:label>Input</xf:label> </xf:case> This sample will render to a TabContainer with two Cases. The sample is taken from the widgets.xhtml demo form. To run the demo you attached please stay tuned or use a former Chiba version. hth, regards lars 2009/1/28 Satishwar Chandrashekar <sch...@ip...>: > Hi, > > > > I have a switch case and instead of rendering UI of one case at a time, the > browser renders UI for all cases. After which I checked even the examples > from Chiba download also behave in the same way. I am attaching the chiba > example XHTML and the output with this email for reference. > > > > Any clue what could be wrong or if any configuration/files are missing? > > > > regards, > > --Satish > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Chiba-users mailing list > Chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiba-users > > -- Twitter: http://twitter.com/windauer Skype: windauer Jabber: win...@gm... |