File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Binding method + Redirect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Binding method + Redirect" Watch "Binding method + Redirect" New topic
Author

Binding method + Redirect

Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455
Hi,

I have a home JSP page (not jsf), clicking the link of this home page take me to a JSF application. I have few buttons in the first page of the JSF application ( which gets displayed on clicking the link of home page). Somehow the binding methods of the buttons are not getting invoked if i navigate to the JSF application from a non-jsf page.why is it so ? Is there any solution for this ?

I thought of calling a JSF page (something like a redirect.jsp) on clicking the link on home page and make it redirect to my JSF appliction. I tried

FacesContext.getCurrentInstance().getExternalContext().dispatch("Home.jsp");
and
FacesContext.getCurrentInstance().getExternalContext().forward("Home.jsp");

with /faces/Home.jsp, application-name/faces/Home.jsp

in the onPageLoanBegin() method of redirect.jsp, but nothing seems to be working. Could anyone help me with this ? I'm using RAD6.0 + WAS 6 for development !

Thanks,
Rajeev


SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Binding method + Redirect