On Wed, 03 Dec 2008, simonm wrote: > wmc2.add( new Label("new", ((ArrayList<Integer>)wmc2.getModelObject()).get( > 4 ).toString()) );
That's the problem, your Labels never get new data. Their models should be something like this new AbstractReadOnlyModel() { @Override public Object getObject() { List<Integer> integers = ((List<Integer>) wmc2.getModelObject()); return integers.get(4).toString(); } } so that they get evaluated dynamically. BTW, it would be a good idea to format and name your code more conventionally! And use a better data structure than an indexed list of ints for your data. > As you suggested, I used the WICKET AJAX DEBUG and I was wondering why wmc1 > enclosed within component id while wmc2 not: That's because wmc1 was updated and wmc2 is inside it. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]