Re: tapestry-spring-security dynamic failure url

2009-05-26 Thread Michael Gerzabek
Hi Borut, Sorry, didn't have such an issue. Maybe you want browse the SS-Forum. There are some threads about this issue [1]. In case the searchid gets lost use [2] and be aware there are other threads either. Cheers, Michael [1] http://forum.springsource.org/search.php?searchid=5332409 [2]

Re: tapestry-spring-security dynamic failure url

2009-05-26 Thread Borut Bolčina
Hi Michael, 2009/5/26 Michael Gerzabek > Borut Bolčina schrieb: > >> I need to configure AuthenticationProcessingFilter "on the fly". >> > Are you sure? Or do you just want different failureURLs? I just want a different failureURL. > > Can I >> inject the filter and call the setAuthenticat

Re: [t5] Contributed master dispatcher not dispatching root url requests

2009-05-26 Thread zack1403
Tried before:* with same result. I know its not caching and that its actually processing the request because I can see the output in my console. Refreshing my root page runs without my dispatcher being called but if i click on any links my breakpoint is triggered. If I add 'start' to the base u

Re: [t5] Contributed master dispatcher not dispatching root url requests

2009-05-26 Thread Thiago H. de Paula Figueiredo
Em Tue, 26 May 2009 22:04:15 -0300, zack1403 escreveu: For authentication I have contributed a master dispatcher to be called before:RootPath. Try before:* and tell us if it solves your problem. It's possible that PageRenderDispatcher is being invoked before yours. Take a look at the me

[t5] Contributed master dispatcher not dispatching root url requests

2009-05-26 Thread zack1403
For authentication I have contributed a master dispatcher to be called before:RootPath. When visiting the root of my web app (not start), the dispatcher does not get called. I have tried changing when it is called (before:Asset, etc) but cant seem to get it to stop at my breakpoint, even though

[5.1.0.5] Unsupported Locales

2009-05-26 Thread Onno Scheffers
My AppModule configuration: public static void contributeApplicationDefaults(MappedConfiguration configuration) { configuration.add(SymbolConstants.SUPPORTED_LOCALES, "nl"); } In Tapestry 5.0.18 this meant injected Locales were always Dutch (nl) on all pages and components. I used that

Re: any ideas why the APPCATALOG resource being injected would not be getting resolved?..

2009-05-26 Thread Tom Zurkan
Looked through the classpath and everything is using 5.1.0.5 Thiago H. de Paula Figueiredo wrote: Em Fri, 22 May 2009 22:59:16 -0300, Tom Zurkan escreveu: i am upgrading from 5.0.18 to 5.1.05. any ideas would be appreciated. Make sure you only have 5.0.1.5 JARs in your classpath. A mi

tapestry 5.1.0.5 - no service for interface Resource ... help!

