Re: Accessing Spring context?

2010-11-12 Thread stephanos
Thanks for the response - but sorry for not being totally precise: I need 'static' access - outside of any Tapestry component, just within the same JVM. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Accessing-Spring-context-tp3261181p3262576.html Sent from the Tapestry -

Accessing Spring context?

2010-11-11 Thread stephanos
When I use Tapestry with tapestry-spring the context is automatically created in 'the background' at startup. But I need to access Spring's AbstractApplicationContext - how would I do that? Cheers :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Accessing-Spring-context

java.lang.NoSuchMethodError: java/security/PrivateKey

2010-11-09 Thread stephanos
Hi guys, I have a Tapestry app that comunicates with Google via OAuth by using a certificate. When I issue the call in the pages onActivate() I receive a 'java.lang.NoSuchMethodError: java/security/PrivateKey' error which is strange because in unit testing it works fine. Does anyone know how (if

Re: Problem with Scala's 'lazy val' in Pages

2010-11-03 Thread stephanos
Cool - thanks, will look into it :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-with-Scala-s-lazy-val-in-Pages-tp3248823p3249068.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Problem with Scala's 'lazy val' in Pages

2010-11-03 Thread stephanos
I know what the message says :) I'm merely pointing out that there might be a problem for some users - I meanwhile re-wrote the 'lazy val'-thing. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-with-Scala-s-lazy-val-in-Pages-tp3248823p3249059.html Sent from the Tap

Problem with Scala's 'lazy val' in Pages

2010-11-03 Thread stephanos
Something I just noticed: I have a class 'BasePage' which every page inherits from, this base class has a Scala 'lazy val' field (private) - yet this error is issues (seems http://scala-programming-language.1934581.n4.nabble.com/Why-is-bitmap-0-public-td2255232.html Scala creates a public field

Re: No 404 error is raised

2010-10-16 Thread stephanos
> I think the best approach is to leverage the ignored paths mechanism. > That is early in the response processing pipeline, and will have a > good chance to ignore what should be ignored. Can somebody please explain how I can work around this for the novice here? :) Help very appreciated! --

Re: Fetch Prototype library via Google DNS?

2010-10-15 Thread stephanos
> Why do you want this? Well the http://encosia.com/2008/12/10/3-reasons-why-you-should-let-google-host-jquery-for-you/ advantages obviously are reduced traffic+CPU for the server, decreased latency, increased parallelism and better caching. How big an advantage it really is probably depends o

Re: No 404 error is raised

2010-10-15 Thread stephanos
> As the JIRA ticket says, this is expected behavior. In your case, /blabla > is considered a request to / (Index) with one activation context parameter > 'blabla' as there's no page named 'blabla'. I was just wondering why the ticket is still 'Open' and has a patch that apparently was never

No 404 error is raised

2010-10-14 Thread stephanos
Hi guys, I'm making my first steps with Tapestry 5.2 and find one thing very peculiar: All requests seem to go to the Index page (Index.tml in 'root') by default - even if the path does not exist! Example with page Index.tml and Login.tml: / -> Index /blabla -> Index /login -> Login

Fetch Prototype library via Google DNS?

2010-10-14 Thread stephanos
How can I configure Tapestry to fetch the Javascript Prototype library from the http://code.google.com/apis/libraries/devguide.html#prototype Google DNS server ? Cheers! Stephan -- View this message in context: http://tapestry.1045711.n5.nabble.com/Fetch-Prototype-library-via-Google-DNS-tp32

Declaring transient properties in page class

2006-11-14 Thread Stephanos Piperoglou
Noob question: I've been going over the documentation and trying things out and so far it seems that I have to declare abstract getters and setters in my page class for every transient page property, including the placeholders and index holders for loops, so for instance when I do ... I need

Re: Using java 1.5 enums as property selection models

2006-10-31 Thread Stephanos Piperoglou
"Martin Strand" <[EMAIL PROTECTED]> wrote on 30/10/2006 17:33:32: > On Mon, 30 Oct 2006 18:24:27 +0100, Stephanos Piperoglou [EMAIL PROTECTED]> wrote: > > > I was kind of expecting to be able to use a generic type (T > > above) as an instance of jav

Re: Using java 1.5 enums as property selection models

2006-10-30 Thread Stephanos Piperoglou
andyhot <[EMAIL PROTECTED]> wrote on 30/10/2006 16:30:08: > However, Daniel has recently added this in the BeanForm.sourceforge.net > project. > See > http://beanform.sourceforge.net/beanform- > core/xref/net/sf/beanform/util/EnumPropertySelectionModel.html > > or get the beanform jar and add it

Using java 1.5 enums as property selection models

2006-10-30 Thread Stephanos Piperoglou
Apparently there was an EnumPropertySelectionModel in Tapestry 3 that was dropped in version 4 due to namespace conflicts. Is there any contributed or official replacement or should I just roll my own (and possibly submit it)? To clarify, I need an implementation of IPropertySelectionModel that