Reading localization properties from Subclass .properties file

2009-11-06 Thread Leo . Erlandsson
Hi, We are in the process of moving our applications from JSP to Wicket. Right now we're writing a framework with BasePages and base components to build on and are learning Wicket on the fly. The BasePage contains a HeaderPanel which renders the Headline of the page: !-- BasePage.java --

Wicket EJB3 integration

2009-11-06 Thread Roman Ilin
Hi *, what is the preferable solution to integrate Wicket war in existing ear project? I would like to deploy wicket war as separate war and not in the ear. In ear project I have stateful bean which is used by other part of application. EJB interfaces are packed in separate jar. Should I do

Ang. Reading localization properties from Subclass .properties file

2009-11-06 Thread Leo . Erlandsson
Sorry for the inconvenience, Wicket is handling this beautifully and loads the correct resourceKey value from the Page subclass .properties file. I don't dare admit what the problem was Thanks for a great framework!

Getting the Choose Option on page reload

2009-11-06 Thread vinay.karmarkar
Hi, I have 2 drop-downs and a search button my page. When the page is loaded for the first time, the first option in both the drop-downs is Choose Option. Now if I select some value and click Search, the page is rendered again and the Choose Option is gone forever. But I want it back. How do I

Get all active session objects

2009-11-06 Thread Giambalvo, Christian
Hi all, how do I get all active session objects. I need the real session object cause i need to call a method on it. I already searched the mailing list but without success. Thanks in advance. Chris

Get all active session objects

2009-11-06 Thread Giambalvo, Christian
Hi all, how do I get all active session objects. I need the real session object cause i need to call a method on it. I already searched the mailing list but without success. Thanks in advance. Chris

Re: Get all active session objects

2009-11-06 Thread Pedro Santos
CustomSession{ static List sessions; public CustomSession(){ sessions.add(this); } } On Fri, Nov 6, 2009 at 7:40 AM, Giambalvo, Christian christian.giamba...@excelsisnet.com wrote: Hi all, how do I get all active session objects. I need the real session object cause i need to

Re: Getting the Choose Option on page reload

2009-11-06 Thread vineet semwal
you can set the dropdown model object to a value which you will read it from pageparams, and you will set the pageparams in onsubmit, on first page load you will not be able to retrieve from pageparams so in this case set the modelobject to default value. -- regards, Vineet Semwal On Fri,

Re: Get all active session objects

2009-11-06 Thread Martijn Dashorst
And we have a memory leak... See HttpSessionListener instead... Martijn On Fri, Nov 6, 2009 at 10:55 AM, Pedro Santos pedros...@gmail.com wrote: CustomSession{  static List sessions;  public CustomSession(){    sessions.add(this);  } } On Fri, Nov 6, 2009 at 7:40 AM, Giambalvo,

AW: Get all active session objects

2009-11-06 Thread Giambalvo, Christian
And what about newSession and sessionDestroyed in AuthenticatedWebApplication? Isn't this equal to an Implementation of HttpSessionListener. -Ursprüngliche Nachricht- Von: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Gesendet: Freitag, 6. November 2009 10:59 An: