You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2006/09/10 09:15:31 UTC

[jira] Resolved: (WW-935) Top-down (ordered) ParameterInterceptor

     [ http://issues.apache.org/struts/browse/WW-935?page=all ]

Don Brown resolved WW-935.
--------------------------

    Fix Version/s: 2.0.1
                       (was: Future)
       Resolution: Fixed

Patch applied.  Thanks Mike!

> Top-down (ordered) ParameterInterceptor
> ---------------------------------------
>
>                 Key: WW-935
>                 URL: http://issues.apache.org/struts/browse/WW-935
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Interceptors
>    Affects Versions: WW 2.2
>         Environment: Doesn't matter.
>            Reporter: Mike Mosiewicz
>         Assigned To: Don Brown
>             Fix For: 2.0.1
>
>         Attachments: patch.txt
>
>
> I attach a patch that makes ParametersInterceptor sets properties in a specific order (top-down). The reason for this is that I noticed I used "preparable" pattern to often. Sometimes I had to use three passes of parameter interceptor when I wanted to accomplish both model implementation factory and loading model from persistent factory. This led to having very detailed xwork.conf. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira