t5: URLWriting, is this correct?

2009-08-08 Thread Angelo Chen
Hi, in a 5.1.0.5 app, i want to rewrite the url: http://127.0.0.1:8080/items/123 to http://127.0.0.1:8080/itemlist/123 what I did is, adding the following block to AppModule.java, but it is not working, any idea why? Thanks, Angelo public static void contributeURLRewriter(OrderedConfigura

redirect from ajax request

2009-08-08 Thread Mario Rabe
Hi, how can I do a redirect from a XHR-request? Here an example to make clear what I want to do: I've got a couter-component which shows a count and 2 links (up and down). If a link is clicked, the count is changed inPlace. A "ValueChanged"-Event is triggered on every change. [Pseudo-Code. won't

Re: IOC Problem

2009-08-08 Thread Graham Ford
Thanks for the reply, but it seems I pasted in the wrong error message. I ran it with the AppModule commented out. When I put my AppModule back in, I get the following error, which is the one I get consistently now: java.lang.IllegalArgumentException: Contribution org.apache.tapestry5.hibernat

Re: IOC Problem

2009-08-08 Thread Juan E. Maya
It seems that ur application uses Tapestry-SpringSecurity but that module is not being loaded. Try to loaded manually when u start the registry. On Sat, Aug 8, 2009 at 12:49 AM, Graham Ford wrote: > Hi all, > > I am having a weird problem with creating a registry. I am trying to test my > DAOs, an