Hi Adam,

So do you want me to submit the form when user clicks [Add Rows] ? I can try
that. But right now am adding new rows to the table (of users) on the client
side using javascript. Now I dont know how to get For component to
recongnize the existance of new users during the final submit. I can see
tapestry generating hidden fields to store ids. But having that logic in my
custom javascript method does'nt look neat.
Do you think i can stick to client side addition of new rows and still
handle things during final submit?.

thanks
karthik

On 12/6/05, adasal <[EMAIL PROTECTED]> wrote:
>
> In the listener have it check the status of Add Rows. If true have it
> create
> further elements in an iteration that are added into the ListMap as a
> series
> of empty strings.
> Adam
>
> On 06/12/05, karthik G <[EMAIL PROTECTED]> wrote:
> >
> > Hi All,
> >
> > I'm a tapestry beginner and I have a requirement similar to the original
> > post.
> >
> > My requirement is almost similar too except that I plan to add blank
> rows
> > when user clicks the button [Add Rows]..say 5 rows by default. Initially
> > get
> > all users and display them. Later allow user to add / edit.
> >
> >
> > (text)   (text Input) (PropertySelection)
> > UserId   UserName     Group
> >
> > xxx01    Peter        Admin
> > xxx02    Bob          Guess
> > xxx04    Mark         Beginner
> >
> > [Save] [Cancel] [Add Rows]
> >
> >
> >   (text)   (text Input) (PropertySelection)
> > UserId   UserName     Group
> >
> > xxx01    Peter        Admin
> > xxx02    Bob          Guess
> > xxx04    Mark         Beginner
> > --------     --------        --------
> > --------     --------        --------
> > --------     --------        --------
> > --------     --------        --------
> > --------     --------        --------
> > [Save] [Cancel] [Add Rows]
> >
> > Now if the use adds new entries, modifies some of the existing ones, i
> > need
> > to be able to add /update to the database on clicking [Save]. How s' d I
> > handle this?.
> >
> > Thanks ,
> > karthik
> >
> >
>

Reply via email to