Ajax behaviour for multiple elements

2013-10-16 Thread frasese
Hi all, there is a way to update the status of multiple elements with a single ajax behaviour? For example, if we have two different DropDownChoice elements, each one with its own AjaxFormComponentUpdatingBehavior... when the onchange event is triggered, one has his value updated, but not the

Re: Ajax behaviour for multiple elements

2013-10-16 Thread Sven Meier
You can use an AjaxFormSubmitBehavior to submit the whole form. Sven On 10/16/2013 11:37 AM, frasese wrote: Hi all, there is a way to update the status of multiple elements with a single ajax behaviour? For example, if we have two different DropDownChoice elements, each one with its own

Authorization problem in frames

2013-10-16 Thread MartinoSuperman
Hi, The website I am building has frames like this: http://www.wicket-library.com/wicket-examples-6.0.x/frames/ I also built in authentication and authorization in it. In the previous version of it, you got on a page, in which you were to subscribe to get access (authentication) to the website.

Re: Browser Page Refresh Not Really Refreshing

2013-10-16 Thread MartinoSuperman
Hi, Isn't it an idea to use Javascript for this? In JavaScript, it is also possible to refresh a page? Example code: http://www.quackit.com/javascript/javascript_refresh_page.cfm -- View this message in context:

Wicket 1.5 : AbstractAjaxBehavior 302 moved temporarily

2013-10-16 Thread frasese
Hi all, I have a jquery script to comunicate with wicket via ajax. It was working fine with wicket 1.4.17, until I've migrated to 1.5.10 version. Now, my AbstractAjaxBehavior it's not called anymore, and the ajax call receives a 302 moved temporarily. Here is my code: javascript/jquery ...

Re: Browser Page Refresh Not Really Refreshing

2013-10-16 Thread dhongyt
I feel like there isn't a need for Javascript? Should a CRTL+R or an F5 already refresh the page and reload new data in Wicket? Is there a setting I'm forgetting to set? -- View this message in context:

RE: Browser Page Refresh Not Really Refreshing

2013-10-16 Thread Paul Bors
You're stepping on the page cache in Wicket. See Chapter 7 of the Wicket Guide Page versioning and caching at: http://wicket.apache.org/guide/guide/chapter7.html It really depends on what type of page you have, statefull (will rebuild each page refresh) or not (will be cached). ~ Thank you,