Hi,

ListView uses its markup tag to render each of its items and is not visible in the output by itself - thus it doesn't contribute anything to the component tag.

Sven



On 03/10/2014 07:19 PM, Nick Pratt wrote:
Is there any reason why onComponentTag() wouldn't be invoked on a ListView:

ListView<User> users = new ListView<User>( "team-members", usersModel )
  {
@Override
protected void onComponentTag( ComponentTag tag )
  {
super.onComponentTag( tag );
int i = 0;
  }
...


I set a breakpoint on 'int i =0'; but its never hit - either on initial
page render or when the containing Panel is refreshed via Ajax. None of the
child behaviors attached to the ListView are triggered either (no
onComponentTag execution)
Wicket 6.14.0

N



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to