Note that if a panel with variants is present in the page markup, the correct 
markup variant of the panel is used directly after the submit. So the 3rd line 
below becomes:

- The page markup variant without the style is still displayed, but the panel 
markup variant with the style is correctly displayed.

Op Wed, 26 Jun 2024 10:09:26 +0200 schreef Johan Stuyts 
<johanstu...@squins.com>:

Hello,

If I make changes to the style, variation and/or locale during an (Ajax) 
submit, the changes are not picked up: the markup of the variant that was 
active at the start of the request is still used.

For example:
- Load the page with the style not set.
- Click on an (Ajax) button to set the style (and do not set a response page).
- The markup variant without the style is still displayed.
- Refresh, or click the button again, and then the correct markup variant is 
displayed.

Is it possible to tell Wicket to reload the markup after the style, variation 
and/or locale have changed?

Thanks in advance for your answers.



--
Best regards / Met vriendelijke groet,

Johan Stuyts
Squins IT Solutions BV
Oranjestraat 30
2983 HS  Ridderkerk
The Netherlands
www.squins.com
Chamber of commerce Rotterdam: 24435103

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to