Hi Dave,

don`t know why the method is not called, maybe Mario knows it.

It`s not that nice, but you may also write:

callback="mySpecialUserCallback"

..

function mySpecialUserCallback(event, srcComponentId, clickComponentId)
{
      return #{bean.submitOnChange};
}

This should work without any problems;

cheers,

Gerald

On Feb 1, 2008 11:53 AM, Dave <[EMAIL PROTECTED]> wrote:
> the bean method return a string that is a javascript function name.
>
>
>
> Mario Ivankovits <[EMAIL PROTECTED]> wrote:
> Hi!
> > callback="#{bean.callbackFunction}"
> The callback should point to a javascript function name instead of a
> bean method. callback is meant to be executed on the client.
>
> This javascript method then should allow you to return true/false, on
> false the click should not happen.
>
> Ciao,
> Mario
>
>
>
>
>
>  ________________________________
> Looking for last minute shopping deals? Find them fast with Yahoo! Search.



-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to