wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Götz <...@richmountain.de>
Subject Re: Wrapping a FormComponent with a Border
Date Mon, 02 Sep 2019 08:12:49 GMT
Thanks Ernesto! This example is from 2007 though and uses compent.setComponentBorder ....
Is there something more close to current Wicket versions available maybe? :)

Tom



> Am 02.09.2019 um 09:41 schrieb Ernesto Reinaldo Barreiro <reiern70@gmail.com>:
> 
> Hi,
> 
> Would approach described in [1] match your use case?
> 
> References
> 
> 1- https://www.scribd.com/document/43719247/LondonWicket-FormsWithFlair
> 
>> On Mon, Sep 2, 2019 at 10:22 AM Tom Götz <tom@decoded.de> wrote:
>> 
>> Hi there,
>> 
>> I would like to automatically wrap a FormComponent with a Border whenever
>> it is added on a certain page. Let's say, a TextField is added, then I'd
>> like to replace it with Border and add that TextField to the Border. The
>> Border itself contains other Wicket Components such as a Label and a
>> FeedbackPanel. I am aware of BorderBehavior, but it seems that this can
>> only be used to wrap raw HTML around a Component.
>> Is this possible somehow?
>> 
>> Cheers
>> Tom
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>> 
>> 
> 
> -- 
> Regards - Ernesto Reinaldo Barreiro


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message