obtained from the
ActionForm and retriving this data in the bussines layer.
Ovidiu
- Original Message -
From: Sumit S. [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, November 14, 2003 10:07 AM
Subject: RE: DTO pattern and WrapDynaBean
I have'nt
RowSetDynaClass to create the DynaBeans in the appserver
layer, and I'm planning tu use the same method, but is it really necessary to
use another Value Objet to pass data ?
Ovidiu
- Original Message -
From: Sumit S. [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent
-
De : Sumit S. [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 14 novembre 2003 11:26
À : Struts Users Mailing List
Objet : RE: Dreaming of a constant value that can be available in all of
my actions
U can define use a base Action class that has a static block that sets
the constantderive
Geert,
this would create BookListKey[i].selectedBook = 1 for Checked Books
When you have to render this info try
logic:present name=BookListKey
logic:iterate id=book name=BookListKey
logic:equal name=book property=selectedBook value=1
brselected
Here u go...I have a userForm that has a list of users. Each User further has a list
of orders...here's the logic:iterate code to do what u want to do ...
logic:iterate name=userForm property=users id=user
bean:write name=user property=firstname/
logic:iterate name=user
Hi,
How do I create a new instance of a DynaActionForm when the form passed to my
Action.execute() method is null ?
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
You could use a DynaActionForm that contains a property of type ArrayList ...
Something like...
form-bean name=bookForm type=org.apache.struts.action.DynaActionForm
form-property name=books type=java.util.ArrayList/
/form-bean
This arraylist can contain DynaBeans inside it
http://jakarta.apache.org/struts/learning.html is a good place to start.
Sumit
-Original Message-
From: sanjay paithankar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 2:47 PM
To: [EMAIL PROTECTED]
Subject: new to struts
Hello
can any one point the basic document
The ResultSetDynaClass ResultSetDynaBeans are a powerful way of encapsulating
ResultSets in DynaClasses. However, when we need to transfer the data from such a
DynaClass to a ValueObject (say a structs ActionForm), the
PropertyUtils.copyProperties looks for a property name match.
So now my
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 9:04 PM
To: [EMAIL PROTECTED]
Subject: RE: ResultSetDynaClass etc...
I think the dynaFormBean is there for exactly same purpose
-Original Message-
From: Sumit S. [mailto:[EMAIL PROTECTED]
Sent: Tuesday
PROTECTED]
Sent: Tuesday, November 11, 2003 11:49 PM
To: Struts Users Mailing List
Subject: Re: ResultSetDynaClass etc...
Quoting Sumit S. [EMAIL PROTECTED]:
The ResultSetDynaClass ResultSetDynaBeans are a powerful way of
encapsulating ResultSets in DynaClasses. However, when we need to transfer
11 matches
Mail list logo