Re: Re: Re: Automatically insert generated html IDs in other places in html file

2022-07-11 Thread Martin Grigorov
just have > to do it the "old fashioned" way by adding everything on the Java side as > well. I just wanted to know ahead of that if somebody has solved this > problem in a more elegant way before and I would maybe not have to reinvent > the wheel. > > Thank you for your t

Aw: Re: Re: Automatically insert generated html IDs in other places in html file

2022-07-08 Thread Daniel Radünz
sers@wicket.apache.org Betreff: Re: Re: Automatically insert generated html IDs in other places in html file On Sat, Jul 2, 2022, 15:18 Martijn Dashorst wrote: > I think Daniel suggest that Wicket doesn't make /all/ id's unique, only > those that are owned by it by having a component attache

Re: Re: Automatically insert generated html IDs in other places in html file

2022-07-03 Thread Martin Grigorov
gt; > > If I'd then have a page which has the same panel twice in it, Wicket > > would > > > take care of assinging unique IDs and also putting these generated > unique > > > IDs in the corresponding attributes that reference them, resulting in > > > something

Re: Re: Automatically insert generated html IDs in other places in html file

2022-07-02 Thread Martijn Dashorst
reference them, resulting in > > something like this: > > > > > > > > > > > > > > > > If there is something like the IResponseFilter but on a per component > base > > which would allow me to inspect and modify only the html

Re: Re: Automatically insert generated html IDs in other places in html file

2022-06-30 Thread Martin Grigorov
component base > which would allow me to inspect and modify only the html fragment of a > component/panel it might work. > > Kind regards, > Daniel > > > Gesendet: Mittwoch, 29. Juni 2022 um 15:40 Uhr > Von: "Martin Grigorov" > An: users@wicket.apache

Re: Re: Automatically insert generated html IDs in other places in html file

2022-06-30 Thread Martin Terra
component/panel it might work. > > Kind regards, > Daniel > > > Gesendet: Mittwoch, 29. Juni 2022 um 15:40 Uhr > Von: "Martin Grigorov" > An: users@wicket.apache.org > Betreff: Re: Automatically insert generated html IDs in other places in > html file > Hi, > >

Aw: Re: Automatically insert generated html IDs in other places in html file

2022-06-30 Thread Daniel Radünz
regards, Daniel  Gesendet: Mittwoch, 29. Juni 2022 um 15:40 Uhr Von: "Martin Grigorov" An: users@wicket.apache.org Betreff: Re: Automatically insert generated html IDs in other places in html file Hi, The easiest way I could imagine is with a short jQuery function that is called o

Re: Automatically insert generated html IDs in other places in html file

2022-06-29 Thread Martin Grigorov
Hi, The easiest way I could imagine is with a short jQuery function that is called on domready. If you need to do it on the server side then maybe with IResponseFilter. On Wed, Jun 29, 2022, 12:38 Daniel Radünz wrote: > Hello everybody, > > I'm wondering if there is a way in Wicket to

Re: Automatically insert generated html IDs in other places in html file

2022-06-29 Thread Martin Terra
ke 29. kesäk. 2022 klo 12.38 Daniel Radünz (ihmehlm...@gmx.de) kirjoitti: > Hello everybody, > > I'm wondering if there is a way in Wicket to generate unique html IDs and > to then add them in other places in the html, without having to write any > boiler plate code in each panel that I have. > >

Automatically insert generated html IDs in other places in html file

2022-06-29 Thread Daniel Radünz
Hello everybody, I'm wondering if there is a way in Wicket to generate unique html IDs and to then add them in other places in the html, without having to write any boiler plate code in each panel that I have. For example in the following panel I need the ID of the h1 tag to be put into the