Hi Mike,

On 10/6/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> From org.apache.myfaces.taglib.UIComponentTagUtils:
>
>     public static void setActionProperty(FacesContext context,
>                                          UIComponent component,
>                                          String action)
>     {
>         if (action != null)
>         {
>             if (!(component instanceof UICommand))
>             {
>                 throw new IllegalArgumentException("Component " +
> component.getClientId(context) + " is no UICommand");
>             }
>             MethodBinding mb;
>             if (isValueReference(action))
>             {
>                 mb = context.getApplication().createMethodBinding(action, 
> null);
>             }
>             else
>             {
>                 mb = new SimpleActionMethodBinding(action);

Many, many thanks. That was it. By the way, on Suns RI the equivalent
is: Util.createConstantMethodBinding();

regards,

Jeroen

Reply via email to