click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Finn Bock <bck...@gmail.com>
Subject Re: svn commit: r957933 - in /click/trunk/click: documentation/docs/ extras/src/META-INF/resources/click/calendar/ extras/src/org/apache/click/extras/control/
Date Sun, 27 Jun 2010 20:05:52 GMT
2010/6/26 Bob Schellink
> Hi Finn,
>
>> +    protected void addCalenderTranslations(List<Element> headElements) {
>> +        JsScript script = new JsScript();
>> +        script.setId("$datefield_js_setup_global");
>> +        script.setRenderId(false);
>
>
> Just curious why the ID attr isn't rendered? Having the ID attribute is quite useful
for Ajax, since
> one can determine whether an incoming payload should be executed or not.

I was afraid that the id I picked could be used by some other control,
so I figured I could pick an illegal name and then not render it.

regards,
Finn

Mime
View raw message