Hi Vahid,
This feature has been requested multiple times in the Wicket's long history.
There have even been times where implementations of this feature have
been developed but unfortunately not added to the Wicket code base,
apparently due to backwards compatibility issues but I believe there
Oh yes.
Was a good Idea to Handle this.
thanks.
On Sun, Jan 9, 2022 at 5:25 PM Bergmann Manfred
wrote:
> Hi.
>
> I’m not sure this would be a good feature.
> I’d imagine it would not be trivial to implement but more importantly it
> would lead to complex designs.
>
> A proper way to handle this
Hi.
I’m not sure this would be a good feature.
I’d imagine it would not be trivial to implement but more importantly it would
lead to complex designs.
A proper way to handle this is composition. So (just as an example) instead of
two s you add two and depending on your need
(or your Java subc
Yes,
I want to use a child class in multiple places of parent markup.
How should I handle that?
If it does not exist and isn't any way to do that, I think it's a good
feature for the future.
On Sun, Jan 9, 2022 at 4:34 PM Bergmann Manfred
wrote:
> Hi.
>
> To my knowledge that doesn’t work.
> Thi
Hi.
To my knowledge that doesn’t work.
This is probably a case to prefer composition over inheritance?
Manfred
> Am 09.01.2022 um 13:55 schrieb vahid ghasemi :
>
> Hello,
> How can I use 2 wicket:child for 1 inherited class?
> Like this:
>
> Hello
>
> Hello
>
>
>
>
> Hello again
>
> He
Hello,
How can I use 2 wicket:child for 1 inherited class?
Like this:
Hello
Hello
Hello again
Hello again