Hope this helps.
thanks but i mean a visual html component that i can put in my taskform for the user input (a date) to map with a variable of object type (or java.util.date, if its possible?)
Thanks in advance
how about http://jqueryui.com/datepicker
then on submit or on some other event you can retrieve the long value, as Tihomir mentioned, of the js Date object held by the datepicker and populate the form field of your variable in order to pass it to your process.
Yes, that would definitely be an option. Look at this post and video that should help - http://surdilovic.wordpress.com/2012/08/06/process-and-task-form-editing-in-jbpm-designer/. The form widgets support for form creation in jBPM Designer should help. The ability to create your custom widgets is also I believe more powerful than having a visual form builder where you might be limited to the number of objects you can use and the technology a form builder may have support for.