You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by madan chowdary <ma...@yahoo.com> on 2007/03/30 11:27:27 UTC
[Tobago] in Tobago pages
Hi All,
I need to forward to a page based upon a condition that i need to check.
I was doing some thing like this,
<tc:panel rendered="#{!shoppingCart.cartContainsItems}">
<f:verbatim>
<jsp:forward page="<%=request.getContextPath()%>/jsp/checkout.faces"/>
</f:verbatim>
</tc:panel>
But this doesn't work as am using scriplets.
But i need to a forward to the URL as specified above.
How can i achieve this ?
Regards,
Madan
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/