Re: Need Help Struts 2.0.8

2007-11-01 Thread Raghuveer Rawat
Hi, still looking for help. On 10/31/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, I have form which allows user to invite other users. A user can invite a max of 10 users at a time. A row contain First Name, Last Name, and Email Address. How should I name these textfields (OGNL

Re: Need Help Struts 2.0.8

2007-11-01 Thread Antonio Petrelli
2007/11/1, Raghuveer Rawat [EMAIL PROTECTED]: Hi, still looking for help. Here it is: http://struts.apache.org/2.x/docs/home.html In other words, RTFM :-) Antonio

Re: Need Help Struts 2.0.8

2007-11-01 Thread John Doe
The simplest way (if I'have understood your problem right) is to create 10 variables in your action class (with getters and setters of course) and on the form. So it'll be private String firstName1; private String firstName2; private String firstName3; ... private String firstName10; in the

Re: Need Help Struts 2.0.8

2007-11-01 Thread Jim Cushing
It's not necessary to do declare 10 variables. Here's an example: http://struts.apache.org/2.x/docs/tabular-inputs.html By the way, Struts 2.0.11 is out, so Raguveer, you might want to upgrade. The answer to your particular question doesn't change, but there are some bug and security fixes

Re: Need Help Struts 2.0.8

2007-11-01 Thread Raghuveer Rawat
I found an Article on this in Ian Roughley's book. Posting here if someone is implementing Tabular Data Entry support in their apps. *Utilize Tabular Data Entry Support* Struts2 provides support for using lists to transfer tabulated data easily between the HTML user interface and actions. Let's

Re: Need Help Struts 2.0.8

2007-11-01 Thread Raghuveer Rawat
Oh, Didn't notice that. Can this message be deleted? On 11/1/07, Dave Newton [EMAIL PROTECTED] wrote: --- Raghuveer Rawat wrote: I found an Article on this in Ian Roughley's book. Posting here if someone is implementing Tabular Data Entry support in their apps. You know it's

Re: Need Help Struts 2.0.8

2007-11-01 Thread Dave Newton
Not really, and it's probably not a big deal anyway. In the future it might make more sense to post a link to the book if you feel compelled to do something like that or post the code that you used. Or you could create or add to a page on one of the struts wikis. d. --- Raghuveer Rawat [EMAIL

Re: Need Help Struts 2.0.8

2007-11-01 Thread Raghuveer Rawat
Thanks Jim for link. Yeah, I have to upgrade to newer version 2.0.11. On 11/1/07, Jim Cushing [EMAIL PROTECTED] wrote: It's not necessary to do declare 10 variables. Here's an example: http://struts.apache.org/2.x/docs/tabular-inputs.html By the way, Struts 2.0.11 is out, so Raguveer, you

Need Help Struts 2.0.8

2007-10-31 Thread Raghuveer Rawat
Hi, I have form which allows user to invite other users. A user can invite a max of 10 users at a time. A row contain First Name, Last Name, and Email Address. How should I name these textfields (OGNL expression) and how should I retrieve these values in Action Class? table tr tdFirst Name/td