Hi all,
I have a J2EE application using struts and JSP to build the view to my
model.
I have a session facade bean which returns me ValueObject of my beans.
For instance I have a GroupValue object which represents data of my local
GroupBean.
I made a ActionForm as follows (GroupForm.java):
Can the ActionForm parameter of the Action.execute method be
null? Under what circumstances will it be null and when will
it be not-null?
Is this described anywhere?
In the struts-example source, some of the actions check the
form parameter and will instantiate (and put it into scope) if
it is
Kevin wrote:
Can the ActionForm parameter of the Action.execute method be
null? Under what circumstances will it be null and when will
it be not-null?
If there is no form bean associated with the action in struts-config.xml,
then the ActionForm parameter will be null.
Is this described
--- Wendy Smoak [EMAIL PROTECTED] wrote:
Kevin wrote:
Can the ActionForm parameter of the Action.execute method be
null? Under what circumstances will it be null and when will
it be not-null?
If there is no form bean associated with the action in
struts-config.xml,
then the
Yes
Sri
-Original Message-
From: Kevin HaleBoyes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 1:31 PM
To: Struts Users Mailing List
Subject: RE: question about ActionForm parameter of Action.execute() metho d
--- Wendy Smoak [EMAIL PROTECTED] wrote:
Kevin wrote:
Can
Hello,
We are trying to find a clue for this typical case:
fromaform with research critiria, we want to create a page with the
list of results. We have an "ActionForm" associated to the form. The
"ActionForm" is submitted to theclass "Action" which shows the list of
results. But we want to
align="right"
html:submit
bean:message key="viewpnr.submit"/
/html:submit
/td
td align="left"
html:reset
bean:m
I have a Actionform with request scope populated using
PropertyUtil.copyProperties() and forwarded another page.
All the properties display correctly on that page but when I actually submit
I see the reset() method being called and then validate(), however between
reset() and validate() the form
Could you post your JSP, or a fragment of it? That would probably help us
help you.
Thanks.
--
Martin Cooper
- Original Message -
From: "Sean Giles" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 07, 2001 2:57 PM
Subject: question about ActionForm reset()
9 matches
Mail list logo