use a repeater

On Fri, Sep 14, 2012 at 5:34 PM, jam.ntk <[email protected]> wrote:
> Hi - I have data strings coming from database e.g. ABC, 123, DEF,456. Now I
> am creating a MultilineLabel to hold the string with new line characters to
> diplay on the page with line breaks. It is working fine but I want to
> display them as mark up list items as it would display with the following
> mark up. Can you please suggest how i can do this in Wicket code as my model
> is being created in wicket? Do I need to use WebMarkupContainer instead of
> MultiLineLabel?
>
> <ul>
>     <li>ABC</li>
>     <li>123</li>
>     <li>DEF</li>
>     <li>456</li>
> </ul>
>
> dbLabelText = ABC.append("\n").123......
> add(new MultiLineLabel("label", dbLabelText));
>
> Please give an example.
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Generating-markup-from-Wicket-tp4652003.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
regards,

Vineet Semwal

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to