Another one is, probably, that certain components (ListViews, Forms...)
can't be set as Ajax targets. And as for those components that can be
targeted, their own attributes (like a TextArea's value) aren't updated,
only their body contents. So in fact you have to wrap almost anything
you want to target in a container span or div.

This was unexpected for me, though I can see why it works that way. Now
I just add these containers without thinking about it. But couldn't
Wicket be doing that grunt work for me? It could just wrap every Ajax
target with a made-up span by default, non-destructively as far as I can
tell. That would also save users the trouble of remembering to
setOutputMarkupId(true).

note: I think the implementation is already super-great; this is just an
idea.

Nathan


On Fri, 2006-03-17 at 03:37 -0800, Ayodeji Aladejebi wrote:
> To all Wicket Users that may be having Javascript errors indicating
> 'Object Expected' from browser most times..please after you have done
> what you are expected to do..perform this simple check:
>  
> Look into your Web.xml and confirm that the context reference of the
> WicketServlet is /app/* and not /app
>  
> this gave me a lot of problems with all Ajax functionality in Wicket
> so dont fall into my former pit :)
>  
> Thanks




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to