Hi Uli,
Now looking Interface RenderSupport package , I think it can be use full
to enders the PDF to images and shown to the user. This package support to
all T5 component that render and also help to JavaScript generation.
Interface RenderSupport(
http://tapestry.apache.org/tapestry5/apidocs/
Just contribute your own ComponentClassTransformWorker. The class
InjectWorker is an implementation of this interfaces which is responsible
for injecting servises annotated with @Inject.
Also ObjectProvider might be a right place to accomplish your task.
On Sat, Apr 10, 2010 at 12:18 PM, Piero Sa
But the object as injected by tapestry /is/ the proxy... not sure I
follow what you need.
You can use T5 IOC to grab the various services you need to
instantiate the object manually, though, so it will be "just like" the
service injected by tapestry, minus the proxy.
I'm curious: what's wro
Hi Thiago,
I am aware of that. Unfortunately that does not fit the use case: i need to be
able to obtain the (unit test) object as injected by tapestry.
This can be implemented by adding a method getInstance() {return this;} to the
interface and implementation. But I hoped there would be a way
Sounds reasonable to me. Could you please file an issue in JIRA for it? It might be down though, so
please try later if it doesn't work right away.
Cheers,
Uli
On 10.04.2010 20:16, Pierce T. Wetter III wrote:
Following protocol to have my suggestions discussed here.
Suggestion:
In
Following protocol to have my suggestions discussed here.
Suggestion:
Include a class in tapestry-test that only launches Selenium, not Jetty at
all. This lets you run tests where you've launched the application in some
other way (various maven plugins, etc. )
Provided implementa
Yeah, but that's not what Thiago and I had in mind. We'd rather want some kind of Tapestry service
that renders the PDF to images and a JavaScript control that communicates with that service and
shows the pages to the user.
Uli
On 10.04.2010 08:14, Ben Gidley wrote:
Do you mean you are planni
Is it possible to use custom annotations to inject services?
background: I am building some support libraries for JPA that should
work inside tapestry as well as EJB projects.
What I want to make happen is to somehow enable @PersistenceContext
inside the tapestry-jpa module.
I don't want to suppo