-----Message d'origine----- De : Lamia Wertani <lwert...@iobeya.com> Envoyé : mercredi 31 janvier 2024 15:57 À : Struts Users Mailing List <user@struts.apache.org> Objet : RE: Velocity tags Issue after Struts upgrade to 2.5.33
Hi, I'm writing to share an update about the redirecting issue we were experiencing with all forms. I have implemented a fix by adding the id attribute to all sform tag. Now, after submitting the form, I'm correctly redirected to the intended interface. While the id attribute is optional, adding it seems to have resolved the issue in this case. The generated HTML has been updated following the addition of the id attribute. Previously, the form looked like this in the shared file : <form id="save_group" name="save_group" ...> Now, with the update, the form appears as: <form id="save-group" name="save-group" ...> It's unclear why this wasn't necessary in the previous version (2.5.22) because everything worked fine without it. Thanks Lamia ________________________________ De : Lukasz Lenart <lukaszlen...@apache.org> Envoyé : mardi 30 janvier 2024 10:04 À : Struts Users Mailing List <user@struts.apache.org> Objet : Re: Velocity tags Issue after Struts upgrade to 2.5.33 wt., 30 sty 2024 o 10:01 Lamia Wertani <lwert...@iobeya.com> napisał(a): > > response: {"messages":["Group Test successfully > added"],"result":"success"} > > The same response is displayed on a blank page. But this is JSON so I have no idea how does it relate to Velocity - I would assume you have a problem with JS on your end Cheers Łukasz --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org