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/13 22:31:13 UTC

[jira] Resolved: (BEEHIVE-293) Need warning when @Jpf.Action has both outputFormBean and readOnly=true

     [ http://issues.apache.org/jira/browse/BEEHIVE-293?page=history ]
     
Rich Feit resolved BEEHIVE-293:
-------------------------------

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

Fixed with revision 153672.

> Need warning when @Jpf.Action has both outputFormBean and readOnly=true
> -----------------------------------------------------------------------
>
>          Key: BEEHIVE-293
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-293
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Rich Feit
>     Priority: Minor
>      Fix For: V1Beta

>
> Consider the following action:
>     @Jpf.SimpleAction(name="foo", path="foo.jsp", outputFormBean="_myForm" readOnly="true")
> This action uses the member field _myForm as its form bean instance.  If data is submitted to this action, _myForm will be modified, and the "promise" that the action is read-only will be violated.  This deserves a compiler warning.

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