Re: Hints for creating a form-embedded Grid

2010-11-11 Thread jcgarciam

Ok, just an idea from top of my head:

let your component render a form (just one) and your grid (as usually), this
generated form would have all your inline fields as hidden fields. On your
grid via js you will trigger the submit operation of this hidden form (and
pass all the edited values to its corresponding hidden field in the form).

On your grid view component, you need to create a callback method that will
get trigger when your internal form get submitted to allow you to pick the
underlying submitted model. Since the internal form should be hidden to
outside world.

Did that makes senses to you?


On Thu, Nov 11, 2010 at 5:25 AM, MattyDE [via Apache Wicket] <
ml-node+3037377-467693029-65...@n4.nabble.com
> wrote:

> Thanks thierry, but i want to extend my own component
>
> --
>  View message @
> http://apache-wicket.1842946.n4.nabble.com/Hints-for-creating-a-form-embedded-Grid-tp3037298p3037377.html
> To start a new topic under Apache Wicket, email
> ml-node+1842946-398011874-65...@n4.nabble.com
> To unsubscribe from Apache Wicket, click 
> here.
>
>
>


-- 
Sincerely,
JC (http://www.linkedin.com/in/jcgarciam)
Work smarter, not harder!.

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Hints-for-creating-a-form-embedded-Grid-tp3037298p3037796.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Hints for creating a form-embedded Grid

2010-11-11 Thread MattyDE

Thanks thierry, but i want to extend my own component
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Hints-for-creating-a-form-embedded-Grid-tp3037298p3037377.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Hints for creating a form-embedded Grid

2010-11-10 Thread Thierry Peng

MattyDE schrieb:

As i mentioned in a another thread i build my own GridView Component from
Scratch (just extending Panel).
But now our customer want a special, editable Grid.

Its no problem on my side to add "TextboxColumns", "DropDownColumns" and so
on, but i cant figure out how to connect them to a special form.

I have tried to add my whole GridView Component (which is the container of
the Textbox, DropDown, any FormComponent) and submit this form.

In FireBug i see that all this Components are send by Ajax-Request to the
server-side. But will they end in the FormComponents automatically by
Wicket-internal-Form-Processing?

If this is true, iam almost done (i think ;) )

Any other hints for develop a form-embedded Grid?
  

Hello Matty

have a look at the inmethod-grid 
 in 
wicketstuff


It contains the editable feature, works out of the box and is easily 
extendable.


greetings

thierry

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