File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ModelDriven and validate

 
Andreas Dilli
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

my action implements ModelDriven. In my jsp i have Form-Data and data that will only be displayed.
When i submit the form in my save-method all the date in the model is available. But within the validate method only the requested data is available and so after the input result the form is rendered only with the data that i have seen in the validate method.
All the other data is lost.

Can anyone help me?
 
Andreas Dilli
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some code:






 
Subhrangshu Samanta
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andreas,

Can you provide us the entire code in "MeasuringDeviceWizardAction.jsp" and "struts.xml".

Thanks.
Subhrangshu
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic