It's described 
here:https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket'XHTMLtags-Elementwicket:container


Žilvinas Vilutis

E-mail:   [email protected]



On Thu, Apr 28, 2011 at 4:47 PM, Zilvinas Vilutis <[email protected]> wrote:
> use <wicket:container> tag instead
>
> Regards
>
> Žilvinas Vilutis
>
> E-mail:   [email protected]
>
>
>
> On Thu, Apr 28, 2011 at 4:38 PM, Alexandros Karypidis <[email protected]> 
> wrote:
>> Hello,
>>
>> Can anybody recommend how to achieve the following:
>>
>> I need to repeat two tags at the same level, without placing them in a
>> container. For example, the below markup shows a static <div> containing two
>> dynamic <div> tags(one for the repeater and one for the two tags I need
>> alongside each other):
>>
>>        <div id="onlyThisContainerNeeded">
>>                <div wicket:id="repeaterContainer_NOT_wanted">
>>                        <div wicket:id="items"/>
>>                </div>
>>        </div>
>>
>> For the "items" I use the following component to place my 2 tags (a header
>> and a div):
>>
>>        <wicket:panel>
>>                <h4 wicket:id="title"></h4>
>>                <div>
>>                        <p>some text</p>
>>                </div>
>>        </wicket:panel>
>>
>> When the repeater is rendered I get:
>>
>>        <div id="onlyThisContainerNeeded">
>>                <div> <-- I need to find a way to remove this container -->
>>                        <h4>some title</h4>
>>                        <div>
>>                                <p>some text</p>
>>                        </div>
>>                </div>
>>                <div> <-- I need to find a way to remove this container -->
>>                        <h4>some other title</h4>
>>                        <div>
>>                                <p>some other text</p>
>>                        </div>
>>                </div>
>>        </div>
>>
>> So, what can I do to get the following instead:
>>
>>        <div id="onlyThisContainerNeeded">
>>                <h4>some title</h4>
>>                <div>
>>                        <p>some text</p>
>>                </div>
>>                <h4>some other title</h4>
>>                <div>
>>                        <p>some other text</p>
>>                </div>
>>        </div>
>>
>> Thank you in advance!
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>

Reply via email to