Is there any way to pass a parameter to the binding method of a component. If i understood properly, the binding methods are invoked before the component get rendered so its not possible to add <f:atrribute to the component and get the value retreived in the binding method.
any alternate solution ?
Thanks, Rajeev.
SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)
MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
Rajeev Ravindran
Ranch Hand
Joined: Aug 27, 2002
Posts: 455
posted
0
nope that's not really what i am looking for.
I would like to know if its possible to pass parameter to the binding method of a component, not the action method. As fas as i know, binding methods are invoked before the component got rendered so it may not be possible to pass an attribute or parameter to the binding method.
Thanks,
g madhava
Ranch Hand
Joined: Sep 14, 2001
Posts: 85
posted
0
Currently that is one of the limitation of the JSF framework. I guess it's really the limitation of JSTL.
You cannot invoke a method (both Action as well as binding methods) with any parameters.
Thanks,
Bert Bates
author
Sheriff
Joined: Oct 14, 2002
Posts: 8712
posted
0
Hi "g" -
Please update your display name to match the JavaRanch naming policy - we've found that when people use their full names things stay friendlier!
Thanks,
Bert
Eliminate fossil fuel subsidies. (If you're not on the edge, you're taking up too much room.)