protected Object convertValue(String[] value) {
// we can ignore passed in value, but what we do instead is create an
object based on child components
LocalTime time=(LocalTime)timepicker.getconvertedinput();
DateTime datetime=time.withDate
((LocalDate)datepicker.getConvertedInput());
On 5/1/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
protected Object convertValue(String[] value) {
// we can ignore passed in value, but what we do instead is create an
object based on child components
LocalTime time=(LocalTime)timepicker.getconvertedinput();
DateTime
Hi,
I have an interesting issue to be solved, which is the fact that the
way our form(component) processing currently works pressumes that all
form components get their input from request parameters. But a
component like DateTimeField (or any FormComponentPanel probably)
doesn't work like that,
this is already possible, and is very elegant!
all you have to do is something like this
protected Object convertValue(String[] value) {
// we can ignore passed in value, but what we do instead is create an
object based on child components
LocalTime