RE: Handling POST, PUT and DELETE from a resource

2012-01-05 Thread Wilhelmsen Tor Iver
Look into restlet.org Reference implementation for JAX-RS (ignore that it sorts under the Glassfish section, it runs fine in other containers too): http://jersey.java.net/ An older REST implementation that started before the JAX-RS spec but has been modified to conform (AFAIK):

Re: Numeric Filter on TextField

2012-01-05 Thread François Meillet
Have a look to http://stackoverflow.com/questions/469357/html-text-input-allow-only-numeric-input François Le 5 janv. 2012 à 09:16, codix a écrit : I have a TextField for filtering the data in a DataTable. However, the rows in the table is purely numeric. How do I prevent users from

Re: Numeric Filter on TextField

2012-01-05 Thread Rain... Is wet!
In the markup, add the attribute onkeypress=YOURFUNCTION(event) to your textfield. In your function get the keycode from the event and then use if/else or switch/case to return true on every keycode from 47 to 57 (ASCII-codes for 0 to 9) or to return false for any other keycode. Get yourself an

Migrating 1.4-1.5. Need no page version parameters

2012-01-05 Thread Chris Colman
We are porting from 1.4 - 1.5 and for SEO purposes we don't want the page version parameter to appear in the URL. What's the best way to turn this off in 1.5 so that the 1.5 version of the app will operate in the same way as the existing 1.4 version of the app - i.e. without page versions

Re: Migrating 1.4-1.5. Need no page version parameters

2012-01-05 Thread Machera li
protected void init() { super.init(); this.getRequestCycleSettings().setRenderStrategy(IRequestCycleSettings.RenderStrategy.ONE_PASS_RENDER); } 2012/1/5 Chris Colman chr...@stepaheadsoftware.com We are porting from 1.4 - 1.5 and for SEO purposes we don't want the page version

RE: AjaxFormComponentUpdatingBehavior, required fields and validation

2012-01-05 Thread Michal Wegrzyn
Right, using AjaxFormSubmitBehavior (extending AjaxFormValidatingBehavior precisely) and removing all AjaxFormComponentUpdatingBehaviors did the trick in this case. After checking JavaDoc I thought that AjaxFormSubmitBehavior can be used only at exact submit phase, but after checking code

Re: Wicket on Google App Engine

2012-01-05 Thread Daniel Watrous
Thanks for all your help. I've just posted the steps required to get current versions of wicket and gae to work together. http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine Daniel On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo

Re: Wicket on Google App Engine

2012-01-05 Thread Ernesto Reinaldo Barreiro
Thanks for sharing! On Thu, Jan 5, 2012 at 7:35 PM, Daniel Watrous daniel.watr...@gmail.comwrote: Thanks for all your help. I've just posted the steps required to get current versions of wicket and gae to work together.