Yeah, you're right. It is a bug, as I think it should work. Markup inheritance is still pretty new...

I opened:
http://sourceforge.net/tracker/index.php?func=detail&aid=1248778&group_id=119783&atid=684975

Eelco


Erik van Oosten wrote:

I hate to answer my own questions, but after an hour of coding, I found out it's not possible:

wicket.markup.MarkupException: Markup for a panel component has to contain part '<wicket:panel>' [markup = file:/....../classes/zout/site/menu/SimpleMenuItem.html, index = 3, current = '</wicket:extend>' (line 5, column 2)] at wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:277) at wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:646)
   at wicket.markup.html.panel.Panel.onRender(Panel.java:93)

If it makes sense at all, I would be neat if this is eventually possible. Meanwhile I'll try to rewrite my components.

Regards,
   Erik.



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to