wicket-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Vaynberg <igor.vaynb...@gmail.com>
Subject Re: Wicket placeholder for <tr> component causing invalid markup
Date Mon, 26 Jan 2009 19:35:34 GMT
ooh, learn something new every day!

-igor

On Mon, Jan 26, 2009 at 11:28 AM, Arnout Engelen <arnouten@bzzt.net> wrote:
> On Mon, Jan 26, 2009 at 09:03:05AM -0800, Igor Vaynberg wrote:
>> adding the entire tbody forces you to repaint all the rows, which
>> is not always the optimal solution :)
>
> Except that it doesn't: you're allowed to have multiple tbody sections in a
> table:
>
>  http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.2.3
>
>
> Arnout
>
>
>>
>> -igor
>>
>> On Mon, Jan 26, 2009 at 8:41 AM, Arnout Engelen <arnouten@bzzt.net> wrote:
>> > Hi,
>> >
>> > Cool to see that solved more elegantly.
>> >
>> > What I currently do in such cases is wrapping the tr in a tbody container and
>> > adding that to the target instead of the tr itself. That also allows for
>> > repeaters spanning several columns.
>> >
>> >
>> > Arnout
>> >
>> > On Mon, Jan 26, 2009 at 08:31:27AM -0800, Igor Vaynberg wrote:
>> >> done in trunk, see Component#renderPlaceholderTag
>> >>
>> >> -igor
>> >>
>> >> On Mon, Jan 26, 2009 at 7:41 AM,  <adam.parchimowicz@gmail.com> wrote:
>> >> > Hi,
>> >> >
>> >> > I have opened a thread with the same topic in the Wicket Users list,
but
>> >> > apparently this place is more suitable for this since we came to a
>> >> > conclusion that the problem I'm facing cannot be solved without changing
>> >> > some Wicket internals. Not to copy&paste here is the link to the
thread on
>> >> > Nabble:
>> >> > http://www.nabble.com/Wicket-placeholder-for-%3Ctr%3E-component-causing-invalid-markup-td21663544.html
>> >> >
>> >> > I think there would be a few ways to easily remedy the problem and
the
>> >> > easiest would be to allow to provide custom placeholder tags to be
provided.
>> >> > I would elaborate more on the different variants of the possible solutions
>> >> > but I'd rather here what the core devs think about it. I personally
believe
>> >> > that supporting creation of validating markup should be a priority
of a web
>> >> > framework and here is a spot for small improvement.
>> >> >
>> >
>

Mime
View raw message