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 the Border without having any markup
> inside the Border? Won't I need my markup inside the border
> s?
>
right! it is a Border, not a Panel
Well ok, I'll give the Panel solution a try. In the panel I will have a
FormGroup Border and inside that there's my input/textfield. Only thing that
still worries me:
user creates the TextField in Java code with wicket:id that he has in it's
markup file. This wicket:id can't be changed
Hi Bas and thanks for your input! I guess this would also be my preferred way
to deal with that task. But this also means that all "client" applications
would have to be adapted and at least change their HTML markup which I'd like
to avoid. I'm currently looking for a solution that avoids code
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 the entire form is created programmatically, apart from
a single div which our FormPanel connects to.
In other
Martin,
maybe you could point me into the right direction concerning the markup
manipulation part?
This is what I got in my HTML:
I guess this is what I need for effectively replacing the input with a
FormGroup border:
Where would be the best place in the code to start
Thanks Martin, I will look into that. But won't it be a problem that I will add
the / TextField to the Border without having any markup inside the
Border? Won't I need my markup inside the border s?
Tom
> Gesendet: Dienstag, 03. September 2019 um 09:22 Uhr
> Von: "Martin Grigorov"
> An:
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.
Your IComponentInitializationListener will replace all components of type
TextField which do not have FormGroup as a parent with a MyFormGroup.
public class MyFormGroup
Hi Tom,
Maybe you can roll your own namespace implementing ComponentTag and have
something like
and this gets replaced by
and the corresponding components.
On Tue, Sep 3, 2019 at 10:09 AM "Tom Götz" wrote:
> Martin,
>
> maybe you could point me into the right direction