You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Rich Feit (JIRA)" <be...@incubator.apache.org> on 2005/02/02 22:49:19 UTC

[jira] Created: (BEEHIVE-233) page flow actions can't use generic type-variables as arguments

page flow actions can't use generic type-variables as arguments
---------------------------------------------------------------

         Key: BEEHIVE-233
         URL: http://issues.apache.org/jira/browse/BEEHIVE-233
     Project: Beehive
        Type: Bug
  Components: NetUI  
    Versions: V1Beta    
    Reporter: Rich Feit
 Assigned to: Rich Feit 
    Priority: Minor
     Fix For: V1Beta


The following class gives an error for the 'T' argument to the submit action:

    @Jpf.Controller(
        simpleActions={@Jpf.SimpleAction(name="begin", path="index.jsp")}
    )
    public class Controller< T extends Controller.BaseFormBean > extends PageFlowController
    {
        @Jpf.Action(
            forwards={
               @Jpf.Forward(name="index", path="index.jsp")
            }
        ) 
        protected Forward submit( T form )
        {
            return new Forward("index");
        }

        public static class BaseFormBean implements Serializable
        {
            private String _foo;
            public void setFoo( String foo ) { _foo = foo; }
            public String getFoo() { return _foo; }
        }
    }

We should support this -- as far as the annotation processor is concerned, T is a BaseFormBean.

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


[jira] Closed: (BEEHIVE-233) page flow actions can't use generic type-variables as arguments

Posted by "Julie Zhuo (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-233?page=all ]
     
Julie Zhuo closed BEEHIVE-233:
------------------------------


Verified working at rev170022. BEEHIVE-460 is one case of this usage.

> page flow actions can't use generic type-variables as arguments
> ---------------------------------------------------------------
>
>          Key: BEEHIVE-233
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-233
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Rich Feit
>     Assignee: Julie Zhuo
>     Priority: Minor
>      Fix For: V1Beta

>
> The following class gives an error for the 'T' argument to the submit action:
>     @Jpf.Controller(
>         simpleActions={@Jpf.SimpleAction(name="begin", path="index.jsp")}
>     )
>     public class Controller< T extends Controller.BaseFormBean > extends PageFlowController
>     {
>         @Jpf.Action(
>             forwards={
>                @Jpf.Forward(name="index", path="index.jsp")
>             }
>         ) 
>         protected Forward submit( T form )
>         {
>             return new Forward("index");
>         }
>         public static class BaseFormBean implements Serializable
>         {
>             private String _foo;
>             public void setFoo( String foo ) { _foo = foo; }
>             public String getFoo() { return _foo; }
>         }
>     }
> We should support this -- as far as the annotation processor is concerned, T is a BaseFormBean.

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


[jira] Assigned: (BEEHIVE-233) page flow actions can't use generic type-variables as arguments

Posted by "Jason Dunckley (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-233?page=history ]

Jason Dunckley reassigned BEEHIVE-233:
--------------------------------------

    Assign To: Alejandro Ramirez  (was: Jason Dunckley)

> page flow actions can't use generic type-variables as arguments
> ---------------------------------------------------------------
>
>          Key: BEEHIVE-233
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-233
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Rich Feit
>     Assignee: Alejandro Ramirez
>     Priority: Minor
>      Fix For: V1Beta

>
> The following class gives an error for the 'T' argument to the submit action:
>     @Jpf.Controller(
>         simpleActions={@Jpf.SimpleAction(name="begin", path="index.jsp")}
>     )
>     public class Controller< T extends Controller.BaseFormBean > extends PageFlowController
>     {
>         @Jpf.Action(
>             forwards={
>                @Jpf.Forward(name="index", path="index.jsp")
>             }
>         ) 
>         protected Forward submit( T form )
>         {
>             return new Forward("index");
>         }
>         public static class BaseFormBean implements Serializable
>         {
>             private String _foo;
>             public void setFoo( String foo ) { _foo = foo; }
>             public String getFoo() { return _foo; }
>         }
>     }
> We should support this -- as far as the annotation processor is concerned, T is a BaseFormBean.

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


