Flash Served from Tapestry Context Not Playing

2009-11-20 Thread Taylor Mathewson
Hi all, I found a possible problem and a workaround, and I just want to put it up here in case anyone else encounters a similar problem. I have a Flex3 element embedded in a page. It would load, but it wouldn't run. We stripped it down to a very simple app (hello world), but it still wouldn't r

Re: Tapestry and JMeter

2009-11-26 Thread Taylor Mathewson
I use an xpath extractor to pull the form data, since this can change if you change the bindings, etc... In the controller pulling the page containing the form to submit, add an XPath Extractor. Make sure Tidy is on, and I named it "formData", and the expression is //fo...@id="yourFormIdHere"]//i

Re: Hibernate session should be cleared/flushed between lifecycle methods?

2009-12-22 Thread Taylor Mathewson
Rather than flushing and or clearing the full session, you can evict that particular instance. https://www.hibernate.org/hib_docs/v3/api/org/hibernate/Session.html#evict%28java.lang.Object%29 On Fri, Dec 18, 2009 at 2:40 PM, Everton Agner wrote: > Hi, > > I had a weird situation here and I want

Injecting overridden Service into a page

2009-07-29 Thread Taylor Mathewson
Hi, I have a Core Module which binds a service impl to an interface, and decorates it (hibernate transaction decorator, and a couple of custom things) I have page beans which reference the service, e.g.: @Inject private SomeService someService; Everything works fine up to this point. I add in

Re: Injecting overridden Service into a page

2009-07-29 Thread Taylor Mathewson
g the @Inject annotation, which gives an undecorated impl with a single proxy (i.e. it circumvents all the decoration). I'll log it in JIRA then. Thiago H. de Paula Figueiredo wrote: > > Em Wed, 29 Jul 2009 20:01:38 -0300, Taylor Mathewson > escreveu: > >> Hi, > >

Re: Injecting overridden Service into a page

2009-07-29 Thread Taylor Mathewson
It's a long story, but the short version is that service override is very appropriate here, and decoration would not accomplish what is needed. You help is much appreciated. Cheers, Taylor Thiago H. de Paula Figueiredo wrote: > > Em Wed, 29 Jul 2009 20:45:36 -0300, Taylo

How does one call another method in the same service without circumventing interceptors

2010-07-13 Thread Taylor Mathewson
Hi all, This question pertains to Tapestry 5.1 I find myself in a position where I need to call one method from another in the same service, without circumventing the interception around this method. Using this.method() will obviously not work. I've tried injecting the service into itself as a

Re: Javascript append to zone

2012-07-30 Thread Taylor Mathewson
That would work but might be a bit onerous. You may also want to clear the hidden div at the end. I googled around a bit and found this mixin that should do it. The way the constraints are setup is quite nice: http://blog.bolkey.com/2010/05/creating-a-news-feed-in-tapestry-5/ Cheers, Taylor O