Re: Dynamic ID generated by FreeMaker

2014-01-21 Thread Lukasz Lenart
2014/1/21 Dave Newton : > Even if they specify whitespace? OK, that was my only concern. Yes, but then it'll be user's fault :-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsub

Re: Dynamic ID generated by FreeMaker

2014-01-21 Thread Dave Newton
Even if they specify whitespace? OK, that was my only concern. On Jan 21, 2014 6:10 AM, "Lukasz Lenart" wrote: > 2014/1/21 Dave Newton : > > Note to self: the null check should probably be a blank check. > > I don't think so, if user didn't specify the value directly it will be null > > > Regards

Re: Dynamic ID generated by FreeMaker

2014-01-21 Thread Lukasz Lenart
2014/1/21 Dave Newton : > Note to self: the null check should probably be a blank check. I don't think so, if user didn't specify the value directly it will be null Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: Dynamic ID generated by FreeMaker

2014-01-21 Thread Dave Newton
Note to self: the null check should probably be a blank check. On Jan 21, 2014 4:27 AM, "Lukasz Lenart" wrote: > > https://git-wip-us.apache.org/repos/asf?p=struts.git;a=blob;f=core/src/main/java/org/apache/struts2/components/UIBean.java;h=05720134eb7b6337ec9729f3d4c7856751f9142c;hb=6199a402675ed

Re: Dynamic ID generated by FreeMaker

2014-01-21 Thread Lukasz Lenart
https://git-wip-us.apache.org/repos/asf?p=struts.git;a=blob;f=core/src/main/java/org/apache/struts2/components/UIBean.java;h=05720134eb7b6337ec9729f3d4c7856751f9142c;hb=6199a402675ed625c11dce1ad8fe6fffc87430cd#l965 2014/1/21 Alireza Fattahi : > Hi, > > I found that in struts 2.3.16 the id is gener

Dynamic ID generated by FreeMaker

2014-01-21 Thread Alireza Fattahi
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??>