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:12 UTC

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

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
 Assigned to: 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


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

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

Alejandro Ramirez reassigned BEEHIVE-293:
-----------------------------------------

    Assign To: Alejandro Ramirez

> 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
>     Assignee: Alejandro Ramirez
>     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


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

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


The message below is now given.

warning: This action has the readOnly attribute set to true, but the useForm
Bean attribute may cause the value of member field scopedBean to be modified.

> 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
>     Assignee: Jason Dunckley
>     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


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

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ 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


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

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

Jason Dunckley reassigned BEEHIVE-293:
--------------------------------------

    Assign To: Jason Dunckley  (was: Alejandro Ramirez)

> 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
>     Assignee: Jason Dunckley
>     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