Hello,

I do not work with wicket ajax so far...but I think you have to update
the whole container.

regards


smallufo wrote:
> 
> I have a WebPage , containing a gmap2 and a Panel with a ListView inside.
> I added the panel to the gmap2's onClick(AjaxRequestTarget ...) ,
> So when user clicks the gmap , the ListView (in the Panel) will be
> updated.
> It worked fine.
> 
> Today , I want to add a "show/hide" link in the panel , to show/hide the
> ListView.
> 
> Because of the error :
> "This component is a repeater and cannot be repainted via ajax directly"
> so , I wrap the ListView with a WebMarkupContainer : listViewContainer.
> And I also added this :
> listViewContainer.setOutputMarkupPlaceholderTag(true);
> 
> The listView show/hide now works fine.
> BUT , when user clicks the gmap , the ListView doesn't update anymore.
> Why ?
> Is there any solutions ? Thanks a lot.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Wrap-a-ListView-and-it-cannot-be-updated-via-AJAX---tp17609927p17611958.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to