Re: Single page app as custom resource?

2016-11-15 Thread Lars Törner
Ok, now I found wicketstuff-rest-annotations... so, can I create a wicket
page, load resources for a java scriptframework and then use
wicket-rest-requests with ajax to integrate a SPA in my
wicket-web-application?

tisdag 15 november 2016 skrev Lars Törner :

> Hi,
>
> we're developing a webbapplication to our legacy product and we're doing
> it in wicket.
>
> We have a few pages which are using a lot of ajax, and therefore each one
> of them could be seen as kind of a SPA. (Does that make sense?)
>
> Now we might have a case when a client (or we our selves) would like to
> extend the wicket webbapplication with a page/spa written in javascript
> (angular/react etc). From the users point of view, there should be no
> difference. It should be the same session etc.
>
> Can this be done with a dynamic resource? Or in some other way? Is it a
> bad idea or just another way to do things?
>
> Cheers
> Lars
>


Single page app as custom resource?

2016-11-15 Thread Lars Törner
Hi,

we're developing a webbapplication to our legacy product and we're doing it
in wicket.

We have a few pages which are using a lot of ajax, and therefore each one
of them could be seen as kind of a SPA. (Does that make sense?)

Now we might have a case when a client (or we our selves) would like to
extend the wicket webbapplication with a page/spa written in javascript
(angular/react etc). From the users point of view, there should be no
difference. It should be the same session etc.

Can this be done with a dynamic resource? Or in some other way? Is it a bad
idea or just another way to do things?

Cheers
Lars


Re: Iterate through lines from datatable with editable columns

2016-11-15 Thread Francois Meillet
Looks like some formcomponent (or form) validation fails.
So the model is not updated.

François



> Le 15 nov. 2016 à 15:45, ganea iulia  a écrit :
> 
> Hello,
> I m using wicket 7.5.
> 
> I have a datatable, where some of the columns contain editable components:
> -dropdownchoices
> -checkboxes
> -TextFields
> 
> 
> After I edit some of the editable cells, when hitting a process button, I
> need to iterate through all lines from the datatable and save the changes.
> But I cannot see the changes. The initial values always appear.
> 
> Could you please advise on how I can iterate through a DataTable, and get
> the values of the cells as they are shown?
> 
> Thank you.


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



Iterate through lines from datatable with editable columns

2016-11-15 Thread ganea iulia
Hello,
I m using wicket 7.5.

I have a datatable, where some of the columns contain editable components:
-dropdownchoices
-checkboxes
-TextFields


After I edit some of the editable cells, when hitting a process button, I
need to iterate through all lines from the datatable and save the changes.
But I cannot see the changes. The initial values always appear.

Could you please advise on how I can iterate through a DataTable, and get
the values of the cells as they are shown?

Thank you.