Re: Struts 2 and automatic ids

2014-10-08 Thread Christoph Nenning
> I was wondering what the proper solution should be and didn't find any :\ > > You can always add id attribute your self - this should work > > > value="%{groupValues[#user.id]}" /> > > but it means we shouldn't autogenerate IDs which can break few things :/ Every time I see those autogene

Re: Struts 2 and automatic ids

2014-10-07 Thread Lukasz Lenart
I was wondering what the proper solution should be and didn't find any :\ You can always add id attribute your self - this should work but it means we shouldn't autogenerate IDs which can break few things :/ 2014-09-21 14:15 GMT+02:00 Heikki Hyyrö : > Lukasz Lenart kirjoitti 21.9.2014 kello

Re: Struts 2 and automatic ids

2014-09-21 Thread Heikki Hyyrö
Lukasz Lenart kirjoitti 21.9.2014 kello 11.48: > Can you prepare some exact example app? Would the example snippet at the bottom be enough? It shows a slightly cleaned version of one form we use. The form basically consists of a table that lists the users of the system. Each user can be assign

Re: Struts 2 and automatic ids

2014-09-21 Thread Lukasz Lenart
2014-09-11 1:13 GMT+02:00 Heikki Hyyrö : > 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 i

Re: Struts 2 and automatic ids

2014-09-11 Thread Heikki Hyyrö
Martin Gainty kirjoitti 11.9.2014 kello 14.31: > MG>reference for id is here > http://www.w3.org/TR/html401/struct/global.html#adef-id > > MG>the 'functions' the (generated) id plays are illustrated here: > The (unique) id attribute has several functions in HTML: Yes, I am quite aware of what id

RE: Struts 2 and automatic ids

2014-09-11 Thread Martin Gainty
> From: heikki.hy...@uta.fi > Subject: Struts 2 and automatic ids > Date: Thu, 11 Sep 2014 02:13:44 +0300 > To: user@struts.apache.org > > Hi all, > > I recently began to

Struts 2 and automatic ids

2014-09-10 Thread Heikki Hyyrö
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