This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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: 16095
    
  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.
 
GeeCON Prague 2014
 
subject: jsf submit return type