Chathura Prabuddha wrote:
> Hai..
>
> I'm trying to integrate the date picker to poll application date fields.
> I would like to know is there a way that to set the object property name
> (like $pobj.pollOpen) as the 'relative' in the javascript.
> ex:
> <script type="text/javascript">
> var dpicker = new DatePicker({
> relative : 'how to set the object parameter',
relative: '${pobj.className}_${pobj.number}_pollOpen',
> language: "$context.language"
> });
> </script>
>
> Also I want to know that can we use the date picker inside the #info macro.
> ex:#info("The poll is open from $pobj.pollOpen to $pobj.pollClose.")
Yes, it should be possible.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs