There is no way to achieve this behavior with ValueBindings, which all
components need.

On Tue, 21 Dec 2004 10:52:39 -0500, Srikanth Madarapu
<[EMAIL PROTECTED]> wrote:
> Hi
> 
>   I have a managed bean with a getter that requires a parameter ( I have a 
> situation where I need to pass a parameter to this getter ). What happens 
> when submitting the form, will the property setter be called with the same 
> parameter to the corresponding setter.
> 
> For example:
> 
> the managed bean has the following methods.
> 
> public boolean isYYY() {
>   return true;
> }
> 
> public void setYYY(boolean b) {
> }
> 
> if I am using the isYYY method in the jsp the corresponding setYYY method 
> with the boolean parameter will be invoked when the form is submitted.
> 
> What happens in the following case ?
> 
> public boolean isXXXX( String param) {
>   return true;
> }
> 
> public void setXXXX( String param, boolean b ) {
> }
> 
> will the method setXXXX( param, b ) be called ?  Is there any way to achieve 
> this behavior ??
> 
> Thanks
> 


-- 
-Heath Borders-Wing
[EMAIL PROTECTED]

Reply via email to