Re: Is Testify supposed to work with Tapestry 5.1.0.5?

2010-02-26 Thread Alexander Kiel
lem. > > Finally, don't expect Testify to work with Tapestry 5.2 yet - Howard's > been changing all the class transformation stuff that Testify uses and I > haven't looked at Tapestry 5.2 yet; I'm going to wait until it is (or > nears) a final release. >

Re: Is Testify supposed to work with Tapestry 5.1.0.5?

2010-02-25 Thread Alexander Kiel
be able to fix the problem. > > Finally, don't expect Testify to work with Tapestry 5.2 yet - Howard's > been changing all the class transformation stuff that Testify uses and I > haven't looked at Tapestry 5.2 yet; I'm going to wait until it is (or > nears) a

Re: Redirect not from onActivate

2010-02-24 Thread Alexander Kiel
> > For a beginner like me, it would be really nice if Tapestry had some > > lightweight annotations for authorization of pages, component visibility > > and events against some lightweight maybe only role based authentication > > service. > > Agreed. I may put something simple together for that

Re: Redirect not from onActivate

2010-02-24 Thread Alexander Kiel
> > Well, because I want to redirect from other places in code, not from > > onActivate() method. > > I think this is a good course. I think you'll find your pages more > maintainable when you have this kind of organization in place. If you > have to get mid-way through processing or rendering the

Re: Redirect not from onActivate

2010-02-24 Thread Alexander Kiel
Hi Algirdas, why do you want to use response.sendRedirect()? You can simply return a page class name. Tapestry always redirects. Regards Alex On Wed, 2010-02-24 at 13:06 -0800, Algirdas wrote: > Thank you all for suggestions. > > > It appears that I have to redesign some of page activation rou

Is Testify supposed to work with Tapestry 5.1.0.5?

2010-02-24 Thread Alexander Kiel
Hi, I get the following error: ERROR - RequestExceptionHandler- Processing of request failed with uncaught exception: (class: org/apache/tapestry5/corelib/base/AbstractLink, method: testifyGetrenderSupport signature: ()Lorg/apache/tapestry5/RenderSupport;) Inconsistent args_size for opc_invok

Re: Redirect not from onActivate

2010-02-24 Thread Alexander Kiel
Hi Algirdas, you can use the @OnEvent annotation with a value of "activate". For the redirect, you should simply return the class of the page. Regards Alex On Wed, 2010-02-24 at 11:11 -0800, Algirdas wrote: > Hello, > > Is there any way to do a redirect from any method? > > For example I have

Re: [Tapestry Central] March of Progress

2010-02-24 Thread Alexander Kiel
Hi, maybe I can contribute something to this discussion, as I started using Tapestry just one week ago. As you said already, the documentation (aside from the one on tapestry.apache.org itself) is somehow wildly scattered around. The wiki is, like most wikis, not well structured. There is plenty

Re: [T5]New locale management and CSS path

2010-02-24 Thread Alexander Kiel
Hi Thomas, please try to use: renderSupport.addStylesheetLink("context:static/css/common.css", null); The "context:" prefix should point to your document root of your webapp. Regards Alex On Wed, 2010-02-24 at 11:52 +0100, Thomas Cucchietti wrote: > Hello everybody, > > As it is linked to a p

Re: How to get RESTful hierarchical URLs

2010-02-21 Thread Alexander Kiel
te: > On Sun, 21 Feb 2010 16:19:58 -0300, Alexander Kiel > wrote: > > > ok this is possible. But than I have at least one big if-then-else > > statement in my page and that page has both components loaded, a grid > > and a beandisplay (if we stay simple). If I use

Re: How to get RESTful hierarchical URLs

2010-02-21 Thread Alexander Kiel
ventLinkEncoder regarding this. Regards Alex On Sun, 2010-02-21 at 10:46 -0800, Hilco Wijbenga wrote: > On 21 February 2010 02:11, Alexander Kiel wrote: > > * /articles/ list all articles available > > * /articles/{a-id}/ sho

Re: How to get RESTful hierarchical URLs

2010-02-21 Thread Alexander Kiel
7505806.html > http://tapestryjava.blogspot.com/2007/01/tapestry-5-caseless-urls.html > > > http://wiki.apache.org/tapestry/Tapestry5HowTos > > > Alexander Kiel wrote: > > > > Hi Tapestry users and devs, > > > > this is my first question here and I use Tapestry for only

How to get RESTful hierarchical URLs

2010-02-21 Thread Alexander Kiel
Hi Tapestry users and devs, this is my first question here and I use Tapestry for only three days now, so excuse my question if there is already a documented answer. Suppose, I want to implement an online store with Tapestry. I like to have the following URLs: * /articles/