Re: Static image

2013-01-10 Thread René Vangsgaard
27;t use > IResource and the generated url doesn't depend on the page/component. > > > On Tue, Jan 8, 2013 at 12:30 AM, René Vangsgaard > wrote: > > > Hi - I would like to link to a static image, and the link should be > > stateless. > > > > I

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

Re: stateless pages

2012-12-11 Thread René Vangsgaard
may ask, what is it about 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: EXTERNA

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

Re: Recommended way to generate REST URLs in Wicket 6.3

2012-11-30 Thread René Vangsgaard
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 ini

Re: Recommended way to generate REST URLs in Wicket 6.3

2012-11-30 Thread René Vangsgaard
(the last number changing): http://localhost:8080/guide//step/?3 On 30 November 2012 12:03, Martin Grigorov 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...

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 loo