Thanks, I wrapped with a WebMarkupContainer and it worked!
Johan Compagner wrote:
> because that is the complete path to that list (i guess new
> ListView("myList")) is wrong? it should be just list?
>
> but a ListView doesn't have a markup by itself. Only the list items.
> If you want to update a listview
> you have to wrap in in a container and attach the ajax behaviiour to that.
>
> johan
>
>
> On 6/25/06, *Nili Adoram* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> I added a list in form with id "statusForm" as follows:
>
> ListView list = new ListView("myList");
> list.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(30)));
> list.setOutputMarkupId(true);
> add(nodeGroups);
>
> This is the corresponding markup:
> <table class="dataTable">
> <tr wicket:id="list">
> <td><span wicket:id="name">foo</span></td>
> <td><span wicket:id="status">Starting</span></td>
> </tr>
> </table>
>
> But Ajax has failed to auto-refresh the page and produced the
> following
> error:
> ERROR: Component with id [[statusForm_list]] a was not found while
> trying to perform markup update. Make sure you called
> component.setOutputMarkupId(true) on the component whose markup
> you are
> trying to update.
>
> Why is markup update looking for component id statusForm_list and
> not list?
>
> 10x
> Nili
>
>
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
> ------------------------------------------------------------------------
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user