Re: [T5][FAQ] How to configure a service that likely will be overriden by an AliasContribution?

2008-08-11 Thread Michael Gerzabek
Now I don't understand exactly what that means. In my case I have two modules. Module one ships with an interface and a default implementation that is preconfigured. As a user of module one, in my module two, I contributeAlias(..) to override the preconfigured default implementation. The appli

Re: [T5][FAQ] How to configure a service that likely will be overriden by an AliasContribution?

2008-08-11 Thread Michael Gerzabek
Hi, Oh, I see, you're right. In case you want to contribute a bunch of services to AliasService you have to ommit the type you're about to contribute because otherwise the compiler won't eat the code. Thanks. Filip S. Adamsen schrieb: Hi, I wouldn't use Configuration>, but rather Configur

Re: [ANNOUNCE] Tapestry 5.0.14

2008-08-11 Thread Donyee
Great! 2008/8/11 Howard Lewis Ship <[EMAIL PROTECTED]> > The latest release of Tapestry, Tapestry 5.0.14 , is now available. > > Tapestry 5.0.14 is just about feature complete and can be considered a > beta release. A release candidate is expected in the near future. > > 5.0.14 addresses a large

Re: T5: Works in Jetty but not in Tomcat

2008-08-11 Thread Kevin Menard
I've had issues with Tomcat not totally clearing its cache dir, too. Make sure you get that. -- Kevin On Mon, Aug 11, 2008 at 5:15 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > Caused by: java.lang.NoSuchMethodError: > > org.apache.tapestry5.ioc.internal.services.ClassFactoryClassPool.toC

Re: Failing to run my first Tapestry page

2008-08-11 Thread Andreas Andreou
http://repo1.maven.org/maven2/javassist/javassist/3.8.0.GA/ On Tue, Aug 12, 2008 at 12:20 AM, Geoff Callender <[EMAIL PROTECTED]> wrote: > Hi all, > > I can't find a repository with the new javassist (3.8.ga). Can someone tell > me where Tapestry's maven is picking it up from? > > Geoff > > On 12

Re: [T5] setup logging

2008-08-11 Thread Filip S. Adamsen
Ah, okay. No, you don't have to configure SLF4J - it's using log4j by default. Looks like Sven might have given the answer you need. Does it work if you use instead of ? -Filip Andy Pahne skrev: No, that's not the case if you use log4j XML configuration file format. Still no idea... Do

Re: Failing to run my first Tapestry page

2008-08-11 Thread Geoff Callender
Hi all, I can't find a repository with the new javassist (3.8.ga). Can someone tell me where Tapestry's maven is picking it up from? Geoff On 12/08/2008, at 1:25 AM, Howard Lewis Ship wrote: This is likely a JDK 1.6 problem, resolved in the now-available 5.0.14 by using a newer version of

Re: T5: Works in Jetty but not in Tomcat

