Good catch. Thanks for sharing the information. In the implementation for the NetUI process populate, defers to the commons BeanUtils for non-NetUI expression keys, which is what Struts uses. Before doing the populate, a Serializable form beans gets wrapped in a NetUI AnyBeanActionForm object where as the FormData form bean is just passed through. Seems like the commons BeanUtils method, populate() does not handle the AnyBeanActionForm in this case.
Go ahead and file a JIRA issue to track this. Kind regards, Carlin On 8/28/06, Yongqin Xu <[EMAIL PROTECTED]> wrote:
In my controller class, I have a action that takes a form bean implements Serializable. The URL link that invokes that action has parameter name mapped to the form bean properties, like "myaction.do?myId=3", in runtime, the form bean with "myId" always get null value. But If I extends deprecated FormData for my form bean, "myId" get what it wants. I am using 9.2 weblogic workshop IDE to create a new form bean, which creates a form bean implements Serializable only. So I am wondering if this is document issue, or netui issue not. I attach a war file with Controller.java and index.jsp sources to let you verify it. thanks _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
