[jboss-user] [JBoss Seam] - Re: To Gavin.King--how to start a conversation from pages.xm
ybxiang.wolf
do-not-reply at jboss.com
Fri Oct 26 12:21:10 EDT 2007
I test and find that those erros is cause by the menu.xhtml:
************* this menu works***************
<rich:toolBar
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:rich="http://richfaces.ajax4jsf.org/rich">
<rich:toolBarGroup location="right">
<s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>
</rich:toolBarGroup>
</rich:toolBar>
************* this menu DOES NOT work***************
<rich:toolBar
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:rich="http://richfaces.ajax4jsf.org/rich">
<rich:toolBarGroup location="right">
<s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>
<s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>
</rich:toolBarGroup>
</rich:toolBar>
What is wrong with this link:
<s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>
???????????????????????????????????
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099396#4099396
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099396
More information about the jboss-user
mailing list