2008-08-11 Thread Howard Lewis Ship
Caused by: java.lang.NoSuchMethodError: org.apache.tapestry5.ioc.internal.services.ClassFactoryClassPool.toClass(Ljavassist/CtClass;Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; This represents an issue w.r.t. the Javassist library. Make sure you have the correct versi

Better (more generic) paging for Grid AND Loop. Interested in adding it to Tapestry?

2008-08-11 Thread Dragan Djuric
Hi, I am creating a PagedLoop component that is able to use Grid's paging infrastructure directly. Are you interested in including such component in Tapestry corelib (a question is primarily for Howard and other relevant people here)? Here is an explanation why such component is preferable to t5

Re: T5: dynamically created form components

2008-08-11 Thread Robert Zeigler
Check out https://issues.apache.org/jira/browse/TAPESTRY-2491. The encoder in use here is the PrimaryKeyEncoder. The encoders contributed by tap-hibernate are ValueEncoders. There is currently no bridge between them. There is also currently no way to map between the two encoder spaces. There i

Re: T5: Works in Jetty but not in Tomcat

2008-08-11 Thread wassila
Hello, I have poblem to deploy my app (tapestry5) in Tomcat 6. It works fine in Jetty but not in Tomcat. the exception is : SEVERE: Exception starting filter diffusionAssignation java.lang.RuntimeException: Error building service proxy for service 'ServletApplicationInitializer' (at org.apache.

Re: Failing to run my first Tapestry page

2008-08-11 Thread Greg D
Actually the problem was I used BEA's JVM (1.5.0_04) instead of Sun's one - with Tapestry 5.0.13. I don't know if 5.0.14 would have solved this too, but I can give it a try if you want to know. And thanks for the answer! Close one :) Howard Lewis Ship wrote: > > This is likely a JDK 1.6 problem

Re: [T5][FAQ] How to configure a service that likely will be overriden by an AliasContribution?

2008-08-11 Thread Howard Lewis Ship
Looks good to me too. I'm working on adding @Local which will make it easier to contribute Alias contributions that are services from within the same module. But often you can get by, as you did, with just an instance. On Mon, Aug 11, 2008 at 4:06 AM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: >

Re: Failing to run my first Tapestry page

2008-08-11 Thread Howard Lewis Ship
This is likely a JDK 1.6 problem, resolved in the now-available 5.0.14 by using a newer version of Javassist. On Thu, Aug 7, 2008 at 7:49 AM, Greg <[EMAIL PROTECTED]> wrote: > Hi all, > > As I have some spare time I'm looking at Tapestry and so I tried two > tutorials, including the official (I gu

[ANNOUNCE] Tapestry 5.0.14

2008-08-11 Thread Howard Lewis Ship
The latest release of Tapestry, Tapestry 5.0.14 , is now available. Tapestry 5.0.14 is just about feature complete and can be considered a beta release. A release candidate is expected in the near future. 5.0.14 addresses a large number of bugs,, including a specific bug related to using Tapestr

Re: T5: dynamically created form components

2008-08-11 Thread Chris Lewis
I found the answer to #1, mentioned in another response, and I just found out how to have dynamically generated labels. Simply: Notice the t:id in the checkbox and the t:for in the label. They are "hardcoded", which I thought would throw

Re: ClassTransformation, TransformMethodSignature and annotation

2008-08-11 Thread Howard Lewis Ship
Not currently. On Mon, Aug 11, 2008 at 6:32 AM, aicfr <[EMAIL PROTECTED]> wrote: > > Hi ! > > Is it possible to inject a field with an annotation with ClassTransformation > or TransformMethodSignature ? > > I saw the method addField (), TransformMethodSignature () but nothing for > adding annotati

ClassTransformation, TransformMethodSignature and annotation

2008-08-11 Thread aicfr
Hi ! Is it possible to inject a field with an annotation with ClassTransformation or TransformMethodSignature ? I saw the method addField (), TransformMethodSignature () but nothing for adding annotation in a dynamic. Thanks ! -- View this message in context: http://n2.nabble.com/ClassTransfo

Re: Failing to run my first Tapestry page (solution)

2008-08-11 Thread Greg D
I didn't change anything. I found out I was using BEA's JRockit 1.5.0_04, I changed my JAVA_HOME environment variable to use Sun's 1.5.0_11 JVM, and it's now OK. So I guess there may be some incompatibility with JRockit. Anyway, thanks :) Greg Sven Homburg wrote: > > have you updated from the

Re: T5: checkboxes for selecting a sub group of hibernate entities

2008-08-11 Thread Chris Lewis
Ok so I've made some progress after further reading, hacking, and searching.What it comes down to is needing a PrimaryKeyEncoder so that the entity collection can be serialized in the form loop. This raises questions: tapestry-hibernate provides a value encoder based on the primary keys of entitie

Re: Environmental services during action requests

2008-08-11 Thread Markus Joschko
Do you have an example of such an event? Is there any method that is invoked in the parent component before the event listener in the child component is triggered? And is there a corresponding method where I can remove the variable from the environment again? I haven't found anything in the docs so

Re: [T5] setup logging

2008-08-11 Thread Sven Homburg
2008/8/11 Andy Pahne <[EMAIL PROTECTED]> > > I tried to setup Tapestry5 logging to level "info", but all "debug" > messages are still logged. I think I did what the documentation told me to > do >

Re: [T5] setup logging

2008-08-11 Thread Andy Pahne
No, that's not the case if you use log4j XML configuration file format. Still no idea... Do I have to configure SLF4J or is it sufficient to configure log4j? Andy Filip S. Adamsen schrieb: Hi, You need to prefix the logger name with log4j.category. or it won't work. Or, at least that's h

Re: [T5] How to handle DAOs?

2008-08-11 Thread Hugo Palma
I can't any dowload information on the chenillekit site. Is there a maven2 repo anywhere ? Sven Homburg wrote: thats right, one of the reasons to found a new project, is : split the components/services for tapestry5 applications from the rest of the project for a better separation for modules

Re: [T5] setup logging

2008-08-11 Thread Filip S. Adamsen
Hi, You need to prefix the logger name with log4j.category. or it won't work. Or, at least that's how it was back when I used log4j - I'm now using SLF4J with Logback and I'm not going back. :) -Filip Andy Pahne skrev: I tried to setup Tapestry5 logging to level "info", but all "debug" me

