wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Problem with <wicket:remove>
Date Wed, 23 Dec 2015 08:08:42 GMT
Hi,

This is a CSS question.
It is caused by the "display:flex" on the 'ul'.
I have no idea what is the fix though.


On Tue, Dec 22, 2015 at 8:40 PM, Malte Neumann <malte.neumann@googlemail.com
> wrote:

> <html>
> <head>
>     <style>
>         ul {
>             list-style-type: none;
>             display: flex;
>             flex-wrap: wrap;
>         }
>
>         li {
>             border: solid red thin;
>             width: 25vw;
>         }
>     </style>
> </head>
> <body>
>
> <ul>
>     <li wicket:id="consultant_data_item">Item 1</li>
>     <li>Item 2</li>
>     <li>Item 3</li>
>     <li>Item 4</li>
> </ul>
> <ul>
>     <li wicket:id="consultant_data_item">Item 1</li>
>     <wicket:remove>
>     <li>Item 2</li>
>     <li>Item 3</li>
>     <li>Item 4</li>
>     </wicket:remove>
> </ul>
>
> </body>
> </html>
>



Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message