request in job

2013-08-01 Thread Jan Fryblik
Hi guys,i've run into terrible issue with jobs. I need to generate link which is afterwards sent to user, but issue is... Job is not executed with http request so that i haven't informations about request to generate the link, so it throws NullPointerException.Is there any other option then having

Re: request in job

2013-08-01 Thread Lance Java
I had this same problem with tapestry-cometd where I needed to render components asynchronously outside of a normal request / response. I solved this problem with the ComponentJSONRenderer which spoofs a request and response in order to run the tapestry template rendering. Code here: https://githu

Re: request in job

2013-08-01 Thread Barry Books
All my jobs are Tapestry pages and I call them with Hudson (curl). The benefits are: 1. Easier to develop (It's just a web page) 2. More control over running jobs 3. Hudson keeps statistics 4. No problems when load balanced The only draw back is Hudson has 1 minute scheduling resolution. I've onl

Re: request in job

2013-08-01 Thread Jan Fryblik
Really nice idea... and what about security? Does Hudson have its own user who is logged in before execution? BR, Jan On Thu, 01 Aug 2013 13:59:21 +0200, Barry Books wrote: All my jobs are Tapestry pages and I call them with Hudson (curl). The benefits are: 1. Easier to develop (It's j

tapestry 5.2.5 doesnot work on Jboss 6

2013-08-01 Thread rukmini n
HI All, Currently in our organization we use Tapestry for UI and version is 5.0.15, jboss 4 . And we upgraded Jboss version to 6.1.0, now the current version of tapestry is 5.0.15 and does not work in jboss 6. So we upgraded tapestry version to 5.2.5 and still we see the problem. Main problem i

Re: tapestry 5.2.5 doesnot work on Jboss 6

2013-08-01 Thread Thiago H de Paula Figueiredo
On Thu, 01 Aug 2013 13:50:48 -0300, rukmini n wrote: HI All, Hi! Currently in our organization we use Tapestry for UI and version is 5.0.15, jboss 4 . Quite old versions . . . So we upgraded tapestry version to 5.2.5 and still we see the problem. Main problem is .tml files components

Re: tapestry 5.2.5 doesnot work on Jboss 6

2013-08-01 Thread rukmini n
Hi, Thank you for your response. Here is the full stack trace. Outputraw is class in the tapestry core library. i'm wondering why its not able to recognize this. The same code works fine in jboss 4. 2013-07-31 16:47:41,367 [2880#1/http://www.srwd00.com/] priority=ERROR app_name=stubhubapps thread

tapestry 5.2.5 doesnot work on Jboss 6

2013-08-01 Thread rukmini n
HI, Thank you for your response. Here is the full stack trace. Outputraw is class in the tapestry core library. i'm wondering why its not able to recognize this. The same code works fine in jboss 4. 2013-07-31 16:47:41,367 [2880#1/http://www.srwd00.com/] priority=ERROR app_name=stubhubapps thread

RE: Index broken reference

2013-08-01 Thread Nomen Nominus
Hi Thiago! My code handles properly all event URL's, however not in the following scenario: localhost ( this is index page ) and it can't handle any event url from there, however, in all other scenarios ( for instance if I type localhost/about in my browser bar, it gets me to about page, and from

Re: Index broken reference

2013-08-01 Thread Thiago H de Paula Figueiredo
On Thu, 01 Aug 2013 16:18:53 -0300, Nomen Nominus wrote: Hi Thiago! Hi! My code handles properly all event URL's, however not in the following scenario: So it doesn't handles all scenarios. :) You're contradicting yourself in a single sentence. :P Also, how could I change to Compo

Re: tapestry 5.2.5 doesnot work on Jboss 6

2013-08-01 Thread rukmini n
HI Thiago, Could you please respond. I'm really blocked because of this issue. Thanks, Rukmini On Thu, Aug 1, 2013 at 10:43 AM, rukmini n wrote: > > HI, Thank you for your response. > > > Here is the full stack trace. Outputraw is cla

kaptcha deployment error

2013-08-01 Thread Nikola Vulovic
this is the error: java.lang.RuntimeException: Service id 'KaptchaProducer' has already been defined by org.apache.tapestry5.kaptcha.internal.services.KaptchaProducerImpl(Map) (at KaptchaProducerImpl.java:34) via org.apache.tapestry5.kaptcha.services.KaptchaModule.bind(ServiceBinder) (at KaptchaMod

Re: tapestry 5.2.5 doesnot work on Jboss 6

2013-08-01 Thread Geoff Callender
Thiago did respond, with an essential link to the wiki. Please follow the link and tell us the result. Cheers, Geoff On 2 August 2013 08:39, rukmini n wrote: > HI Thiago, > > Could you please respond. I'm really blocked because of this issue. > > Thanks, > Rukmini > >

FW: Tapestry 5.4 - Question about Autocomplete

2013-08-01 Thread Alex Pasialis
Hi, I have upgraded to Tapestry 5.4 and I have a problem extending the Autocomplete mixin: in java: void afterRender() { javaScriptSupport_.require("bla") .priority(InitializationPriority.LATE).with(getParameters()); } in bla.js: define([ "jquery"], function() { retu