Re: Help required with struts for dynamic row addition in jsp

2005-11-18 Thread Rahul Akolkar
OTOne does wish that every UI technology had the XForms concept of
repeat [1]/OT

-Rahul

[1] http://www.w3.org/TR/xforms/slice9.html#id2632123


On 11/16/05, Michael Jouravlev [EMAIL PROTECTED] wrote:
 This is an older simpler version: http://superinterface.com/rdapp/viewList.do
 And source code for it: http://superinterface.com/files/prgpattern.zip

 This is a newer version:
 http://www.superinterface.com/strutsdialog/crudactionlite.do
 Source code for it is in the main download for Struts Dialogs library:
 http://struts.sourceforge.net/strutsdialogs
 You can read about how it works here:
 http://struts.sourceforge.net/strutsdialogs/crudaction.html

 Also you may try MailReader rewritten with Struts Dialogs library:
 http://www.superinterface.com/mailreader/Home.do Log in as
 user/pass or register and then log in. Then select Manage
 subscriptions, you will see a similar pageable table with
 add/edit/delete features.
 The source code is in strutsdialogs-mailreader.war in dialogs-1.23
 release, you can get it here:
 https://sourceforge.net/project/showfiles.php?group_id=49385package_id=154597
 The documentation is here:
 http://struts.sourceforge.net/strutsdialogs/mailreader-walkingtour.html
 This is the page that might interest you most:
 http://struts.sourceforge.net/strutsdialogs/mailreader-subscriptions.html

 Michael.

 --
 Struts Dialogs: code-behind for Struts
 http://struts.sourceforge.net/strutsdialogs

 On 11/15/05, Simpy Ahuja [EMAIL PROTECTED] wrote:
  Hi Michael!
  thanks so much for replying and giving a wonderful examplei would need
  to add a set of blank rows to the form on clicking on add button and should
  be able to edit the previuos entries as well. Can i get a code for that?
   thanks a ton !
  Simpy
 
snip/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help required with struts for dynamic row addition in jsp

2005-11-18 Thread Laurie Harper