[T5] setup logging

2008-08-11 Thread Andy Pahne
I tried to setup Tapestry5 logging to level "info", but all "debug" messages are still logged. I think I did what the documentation told me to do http://tapestry.apache.org/tapestry5/guide/logging.html Can anybody tell me what I am missing? from my log4j.xml:

Re: [T5][FAQ] How to configure a service that likely will be overriden by an AliasContribution?

2008-08-11 Thread Filip S. Adamsen
Hi, I wouldn't use Configuration>, but rather Configuration. Otherwise you won't be able to configure multiple alias overrides at once. Apart from that, everything looks fine. -Filip Michael Gerzabek skrev: Usecase: tapestry-spring-security offers integration between Tapestry 5 an Spring

[T5][FAQ] How to configure a service that likely will be overriden by an AliasContribution?

2008-08-11 Thread Michael Gerzabek
Usecase: tapestry-spring-security offers integration between Tapestry 5 an Spring Security [1]. It's implemented as a Tapestry IoC/Core module. This module uses a PasswordEncoder shipped by Spring Security (they ship also a couple of standard implementations of PasswordEncoder). For the modu

Re: Failing to run my first Tapestry page

2008-08-11 Thread Sven Homburg
have you updated from the latest trunk ? or have you change anything in the original source of the tutorial ? 2008/8/11 Greg D <[EMAIL PROTECTED]> > > Hi, > I still have this problem :/ > I am the only one who tried the tutorial and got this error? > Thanks, > Greg > -- > View this message in con

Re: Failing to run my first Tapestry page

2008-08-11 Thread Greg D
Hi, I still have this problem :/ I am the only one who tried the tutorial and got this error? Thanks, Greg -- View this message in context: http://www.nabble.com/Failing-to-run-my-first-Tapestry-page-tp18872267p18922832.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: [T5] How to handle DAOs?

2008-08-11 Thread Sven Homburg
thats right, one of the reasons to found a new project, is : split the components/services for tapestry5 applications from the rest of the project for a better separation for modules you need or not need. so you can use every module (excepted the tapestry module) for any kind of applications. t

Re : T5: Palette and JWebUnit

2008-08-11 Thread Julien HENRY
Hi Michael, I'm in holidays so I won't have the time to fully answer you (should not stay too long on a computer ;)) but here are some tips: 1) Are you really talking about httpunit in your post? I hope you wanted to say HtmlUnit, because don't expect JavaScript support with HttpUnit. 2) Conce

Re: [T5] How to handle DAOs?

2008-08-11 Thread 9902468
After quick source code peek it seems that old t5components/commons is the tapestry part of chennillekit. Chenillekit adds stuff to t5c afaik. Is development going on in both projects? Or is chenillekit the way to go now? -99 Lutz Hühnken wrote: > > Hi Sven, > > this is the first time i he

Re: Environmental services during action requests

2008-08-11 Thread Davor Hrg
enviromentals do not depend on render, it depends on you when you provide enviromental variable, when you will make enviromental available for your components. you can use any event besides setupRender Davor Hrg On Sun, Aug 10, 2008 at 4:59 PM, Markus Joschko <[EMAIL PROTECTED]>wrote: > Hi lis