2014-09-11 1:13 GMT+02:00 Heikki Hyyrö <heikki.hy...@uta.fi>:
> Hi all,
>
> I recently began to audit a Struts 2.3.16.1 application that I am 
> maintaining. While running the pages through the HTML markup validation test 
> at http://validator.w3.org/, I noticed a problem: Struts 2 seems to 
> automatically generate id’s to many elements related to forms, and sometimes 
> this results in a page that has several elements with identical auto 
> generated id. This then leads to a markup validation error. So far the only 
> way I have found to get around this is to explicitly generate own unique ids, 
> but this feels like a stupid solution. Is it not possible to prevent Struts 
> from auto generating ids to forms and some elements within them?
>
> I have tried to google for some solution but have found nothing useful. In 
> case it matters, the application in question uses the basic Struts ”simple 
> theme” globally, but the same problem occurs also with the "xhtml theme".

Can you prepare some exact example app?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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

Reply via email to