RE: Problem in nested tags- Very Urgent - Please Help

2004-02-29 Thread Martin Sturzenegger
et the list to empty properly. > >HTH. >regards, >Shirish > >-Original Message- >From: Martin Sturzenegger [mailto:[EMAIL PROTECTED] >Sent: Friday, February 27, 2004 3:28 PM >To: Struts Users Mailing List >Subject: RE: Problem in nested tags- Very Urgent - Please Help

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-27 Thread Martin Sturzenegger
hi, i'm trying to use hubert's (and shirish's) approach on request-scope, and as long as the amount of rows are fixed it works well. BUT now i have an additional feature on my page and that gives me headaches. actionOne gets the rows from the dto-bean and initializes the jsp. on the jsp-page wit

AW: Form is not submited - nothing happens?!?

2004-01-22 Thread Martin Sturzenegger
hi, the caller for the javascript seems to be missing. you might try something like [save] hope it helps cheers martin -- Urspruengliche Nachricht -- Von: Matthias Winkler <[EMAIL PROTECTED]> Antworten an: "Struts Users Mailing List" <[E

AW: Form is not submited - nothing happens?!?

2004-01-22 Thread Martin Sturzenegger
hi, in your form you may use something like [save] hope it helps cheers martin -- Urspruengliche Nachricht -- Von: Matthias Winkler <[EMAIL PROTECTED]> Antworten an: "Struts Users Mailing List" <[EMAIL PROTECTED]> Datum: Wed, 21 Jan 2004 16:

AW: sort and iterate

2004-01-21 Thread Martin Sturzenegger
hi, when you read about HashMap it says in the api-description that "...This class makes no guarantees as to the order of the map; in particular, it does not guarantee that the order will remain constant over time..." you might try LinkedHashMap instead. cheers martin -- Urspruenglic

RE: getting data from form with nested beans

2004-01-21 Thread Martin Sturzenegger
he parameters from the request using the struts auto- >> population mechanism.And then you can use the same BeanList to pass >> to the Service layer(But after conversion may be as all the >> properties in String format.SO create DTO bean from correspondign >> stringbeans).

RE: getting data from form with nested beans

2004-01-20 Thread Martin Sturzenegger
> } >>>>> >>>>> return (Employee)beanList.get(index); >>>>> >>>>> } >>>>> >>>>> public void setEmployee(int index,Employee emp){ >>>>> >>>>> beanList.set(index,emp); >>>>&

getting data from form with nested beans

2004-01-19 Thread Martin Sturzenegger
populate the nested bean for the list which is empty/fixed size,you get this >exception. >Try to use lazy list or search the archive for nested property usage...There are many >examples which will demonatrate how to use it. > >HTH. >regards, >Shirish > >-Original

Re: receiving data from a form using nested beans

2004-01-19 Thread Martin Sturzenegger
yes it is - martin sturzenegger pangea development ag rosengartenstrasse 1a 8037 zuerich natel 079 456 24 94 büro01 271 46 42 fax 01 271 46 49 -- Urspruengliche Nachricht -- Von: Mark Lowe <[EMAIL PROTECTED]> Antworten an: "S

receiving data from a form using nested beans

2004-01-19 Thread Martin Sturzenegger
i try to receive user-input from a form using a list of nested beans. after hitting submit i get an ArrayIndexOutOfBoundsException can somebody give me a hint? many thanks martin > > >stacktrace: > >java.lang.ArrayIndexOutOfBoundsException > java.lang.reflect.Array.get(Native Method) >

Re: Including one JSP in another

2004-01-19 Thread Martin Sturzenegger
i try to receive user-input from a form using a list of nested beans. after hitting submit i get an ArrayIndexOutOfBoundsException can somebody give me a hint? many thanks martin stacktrace: java.lang.ArrayIndexOutOfBoundsException java.lang.reflect.Array.get(Native Method) or

AW: Form submission

2004-01-15 Thread Martin Sturzenegger
instead of this might help martin -- Urspruengliche Nachricht -- Von: "Raman" <[EMAIL PROTECTED]> Antworten an: "Struts Users Mailing List" <[EMAIL PROTECTED]> Datum: Thu, 15 Jan 2004 19:38:55 +0530 >I want to implement something like this: > >Conditiona

RE: ActionForm is not automatically popluated.

2004-01-15 Thread Martin Sturzenegger
if you have getAmount() and setAmount() methods, you address the according property in you jsp as amount and not as Amount !!! silly, but these are the rules... hope this helps martin -- Urspruengliche Nachricht -- Von: "Andre Risnes" <[EMAIL PROTECTED]> Ant