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 jsf submit return type 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 "jsf submit return type" Watch "jsf submit return type" New topic
Author

jsf submit return type

raghu namala
Greenhorn

Joined: Apr 12, 2012
Posts: 4


Hi All,

i am developing a web application using JSF2. i have a welcome page with header, footer, left menu and content pane. click on a left menu displays a config page in the content pane asynchronously. This config page has properties and submit button. I have returned null from the submit binding method to stay on the previous page. the navigation goes to config page(as it is the previous page for application). i wanted the same welcome page with updated config page in the content pane. Any help appreciated.

Thanks in Advance.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16140
    
  21

We need to know more about how you're managing these panes. It sounds like you may be using FRAME or IFRAME, and JSF doesn't get along with them very well. In JSF2, the easiest way to do pages like yours is to use the tiling capabilities of JSF Facelets.

Actually, that's the easiest way in JSF1 as well, but you have to provide your own Facelets libraries in JSF1. They're built into JSF2.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsf submit return type