• 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 does not call action in managed bean

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

I am trying to migrate a small web application to JSF. The app will run on WAS 6.1, I decided to use JSF RI 1.1.01.

I have a main JSF view from which the user can navigate to other pages. The problem is that the main JSF does not call any action on the associated managed bean as soon as I add an



element. I also tried to use value-binding



but without success. As soon as this selectOneMenu resides on the form in the view, nothing (except of a roundtrip) happens... I inserted <h:messages/> but did not get any validation errors. No output to the console or runtime errors as well...

Here are some fragments:
main.jsf


Main_Backing (Main.java)


Thanks a lot for your help!

Stefan
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check if there is an error being generated on any setter of your components.
 
Saloon Keeper
Posts: 27807
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
At this point, I think both WAS 6.1 and JSF 1.1 have passed end of life.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic