struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alireza Fattahi <afatt...@yahoo.com>
Subject Dynamic ID generated by FreeMaker
Date Tue, 21 Jan 2014 09:23:37 GMT
Hi,
 
I found that in struts 2.3.16 the id is generated for input and selects by adding the form
name and input name. For example id="loginForm#userName"
 
I try to change this so only it generate the only input name as its id.
 
I reviwed the text.ftl  and find below line:
 
<#if parameters.id??>
 id="${parameters.id?html}"<#rt/>
</#if>
 
Which means if id is defined use it. But I could not find where/how the autumatic generated
ID is used here.

~Regards,
~~Alireza Fattahi
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message