Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 24765 invoked from network); 16 Nov 2005 08:13:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Nov 2005 08:13:21 -0000 Received: (qmail 37158 invoked by uid 500); 16 Nov 2005 08:13:08 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 37143 invoked by uid 500); 16 Nov 2005 08:13:08 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 37132 invoked by uid 99); 16 Nov 2005 08:13:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2005 00:13:08 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jmikus@gmail.com designates 66.249.82.193 as permitted sender) Received: from [66.249.82.193] (HELO xproxy.gmail.com) (66.249.82.193) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2005 00:14:42 -0800 Received: by xproxy.gmail.com with SMTP id t15so1496219wxc for ; Wed, 16 Nov 2005 00:12:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WfostsqmFJrYI2vmGVjUgJY9HaTZCUnE7XXKkYNCBB9bdCdbw0ZfbPKMH8uA5p/oXUamE8De2UqWjkE3qBLBdhyBHnLiZQE9IM3Lnt8t2yQoGZ5VxQA47UEDb6iZW0iEld7cBQMNomOV35Uq5AX72FUgARRUxtptwYRx45bBHmg= Received: by 10.64.179.15 with SMTP id b15mr207300qbf; Wed, 16 Nov 2005 00:12:46 -0800 (PST) Received: by 10.65.163.6 with HTTP; Wed, 16 Nov 2005 00:12:46 -0800 (PST) Message-ID: <1db115340511160012p73b6441dg6b176916a542613c@mail.gmail.com> Date: Wed, 16 Nov 2005 00:12:46 -0800 From: Michael Jouravlev To: Struts Users Mailing List Subject: Re: Help required with struts for dynamic row addition in jsp In-Reply-To: <2681b1760511152029s4502c561wb5f37c25eba7c364@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2681b1760511142158u2d45a8few1b0614968ac81fd0@mail.gmail.com> <1db115340511151140p4c85bf23we13f42678326b81f@mail.gmail.com> <2681b1760511152029s4502c561wb5f37c25eba7c364@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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=3D49385&package_id= =3D154597 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 wrote: > Hi Michael! > thanks so much for replying and giving a wonderful example....i would nee= d > to add a set of blank rows to the form on clicking on add button and shou= ld > 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 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 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=3Dst&q=3Dstruts+dynamic+additi= on+of+rows&rnum=3D1&hl=3Den#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 row= s > > by > > > using add button, that would display a fresh set of blank rows and wo= uld > > > also display the previously entered rows in editable form below. As w= e > > > 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: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org