Re: Canceling Periodic Job

2016-06-17 Thread abangkis
Hi Barry and Dmitry, thanks for the link. I'll look in to it. On Fri, Jun 17, 2016 at 7:11 PM, Dmitry Gusev wrote: > We use quartz for background jobs: > > > https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-quartz > > There you have fine control on both scheduled and

Re: Page must be specified before initializing for partial page render.

2016-06-17 Thread Qbyte Consulting
updating to tapestry5-jquery to 3.4.2 version seems to resolve this issue :) On Fri, Jun 17, 2016 at 11:57 AM, Qbyte Consulting < qbyteconsult...@gmail.com> wrote: > Thanks Cezary, > > What I found is that making COMBINE_SCRIPTS=false resolves the issue. > > configuration.add(JQuerySymbol

Re: Canceling Periodic Job

2016-06-17 Thread Dmitry Gusev
We use quartz for background jobs: https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-quartz There you have fine control on both scheduled and currently executing jobs, i.e. scheduler.getCurrenlyExecutingJobs() and then scheduler.interrupt(jobKey) On Fri, Jun 17, 2016

Re: Canceling Periodic Job

2016-06-17 Thread Barry Books
see https://github.com/trsvax/Jacquard/blob/master/src/main/java/com/trsvax/jacquard/services/JobRunnerTapestry.java https://github.com/trsvax/Jacquard/blob/master/src/main/java/com/trsvax/jacquard/pages/job/JobIndex.java Jobs are started in the JobRunnerTapestry service and the set of jobs is m

Re: Page must be specified before initializing for partial page render.

2016-06-17 Thread Qbyte Consulting
Thanks Cezary, What I found is that making COMBINE_SCRIPTS=false resolves the issue. configuration.add(JQuerySymbolConstants.SUPPRESS_PROTOTYPE, "false"); configuration.add(JQuerySymbolConstants.JQUERY_ALIAS, "$J"); configuration.add(SymbolConstants.COMBINE_SCRIPTS, "false

Re: Webhook example

2016-06-17 Thread abangkis
Hi geoff, yes I believe it is. So i guess I can just create a regular tapestry rest-full page that can handle POST/GET request. Thanks. I don't know why I kept thinking about websocket instead of regular page for webhook, there's too much to read :D Thanks again geoff On Fri, Jun 17, 2016 at 3:1

Re: Webhook example

2016-06-17 Thread JumpStart
Do you mean where Tapestry provides webhooks to be called by an external party (perhaps a bot)? If yes, can it be RESTful? > On 17 Jun 2016, at 10:09 AM, abangkis wrote: > > Hi, does anyone have an example of creating a webhook in Tapestry? > > I'm trying to create a telegram bot with tapestry

Canceling Periodic Job

2016-06-17 Thread abangkis
Hai, I'm creating a periodic job on startup from this link. http://blog.tapestry5.de/index.php/2011/09/18/scheduling-jobs-with-tapestry/ So i wonder how can i stop the job using a button? Since the periodic job is created on startup so the returned PeriodicJob is inaccessible from a page? -- ht