Did some code do get this wrapped functionality in.

Ajay encode call is made now - however, on the InputAjax class - the
method binding was not set.

What else have i have to do, to get a method binding expression on a
attribute working?

My clay sandbox xml got:

<set name="suggestedItemsMethod" bindingType="VB">

Should be enough, shouldn't it?

Torsten

Am Donnerstag, den 03.05.2007, 18:33 +0200 schrieb Torsten Krah:
> Some more insights:
> 
> This gets called:
> 
> public void encodeAjax(FacesContext context)
>             throws IOException
>     {
>         if (context == null) throw new NullPointerException("context");
>         if (!isRendered()) return;
>         Renderer renderer = getRenderer(context);
>         if (renderer != null && renderer instanceof AjaxRenderer)
>         {
>             ((AjaxRenderer) renderer).encodeAjax(context, this);
>         }
>     }
> 
> renderer however is not an instance of AjaxRenderer, instead is a
> ValidatorInputRenderer, which only extends Renderer, not AjaxRenderer.
> 
> So the code stops there.
> 
> What may we have to do here, to get it working in clay - don't know much
> about the ValidatorInputRenderer yet ;)
> 
> Maybe its sufficient, to add the AjaxRenderer Interface?
> 
> Torsten
> 
> Am Donnerstag, den 03.05.2007, 17:50 +0200 schrieb Torsten Krah:
> > Get it now rendered, although a form in a form it does not really like.
> > 
> > But i am facing the same problem you've got, nothing happens - my bean
> > methods are not called.
> > 
> > Am Dienstag, den 01.05.2007, 22:59 +0200 schrieb Hermod Opstvedt:
> > > Hi
> > > 
> > > Has anybody made the inputSuggestAjax component work in a Shale/Clay
> > > environment. It's posting to the server, but it's not calling my method on
> > > the configured bean. It just disapears
> > > 
> > > Hermod
> > > 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to