Re: T5: Quartz and the IoC Registry?

2008-10-11 Thread Angelo Chen
Hi Andy, Thanks for the code, the HenJob does not have a default constructor, will it have this error: [ERROR] ErrorLogger An error occured instantiating job to be executed. job= 'group1.job1' org.quartz.SchedulerException: Problem instantiating class 'org.sample.myjob' ? And here's the paren

t5: using jetty

2008-10-11 Thread Angelo Chen
Hi, Sorry if this is not related to Tapestry. I use jetty:run to test my web app and it works well, one issue that I can't solve is, in the standard tomcat deployment my app has to refer to webapps/myimages, myimages is actually a linked directory in Linux, how to define something like this when

T5: Cannot decorate services coming from tapestry-spring

2008-10-11 Thread Bill Holloway
I have defined a service decorator and used @Match("*Support"). Services that I define in my appmodule with class names ending in Support get decorated just fine. However I have several services which end in Support that are coming in from spring via tapestry-spring. My decorator doesn't seem to

Re: [T5] What is your missing feature / bloking bug before 5.0 ?

2008-10-11 Thread Thiago H. de Paula Figueiredo
Em Sat, 11 Oct 2008 12:32:53 -0300, Tobias Wehrum <[EMAIL PROTECTED]> escreveu: Hi Thiago, Hi! You don't need to use the list binding. Just use the prop binding: [...] building the context in the java class seems somewhat cumbersomely to me, and also a bit confusing, since you cannot d

AW: [T5] What is your missing feature / bloking bug before 5.0 ?

2008-10-11 Thread Maximilian Weißböck
As I have to support german localization and IE, I think 1) and 2) is a must have for 5.0 3) would be great, but is not a must have for 5.0 I think I also think Geoff is right with is argument: "ApplicationStateObject is a misleading term" https://issues.apache.org/jira/browse/TAPESTRY-2703 an

Re: [T5] What is your missing feature / bloking bug before 5.0 ?

2008-10-11 Thread Tobias Wehrum
Hi Thiago, You don't need to use the list binding. Just use the prop binding: [...] building the context in the java class seems somewhat cumbersomely to me, and also a bit confusing, since you cannot directly see what context the PageLink gets and have to lookup the method in the correspond

Re: T5: Quartz and the IoC Registry?

2008-10-11 Thread Andy Huhn
Hi Angelo, It's been several months since I wrote this, so the details are fuzzy...but here are some snippets of some code that I'm currently running in production: /* The following service is registered with Tapestry IOC. It schedules jobs via Quartz */ public class SchedulerServiceImpl impleme

Re: t5: starting a service automatically

2008-10-11 Thread Lubor Gajda
Angelo, How are you instantiating scheduler in your application? Are you using tapestry IOC module? /lubor On Sat, Oct 11, 2008 at 10:55 AM, Angelo Chen <[EMAIL PROTECTED]>wrote: > > Hi Lubor, > > Thanks for the quick reply, is the scheduler here Quartz? I can't > understand > fully how to use

Re: t5: starting a service automatically

2008-10-11 Thread Martijn Brinkers
You can flag the service to eager load (see @EagerLoad) Martijn Brinkers On Sat, 2008-10-11 at 02:47 -0700, Angelo Chen wrote: > Hi, > > I have a service that uses Quartz to fire an event every minute, I'd like to > know how to start this service once the application is loaded? thanks. > > Ange

Re: t5: starting a service automatically

2008-10-11 Thread Angelo Chen
Hi Lubor, Thanks for the quick reply, is the scheduler here Quartz? I can't understand fully how to use this, any more details? Thanks. Angelo Lubor Gajda wrote: > > Hi Angelo, > > You can try this: > > public static void > contributeRegistryStartup(OrderedConfiguration > configuration, fin

Re: t5: starting a service automatically

2008-10-11 Thread Lubor Gajda
Hi Angelo, You can try this: public static void contributeRegistryStartup(OrderedConfiguration configuration, final Scheduler scheduler) { configuration.add("SchedulerStartup", new Runnable() { public void run() { scheduler.start() } }); } Rega

t5: starting a service automatically

2008-10-11 Thread Angelo Chen
Hi, I have a service that uses Quartz to fire an event every minute, I'd like to know how to start this service once the application is loaded? thanks. Angelo -- View this message in context: http://www.nabble.com/t5%3A-starting-a-service-automatically-tp19931132p19931132.html Sent from the Ta

Re: T5: Quartz and the IoC Registry?

2008-10-11 Thread Angelo Chen
Hi Andy, Any sample code for this? Thanks. Angelo Andy Huhn wrote: > > Thanks, Howard...ServiceResources did the trick! > > On Sat, 2007-12-15 at 06:53 -0800, Howard Lewis Ship wrote: >> The Registry is not exposed, a service may be passed its >> ServiceResources via a constructor parameter.

Re: [T5] What is your missing feature / bloking bug before 5.0 ?

2008-10-11 Thread Onno Scheffers
Hi Francois, I agree with your suggestions. I would like to be able to configure Javascript to be included in the head section rather than at the bottom of the page. We recently had a discussion about it here: https://issues.apache.org/jira/browse/TAPESTRY-2364. Without it you need hacks to exec