Re: StatelessLink

2010-01-19 Thread kirillkh
Further experiments show that that stateless forms suffer from the same issue. How come no one has run into it before? On Tue, Jan 19, 2010 at 11:22 AM, kirillkh wrote: > Hi, > > I've been getting a lot of grief trying to make some of my pages stateless > in Wicket 1.4.

StatelessLink

2010-01-19 Thread kirillkh
Hi, I've been getting a lot of grief trying to make some of my pages stateless in Wicket 1.4.5 with Tomcat 6.0. Here's one thing that doesn't work. I'm trying to make a session-resistant (but *not* bookmarkable) link on the homepage that should work no matter if the page exists. If the page doesn

Re: Escaping variable declaration/resolution in properties files

2010-01-18 Thread kirillkh
VariableInterpolator.java says: "$" is the escape char. Thus "$${text}" can be used to escape it (ignore interpretation). On Mon, Jan 18, 2010 at 10:46 AM, Joseph Pachod wrote: > Hi > > I would like to add some text containing ${variable} in a XML properties > file, for an error message. This te

Re: wicket session vs tomcat session

2010-01-14 Thread kirillkh
Hi Vadim, I'm exactly trying this feature, and I have a similar situation (user object in session). Upon restore, the user object is restored as expected, if the user is logged in, he is still logged in, etc. But the stateful pages aren't restored, so you can't just refresh a page and expect it to

Re: A problem with ListView in a StatelessForm

2010-01-14 Thread kirillkh
va Technologies, Wicket > Consulting, Development, Training > http://jWeekend.com > > > 2010/1/13 kirillkh : > > Hi Per, > > > > I've seen this mentioned in the javadocs, but it can't possibly help, as > the > > ListView.reuseItems variable is only us

Re: Authentication and bookmarkable pages

2010-01-14 Thread kirillkh
AuthorizationStrategy#isInstantiationAuthorized implementation. > Whether "render" is permitted is checked later in the lifecycle of a > component, as you say. > > Regards - Cemal > jWeekend > OO & Java Technologies, Wicket > Consulting, Development, Training >

Re: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread kirillkh
Hi Martin, Some IDEs (NetBeans, for one) allow to place an exception breakpoint, which means the debugger will pause when certain exception is triggered. You should try downloading wicket's sources as suggested and placing breakpoint at EOFException. -Kirill On Wed, Jan 13, 2010 at 12:48 PM, Mar

Re: A problem with ListView in a StatelessForm

2010-01-12 Thread kirillkh
Hi Per, I've seen this mentioned in the javadocs, but it can't possibly help, as the ListView.reuseItems variable is only used inside ListView.onPopulate(), which, as I pointed out, is called too late. Indeed, setting reuseItems on doesn't help. Thanks, -Kirill On Wed, Jan 13, 2010 at 8:49 AM, P

A problem with ListView in a StatelessForm

2010-01-12 Thread kirillkh
Hi (again), Another problem that I've encountered: ListView doesn't seem to play nicely with StatelessForm. A stateless form is supposed to work and accept input no matter if the page exists or not. Now the problem that I'm facing is when a user logs into the system, views certain page with Statel

Authentication and bookmarkable pages

2010-01-12 Thread kirillkh
Hi all, I'm using wicket 1.4.5 with annotations-based authorization. I've discovered what seems like a security problem in the authorization mechanism. Namely, when certain bookmarkable page shouldn't be rendered according to the policy, it is still constructed, and only then Wicket discovers that