RE: T5 newbie books/tutorials and a couple of questions?

2009-01-02 Thread Jonathan Barker
Search the list for the Jumpstart application. It has been kept right up to date with the latest release of T5. I think you will find it has many good examples. (Also, search the Wiki for titles with "Tapestry5". It's not all up to date, but there's some great stuff.) I'm not sure you really w

Re: T5 newbie books/tutorials and a couple of questions?

2009-01-02 Thread Christian Edward Gruber
There are some on the tapestry wiki, under the Tapestry 5 How-Tos. Christian. On 2-Jan-09, at 13:51 , Kevin Monceaux wrote: Tapestry Fans, I've been tinkering with Tapestry a little bit off and on but am still pretty much a complete newbie. In the past I've tried a few other Java framewor

Re: spring context troubles

2009-01-02 Thread Howard Lewis Ship
Seems like I'm faced with two evils: breaking compatibility on the one hand, maintaining two different sets of Spring integration on the other. On Fri, Jan 2, 2009 at 10:50 AM, Fernando Padilla wrote: > That's alright to keep them separate, but I'm just worried that the 5.0.18 > will stop working

Re: [T5] Any component nullpointer

2009-01-02 Thread Ville Virtanen
Forgot to mention that I'm using 5.0.18. - Ville Ville Virtanen wrote: > > Hello, > > I have a mixin that takes two Any components as parameters. As long as the > Any components are *before* the mixin in the template everything is ok, > but if I move the Any component after the mixin (after

[T5] Any component nullpointer

2009-01-02 Thread Ville Virtanen
Hello, I have a mixin that takes two Any components as parameters. As long as the Any components are *before* the mixin in the template everything is ok, but if I move the Any component after the mixin (after the component that contains the mixin) it throws nullpointer while trying to access the

T5 newbie books/tutorials and a couple of questions?

2009-01-02 Thread Kevin Monceaux
Tapestry Fans, I've been tinkering with Tapestry a little bit off and on but am still pretty much a complete newbie. In the past I've tried a few other Java frameworks, but a framework that requires more lines of XML configuration than lines of source code never made any sense to me. I've

Re: spring context troubles

2009-01-02 Thread Fernando Padilla
That's alright to keep them separate, but I'm just worried that the 5.0.18 will stop working at some point.. That is why I proposed that you should really have two different pacakges.. one for each direction of integration, and people can explicitly choose which one to use. It just seems kind

T5: How to inject a Link

2009-01-02 Thread Jonathan O'Connor
Hi, it must be too much Christmas cheer, but I am not sure how to jump to a non-Tapestry URL in the same web app. A little background: We have an old application written in Struts 1.1. I have written my own Login page, called the old code to the user validation and updating of the session. Th

Re: [T5] Request Management

2009-01-02 Thread bmg125
Okay, so I tried contributing a MasterDispatcher. I contributed it with an order of after:PageRender, however it doesn't seem to be getting called. It seems that PageRenderDispatcher is interrupting the pipeline, so contributing a dispatcher after:PageRender isn't possible. Anyone know of a w

[T5] Exposing part of T5 service using RMI

2009-01-02 Thread Ville Virtanen
Hi! Is it possible to expose selected methods from a service using RMI? If so, are there any tutorials or something I can refer? (RMI tutorials are easy to find, but how to use it with T5 IoC?) Also I'm open to any ideas how to expose parts of services to another jvm on the same machine with the

[T5] Request Management

2009-01-02 Thread bmg125
I am running into a problem trying to determine when a conversation starts and more specifically ends with Tapestry. I understand that Tapestry issues some redirects or creates a new request(s) for the render cycle. Is there a way to determine when a conversation is completed and the page has be

Re: spring context troubles

2009-01-02 Thread Howard Lewis Ship
Actually, I'm liking the idea that compatibility on this comes from continuing to use the old version of tapestry-spring. I haven't found a way to do both: allow injection of Tapestry services into Spring beans and expose Spring beans as Tapestry services. The lifecycles of the two containers do no

Re: T5/Jetty: disabling jsessionid?

2009-01-02 Thread Lutz Hühnken
Andy, you can strip the session id with filter, but you should also check if the pages you want index really need to be stateful. When your servlet container adds a session id, it means it found it necessary to create a session. If you just strip the session id, a new session will be created for e

Re: T5: encoding issues

2009-01-02 Thread Lutz Hühnken
Hm... I think there are many possible points of failure for the encoding... - maybe your browser thinks the page is not utf-8. Is the encoding set correctly either in a http response header or html meta tag? - what do you use for building your project? If you use maven, check the "encoding" argum

Re: T5 I am struggling with persisting form elements using onchange

2009-01-02 Thread Lutz Hühnken
Jayson, > customer. I attempted this using the onEvent mixin and a javascript > function, but Tapestry kept telling me my javascript function was undefined. that's probably just some mismatch between your function name and what you said the callback function was. Maybe you should post that code

Re: JSESSIONID cookie, secure is set, how to not set

2009-01-02 Thread Lutz Hühnken
I don't know how to do it within Tapestry, but generally you can use a filter to make sure that jsessionid is never set as a secure cookie. I dug up some old code that does that, I think it works: public class TomcatUnifiedSessionFilter implements Filter { public void destroy() { //