RE: logic:iterate for arraylist of beans

2006-12-13 Thread mano dasanayake
Hi, As I understood what you have to do is, Iterate through your list and add checkboxes as folllwing... ")" /> Regards, Mano -Original Message- From: Kranti Parisa [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 13, 2006 2:07 PM To: Struts Users Mailing List Subject: logic

RE: logic:iterate for arraylist of beans

2006-12-13 Thread mano dasanayake
i submit the form we can capture all the checked empid using req.gerParamaterValues please suggest something On 12/14/06, mano dasanayake <[EMAIL PROTECTED]> wrote: > > Hi, > As I understood what you have to do is, > Iterate through your list and add checkboxes

RE: DynaValidatorForm - cannot find bean

2006-12-17 Thread mano dasanayake
Hi, Use PropertyUtils.setSimpleProperty(yourForm,"proptyName",object); And PropertyUtils.getsimplePropert(yourform,"proprtyname") --> cast it to the required type.. Have a look http://www.ingrid.org/jajakarta/struts/struts1.0/en/target/documentation/api /org/apache/struts/util/PropertyUtils.htm

RE: read/display image from Database using struts

2006-12-18 Thread mano dasanayake
Hi kranti, You have to use BLOB's to store images in the DB.. Get the Out Stream from the BLOB and then write the byte[] to it.. http://wiki.apache.org/struts/StrutsFileUpload Regards, Mano -Original Message- From: Kranti [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 2:2

RE: initialize a DynaValidatorForm property

2006-12-18 Thread mano dasanayake
Hi, Yes you can initiate an attribute of type arrayList in the DynaForm as follows, And in the action mapping specify the name of the Form Bean that you are about to use. In this case the form bean that contains the List you'r going to initiate.. Regards, Mano -Original Message- From

RE: How to hide scrollbars from jsp's displayed using struts

2007-01-08 Thread mano dasanayake
Your table here,,, Regards, Mano -Original Message- From: Joseph McGranaghan [mailto:[EMAIL PROTECTED] Sent: Monday, January 08, 2007 6:12 PM To: Struts Users Mailing List Subject: Re: How to hide scrollbars from jsp's displayed using struts If I understand you correctly, that is a CS

RE: Two Struts actions in one jsp

2007-01-11 Thread mano dasanayake
As I know, it's possible... As you have mentioned I suppose you are using hyperlinks to initiate those Actions. So that you can prepare your action URL's as to initiate relevant actions. Thanks & Regards, Mano -Original Message- From: Krishna, Hari (FTT-CInternet) [mailto:[EMAIL PROTECTED

RE: Comparing dates

2006-12-06 Thread mano dasanayake
Hi Chamal, Try where "thedate" is a date Obj... Best regards, Mano -Original Message- From: chamal desilva [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 06, 2006 3:00 PM To: user@struts.apache.org Subject: Comparing dates Hi, Is it possible to compare dates with logic equals

RE: OT: file download without opening a window

2006-12-07 Thread mano dasanayake
Hi, As per my knowledge, what you have to do is opening an out stream from your action. Something like... response.setContentType("application/x-file-download"); response.setHeader( "Content-disposition",