wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wilhelmsen Tor Iver <TorIv...@arrive.no>
Subject RE: Could not find child with id: cart:prezzo in the wicket:enclosure
Date Tue, 27 Mar 2012 06:35:43 GMT
> Last cause: Could not find child with id: cart:prezzo in the wicket:enclosure

You are running into an issue with repeaters: Their subelements have the index as part of
the path, so the relative element id for the first row element would be "cart:0:prezzo" -
and with no rows there is no element for the enclosure to test anyway

My suggestion would be to replace the wicket:enclosure with a WebMarkupContainer where you
test for the existence of any rows (e.g. cart.getModelObject().size() > 0) in isVisible().

- Tor Iver
Mime
View raw message