2009-05-26 Thread Tom Zurkan
i keep getting an exception when trying to create the ComponentMessagesSource / public ComponentMessagesSourceImpl( @Symbol(SymbolConstants.APPLICATION_CATALOG) Resource appCatalogResource, ClasspathURLConverter classpathURLConverter) { this(appCatalo

[Tapestry Central] Tapestry 5 Support in IDEA Maia

2009-05-26 Thread Howard
The next generation of IDEA, Maia will include Tapestry 5 support; this is according to Hugo Palma, who wrote the initial version of the IDEA Tapestry plugin that has been expanded for inclusion in Maia. Cool! -- Posted By Howard to Tapestry Central at 5/26/2009 02:11:00 PM

Re: Upcoming IntelliJ IDEA release includes Tapestry support

2009-05-26 Thread Onno Scheffers
Great news. Looking forward to it. - Onno On Tue, May 26, 2009 at 8:55 PM, Hugo Palma wrote: > You can read the announcement here > http://blogs.jetbrains.com/idea/2009/05/maia-eap-is-finally-here/ > > I've already given it a try and although there's a critical bug (it still > tries to find tap

Re: tapestry xpath and t: namespace

2009-05-26 Thread Joost Schouten (mailing lists)
I guess I'm looking for a way to tell the MarkupWriter (or other responsible DOM generators) to also output the t namespace in the generated html. In particulair, I'm after having the t:id added. Would this be hard to add, and what would be my entrypoint to start on a patch. The idea comes from wi

Re: missing key fail level

2009-05-26 Thread Joost Schouten (mailing lists)
I just created a jira issue (https://issues.apache.org/jira/browse/TAP5-721) and will have a look over the weekend to see if I can supply a patch for this. I thought adding a boolean symbol along the lines of MISSING_MESSAGE_KEY_FAIL_WITH_EXCEPTION which defaults to false. Cheers, Joost On Wed, M

Re: [5.1.0.5] Ars-Machina - No service Implements the interface org.hibernate.SessionFactory

2009-05-26 Thread Antonio Fernández
Thiago H. de Paula Figueiredo escribió: Em Mon, 25 May 2009 12:43:17 -0300, Antonio Fernández escreveu: Hi again, Hi! * org.hibernate.HibernateException: No CurrentSessionContext configured! The suggested way is to override getSession() to return something other than

Re: tapestry-spring-security dynamic failure url

2009-05-26 Thread Michael Gerzabek
Borut Bolčina schrieb: I need to configure AuthenticationProcessingFilter "on the fly". Are you sure? Or do you just want different failureURLs? Can I inject the filter and call the setAuthenticationFailureUrl(failureUrl) in my page class? I want to have different failureUrl based on some condi

Upcoming IntelliJ IDEA release includes Tapestry support

2009-05-26 Thread Hugo Palma
You can read the announcement here http://blogs.jetbrains.com/idea/2009/05/maia-eap-is-finally-here/ I've already given it a try and although there's a critical bug (it still tries to find tapestry classes under the old package org.apache.tapestry) things are looking good. Because i was involved i

Re: Does T5.1.0.5 depend on Java6?

2009-05-26 Thread Onno Scheffers
> > While StAX is indeed part of JDK6, its more likely that you're simply > missing the stax-api and woodstox jars on your classpath. Woodstox is an > implementation > of StAX for JDKs <6. > > With maven they are correctly added to the classpath as transitive > dependencies. :) Hi Holger, thanks

Re: Does T5.1.0.5 depend on Java6?

2009-05-26 Thread Holger Hoffstaette
On Tue, 26 May 2009 18:39:02 +0200, Onno Scheffers wrote: > I'm still on Java 5 and trying to upgrade Tapestry from 5.0.18 to 5.1.0.5. > > On startup I see the error-message: java.lang.NoClassDefFoundError: > javax/xml/stream/XMLResolver > The XMLResolver was only added to Java 1.6 according to i

Tapestry ajax form swallows server-side errors

2009-05-26 Thread Ciaran Wood
I¹ve encountered a bug in T5.1.0.5 where a form that submits via ajax (i.e. The form has its zone parameter set) will never notify the user if the server-side action fails. I¹ve traced it down to this line in tapestry.js: // Set a default failure handler if none is provided. options.onFailure |= T

Does T5.1.0.5 depend on Java6?

2009-05-26 Thread Onno Scheffers
I'm still on Java 5 and trying to upgrade Tapestry from 5.0.18 to 5.1.0.5. On startup I see the error-message: java.lang.NoClassDefFoundError: javax/xml/stream/XMLResolver The XMLResolver was only added to Java 1.6 according to its docs ( http://java.sun.com/javase/6/docs/api/javax/xml/stream/XMLR

Re: Missing maven dependency for tapx-datefield?

2009-05-26 Thread Eric Rogers
I realize the tapx-datefield is built for Tapestry 5.1+. I was just trying to point out that the repository appeared to have a missing dependency. However, it appears to have the expected structure now. Either way, thanks for you help, greatly appreciated. Eric On Mon, May 25, 2009 at 6:37 PM,

Re: missing key fail level

2009-05-26 Thread Thiago H. de Paula Figueiredo
On Tue, May 26, 2009 at 10:01 AM, Ulrich Stärk wrote: > On the other hand, Howard has modified Tapestry several times in order for > minor errors to be thrown as exceptions early on so that developers fix > their mistakes right away. Throwing an exception on a missing label seems to > fit in, at l

Re: missing key fail level

2009-05-26 Thread Ulrich Stärk
On the other hand, Howard has modified Tapestry several times in order for minor errors to be thrown as exceptions early on so that developers fix their mistakes right away. Throwing an exception on a missing label seems to fit in, at least for me. Maybe we can make it configurable so that everyo

Re: missing key fail level

2009-05-26 Thread Inge Solvoll
I believe the docs mention specifically that NOT throwing an exception is a nice feature :) On Tue, May 26, 2009 at 2:25 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, May 25, 2009 at 6:17 PM, Joost Schouten (mailing lists) > wrote: > > Hi, > > Hi! > > > Is there a way

Re: missing key fail level

2009-05-26 Thread Thiago H. de Paula Figueiredo
On Mon, May 25, 2009 at 6:17 PM, Joost Schouten (mailing lists) wrote: > Hi, Hi! > Is there a way to make tapestry throw an exception when it encounters > a missing key? I don't think so, but it looks like a nice feature. Please post a JIRA about it. ;) -- Thiago

Re: tapestry xpath and t: namespace

2009-05-26 Thread Thiago H. de Paula Figueiredo
On Mon, May 25, 2009 at 6:14 PM, Joost Schouten (mailing lists) wrote: > First off, I love the new xpath project. Unit testing components and > pages is a lot easier because of it. It can be used to write mixins too. :) > One thing that would make life even better is if I have a way to tell > ta

Re: tapestry xpath and t: namespace

2009-05-26 Thread spaway
hi all, - could any one please direct me to the available good resources for creating tapestry layouts. cheers. 2009/5/25 Joost Schouten (mailing lists) > First off, I love the new xpath project. Unit testing components and > pages is a lot easier because of it. > > One thing that would make

Re: Problem with javascript form submit

2009-05-26 Thread Pedro Januário
I found the gotcha! :D It's my mistake but it's a strange behaviour caused by Tapestry. When we have a submit button inside a form, and the submit has no name, the tapestry gives him the name submit. For that reason we don't have the submit function in the form but the submit element, that is over

Problem with javascript form submit

2009-05-26 Thread Pedro Januário
Hi, I'm stuck with strange behaviour of tapestry (i think so). I have a simple tapestry form and when i try to execute the form submit under javascript ( using $('formId').submit ), the form isn't submitted. Anyone have a clue on it? Regards, *Pedro Januário* -- *Deli

Re: Versioning assets

2009-05-26 Thread Borut Bolčina
Back to this one... In my AppModule I did this: public static void contributeClasspathAssetAliasManager(MappedConfiguration configuration) { configuration.add("css/1.6", "com/mycompany/myapp/components/css"); } In my Layout template (the only place using the css to be versioned):

Next 5.1 bug fix release? (ProgressiveDisplay and chrome / ie8 woes)

2009-05-26 Thread Ville Virtanen
Hi, sometimes chrome and ie8 don't make the request when using progressive display. Symptoms: the ajax-loader.gif is displayed for the user indefinitely and the server never sees the request. This can be fixed by pressing refresh with shift. (Empty-cache-reload). So it is probably prototype issue

Re: @CommitAfter rollback propagation

2009-05-26 Thread sodium
Thanks Igor, I think i understand it now. Basically every function which is annotated with @CommitAfter will be commited at the end of the request when session is detached. I guess the only way is to group together whatever i wanted to achieve into a single function and have it @CommitAfter. Ig