RE: DTO pattern and WrapDynaBean

2003-11-14 Thread Sumit S.
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

RE: DTO pattern and WrapDynaBean

2003-11-14 Thread Sumit S.
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

RE: Dreaming of a constant value that can be available in all of my actions

2003-11-14 Thread Sumit S.
- 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

RE: Checkbox values

2003-11-14 Thread Sumit S.
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

RE: Problem of nested logic:iterate

2003-11-13 Thread Sumit S.
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

Null DynaActionForm

2003-11-12 Thread Sumit S.
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,

RE: Dynamic bean in a result list

2003-11-12 Thread Sumit S.
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

RE: new to struts

2003-11-11 Thread Sumit S.
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

ResultSetDynaClass etc...

2003-11-11 Thread Sumit S.
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

RE: ResultSetDynaClass etc...

2003-11-11 Thread Sumit S.
- 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

RE: ResultSetDynaClass etc...

2003-11-11 Thread Sumit S.
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