Cannot find PropertyDescriptor exception when using AnyBeanActionForm
---------------------------------------------------------------------

                 Key: BEEHIVE-1151
                 URL: http://issues.apache.org/jira/browse/BEEHIVE-1151
             Project: Beehive
          Issue Type: Bug
          Components: NetUI
    Affects Versions: 1.0.1
         Environment: WebLogic 9.2 beta, Windows XP
            Reporter: Jean-Baptiste Nizet


When using an ActionForm that just implements Serializable, and does not extend 
ActionForm or FormData, I can't access objects stored in the ActionForm (by the 
action) anymore: I get this exception:
javax.servlet.jsp.el.ELException: Cannot find PropertyDescriptor for 'result' 
for bean 'class org.apache.beehive.netui.pageflow.internal.AnyBeanActionForm'

The result object is an instance of a simple JavaBean containing a result 
String property, that the controller creates and stores in the form bean before 
the JSP is rendered.
The JSP tries to render the result using the following EL expression :
${bugForm.result.result}

If the ActionForm extends ActionForm or FormData, the bug disappears.


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

        

Reply via email to