Hi All,
I am currently working on an application with Struts2 and stuck up in 2 issues .
1) Issue with datetimepicker tag:
I have a date field in my
jsp with the below syntax.
<sx:datetimepicker name="incidentdate" label="Incident Date" displayFormat="MM-dd-yyyy"/>
And the action class has the same field Date incidentdate; ( with getters and setter methods as well)
When I am selecting a date from the datetimepicker tag and trying to submit, i am getting a pop up error message " [Ojbect Error]".
2) Issue with autocompleter tag
I am using an autocompleter tag to select a reason, but I want to make this as a mandatory field, but when i am writing validation rule then i am getting the same error message "[Object Error]".
<sx:autocompleter name="issue" label="Issue" list="{'Login','Help','New Request','Edit request'}" autoComplete="true" showDownArrow="false" />
So can someone help me how to get these things fixed.
I want to select a date from datetimepicker and be able to submit my form
and able to validate the autocompleter tag and make sure that the user should not be able to leave that empty.
Thanks,
Pawan Kalyan