• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jsf submit return type

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic