table or listview inside a form

View: New views
3 Messages — Rating Filter:   Alert me  

table or listview inside a form

by wicketnewuser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I'm trying to construct a table inside a form . each cell in the table are editable (select choice, text box) . When i submit the form I want to save all the row . Could someone direct how I could do that. is there any example.
     

Re: table or listview inside a form

by James Carman-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Have you thought of just trying it?  I'm not trying to be rude, but
you'd be surprised how many things "just work" when you try them with
Wicket! :)

On Fri, Nov 6, 2009 at 2:22 PM, Swarnim Ranjitkar <swarnimr@...> wrote:
>
> I'm trying to construct a table inside a form . each cell in the table are editable (select choice, text box) . When i submit the form I want to save all the row . Could someone direct how I could do that. is there any example.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


RE: table or listview inside a form

by wicketnewuser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


So far I have had worked in tables that are just for display. With the requirement of editable table and saving the edited rows with a single submit i was wondering how I would create model for the form. so I would have Form which has table (list) as a child. Normally when you create provider you would supply a dataprovider which in my case should also be a part of my form model so that I could get handle of it onSubmit(), i'm not sure if that is possible. I'm fairly new to wicket, In all the examples that I saw I couldn't see any table with save . I will definitely try but wanted to see wicket experts have come accross similiar requirement.

> From: jcarman@...
> Date: Fri, 6 Nov 2009 14:25:28 -0500
> Subject: Re: table or listview inside a form
> To: users@...
>
> Have you thought of just trying it?  I'm not trying to be rude, but
> you'd be surprised how many things "just work" when you try them with
> Wicket! :)
>
> On Fri, Nov 6, 2009 at 2:22 PM, Swarnim Ranjitkar <swarnimr@...> wrote:
> >
> > I'm trying to construct a table inside a form . each cell in the table are editable (select choice, text box) . When i submit the form I want to save all the row . Could someone direct how I could do that. is there any example.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>