Well, it should generally work, though

datepicker = dojo.widget.byId('<span jwcid="@Insert" 
value="clientId:startDate"/>'); 

is safer.

Take a look at the generated html to see what exactly is happening.



[EMAIL PROTECTED] wrote:
> If I have a Datepicker, 
>
>       <span jwcid="[EMAIL PROTECTED]" value="ognl:filterStartDate" /> 
>
> Does that mean the name of it is startDate? Or am I missing something else? 
> I'm getting errors trying to do :
>
>       datepicker = dojo.widget.byId('startDate'); 
>
> It's staying undefined.
>
> Thanks,
> Greg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>   


-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to