This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Struts 2.0 and OpenReports Constraint. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2.0 and OpenReports Constraint." Watch "Struts 2.0 and OpenReports Constraint." New topic
Author

Struts 2.0 and OpenReports Constraint.

Divya Janardanan
Greenhorn

Joined: Nov 11, 2008
Posts: 1
I am using OpenReports 2.0 for creating reports and we have customised it for our application. I am submitting the Input parameters(ReportDetail.jsp) to an action class (ReportDetailAction) and am being redirected to a filter page(ReportFilter.jsp). The problem is when I come back by using the browser back button, to the ReportDetail.jsp page, the two date fields are being reset to the current date. They are using a dojo widget for handling the dates. The input fields provided by us are retaining their values but the date fields are being reset.

Can you suggest why this could be happening and how we can avoide this?
 
jQuery in Action, 2nd edition
 
subject: Struts 2.0 and OpenReports Constraint.