[jira] Assigned: (BEEHIVE-233) page flow actions can't use generic type-variables as arguments

Posted by "Jason Dunckley (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-233?page=history ]

Jason Dunckley reassigned BEEHIVE-233:
--------------------------------------

    Assign To: Jason Dunckley  (was: Alejandro Ramirez)

> page flow actions can't use generic type-variables as arguments
> ---------------------------------------------------------------
>
>          Key: BEEHIVE-233
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-233
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Rich Feit
>     Assignee: Jason Dunckley
>     Priority: Minor
>      Fix For: V1Beta

>
> The following class gives an error for the 'T' argument to the submit action:
>     @Jpf.Controller(
>         simpleActions={@Jpf.SimpleAction(name="begin", path="index.jsp")}
>     )
>     public class Controller< T extends Controller.BaseFormBean > extends PageFlowController
>     {
>         @Jpf.Action(
>             forwards={
>                @Jpf.Forward(name="index", path="index.jsp")
>             }
>         ) 
>         protected Forward submit( T form )
>         {
>             return new Forward("index");
>         }
>         public static class BaseFormBean implements Serializable
>         {
>             private String _foo;
>             public void setFoo( String foo ) { _foo = foo; }
>             public String getFoo() { return _foo; }
>         }
>     }
> We should support this -- as far as the annotation processor is concerned, T is a BaseFormBean.

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


[jira] Resolved: (BEEHIVE-233) page flow actions can't use generic type-variables as arguments

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-233?page=history ]
     
Rich Feit resolved BEEHIVE-233:
-------------------------------

     Assign To: Alejandro Ramirez  (was: Rich Feit)
    Resolution: Fixed

> page flow actions can't use generic type-variables as arguments
> ---------------------------------------------------------------
>
>          Key: BEEHIVE-233
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-233
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Rich Feit
>     Assignee: Alejandro Ramirez
>     Priority: Minor
>      Fix For: V1Beta

>
> The following class gives an error for the 'T' argument to the submit action:
>     @Jpf.Controller(
>         simpleActions={@Jpf.SimpleAction(name="begin", path="index.jsp")}
>     )
>     public class Controller< T extends Controller.BaseFormBean > extends PageFlowController
>     {
>         @Jpf.Action(
>             forwards={
>                @Jpf.Forward(name="index", path="index.jsp")
>             }
>         ) 
>         protected Forward submit( T form )
>         {
>             return new Forward("index");
>         }
>         public static class BaseFormBean implements Serializable
>         {
>             private String _foo;
>             public void setFoo( String foo ) { _foo = foo; }
>             public String getFoo() { return _foo; }
>         }
>     }
> We should support this -- as far as the annotation processor is concerned, T is a BaseFormBean.

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


[jira] Assigned: (BEEHIVE-233) page flow actions can't use generic type-variables as arguments

Posted by "Alejandro Ramirez (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-233?page=all ]

Alejandro Ramirez reassigned BEEHIVE-233:
-----------------------------------------

    Assign To: Julie Zhuo  (was: Alejandro Ramirez)

please verify this.

> page flow actions can't use generic type-variables as arguments
> ---------------------------------------------------------------
>
>          Key: BEEHIVE-233
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-233
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Rich Feit
>     Assignee: Julie Zhuo
>     Priority: Minor
>      Fix For: V1Beta

>
> The following class gives an error for the 'T' argument to the submit action:
>     @Jpf.Controller(
>         simpleActions={@Jpf.SimpleAction(name="begin", path="index.jsp")}
>     )
>     public class Controller< T extends Controller.BaseFormBean > extends PageFlowController
>     {
>         @Jpf.Action(
>             forwards={
>                @Jpf.Forward(name="index", path="index.jsp")
>             }
>         ) 
>         protected Forward submit( T form )
>         {
>             return new Forward("index");
>         }
>         public static class BaseFormBean implements Serializable
>         {
>             private String _foo;
>             public void setFoo( String foo ) { _foo = foo; }
>             public String getFoo() { return _foo; }
>         }
>     }
> We should support this -- as far as the annotation processor is concerned, T is a BaseFormBean.

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