As I commented in the issue, thus will break the css_xhtml theme.
Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/3/8 saman1000 <saman1...@gmail.com>: > The reset.ftl file should be modified so if is is defined in the jsp, e.g. > <s:reset id="myreset" value="Clear" cssClass="tinput" title="Clear" /> > then the id appears in the translated HTML: > <input type="reset" id="myreset" value="Clear" class="tinput" > title="Clear"/> > and not > <input type="reset" value="Clear" class="tinput" title="Clear"/> > > I modified reset.ftl and added > <#if parameters.id??> > id="${parameters.id?html}"<#rt/> > </#if> > after > <button type="reset"<#rt/> > > and also > <#if parameters.id??> > id="${parameters.id?html}"<#rt/> > </#if> > after > <input type="reset"<#rt/> > > thanks, > saman1000 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org