The idea is to separate the setting of the model into the valuestack
into an optional interceptor. In this way, you can customize the order
of interceptors so that you can (and this is the example Matt had that
led to us talking this through) set your static params (the params from
your xwork.xml) then the action can use these params to decide which
model type to build when getModel is called to get the model to put into
the ValueStack when the ModelDrivenInterceptor is applied. 

If you have a model with children, you need to use sub-property field
names, for instance "customer.address.street". 

Now that the wiki is back up, we need to go back and document this.

Jason

> -----Original Message-----
> From: BOGAERT Mathias [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, July 08, 2003 10:15 AM
> To: Opensymphony-Webwork ([EMAIL PROTECTED])
> Subject: [OS-webwork] Model Driven Actions
> 
> 
> Hi guys,
> 
> I've seen the ModelDrivenInterceptor. Can someone explain 
> it's intented usage? How do I do the CRUD thing using Model 
> Driven Actions? What is your approach to a model which has 
> children (eg. Customer Obj - Address Obj - Street String)?
> 
> Thanks,
> Mathias
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites 
> including Data Reports, E-commerce, Portals, and Forums are 
> available now. Download today and enter to win an XBOX or 
> Visual Studio .NET. 
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06
1203_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to