Hi,
just go for a JavaScript solution, something like the 'Accept our cookies'
modal you see the first time you visit a site. Wicket hook methods like
onInitialize are executed on server side so the can't directly trigger
JavaScript code.
On Sun, Sep 22, 2019, 3:42 PM Sibgha Nazir wrote:
> Hi,
Hi,
Thanks But it calls the constructor every time the page is rendered. What I
want is, once the user has seen that page before, I don't want to execute
that logic again.
I want to trigger a javascript function for the first time users. If I have
seen the webpage once, the next time I open it,