Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

jsf submit return type  RSS feed

Posts: 4
  • Mark post as helpful
  • send pies
  • 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.
Posts: 19725
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!