I am not sure how to create a JIRA issue.  I signed up but I can't
figure out where to add one. I'm either terribly dumb or having a very
bad day.

A thought I had on the matter would be to create an interceptor that
followed the model driven interceptor, that would use the java.beans
package to retrieve the accessors of the model  and add them back onto
the valuestack.  Should be really simple, in the essence of webwork.


-a


On Tue, 2003-11-11 at 13:53, Jason Carreira wrote:
> > > 
> > > Apply the com.opensymphony.xwork.interceptor.ChainingInterceptor
> > > interceptor to the Action you're chaining TO and it will copy the 
> > > properties of the previous Action(s) to the new one...
> > > 
> > 
> > How does this work with a model driven system, where the 
> > model is technically the only exposed property of the 
> > previous action on the stack?
> > 
> > i.e. if both actions are model driven, the only exposed 
> > property is the
> > getModel() interface, so therefore it would try to 
> > setModel(), which is not quite what I want.. 
> > 
> > unless I'm not understanding it all quite yet.
> > 
> > -a
> > 
> 
> That's a great question... I wish I had a good answer :-) 
> 
> Unfortunately, right now, this won't work if your chained TO action is
> ModelDriven... Chained FROM actions and their models will both be on the
> ValueStack as sources for setting property values, however. Create a
> Jira issue for this, and we'll see what we can figure out... Right now
> it's not clear how to make this work. 
> 
> Jason
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to