Yes, that should do as well

Juergen

On Tue, Nov 10, 2009 at 9:53 PM, Erik van Oosten <e.vanoos...@grons.nl> wrote:
> Can we not use just this TransparentMarkupContainer and add the
> atrtibutemodifiers to that component?
>
>   Erik.
>
>
> Juergen Donnerstag wrote:
>>
>> Yes, it is trivial. Just copy the code from the
>> TransparentMarkupContainer (still on my disk).
>>
>> As another option: In 1.5 we removed the final keyword from
>> MarkupContainer.add(Component...) - see Border.java for the use case -
>> so that in 1.5 you may also subclass add() and thus keep the markup
>> and component hierarchies in sync.
>>
>> -Juergen
>>
>> On Mon, Nov 9, 2009 at 5:16 PM, Igor Vaynberg <igor.vaynb...@gmail.com>
>> wrote:
>>
>>>
>>> you guys can still do that by allowing your webmarkupcontainer to
>>> implement icomponentresolver instead of simply overriding
>>> istransparentresolver(true). the impl itself should be trivia, just
>>> check for the component in the page body.
>>>
>>> -igor
>>>
>>>
>
>
> --
> Erik van Oosten
> http://www.day-to-day-stuff.blogspot.com/
>
>

Reply via email to