Hi Greg,
The following seems to work, although I'm not entirely sure if it should !!
If the tapestry IOC geniuses agree, it is quite elegant and you can
@Inject Session within your DaoImpl.
Basically, injecting the PerthreadManager allows you to tell
tapestry-ioc that your thread is complete
Iprimak,
It worked like a charm! Thank you.
So it turns out using the JavaScriptSupport @Environmental and a call to its
addScript in the layout page's afterRender does the trick. Wonder why
that's the case.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/OLark-script-b
I spent a couple of hours on this today, and learned that my understanding
of Tapestry is not yet deep enough for me to make this work.
Has anyone else done something similar? Code examples? I've searched, and
haven't been able to find anything that makes sense to me.
On Sat, Feb 25, 2012 at 1:10
You might need to add the script to the DOM in your afterRender() for layout
component
http://tapestry.apache.org/dom.html ,
or if that doesn't help, you might need to take MarkupRenderFilter approach,
http://tapestry.apache.org/meta-programming-page-content.html
On Feb 26, 2012, at 6:10 PM, ha
Hi everyone!
My first Tapestry site is about to go live. Very exciting time. In fact, I
was so excited that I decided to add olark live chat.
And it didn't work -- the "chat now" hover window never appeared.
olark installment requires a script block:
to be placed "right before the last tag
Ok here is my solution ...
In my app module I added ..
public void contributeComponentEventResultProcessor(final Response response,
MappedConfiguration,
ComponentEventResultProcessor> configuration) {
configuration.add(HttpErrorNotModified.class, new
ComponentEventResultProcessor() {
public void
I realize this is a very old thread but I'm facing something similar and
would like to point out that one may need to go deep into an object graph.
For example Adam is asking if tapestry can auto create the "address" object
for him, but what if the address object has other objects that needs to be
I just saw that ResourceStreamerImpl.java checks modification time and does
...
response.sendError(HttpServletResponse.SC_NOT_MODIFIED, "");
Is there a way for me to achieve the same from my onActivate() method
below ...
I.e. how do I return a 304 when my image hasn't been changed according t