[Wicket-user] RefreshingView and Link.setAutoEnable

2007-06-29 Thread Vadim Tesis
all, i'm trying to create a list of links using Refreshing view in wicket 1.3. for some reason if i call Link.setAutoEnable(true) it doesn't really work, the link is enabled all the time. however if i override Link.isEnabled() method it works, the link becomes disabled on the page it points

Re: [Wicket-user] RefreshingView and Link.setAutoEnable

2007-06-29 Thread Vadim Tesis
/29/07, Vadim Tesis [EMAIL PROTECTED] wrote: all, i'm trying to create a list of links using Refreshing view in wicket 1.3. for some reason if i call Link.setAutoEnable(true) it doesn't really work, the link is enabled all the time. however if i override Link.isEnabled() method it works

Re: [Wicket-user] question on localization

2007-04-27 Thread Vadim Tesis
Thank you all for your help. it worked. Igor, do you mean that getPageTitle() virtual method of subclass will be called from constructor of the base class? but in the implementation below it doesn't reference any members of subclass, it simply creates new ResourceModel object. am i missing

[Wicket-user] question on localization

2007-04-23 Thread Vadim Tesis
Hi, i'm having problems localizing a title of a page. there's one way to do that, from 'Pro Wicket' book. i need to have following markup: titlewicket:message key=page.title//title. then in locale specific properties files for every page i'll need to have property page.title. which is an

[Wicket-user] WicketTester problem

2007-04-22 Thread Vadim Tesis
Hi all, i'm trying to write a simple test to see if a page gets rendered. when i run the test i'm getting error: NoClassDefFoundError for GenericServlet (see below). it complains about the line where WicketTester gets instantiated. i tried to specify absolute path to the .war file in the