Yes. Starting with browsers :-(

Rahul Akolkar wrote:

OTOne does wish that every UI technology had the XForms concept of
repeat [1]/OT

-Rahul

[1] http://www.w3.org/TR/xforms/slice9.html#id2632123


On 11/16/05, Michael Jouravlev [EMAIL PROTECTED] wrote:


This is an older simpler version: http://superinterface.com/rdapp/viewList.do
And source code for it: http://superinterface.com/files/prgpattern.zip

This is a newer version:
http://www.superinterface.com/strutsdialog/crudactionlite.do
Source code for it is in the main download for Struts Dialogs library:
http://struts.sourceforge.net/strutsdialogs
You can read about how it works here:
http://struts.sourceforge.net/strutsdialogs/crudaction.html

Also you may try MailReader rewritten with Struts Dialogs library:
http://www.superinterface.com/mailreader/Home.do Log in as
user/pass or register and then log in. Then select Manage
subscriptions, you will see a similar pageable table with
add/edit/delete features.
The source code is in strutsdialogs-mailreader.war in dialogs-1.23
release, you can get it here:
https://sourceforge.net/project/showfiles.php?group_id=49385package_id=154597
The documentation is here:
http://struts.sourceforge.net/strutsdialogs/mailreader-walkingtour.html
This is the page that might interest you most:
http://struts.sourceforge.net/strutsdialogs/mailreader-subscriptions.html

Michael.

--
Struts Dialogs: code-behind for Struts
http://struts.sourceforge.net/strutsdialogs

On 11/15/05, Simpy Ahuja [EMAIL PROTECTED] wrote:


Hi Michael!
thanks so much for replying and giving a wonderful examplei would need
to add a set of blank rows to the form on clicking on add button and should
be able to edit the previuos entries as well. Can i get a code for that?
thanks a ton !
Simpy



snip/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help required with struts for dynamic row addition in jsp

2005-11-16 Thread Nandakishore Nekkanti
hi
I am new  to struts.But i did one similar to ur requirement.Here is that
i did that  using logic:notEmpty  and logic:iterate
Take one bean and set all the properties(all the html  controls)  in that
bean  iterating  through  a loop as many times u can and store them  in one
ArrayList.Use this Arraylist to iterate through  logic:iterate.

I hope this can help u.

Rgds

Nanda kishore Nekkanti

Email:  [EMAIL PROTECTED]

There is a  difference  between an objective and actions.Unless you
understand your objective  ,  you will be wasting your time in actions.Know
your objective  first.



-- Swami Vivekananda
- Original Message -
From: Simpy Ahuja [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, November 16, 2005 9:59 AM
Subject: Re: Help required with struts for dynamic row addition in jsp


Hi Michael!
thanks so much for replying and giving a wonderful examplei would need
to add a set of blank rows to the form on clicking on add button and should
be able to edit the previuos entries as well. Can i get a code for that?
 thanks a ton !
Simpy


 On 11/16/05, Michael Jouravlev [EMAIL PROTECTED] wrote:

 Will something like this work:
 http://www.superinterface.com/strutsdialog/crudactionlite.do

 or you need in-place editing right in the table?

 --
 Struts Dialogs: code-behind for Struts
 http://struts.sourceforge.net/strutsdialogs

 On 11/14/05, Simpy Ahuja [EMAIL PROTECTED] wrote:
  Hi!!!
  Warm Greetings! I am a new user to thsi group...
  I need help regarding Dynamic addition of rows in jsp within Struts
  Framework. I have read the below article but it doesnt do the same in
  Struts.
 
 

http://groups.google.com/group/comp.lang.java.programmer/browse_thread/threa
d/64e6fe3280e45f9a/dfa5e62b7b8dd3c5?lnk=stq=struts+dynamic+addition+of+rows
rnum=1hl=en#dfa5e62b7b8dd3c5
  My requirement is to make an interface wherein the Application User
 would
  get 10 rows at a go for filling the email address and then send
 invitation
  to those people. He should then be able to add another set of ten rows
 by
  using add button, that would display a fresh set of blank rows and would
  also display the previously entered rows in editable form below. As we
  associate a from property to each row, how can i dynamically add rows?
  is it by logic:iterate ? can anybody guide me with the code?
 
  Simpy Ahuja

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
Sincerely,
Simpy Ahuja
+919350185502







Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004



-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.5 - Release Date: 12/26/2004


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help required with struts for dynamic row addition in jsp

2005-11-16 Thread Michael Jouravlev
This is an older simpler version: http://superinterface.com/rdapp/viewList.do
And source code for it: http://superinterface.com/files/prgpattern.zip

This is a newer version:
http://www.superinterface.com/strutsdialog/crudactionlite.do
Source code for it is in the main download for Struts Dialogs library:
http://struts.sourceforge.net/strutsdialogs
You can read about how it works here:
http://struts.sourceforge.net/strutsdialogs/crudaction.html

Also you may try MailReader rewritten with Struts Dialogs library:
http://www.superinterface.com/mailreader/Home.do Log in as
user/pass or register and then log in. Then select Manage
subscriptions, you will see a similar pageable table with
add/edit/delete features.
The source code is in strutsdialogs-mailreader.war in dialogs-1.23
release, you can get it here:
https://sourceforge.net/project/showfiles.php?group_id=49385package_id=154597
The documentation is here:
http://struts.sourceforge.net/strutsdialogs/mailreader-walkingtour.html
This is the page that might interest you most:
http://struts.sourceforge.net/strutsdialogs/mailreader-subscriptions.html

Michael.

--
Struts Dialogs: code-behind for Struts
http://struts.sourceforge.net/strutsdialogs

On 11/15/05, Simpy Ahuja [EMAIL PROTECTED] wrote:
 Hi Michael!
 thanks so much for replying and giving a wonderful examplei would need
 to add a set of blank rows to the form on clicking on add button and should
 be able to edit the previuos entries as well. Can i get a code for that?
  thanks a ton !
 Simpy


  On 11/16/05, Michael Jouravlev [EMAIL PROTECTED] wrote:
 
  Will something like this work:
  http://www.superinterface.com/strutsdialog/crudactionlite.do
 
  or you need in-place editing right in the table?
 
  --
  Struts Dialogs: code-behind for Struts
  http://struts.sourceforge.net/strutsdialogs
 
  On 11/14/05, Simpy Ahuja [EMAIL PROTECTED] wrote:
   Hi!!!
   Warm Greetings! I am a new user to thsi group...
   I need help regarding Dynamic addition of rows in jsp within Struts
   Framework. I have read the below article but it doesnt do the same in
   Struts.
  
  
  http://groups.google.com/group/comp.lang.java.programmer/browse_thread/thread/64e6fe3280e45f9a/dfa5e62b7b8dd3c5?lnk=stq=struts+dynamic+addition+of+rowsrnum=1hl=en#dfa5e62b7b8dd3c5
   My requirement is to make an interface wherein the Application User
  would
   get 10 rows at a go for filling the email address and then send
  invitation
   to those people. He should then be able to add another set of ten rows
  by
   using add button, that would display a fresh set of blank rows and would
   also display the previously entered rows in editable form below. As we
   associate a from property to each row, how can i dynamically add rows?
   is it by logic:iterate ? can anybody guide me with the code?
  
   Simpy Ahuja

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help required with struts for dynamic row addition in jsp

2005-11-15 Thread Dixa M
  

if u are using ActionForms of Struts then its easy to handle ur problem,
Take a Vector as a form field which will have collection of individual rows,
when user clicks 'ADD' call an sction that will increase the size of this 
vector as per requirement.
Hope this will help u.

On Tue, 15 Nov 2005 Simpy Ahuja wrote :
Hi!!!
Warm Greetings! I am a new user to thsi group...
I need help regarding Dynamic addition of rows in jsp within Struts
Framework. I have read the below article but it doesnt do the same in
Struts.

http://groups.google.com/group/comp.lang.java.programmer/browse_thread/thread/64e6fe3280e45f9a/dfa5e62b7b8dd3c5?lnk=stq=struts+dynamic+addition+of+rowsrnum=1hl=en#dfa5e62b7b8dd3c5
My requirement is to make an interface wherein the Application User would
get 10 rows at a go for filling the email address and then send invitation
to those people. He should then be able to add another set of ten rows by
using add button, that would display a fresh set of blank rows and would
also display the previously entered rows in editable form below. As we
associate a from property to each row, how can i dynamically add rows?
is it by logic:iterate ? can anybody guide me with the code?

Simpy Ahuja


--
Sincerely,
Simpy Ahuja
+919350185502


Re: Help required with struts for dynamic row addition in jsp

2005-11-15 Thread Michael Jouravlev
Will something like this work:
http://www.superinterface.com/strutsdialog/crudactionlite.do

or you need in-place editing right in the table?

--
Struts Dialogs: code-behind for Struts
http://struts.sourceforge.net/strutsdialogs

On 11/14/05, Simpy Ahuja [EMAIL PROTECTED] wrote:
 Hi!!!
 Warm Greetings! I am a new user to thsi group...
 I need help regarding Dynamic addition of rows in jsp within Struts
 Framework. I have read the below article but it doesnt do the same in
 Struts.

 http://groups.google.com/group/comp.lang.java.programmer/browse_thread/thread/64e6fe3280e45f9a/dfa5e62b7b8dd3c5?lnk=stq=struts+dynamic+addition+of+rowsrnum=1hl=en#dfa5e62b7b8dd3c5
 My requirement is to make an interface wherein the Application User would
 get 10 rows at a go for filling the email address and then send invitation
 to those people. He should then be able to add another set of ten rows by
 using add button, that would display a fresh set of blank rows and would
 also display the previously entered rows in editable form below. As we
 associate a from property to each row, how can i dynamically add rows?
 is it by logic:iterate ? can anybody guide me with the code?

 Simpy Ahuja

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help required with struts for dynamic row addition in jsp

2005-11-15 Thread Simpy Ahuja
Hi Michael!
thanks so much for replying and giving a wonderful examplei would need
to add a set of blank rows to the form on clicking on add button and should
be able to edit the previuos entries as well. Can i get a code for that?
 thanks a ton !
Simpy


 On 11/16/05, Michael Jouravlev [EMAIL PROTECTED] wrote:

 Will something like this work:
 http://www.superinterface.com/strutsdialog/crudactionlite.do

 or you need in-place editing right in the table?

 --
 Struts Dialogs: code-behind for Struts
 http://struts.sourceforge.net/strutsdialogs

 On 11/14/05, Simpy Ahuja [EMAIL PROTECTED] wrote:
  Hi!!!
  Warm Greetings! I am a new user to thsi group...
  I need help regarding Dynamic addition of rows in jsp within Struts
  Framework. I have read the below article but it doesnt do the same in
  Struts.
 
 
 http://groups.google.com/group/comp.lang.java.programmer/browse_thread/thread/64e6fe3280e45f9a/dfa5e62b7b8dd3c5?lnk=stq=struts+dynamic+addition+of+rowsrnum=1hl=en#dfa5e62b7b8dd3c5
  My requirement is to make an interface wherein the Application User
 would
  get 10 rows at a go for filling the email address and then send
 invitation
  to those people. He should then be able to add another set of ten rows
 by
  using add button, that would display a fresh set of blank rows and would
  also display the previously entered rows in editable form below. As we
  associate a from property to each row, how can i dynamically add rows?
  is it by logic:iterate ? can anybody guide me with the code?
 
  Simpy Ahuja

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
Sincerely,
Simpy Ahuja
+919350185502