I have this snip code. If a user click role, show the roles or if google show googles site in the panel box. the value of link to roles should be "pages/roles/list.jsp" and google is "www.google.com".
<rich:toolBar height="30" itemSeparator="grid" >
<rich:toolBarGroup >
<ajax:commandLink value="Roles" />
</rich:toolBarGroup>
<rich:toolBarGroup >
<h:outputLabel value="Google" />
</rich:toolBarGroup>
</rich:toolBar>
<rich:panel >
Where I would like to out put onclick role or google
</rich:panel>
How do I go by doing this?
Any help please???