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',
 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.")



Thank you.

~ Chathura  Prabuddha Ganegoda~
Undergraduate,
Department of Computer Science & Engineering,
University of Moratuwa,
Sri Lanka.
http://gacpganegoda.blogspot.com/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to