myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From madan chowdary <>
Subject Re: [Tobago] <jsp:forward> in Tobago pages
Date Sat, 31 Mar 2007 05:31:57 GMT
Hi All,

Is there any way to do such kind of thing...?


----- Original Message ----
From: madan chowdary <>
To: MyFaces Discussion <>
Sent: Friday, 30 March, 2007 2:57:27 PM
Subject: [Tobago] <jsp:forward> 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}">
        <jsp:forward page="<%=request.getContextPath()%>/jsp/checkout.faces"/>

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 ?



Here’s a new way to find what you're looking for - Yahoo! Answers 

Yahoo! India Answers: Share what you know. Learn something new
View raw message