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

Reply via email to