Bugs item #1291698, was opened at 2005-09-15 09:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1291698&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Jan Bares (jan_bar)
Assigned to: Nobody/Anonymous (nobody)
Summary: Border with AttributeModifier generates strange markup

Initial Comment:
(tested with wicket 1.1rc1)

To see the behaviour please:

* add AttributeModifier to the BorderPage.java from 
samples
border.add(new AttributeModifier("testAttr", true, new 
Model("value")));

* look into generated page http://yourhost/wicket-
examples/compref?
bookmarkablePage=wicket.examples.compref.BorderPa
ge

Now the testAttr is added four times:
<span class="mark" wicket:id="border" testAttr="value">
<wicket:border testAttr="value">
<wicket:body testAttr="value">
</wicket:body testAttr="value">

First of all the closing tag should not have any 
attributes. But I also expect that the attribute will be 
added only to the <span>

Thanks for Wicket, Jan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1291698&group_id=119783


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to