I do not meant shale do issue a warning, but tomahawk itself - now the
ajax call is interrupted silently because the renderer is of a wrong
type.
If i don't have taken a look to the code and debugged it line per line -
if would not have found that.

So it would be nice if tomahawk - not shale - would have issued a
warning about it, that a AjaxRenderer was expected but not found.

Torsten

Am Donnerstag, den 03.05.2007, 18:35 +0000 schrieb Gary VanMatre:
> >Got it.
> >
> >Actually, my Renderer gots wrapped - the Wrapper itself however does
> not
> >implement AjaxRenderer (renderere instanceof AjaxRenderer), so the
> Ajax
> >Request is stopped silently - no warning or error message.
> >
>  
> Ahh, good catch.  That wrapper renderer has to do with shales
> validator.
> If it's wrapping a renderer, then the render supports the standard
> interface.
> This was done long before tomahawk created the AjaxRenderer
> interface. 
>  
> We should only do this if the component uses the common validator but
> we'll have to look into that.
> 
> >Would be nice, if some Log Message would be there which tell that.
> >
>  
> I'm not sure how we would do that without locking into the specifics
> of
> the tomahawk component library?  Shale validator doesn't want a
> compile
> time dependency with tomahawk so we would have to look at using the
> reflection API.  
>  
> What would we report on?
>  
>  
> 
> >Torsten
>  
> Gary
> 
>  
>  
> E-Mail-Nachricht-Anlage
> > -------- Weitergeleitete Nachricht --------
> > Von: Torsten Krah <[EMAIL PROTECTED]>
> > An: MyFaces Discussion <[email protected]>
> > Betreff: Re: inputSuggestAjax - no backing-bean method called
> > Datum: Thu, 3 May 2007 17:43:56 +0000
> > 
> > Got it.
> > 
> > Actually, my Renderer gots wrapped - the Wrapper itself however does not
> > implement AjaxRenderer (renderere instanceof AjaxRenderer), so the Ajax
> > Request is stopped silently - no warning or error message.
> > 
> > Would be nice, if some Log Message would be there which tell that.
> > 
> > Torsten
> > 
> > Am Donnerstag, den 03.05.2007, 17:58 +0200 schrieb Torsten Krah:
> > > I've taken the sandbox example and use it 1:1 - but with a different
> > > view handler, shouldn't matter in theory.
> > > But i get no suggests, i can click the arrow or enter something, the
> > > method on my bean is never called, nothing happens - although a request
> > > is made (firebug), but is pending "forever".
> > > 
> > > Are there any JSP dependencies on this component - or what could cause
> > > this?
> > > Ajax in general does work, using Shales Remoting and Prototype library
> > > does work, so it might be the components fault, however i don't know
> > > where to look for, any hints?
> > > 
> > > Torsten

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

Reply via email to