Put your datepicker-s to JSP page (e.g. dates.jsp
) and change your action to return this page instead of json result.
<action name="jsonReloadDatePickerAction" class="com.ebhasin.fitnessbliss.actions.GraphsAction" method="reloadDatePicker">
<result>path_to_your_dates.jsp</result>
</action>
Of course you need to have getters/setters for startDate
and endDate
in your GraphsAction
action.