posted 13 years ago
Strange - you have <hx:inputHelperDatePicker></hx:inputHelperDatePicker> as a child
component of h:inputText. So hx:inputHelperDatePicker is a composite component you or
one of your colleagues has written to call some JS or jQuery function, yes?
Put the h:inputText inside the composite component, you'll need to use f:convertDateTime
as a child of the inputText component. The composite needs a <composite:attribute name
="value" type="java.util.Date"> attribute.
So your composite component isn't just a helper any more, it's a bona fides date input
component.
The main thing I notice is this old fashioned full page submit stuff you're doing. In all
fairness though I'm still working on putting together an input date/time composite that
is ajax enabled.
I know how to do ajax enabled composite components well enough but haven't figured
out if/how I can get a standard inputText component to generate a 'simulated' js event.
Regards,
Brendan.