Re: Wrapping a FormComponent with a Border

2019-09-04 Thread Bas Gooren
applications (and we have _several_ of those) ... Any chance you could share some parts of your custom code? Tom > Gesendet: Dienstag, 03. September 2019 um 12:19 Uhr > Von: "Bas Gooren" > An: users@wicket.apache.org, "Tom Götz" > Betreff: Re: Wrapping a Form

Re: Wrapping a FormComponent with a Border

2019-09-03 Thread Tom Götz
t.apache.org, "Tom Götz" > Betreff: Re: Wrapping a FormComponent with a Border > > Hi Tom, > > I have tried various ways to make this work: from custom markup filters and > component tree manipulation to custom form components, which are added to a > repeater (and thus

Re: Wrapping a FormComponent with a Border

2019-09-03 Thread Bas Gooren
solution for that problem ... Tom > Gesendet: Dienstag, 03. September 2019 um 09:35 Uhr > Von: "Martin Grigorov" > An: "users@wicket.apache.org" > Betreff: Re: Wrapping a FormComponent with a Border > > On Tue, Sep 3, 2019 at 10:30 AM "Tom Götz" wro

Re: Wrapping a FormComponent with a Border

2019-09-03 Thread Tom Götz
An: "users@wicket.apache.org" > Betreff: Re: Wrapping a FormComponent with a Border > > On Tue, Sep 3, 2019 at 10:30 AM "Tom Götz" wrote: > > > Thanks Martin, I will look into that. But won't it be a problem that I > > will add the / TextField to t

Re: Wrapping a FormComponent with a Border

2019-09-03 Thread Martin Grigorov
de to stick with FormGroup then you will need to override onComponentTagBody() too > > Tom > > > > Gesendet: Dienstag, 03. September 2019 um 09:22 Uhr > > Von: "Martin Grigorov" > > An: "users@wicket.apache.org" > > Betreff: Re: Re: Wrappin

Re: Wrapping a FormComponent with a Border

2019-09-03 Thread Tom Götz
artin Grigorov" > An: "users@wicket.apache.org" > Betreff: Re: Re: Wrapping a FormComponent with a Border > > Hi Tom, > > Since your "user" is going to add a TextField in the Java code then I > assume (s)he is going to add in the markup. > You

Re: Re: Wrapping a FormComponent with a Border

2019-09-03 Thread Ernesto Reinaldo Barreiro
the best place in the code to start looking? > > Thanks in advance > Tom > > > > > > Gesendet: Montag, 02. September 2019 um 13:57 Uhr > > Von: "Tom Götz" > > An: users@wicket.apache.org > > Betreff: Re: Wrapping a FormComponent with a Border >

Re: Re: Wrapping a FormComponent with a Border

2019-09-03 Thread Martin Grigorov
said Border but now am stuck with the > "HTML manipulation" part ... > > > > Tom > > > > > > > Gesendet: Montag, 02. September 2019 um 13:47 Uhr > > > Von: "Martin Grigorov" > > > An: "users@wicket.apache.org" &g

Aw: Re: Wrapping a FormComponent with a Border

2019-09-03 Thread Tom Götz
looking? Thanks in advance Tom > Gesendet: Montag, 02. September 2019 um 13:57 Uhr > Von: "Tom Götz" > An: users@wicket.apache.org > Betreff: Re: Wrapping a FormComponent with a Border > > Thanks Martin, this is exactly what I had in mind. I already implemented 1)

Re: Wrapping a FormComponent with a Border

2019-09-02 Thread Tom Götz
An: "users@wicket.apache.org" > Betreff: Re: Wrapping a FormComponent with a Border > > Hi Tom, > > I imagine two ways: > 1) use org.apache.wicket.application.IComponentInitializationListener that > manipulates the component tree whenever the passed component is an

Re: Wrapping a FormComponent with a Border

2019-09-02 Thread Martin Grigorov
e it with a Border that contains that > TextField!? > > Tom > > > > > > > > Gesendet: Montag, 02. September 2019 um 12:49 Uhr > > Von: "Tobias Soloschenko" > > An: users@wicket.apache.org > > Betreff: Re: Wrapping a FormComponent with a Border > >

Re: Wrapping a FormComponent with a Border

2019-09-02 Thread Tom Götz
sendet: Montag, 02. September 2019 um 12:49 Uhr > Von: "Tobias Soloschenko" > An: users@wicket.apache.org > Betreff: Re: Wrapping a FormComponent with a Border > > Hi, > > why not add a css class and style it? > > kind regards > > Tobias &g

Re: Wrapping a FormComponent with a Border

2019-09-02 Thread Tobias Soloschenko
be great, thanks in advance! >> >> Tom >> >> >>> Gesendet: Montag, 02. September 2019 um 10:39 Uhr >>> Von: "Ernesto Reinaldo Barreiro" >>> An: users@wicket.apache.org >>> Betreff: Re: Wrapping a FormComponent with a Border >

Re: Wrapping a FormComponent with a Border

2019-09-02 Thread Ernesto Reinaldo Barreiro
> > An: users@wicket.apache.org > > Betreff: Re: Wrapping a FormComponent with a Border > > > > Hi, > > > > On Mon, Sep 2, 2019 at 11:13 AM Tom Götz wrote: > > > > > Thanks Ernesto! This example is from 2007 though and uses > > > compe

Re: Wrapping a FormComponent with a Border

2019-09-02 Thread Tom Götz
That would be great, thanks in advance! Tom > Gesendet: Montag, 02. September 2019 um 10:39 Uhr > Von: "Ernesto Reinaldo Barreiro" > An: users@wicket.apache.org > Betreff: Re: Wrapping a FormComponent with a Border > > Hi, > > On Mon, Sep 2, 2019 at 11:13

Re: Wrapping a FormComponent with a Border

2019-09-02 Thread Ernesto Reinaldo Barreiro
Hi, On Mon, Sep 2, 2019 at 11:13 AM Tom Götz wrote: > Thanks Ernesto! This example is from 2007 though and uses > compent.setComponentBorder > Is there something more close to current Wicket versions available maybe? > :) > I think I have somewhere on a private project something similar im

Aw: Wrapping a FormComponent with a Border

2019-09-02 Thread Tom Götz
ntag, 02. September 2019 um 09:22 Uhr > Von: "Tom Götz" > An: users@wicket.apache.org > Betreff: Wrapping a FormComponent with a Border > > Hi there, > > I would like to automatically wrap a FormComponent with a Border whenever it > is added on a certain page. Let

Re: Wrapping a FormComponent with a Border

2019-09-02 Thread Tom Götz
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 : > > Hi, > > Would approach described in [1] match your use c

Re: Wrapping a FormComponent with a Border

2019-09-02 Thread Ernesto Reinaldo Barreiro
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 wrote: > Hi there, > > I would like to automatically wrap a FormComponent with a Border whenever > it is added o

Wrapping a FormComponent with a Border

2019-09-02 Thread Tom Götz
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 a