Re: Static image

2013-01-10 Thread René Vangsgaard
/component. On Tue, Jan 8, 2013 at 12:30 AM, René Vangsgaard rene.vangsga...@gmail.comwrote: Hi - I would like to link to a static image, and the link should be stateless. I have tried this (using Scala): val img = new Image(img, new ContextRelativeResource(images/img + imgId

Static image

2013-01-07 Thread René Vangsgaard
Hi - I would like to link to a static image, and the link should be stateless. I have tried this (using Scala): val img = new Image(img, new ContextRelativeResource(images/img + imgId + .png)) But the link becomes stateful. I just found val img = new Image(img, new UrlResourceReference(new

Re: stateless pages

2012-12-11 Thread René Vangsgaard
statefulness that concerns you? Thanks, -David Phillips - USAA -Original Message- From: René Vangsgaard [mailto:rene.vangsga...@gmail.com] Sent: Monday, December 10, 2012 3:29 PM To: users@wicket.apache.org Subject: EXTERNAL: stateless pages I am looking into stateless wicket. Do

stateless pages

2012-12-10 Thread René Vangsgaard
I am looking into stateless wicket. Do the setStatelessHint() work as expected? My links are generated correctly, but when the page is rendered a ?#number is rendered - the #number being the normal wicket counter. I read that the presence of this number indicates my page is not stateless. And it

Recommended way to generate REST URLs in Wicket 6.3

2012-11-30 Thread René Vangsgaard
Hi all Searching the net I found various ways to support RESTful URLs in Wicket, including the MixedParamUrlCodingStrategy. I am just curious if there is an easier way, as it looks cumbersome. I like the method mountPage (example in Scala below), but it does not generate RESTful URLs, the URL

Re: Recommended way to generate REST URLs in Wicket 6.3

2012-11-30 Thread René Vangsgaard
changing): http://localhost:8080/guide//step/?3 On 30 November 2012 12:03, Martin Grigorov mgrigo...@apache.org wrote: Hi, Read http://wicketinaction.com/2011/07/wicket-1-5-mounting-pages/ On Fri, Nov 30, 2012 at 11:52 AM, René Vangsgaard rene.vangsga...@gmail.com wrote: Hi all

Re: Recommended way to generate REST URLs in Wicket 6.3

2012-11-30 Thread René Vangsgaard
in RESTful app. On Fri, Nov 30, 2012 at 12:47 PM, René Vangsgaard rene.vangsga...@gmail.com wrote: Thank you, but my second was more on generating REST-like URLs, not consuming them. I have rephrased my example below. In init: mountPage(/guide/${guideId}/step/${stepNo}, classOf