wt., 18 lut 2020 o 05:22 M Huzaifah <mhuzaifah.i...@gmail.com> napisał(a): > I've looking for solution how to create struts2 tag could generate > dynamically. This is my code: > > <c:forEach items=${columnList} var="column"> > <s:textfield name:${column.columnName}/> > </:c>
You shouldn't mix Struts and non-Struts tags, this is a bad idea. Why don't you use <s:iterator/> here? https://struts.apache.org/tag-developers/iterator-tag.html And I'm not sure what do you want achieve with this strange syntax "name:${column.columnName}"? 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