You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shale.apache.org by "Craig McClanahan (JIRA)" <ji...@apache.org> on 2006/08/13 03:18:21 UTC

[jira] Created: (SHALE-254) Tiger Extensions do not call back to annotated preprocess/prerender methods

Tiger Extensions do not call back to annotated preprocess/prerender methods
---------------------------------------------------------------------------

                 Key: SHALE-254
                 URL: http://issues.apache.org/struts/browse/SHALE-254
             Project: Shale
          Issue Type: Bug
          Components: Tiger
            Reporter: Craig McClanahan
             Fix For: 1.0.3-SNAPSHOT


When you annotate a view controller using @View instead of "implements ViewController", the methods marked with @Preprocess and @Prerender are never called.  This used to work.


-- 
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

        

[jira] Assigned: (SHALE-254) Tiger Extensions do not call back to annotated preprocess/prerender methods

Posted by "Craig McClanahan (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SHALE-254?page=all ]

Craig McClanahan reassigned SHALE-254:
--------------------------------------

    Assignee: Craig McClanahan

> Tiger Extensions do not call back to annotated preprocess/prerender methods
> ---------------------------------------------------------------------------
>
>                 Key: SHALE-254
>                 URL: http://issues.apache.org/struts/browse/SHALE-254
>             Project: Shale
>          Issue Type: Bug
>          Components: Tiger
>            Reporter: Craig McClanahan
>         Assigned To: Craig McClanahan
>             Fix For: 1.0.3-SNAPSHOT
>
>
> When you annotate a view controller using @View instead of "implements ViewController", the methods marked with @Preprocess and @Prerender are never called.  This used to work.

-- 
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

        

[jira] Resolved: (SHALE-254) Tiger Extensions do not call back to annotated preprocess/prerender methods

Posted by "Craig McClanahan (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SHALE-254?page=all ]

Craig McClanahan resolved SHALE-254.
------------------------------------

    Resolution: Fixed

Added two new testbed webapps (shale-test-core and shale-test-tiger) that contain regression tests to ensure that we do not break view controller callbacks (annotated or regular, in the case of the tiger extensions tests).

The underlying bug reported by this issue have been fixed in nightly build 20060813.


> Tiger Extensions do not call back to annotated preprocess/prerender methods
> ---------------------------------------------------------------------------
>
>                 Key: SHALE-254
>                 URL: http://issues.apache.org/struts/browse/SHALE-254
>             Project: Shale
>          Issue Type: Bug
>          Components: Tiger
>            Reporter: Craig McClanahan
>         Assigned To: Craig McClanahan
>             Fix For: 1.0.3-SNAPSHOT
>
>
> When you annotate a view controller using @View instead of "implements ViewController", the methods marked with @Preprocess and @Prerender are never called.  This used to work.

-- 
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

        

[jira] Commented: (SHALE-254) Tiger Extensions do not call back to annotated preprocess/prerender methods

Posted by "Craig McClanahan (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/SHALE-254?page=comments#action_37955 ] 
            
Craig McClanahan commented on SHALE-254:
----------------------------------------

Corrected initialization of LifecycleListener (core) and LifecycleListener2 (tiger) such that the Tiger version of ViewControllerCallbacks is again registered.  This, in turn, ensures that prerender and preprocess callbacks to annotated view controllers will work correctly again.

Leaving the issue open until suitable tests are added to catch any future regression in this behavior.


> Tiger Extensions do not call back to annotated preprocess/prerender methods
> ---------------------------------------------------------------------------
>
>                 Key: SHALE-254
>                 URL: http://issues.apache.org/struts/browse/SHALE-254
>             Project: Shale
>          Issue Type: Bug
>          Components: Tiger
>            Reporter: Craig McClanahan
>         Assigned To: Craig McClanahan
>             Fix For: 1.0.3-SNAPSHOT
>
>
> When you annotate a view controller using @View instead of "implements ViewController", the methods marked with @Preprocess and @Prerender are never called.  This used to work.

-- 
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