RE: Updating form fields on dropdown selection change

2013-08-15 Thread Lucio Crusca
> Take a look at how one drop-down updates the other via Ajax in the Wicket > Examples at: > http://www.wicket-library.com/wicket-examples/ajax/choice > > I suggest you do something similar instead of trying to re-implement part > of the form processing in your code. I've tried to follow that exam

Get Values form WebMarkupContainer

2013-08-15 Thread sharath...@gmail.com
Hello, I have a WebMarkupContainer in which i have a dropdown and text filed and the submit button On submit i want the values of the dropdown and the textfield in the second WebMarkupContainer. Can any body please let me know how to get values from one WebMarkupContainer to another WebMarkupCont

Wicket post call handler question

2013-08-15 Thread gmparker2000
I am using the wicketGlobalPostCallHandler function to perform some tasks after an AJAX post. For example, I have a composite text field that can support a hint that is displayed in the input field. The hint is managed using the onfocus and onblur events. When the form is submitted, the pre hand

Re: Wicket post call handler question

2013-08-15 Thread Martin Grigorov
Hi, On Thu, Aug 15, 2013 at 4:53 PM, gmparker2000 wrote: > I am using the wicketGlobalPostCallHandler function to perform some tasks > after an AJAX post. For example, I have a composite text field that can > support a hint that is displayed in the input field. The hint is managed > using the

RE: Forcing Form Validation from another Form's onValidate()

2013-08-15 Thread eugenebalt
Looking further at my code, I see that the custom validators from the inner form DO get called; but the one that doesn't get called is .setRequired(true). There is one component in the inner form which is setRequired(true). And that validation is bypassed for some reason, although all the other one

RE: Forcing Form Validation from another Form's onValidate()

2013-08-15 Thread eugenebalt
Actually, I figured it out. All the validators are getting called from the inner form. But there was an NullPointerException in the first validator which blocked all the others and I wasn't seeing them. Thanks for your help. -- View this message in context: http://apache-wicket.1842946.n4.nabbl

Re: Use Wicket as a REST API

2013-08-15 Thread robianmcd
What would the advantage be of using a resource instead of a page? I'll take a look a wicket-rest-annotation. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Use-Wicket-as-a-REST-API-tp4660894p4660919.html Sent from the Users forum mailing list archive at Nab

Re: Use Wicket as a REST API

2013-08-15 Thread Martin Grigorov
I guess you expect JSON response for Angular's needs. Pages usually produce HTML response. On Thu, Aug 15, 2013 at 5:43 PM, robianmcd wrote: > What would the advantage be of using a resource instead of a page? I'll > take > a look a wicket-rest-annotation. > > Thanks > > > > -- > View this mess

Re: Use Wicket as a REST API

2013-08-15 Thread robianmcd
Yeah I was using this function to send JSON from a page. protected void setJsonResponse(final String jsonString, final Duration cacheDuration) { getRequestCycle().scheduleRequestHandlerAfterCurrent(new IRequestHandler() { @Override public void respond(IRequestCycle

Re: wicket-atmosphere EventBus.post throwing Null pointer exception sometime

2013-08-15 Thread souvikbhattacharyas
Hi, When many people facing the same issue means may be there is some issue which can't be replicate in a small application. Me also facing the same issue in a big application which cannot be attached. So, is that possible for you guys to do a screen sharing with me through team viewer to see th