You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Patrick Petermair <pa...@openforce.com> on 2010/11/12 12:41:23 UTC

Edit whole ListItem via Ajax

Hey list!

I have a ListView and each ListItem has multiple labels. I want to add 
an "edit" button at the end of each line so that the user can switch 
into an edit mode, edit every label and then save them all at once.

So far, I've used AjaxEditableLabel for a single label and it works 
great. Is there something similar for a whole ListItem so that multiple 
labels can be changed into TextFields?

If there are no existing components with this feature, what would be the 
best way to implement it myself?

Thanks & Cheers,
Patrick

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


Re: Edit whole ListItem via Ajax

Posted by Martin Grigorov <mg...@apache.org>.
See http://wicketstuff.org/grid-examples/data-grid/editable.1

<http://wicketstuff.org/grid-examples/data-grid/editable.1>
https://oss.sonatype.org/content/repositories/snapshots/org/wicketstuff/inmethod-grid/

On Fri, Nov 12, 2010 at 12:41 PM, Patrick Petermair <
patrick.petermair@openforce.com> wrote:

> Hey list!
>
> I have a ListView and each ListItem has multiple labels. I want to add an
> "edit" button at the end of each line so that the user can switch into an
> edit mode, edit every label and then save them all at once.
>
> So far, I've used AjaxEditableLabel for a single label and it works great.
> Is there something similar for a whole ListItem so that multiple labels can
> be changed into TextFields?
>
> If there are no existing components with this feature, what would be the
> best way to implement it myself?
>
> Thanks & Cheers,
> Patrick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>