Problem with getting value of a Date Input

Hello everybody,

I am trying to get value of a Date Input Control, I use Portlet Url Script Parameter to pass this value to another portlet.

I choose for value property : the expression language of my Date Input (#{RechercheView.dateDebut})
and for valueType property : control value

It works, but it returns : Thu Sep 15 2011 00:00:00 GMT+0200, or I want to personalize the format of the returned date.

Thank you !!

I think you’ll either have to get the milliseconds from the java.util.Date object on the server or have your receiving portlet parse the textual representation of the date.