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)" <de...@beehive.apache.org> on 2005/11/10 17:59:03 UTC
[jira] Created: (BEEHIVE-1001) Cannot initialize a page's form bean with a derived type
Cannot initialize a page's form bean with a derived type
--------------------------------------------------------
Key: BEEHIVE-1001
URL: http://issues.apache.org/jira/browse/BEEHIVE-1001
Project: Beehive
Type: Bug
Components: NetUI
Versions: V1
Reporter: Rich Feit
Assigned to: Rich Feit
Fix For: 1.1
Attachments: Controller.java
The attached page flow contains two form bean classes: MyForm and DerivedForm (the latter extends the former). Its begin method tries to initialize index.jsp with an instance of DerivedForm. index.jsp posts to an action that accepts MyForm. This all should work, but currently the page will only be initialized if you pass it an instance of MyForm (exactly).
--
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] Closed: (BEEHIVE-1001) Cannot initialize a page's form bean with a derived type
Posted by "Rich Feit (JIRA)" <de...@beehive.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-1001?page=all ]
Rich Feit closed BEEHIVE-1001:
------------------------------
Resolution: Fixed
Assign To: (was: Rich Feit)
Fixed with revision 332350. I added an automated test for this (InitWithDerivedFormBean) -- closing.
> Cannot initialize a page's form bean with a derived type
> --------------------------------------------------------
>
> Key: BEEHIVE-1001
> URL: http://issues.apache.org/jira/browse/BEEHIVE-1001
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1
> Reporter: Rich Feit
> Fix For: 1.1
> Attachments: Controller.java
>
> The attached page flow contains two form bean classes: MyForm and DerivedForm (the latter extends the former). Its begin method tries to initialize index.jsp with an instance of DerivedForm. index.jsp posts to an action that accepts MyForm. This all should work, but currently the page will only be initialized if you pass it an instance of MyForm (exactly).
--
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] Updated: (BEEHIVE-1001) Cannot initialize a page's form bean with a derived type
Posted by "Rich Feit (JIRA)" <de...@beehive.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-1001?page=all ]
Rich Feit updated BEEHIVE-1001:
-------------------------------
Attachment: Controller.java
Repro page flow.
> Cannot initialize a page's form bean with a derived type
> --------------------------------------------------------
>
> Key: BEEHIVE-1001
> URL: http://issues.apache.org/jira/browse/BEEHIVE-1001
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1
> Reporter: Rich Feit
> Assignee: Rich Feit
> Fix For: 1.1
> Attachments: Controller.java
>
> The attached page flow contains two form bean classes: MyForm and DerivedForm (the latter extends the former). Its begin method tries to initialize index.jsp with an instance of DerivedForm. index.jsp posts to an action that accepts MyForm. This all should work, but currently the page will only be initialized if you pass it an instance of MyForm (exactly).
--
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