Re: Accessing Wicket Application from custom servlet

2009-08-04 Thread Aaron Dixon
That seems to provide a solutino for WicketSession access, but what about access to the Application instance? On Tue, Aug 4, 2009 at 1:51 PM, Igor Vaynberg wrote: > see WicketSessionFilter > > -igor > > On Tue, Aug 4, 2009 at 11:49 AM, Aaron Dixon wrote: >> I am implementing

Accessing Wicket Application from custom servlet

2009-08-04 Thread Aaron Dixon
I am implementing a servlet external to my Wicket application that needs to access my Wicket Application instance itself... Can anyone recommend a clean way to go about this? - To unsubscribe, e-mail: users-unsubscr...@wicket.apa

Re: guice-injection on page vs. components

2009-06-29 Thread Aaron Dixon
t the thing > being injected into a page is the wicket serializable proxy rather > then the direct instance? > > -igor > > On Fri, Jun 26, 2009 at 10:20 AM, Aaron Dixon wrote: >> But the nice thing about Guice/Wicket is that you don't have to >> concern your

Re: guice-injection on page vs. components

2009-06-26 Thread Aaron Dixon
n 25, 2009 at 2:04 PM, Mauro Ciancio wrote: > On Wed, Jun 24, 2009 at 1:38 PM, Aaron Dixon wrote: > >> >> org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: >> Unable to serialize class: >> com.mycompany.dao.MyDao$$EnhancerByGuice$$3e6e

guice-injection on page vs. components

2009-06-24 Thread Aaron Dixon
Hello, all - Guice/Wicket integration is excellent, but doesn't seem to work properly when I use @Inject-ed services on my *page* classes. It only seems to work when I inject services on components of my pages. I get WicketNotSerializableExceptions for services that I inject on my page class insta

Re: redirect to mailto

2009-06-22 Thread Aaron Dixon
Thanks, Erik. But I need to have this behavior initiated in response to an ajax event (say, on an onchange for a select drop down). On Mon, Jun 22, 2009 at 2:00 PM, Erik van Oosten wrote: > You can use ExternalLink with a mailto: url. > > Regards, >   Erik. > > Aaron Dixon wro

redirect to mailto

2009-06-22 Thread Aaron Dixon
How do I redirect to a mailto: url? This doesn't seem to work: final String url = "mailto:...";; getRequestCycle().setRequestTarget(new IRequestTarget() { @Override public void detach(RequestCycle requestCycle)

Re: using a guice-injected service in a created thread

2009-06-15 Thread Aaron Dixon
ead injected by guice... > > Thread t=injector.getinstance(MyThread.class); > > -igor > > On Mon, Jun 15, 2009 at 1:34 PM, Aaron Dixon wrote: > > I'm using Guice component injection with Wicket and it works grreat: > > > > MyPanel { > >

using a guice-injected service in a created thread

2009-06-15 Thread Aaron Dixon
I'm using Guice component injection with Wicket and it works grreat: MyPanel { @Inject private MyService myService; MyPanel(String id) { super(id); myService.doSomething(); } //... } HOWEVER, now I'm tryin' to send my service to a thread that I create, like

nested onclick events

2009-05-25 Thread Aaron Dixon
If there is no Wicket-centric answer to this, it's a Javascript question. I have an AjaxEventBehavior("onclick") behaviored attached to a wicket-rendered table/tr. I am trying to render html links within each rendered item, and not have the wicket-onclick behavior executed if the user clicks on a