Re: T5: return Index.class problem
Quoting "Filip S. Adamsen" <[EMAIL PROTECTED]>: Hi, This was changed between 5.0.14 and 5.0.15 and subsequently reverted in 5.0.16. See https://issues.apache.org/jira/browse/TAPESTRY-2675. -Filip Ok, thanks. That will be why. cheers, p. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: return Index.class problem
This should have been fixed as https://issues.apache.org/jira/browse/TAP5-132. Please try a more recent version (5.0.16-SNAPSHOT). Uli Am Fr, 26.09.2008, 13:05, schrieb [EMAIL PROTECTED]: > Hi, > > I am implementing an access controller as specified in the Wiki HOW-TOs > > http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess > > > On a logout ActionLink I do: > > return Index.class; > > > > In the past this has been working fine. Today I tried using the link > and I get an exception: > > [ERROR] TapestryModule.RequestExceptionHandler Processing of request > failed with uncaught exception: Parameter pageName was null or > contained only whitespace. > java.lang.IllegalArgumentException: Parameter pageName was null or > contained only whitespace. > > > It appears that returning Index.class is now giving the URL / rather > than /Index and the code in AccessController.checkAccess() effectively > calls Component page = componentSource.getPage("/"); > > Any ideas on why this behaviour might have changed (the only thing > I've been working on has been adding Spring bean injection and changes > to web.xml as specified in the Wiki HOW-TO. > > Thanks! > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: return Index.class problem
Hi, This was changed between 5.0.14 and 5.0.15 and subsequently reverted in 5.0.16. See https://issues.apache.org/jira/browse/TAPESTRY-2675. -Filip On 2008-09-26 13:05, [EMAIL PROTECTED] wrote: Hi, I am implementing an access controller as specified in the Wiki HOW-TOs http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess On a logout ActionLink I do: return Index.class; In the past this has been working fine. Today I tried using the link and I get an exception: [ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Parameter pageName was null or contained only whitespace. java.lang.IllegalArgumentException: Parameter pageName was null or contained only whitespace. It appears that returning Index.class is now giving the URL / rather than /Index and the code in AccessController.checkAccess() effectively calls Component page = componentSource.getPage("/"); Any ideas on why this behaviour might have changed (the only thing I've been working on has been adding Spring bean injection and changes to web.xml as specified in the Wiki HOW-TO. Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]