Tapestry 4.1.1 / dojo broken on IE? - IE freezing!

2007-03-21 Thread Maximilian Wei?bock
We have a very hard problem with a Tapestry 4.1.1 Application on Windows IE 6. We get javascript errors all the time (even if they are not reproducable on all developer machines) using IE 6. Some of the errors are: Could not load 'dojo.looging.Logger'; last tried '__package__.is' Could not lo

Tutorials on Tapestry 4.1.1 and AJAX/javascript

2007-03-21 Thread Wojtek Ciesielski
Hi all, Are there ANY written tutorials on how to use Javascript (AJAX) integration built in Tapestry 4.1.1? Or are API docs like http://tapestry.apache.org/tapestry4.1/javascript/form.html and source codes the only documentation for this functionality? Thanks in advance for any answers, Woj

T5: PageTester and Spring Integration

2007-03-21 Thread chris
I'm using the PageTester class to run some unit tests against my Tapestry pages - it's a fantastic little tool! The problem comes when I hit a page that injects Spring Framework objects into my page (e.g. @Inject ("spring:someService")). This obviously blows up because there is no Spring WebApp

tapestry-acegi, how does SecurityUtilsImpl.accessDecisionManager get set?

2007-03-21 Thread Phillip Rhodes
I am implementing acegi/tapestry and pulling apart the wonderful work of James Carman (preserving the copyrights!) and re-implementing for my purposes. My @Secured annotation is erroring out in SecurityUtilsImpl when a call to the accessDecisionManager fails because it is null. How is the acce

Re: T5: PageTester and Spring Integration

2007-03-21 Thread Robert Zeigler
I haven't played with the spring integration, but... PageTester has a constructor: PageTester(String, String, String, Map), where the last argument is for service overrides. The tapestry-spring module defines a service called "SpringObjectProvider" (which relies on the WebApplicationContext

Re: T5 ASO

2007-03-21 Thread Ted Steen
I like these discussions, and I really like that they tend to end in a conclusion that good code conventions and good code design seems to be the solution to the "problem". T5 encourage one to do things "right". 2007/3/20, Anjana Gopinath <[EMAIL PROTECTED]>: Thanks Robert! Anjana Gopinath Tru

Re: T5 ASO

2007-03-21 Thread Anjana Gopinath
Thats true. My code is more clean now!! Thanks to everyone who helped me out, i am almost done with my mini project in Tapestry 5. This is the 5th day since i started it, i wouldnt have reached here without the support of this community. Thanks!!! Anjana Gopinath On Mar 21, 2007, at

Re: Tutorials on Tapestry 4.1.1 and AJAX/javascript

2007-03-21 Thread Ron Piterman
AFAIK Kent's book covers that - http://www.agileskills2.org/EWDT/ Cheers, Ron Wojtek Ciesielski wrote: > Hi all, > > Are there ANY written tutorials on how to use Javascript (AJAX) > integration built in Tapestry 4.1.1? Or are API docs like > http://tapestry.apache.org/tapestry4.1/javascript/f

Re: Tapestry 4.1.1 / dojo broken on IE? - IE freezing!

2007-03-21 Thread Jesse Kuhnert
IE is a little less forgiving with javascript errors, so if you get one all other code will be skipped. (a lot of the time) I fixed what was a very subtle IE specific bug recently in 4.1.2-SNAPSHOT. You may try that "just to see" . ...I only have IE7 available to me right now, but should be able

Re: downloading Tapestry 5

2007-03-21 Thread acarrara
Sorry, but it didn't work for me... When I execute "mvn org.mortbay.jetty:maven-jetty-plugin:run" (simply "mvn jetty:run" on tutorial) I got the follow output: [INFO] Scanning for projects... [INFO] [INFO] Building hilo

Re: tapestry-acegi, how does SecurityUtilsImpl.accessDecisionManager get set?

2007-03-21 Thread James Carman
The AccessDecisionManager is defined by the hivemind-acegi module. On 3/21/07, Phillip Rhodes <[EMAIL PROTECTED]> wrote: I am implementing acegi/tapestry and pulling apart the wonderful work of James Carman (preserving the copyrights!) and re-implementing for my purposes. My @Secured annotatio

Re: tapestry-acegi, how does SecurityUtilsImpl.accessDecisionManager get set?

2007-03-21 Thread James Carman
Sorry, I hit "Send" too quickly. Here's the hivemodule (anonymous/anon to login of course): http://svn.javaforge.com/svn/hivemind/hivemind-acegi/trunk/src/main/resources/META-INF/hivemodule.xml On 3/21/07, James Carman <[EMAIL PROTECTED]> wrote: The AccessDecisionManager is defined by the h

Re: tapestry-acegi, how does SecurityUtilsImpl.accessDecisionManager get set?

2007-03-21 Thread Phillip C. Rhodes
Wow, it's evident in that version of hivemodule.xml For whatever reason, I must have a old copy of the tapestry-acegi project because the hivemodule.xml that I have been looking at is very different... Thanks. Phillip - Original Message - From: "James Carman" <[EMAIL PROTECTED]> To: "Tap

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-21 Thread Bogdan Calmac
One of the methods marked with @Contribute (see below) was a timing filter which would display in the console the duration of each request. After removing the @Contribute annotation (which is not available in 5.0.3) the filter is no longer called. So, is there another annotations to contribute ser

Re: tapestry-acegi, how does SecurityUtilsImpl.accessDecisionManager get set?

2007-03-21 Thread James Carman
No, you're looking at a different module entirely. The tapestry-acegi module relies upon the hivemind-acegi (usable in non-tapestry projects) module to set up the core Acegi stuff. On 3/21/07, Phillip C. Rhodes <[EMAIL PROTECTED]> wrote: Wow, it's evident in that version of hivemodule.xml Fo

Re: T5 - Changing Locale

2007-03-21 Thread Bogdan Calmac
I've been doing some other things, when I get a chance to try it, I'll share the experience on the list. Bogdan. On 3/20/07, alexvs <[EMAIL PROTECTED]> wrote: Hi Bogdan, Were you ever able to change the locale? Thanks! Alex Bogdan Calmac-4 wrote: > > Is it possible in Tapestry 5 to program

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-21 Thread Howard Lewis Ship
The method name should now be contributeRequestHandler(). On 3/21/07, Bogdan Calmac <[EMAIL PROTECTED]> wrote: One of the methods marked with @Contribute (see below) was a timing filter which would display in the console the duration of each request. After removing the @Contribute annotation (wh

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-21 Thread Bogdan Calmac
Thanks Howard, One of the contributions is OK now, the other is still not compatible with the changes in the framework. The error is: java.lang.RuntimeException: No service implements the interface org.apache.tapestry.ioc.MappedConfiguration and the contributing method is: public static void