RE: [s2] Prepare and Parameter Interceptors

2007-11-20 Thread Mark Steyn
t's another way you can expose your recently hydrated object to the form. You would not need the "myObject." prefix on your fieldnames or a setter in the Action for that object if you use ModelDriven. --- If none of that does the trick, you'll need to provide more detail,

[s2] Prepare and Parameter Interceptors

2007-11-19 Thread Mark Steyn
I'm trying to use the Prepare interceptor in conjunction with the Parameters interceptor to create objects from persistent storage before Struts 2 sets their properties based on values posted from a form, as suggested in http://struts.apache.org/2.0.11/docs/prepare-interceptor.html My understan

Creating and setting properties of collections

2007-11-09 Thread Mark Steyn
Forgive me is this is a very obvious question, but I'm new to struts 2, and despite googling around, I'm still not sure as to how to do something. I'm trying to accomplish the following: 1. Create a form which is used upload a zip file containing a number of images 2. Upload and process those ima