File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "jsf submit return type" Watch "jsf submit return type" New topic

jsf submit return type

raghu namala

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: 17423

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: jsf submit return type
It's not a secret anymore!