Field with OnChangeAjaxBehavior Not updating.

2012-05-04 Thread Peter Henderson
I am having a bit of trouble making a required form field update from an ajax button. The field is marked required and has an OnChangeAjaxBehavior. The user deletes the contents of the field Presses an AjaxButton (todo some DB work which yields a new value) Ajax button sets a new value, The

How To Catch Network Disconnection In Ajax Buttons

2012-05-04 Thread Horacio Natyural
Hi, How do we catch network disconnection ? For example, I'm submitting using an indicatingajaxbutton, when the network is disconnected, the loading indicator disappears and the button is available again. Is there anyway that I can catch network disconnections in indicatingajaxbutton or any ajax

Re: Field with OnChangeAjaxBehavior Not updating.

2012-05-04 Thread Andrea Del Bene
Try calling form.clearInput() after you have updated the value of the models. I am having a bit of trouble making a required form field update from an ajax button. The field is marked required and has an OnChangeAjaxBehavior. The user deletes the contents of the field Presses an AjaxButton

jsessionid is not added to resources if cookies are disabled by the server

2012-05-04 Thread geissbock
Hi Wicket fellows, When I configure the container (either Jetty or Tomcat) to not support cookies, I expect the jsessionid to be added to all resource links in the page. However, with Wicket 1.5.5 this isn't the case, i.e. all URLs are lacking the jsessionid. We are running our application in

Wicket AutoComplete example does not work

2012-05-04 Thread Brian Mulholland
I just looked at the wicket autocomplete example at http://www.wicket-library.com/wicket-examples/ajax/autocomplete?0 does not work in IE8 or Firefox. Brian Mulholland For every complex problem, there is an answer that is clear, simple and wrong. --H.L. Mencken Politics is the art of looking for

Store models short-term

2012-05-04 Thread JASON HOLT
I'm new to Java and Wicket. My only previous experince with web applications has been with Asp.net forms (not MVC). Please be patient; coming from the postback event paradigm, I'm struggling to grasp the concepts in Wicket. In my simple scenario, assume there is no AJAX. I need to build the

Re: Store models short-term

2012-05-04 Thread Dan Retzlaff
Hi, Jason. Welcome to Wicket! If you want to tie an entity to a page, best save the entity within the page itself. You can do this by using a simple o.a.w.model.Model. If you don't want to detach between requests, then LDM is not a good fit. There are use cases where serializing entities at the

BookmarkableLinks and masked urls

2012-05-04 Thread infiniter
The problem is that we have a brand new Wicket app, but we have a bunch of legacy urls that point to different sub domains that the business wants to preserve. So when the web server sees one of those urls there is a redirection to the app and that url is preserved, but in the app we have our own

Re: BookmarkableLinks and masked urls

2012-05-04 Thread infiniter
I think I've done it. I created a MaskedUrlCodingStrategyDecorator that extends from BookmarkablePageRequestTargetUrlCodingStrategy, placed it in the same package, and overrode CharSequence encode(IRequestTarget requestTarget), and used a regular BookmarkablePageLink -- View this message in

Portlet Support

2012-05-04 Thread gmparker2000
Has support for portlets been completely dropped from wicket? I was interested to see if I could get a simple portlet running in Liferay - Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Portlet-Support-tp4610364.html Sent from the Users forum mailing list