hi all,
i use facelets for layout, seam and richfaces components
i tried to use richfaces tabpanel component for menu like this :
[url=http://img521.imageshack.us/my.php?image=error8gj5.png][img=http://img521.imageshack.us/img521/7656/error8gj5.th.png][/url]
here is tabpanel components containing s:links, tab panel has attribute "selectedPanel" where must be pointed panelBarItem component's name, example :
<rich:panelBar selectedPanel="namec" height="500" width="200"> <rich:panelBarItem label="a" id="ida" name="namea"> <s:link value="A1" view="/home/a1.xhtml" propagation="none"/> <s:link value="A2" view="/home/a2.xhtml" propagation="none"/> </rich:panelBarItem> <rich:panelBarItem label="b" id="idb" name="nameb"> <s:link value="B1" view="/home/b1.xhtml" propagation="none"/> <s:link value="B2" view="/home/b2.xhtml" propagation="none"/> </rich:panelBarItem> <rich:panelBarItem label="c" id="idc" name="namec"> <s:link value="C1" view="/home/c1.xhtml" propagation="none"/> <s:link value="C2" view="/home/c2.xhtml" propagation="none"/> </rich:panelBarItem> </rich:panelBar>
i did it by jsf params, is it correct way ? i don't like url parameters. can anybody tell me another way ??
it someone want this component i can give it.