beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Feit (JIRA)" <>
Subject [jira] Closed: (BEEHIVE-1004) Unnecessary wrapping of Struts ActionForm in request
Date Mon, 14 Nov 2005 18:42:28 GMT
     [ ]
Rich Feit closed BEEHIVE-1004:

    Resolution: Fixed

This is fixed with revision 344179.  I've added an automated test for this (InitStrutsActionForm)
-- closing.

> Unnecessary wrapping of Struts ActionForm in request
> ----------------------------------------------------
>          Key: BEEHIVE-1004
>          URL:
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>     Reporter: Rich Feit
>     Assignee: Rich Feit
>      Fix For: 1.1

> This is an issue that was reported by a user.  I'm currently working on it and am entering
the bug just to track it for future reference.  
> In general, you can initialize form beans on the page by calling Forward.addOutputForm(),
or by using the Forward constructor that takes a second (form bean) argument.  In the page,
you can access the form bean with the 'actionForm' context, or using the Struts attribute
in the request (the "name" of the form bean as defined in the Struts config file for the current
module).  If you use a raw Struts ActionForm (not our FormData or a bean that doesn't extend
either one), you end up with an org.apache.beehive.netui.pageflow.internal.AnyBeanActionForm
in the Struts attribute in the request.  This is unnecessary -- if you passed a Struts ActionForm
you should end up with that instance in the request attribute.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message