Eelco Hillenius wrote:
Erik van Oosten wrote:

I want to keep the children. Here is what I have:

<html xmlns:wicket>
   <wicket:panel>
       <div class="Menu">
           <span wicket:id="menuItems">
<div class="MenuBlockTitle"><span wicket:id="title">_title</a></div>
               <div class="MenuBlock">more stuff</div>
           </span>
       </div>
   </wicket:panel>
</html>

Hmm.. why don't you use just
  <div class="MenuBlockTitle" wicket:id="title">_title</div>

   The spans in the div are not necessary.

-Matej
In the output I need to get rid of the span with wicket:id="menuItems". I do need to get the two divs inside it. I can not set the wicket:id="menuItems" on the div with class Menu as this is a div with an absolute position on the page and may therefore not be duplicated.



Okay. Not sure whether you can do that; Juergen probably knows. If not, I have two questions: 1) spans shouldn't normally mess up your layout. Afaik, spans may not effect layout unless you tell them to (like attaching a class); 2) if what you want is not possible, and you want it, could you file a feature request (https://sourceforge.net/tracker/?group_id=119783&atid=684978) ?

Eelco


-------------------------------------------------------
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