• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF 2.0 ActionMethod with Parameter

 
Dominik Müller
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi together,

is there a chance to pass an form-attribute direct to an action method (without declaring an extra managed-bean property)?
Something like this:



calling the function, like:


Thanks a lot
Dom
 
Ilari Moilanen
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is possible to do something like thisand on the receiving page like thisand the called method looks something like this
But there are problems here. I do not know if the parameters sent can be dynamic or not. And I do not know if you can call directly a method with pushing button instead of using the parameters received at the receiving page. But maybe this post at least gave you hints to where to start your research
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!