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

Reply via email to