Re: tapestry-spring-security-2.1.0 logout issue

2009-08-14 Thread Robin Helgelin
Michael added the logout handler I was suggesting, and a 2.1.1-SNAPSHOT release is available from http://www.localhost.nu/java/mvn-snapshot/ -- regards, Robin - To unsubscribe, e-mail:

Re: tapestry-spring-security-2.1.0 logout issue

2009-08-11 Thread Robin Helgelin
On Tue, Aug 11, 2009 at 17:46, Norman Frankenor...@myasd.com wrote: The JavaDoc on org.apache.tapestry5.service.Request states that getSession(false) should return NULL if the session is invalidated. This is not happening, it returns the invalidated session. I think this is because

Re: tapestry-spring-security update

2009-06-04 Thread Robin Helgelin
On Thu, Jun 4, 2009 at 15:25, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: It does work! Thank you a lot, Robin! :) Don't thank me, thank Michael, I'm just the messenger this time :) -- regards, Robin

tapestry-spring-security update

2009-05-29 Thread Robin Helgelin
Hi, I've just uploaded a 2.1.0-SNAPSHOT release of tapestry-spring-security with support for Tapestry 5.1. We're releasing this as a SNAPSHOT so that we can see that it actually works for everybody before we make the final release. Snapshot repository: http://www.localhost.nu/java/mvn-snapshot/

Re: [ANNOUNCE] Tapestry 5.1.0.2

2009-04-03 Thread Robin Helgelin
On Fri, Apr 3, 2009 at 11:38, Blower, Andy andy.blo...@proquest.co.uk wrote: So, is Maven ignoring the sha1 problem or is Ivy miscalculating this one for some reason? Plain command line Maven is also having this problem, however, it doesn't block the build. -- regards, Robin

Re: [ANN] ChenilleKit Release 1.0.0

2008-12-31 Thread Robin Helgelin
On Wed, Dec 31, 2008 at 11:28, Massimo Lusetti mluse...@gmail.com wrote: Hi all, the ChenilleKit team is pleased to announce the availability of the first release of the ChenilleKit Project. The 1.0.0 release includes all the features present in the former project T5Components from which

[ANN] tapestry-spring-security 2.0.1

2008-12-16 Thread Robin Helgelin
Hi, I've just put up a new release of tapestry-spring-security. It's mostly about syncing with the latest Tapestry and Spring Security releases. More information, example usage and documentation can be found here: http://www.localhost.nu/java/tapestry-spring-security/ -- regards,

Re: [ANN] tapestry-spring-security 2.0.1

2008-12-16 Thread Robin Helgelin
On Tue, Dec 16, 2008 at 15:53, kawes rafal.kawe...@gmail.com wrote: Hi Robin, I have just noticed that both MyUserDetailsImpl.java and MyUserDetailsService.java on the page http://www.localhost.nu/java/tapestry-spring-security/conf.html lead to the same MyUserDetailsImpl.java source code.

Re: tapestry-spring-security: how to set ASO on successful login?

2008-12-08 Thread Robin Helgelin
On Mon, Dec 8, 2008 at 03:59, Jonathan Barker [EMAIL PROTECTED] wrote: you will see where the AnonymousAuthenticationProcessingFilter is hooked in. I've been following this thread, I've just not come up with any good answers before other people :). I was thinking of the

Re: tapestry5-acegi version to work with Tapestry 5.0.15

2008-10-27 Thread Robin Helgelin
On Mon, Oct 27, 2008 at 12:25 PM, Mahen Perera [EMAIL PROTECTED] wrote: Robin, Are you sure this site is up? I cannot get to it, cannot find the DNS entry. The server is fine, what does dig give you? Or nslook if you're running Windows. [EMAIL PROTECTED] ~]$ dig www.localhost.nu ; DiG

Re: tapestry5-acegi version to work with Tapestry 5.0.15

2008-10-24 Thread Robin Helgelin
On Fri, Oct 24, 2008 at 7:18 PM, Mahen Perera [EMAIL PROTECTED] wrote: Assuming the required tapestry5-acegi version is 1.1.1, I don't seem to find it in the following maven repository. That version should work fine. http://www.localhost.nu/java/mvn/nu/localhost/tapestry/tapestry5-acegi/1.1.1/

Re: tapestry-spring-security and openid

2008-10-07 Thread Robin Helgelin
On Tue, Oct 7, 2008 at 10:58 PM, Jonathan Barker [EMAIL PROTECTED] wrote: I'm assuming this hasn't changed since tapestry5-acegi. The IfLoggedIn component uses the following test: private boolean test() { Principal principal =

Re: [Announce] Spring Security for Tapestry5

2008-09-25 Thread Robin Helgelin
On Mon, Sep 15, 2008 at 6:48 PM, Robin Helgelin [EMAIL PROTECTED] wrote: A side note to Acegi users: there will be a new release when Tapestry 5.0.15 is out the door, until then, 1.1.1-SNAPSHOT should work. As promised, release 1.1.1 of tapestry5-acegi is now available at the usual place

Re: Maven problems

2008-05-29 Thread Robin Helgelin
On Wed, May 28, 2008 at 10:19 PM, Filip S. Adamsen [EMAIL PROTECTED] wrote: Hi Robin, Hi. Is that the complete output from Maven? It's usually more detailed... I skipped the non vital parts :) It looks alright to me, though. Yes, and the matter of facts it actually works today makes me

Re: Maven problems

2008-05-29 Thread Robin Helgelin
On Thu, May 29, 2008 at 9:18 AM, Filip S. Adamsen [EMAIL PROTECTED] wrote: Probably network issues or some such, then. I don't think so, I think maven cached something it shouldn't have. Before downloading the correct jar-files, maven outputted this today, which it didn't yesterday. [INFO]

Re: T5: ETA for t5-acegi and t5-components to work with SNAPSHOT?

2008-05-29 Thread Robin Helgelin
Hi! On Wed, May 28, 2008 at 12:51 AM, Franz Amador-2 [EMAIL PROTECTED] wrote: Unsurprisingly, due to the package-name changes, t5-acegi and t5-components no longer work with the snapshot version of t5. Are there snapshot versions of them that use the new package names? I didn't see one for

Re: 答复: About tapestry5 and spring-acegi

2008-05-29 Thread Robin Helgelin
2008/5/29 滕训华 [EMAIL PROTECTED]: Thank for your quickly reply,yes,I am understanding tapestry-acegi,but I think spring have the good documents and reference.So I hope I can use spring-acegi. If you want to use spring-acegi yourself, you can always look at tapestry-acegi sources if you want

Maven problems

2008-05-28 Thread Robin Helgelin
Hi, I must be doing something wrong, when trying to use snapshots, or maven is just plain stupid, maybe I'm the stupid one :) dependencies dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-core/artifactId

[Announce] tapestry5-acegi 1.1.0

2008-05-23 Thread Robin Helgelin
Hi, I just want to say that the official 1.1.0 release is available. It features initial support for secure methods, add supports for overriding the AuthenticationProcessingFilter and fixes a few bugs. It also added a few new features to the IfRole component. -- regards, Robin

Override service injection

2008-05-19 Thread Robin Helgelin
Hi, I'm still trying to work around something I'm not really sure on how to solve :) My contribution looks like this: public static void contributeHttpServletRequestHandler( OrderedConfigurationHttpServletRequestFilter configuration,

Re: Override service injection

2008-05-19 Thread Robin Helgelin
On Mon, May 19, 2008 at 10:20 AM, Kristian Marinkovic [EMAIL PROTECTED] wrote: have you tried contributing an alias for your named service? take a look at http://tapestry.apache.org/tapestry5/tapestry-core/guide/alias.html Yes, but wouldn't that break as several services implements the same

Re: Override service injection

2008-05-19 Thread Robin Helgelin
On Mon, May 19, 2008 at 10:20 AM, Kristian Marinkovic [EMAIL PROTECTED] wrote: have you tried contributing an alias for your named service? take a look at http://tapestry.apache.org/tapestry5/tapestry-core/guide/alias.html Actually I manage to solve this via aliases by splitting my service

Re: T5: Acegi integration

2008-05-15 Thread Robin Helgelin
On Thu, May 15, 2008 at 5:54 PM, Stephane Decleire [EMAIL PROTECTED] wrote: I use tapestry and tapestry-hibernate 5.0.12-SNAPSHOT (but tried and get the same error with 5.0.11 and 5.0.10) and tapestry5-acegi 1.1.0-SNAPSHOT. Hmm, seems more like some problem with how you integrate

Re: Replace item in OrderedConfiguration

2008-05-09 Thread Robin Helgelin
On Fri, May 9, 2008 at 5:54 PM, Howard Lewis Ship [EMAIL PROTECTED] wrote: Since it's a specific method, we know what the parameters are; we can then cast the first parameter to ComponentEvent, and (inside the advice) check to see if it is an activate event, and apply security checks there.

Re: Replace item in OrderedConfiguration

2008-05-07 Thread Robin Helgelin
On Tue, May 6, 2008 at 11:04 PM, Howard Lewis Ship [EMAIL PROTECTED] wrote: I've been thinking for a while about adding remove() and replace() methods to OrderedConfiguration and MappedConfiguration, and adding other methods to OrderedConfiguration to allow minor tweaks to dependencies. It

Re: Replace item in OrderedConfiguration

2008-05-07 Thread Robin Helgelin
On Wed, May 7, 2008 at 11:30 AM, Otho [EMAIL PROTECTED] wrote: One thing which bothered me a couple of times already on this list. With the neat tapestry-spring integration, why don't you just use Spring to configure Spring services? The little xml used for configuring acegi is in my personal

Re: Replace item in OrderedConfiguration

2008-05-07 Thread Robin Helgelin
On Wed, May 7, 2008 at 1:06 PM, Otho [EMAIL PROTECTED] wrote: Hi Robin, of the underlying concepts from developers. For example your Todo list still has the non working method security and the ability to access action handlers in @Secured classes open. Because of the conventions in method

Re: Replace item in OrderedConfiguration

2008-05-07 Thread Robin Helgelin
On Wed, May 7, 2008 at 4:21 PM, Filip S. Adamsen [EMAIL PROTECTED] wrote: How about using the new ComponentMethodAdvice? Sounds like that might be a good fit. Reading up about that now, any specific ideas on how to use it? Seems like it can help on secure methods, but not on secure classes. In

Replace item in OrderedConfiguration

2008-05-06 Thread Robin Helgelin
Hi, My tapestry5-acegi module contains this: public static void contributeHttpServletRequestHandler( OrderedConfigurationHttpServletRequestFilter configuration, @InjectService(HttpSessionContextIntegrationFilter) HttpServletRequestFilter

Re: How to override a service create with @Marker

2008-04-12 Thread Robin Helgelin
On Tue, Apr 8, 2008 at 7:24 PM, Robin Helgelin [EMAIL PROTECTED] wrote: On Tue, Apr 8, 2008 at 7:07 PM, Dave Dombrosky [EMAIL PROTECTED] wrote: Is there still no solution to this problem? I am also trying to override the default SaltSource, but the tapestry5-acegi package always wants

Re: T5 Apache httpd + T5

2008-04-11 Thread Robin Helgelin
On Fri, Apr 11, 2008 at 10:49 AM, Michael Gerzabek [EMAIL PROTECTED] wrote: Hi, I want to install T5 behind a httpd with mod_proxy and mod_rewrite. While the configuration on http is straight forward, T5 seems to behave different when it get's queried by httpd. Would you mind posting your

Re: T5 Apache httpd + T5

2008-04-11 Thread Robin Helgelin
On Fri, Apr 11, 2008 at 11:57 AM, Michael Gerzabek [EMAIL PROTECTED] wrote: I use mod_proxy successfully since 8 years. In the old days I had troubles over troubles with mod_jk and since I learned how to use mod_proxy and mod_rewrite I did never re-evaluate mod_jk. Ok! Ok, here my conf

Re: T5 Apache httpd + T5

2008-04-11 Thread Robin Helgelin
On Fri, Apr 11, 2008 at 2:48 PM, Michael Gerzabek [EMAIL PROTECTED] wrote: Yes, and it's easy. You click the Run Open Run Dialog then select your Jetty App and select the checkbox Enable NCSA logging in the dialog. There I found that the last rewrite rule had to be changed to # All T5

Re: How to override a service create with @Marker

2008-04-08 Thread Robin Helgelin
On Tue, Apr 8, 2008 at 7:07 PM, Dave Dombrosky [EMAIL PROTECTED] wrote: Is there still no solution to this problem? I am also trying to override the default SaltSource, but the tapestry5-acegi package always wants to use the one it defines. I tried using contributions to Alias and

Re: T5: Problems with Tapestry5-Acegi

2008-03-29 Thread Robin Helgelin
On Thu, Mar 27, 2008 at 7:34 PM, Jonathan Barker [EMAIL PROTECTED] wrote: This is currently listed on the TODO list: http://www.localhost.nu/java/tapestry5-acegi/todo.html There is initial support for secure methods in 1.0.4-SNAPSHOT available from http://www.localhost.nu/java/mvn-snapshot.

Re: T5: Cannot get org.acegisecurity.CredentialsExpiredException to work

2008-03-28 Thread Robin Helgelin
On Fri, Mar 28, 2008 at 2:13 PM, Olle Hallin [EMAIL PROTECTED] wrote: Hi again, Hi! I've made a new version of the SecurityModule.java that follows the usual build + contribute pattern in tapestry-ioc. Thanks for taking time to go to the bottom with this. I'll update and release a new

Re: How to override a service create with @Marker

2008-03-20 Thread Robin Helgelin
Any help on this? Howard? On Sun, Mar 16, 2008 at 12:16 PM, Robin Helgelin [EMAIL PROTECTED] wrote: Hi, This is my SaltSource service from tapestry5-acegi package. @Marker(AcegiServices.class) public static SaltSource buildSaltSource(@Inject @Value(${acegi.password.salt}) final

Re: Make Tapestry a full web framework?

2008-03-19 Thread Robin Helgelin
On Wed, Mar 19, 2008 at 9:03 AM, Ivan Dubrov [EMAIL PROTECTED] wrote: What's the reason to make it NOT depend on Spring? tapestry-acegi does NOT uses Spring IoC container, it uses T5 IoC for configuring the services, but it does use some Spring utility classes, which is in my opinion just

Re: T5: Cannot get org.acegisecurity.CredentialsExpiredException to work

2008-03-17 Thread Robin Helgelin
On Mon, Mar 17, 2008 at 8:40 AM, Olle Hallin [EMAIL PROTECTED] wrote: It properly catches the CredentialsExpiredException that was thrown by the UsernamePasswordAuthenticationToken and tries to publish the event, but the ProviderManager.applicationEventPublisher is null. I don't know the

How to override a service create with @Marker

2008-03-16 Thread Robin Helgelin
Hi, This is my SaltSource service from tapestry5-acegi package. @Marker(AcegiServices.class) public static SaltSource buildSaltSource(@Inject @Value(${acegi.password.salt}) final String salt) { SystemWideSaltSource s = new SystemWideSaltSource();

Re: T5: Cannot get org.acegisecurity.CredentialsExpiredException to work

2008-03-14 Thread Robin Helgelin
On Fri, Mar 14, 2008 at 2:55 PM, Olle Hallin [EMAIL PROTECTED] wrote: Hi! Hi. Now the problem is that despite having the symbol acegi.accessDenied.url defined to /loginrejected, no forwarding to this page occurs. I have verified that the AccessDeniedHandlerImpl has been injected with

Re: tapestry-acegi example app question

2008-03-11 Thread Robin Helgelin
On Tue, Mar 11, 2008 at 12:18 AM, Julian Wood [EMAIL PROTECTED] wrote: In the provided example for tapestry-acegi, I have a question about the GrantedAuthorityBean table. That is, if I add more users which share roles, each role will create a new row in the GAB table. How can this be

Re: tapestry-acegi example app question (solved)

2008-03-11 Thread Robin Helgelin
On Tue, Mar 11, 2008 at 3:37 AM, Julian Wood [EMAIL PROTECTED] wrote: Hate to answer my own question, but I think the proper relation for: is: @ManyToMany( cascade={CascadeType.PERSIST, CascadeType.MERGE} ) You then need to persist your GrantedAuthorityBean independently from

Re: T5 5.0.10 Acegi doesn´t work

2008-02-20 Thread Robin Helgelin
On Feb 20, 2008 11:12 AM, Ivan Dubrov [EMAIL PROTECTED] wrote: transformation.extendMethod(TransformConstants.CONTAINING_PAGE_DID_ATTACH_SIGNATURE, tokenField + = + interField + .checkBefore( + configField + ););

Re: Class transformation

2008-02-20 Thread Robin Helgelin
On Wed, Feb 20, 2008 at 3:35 PM, Filip S. Adamsen [EMAIL PROTECTED] wrote: Can't you just override the method instead and call the super method at the right time? Sure, but currently Tapestry class transformation doesn't support this. Or maybe I'm just blind :) -- regards, Robin

Re: Class transformation

2008-02-20 Thread Robin Helgelin
On Wed, Feb 20, 2008 at 5:37 PM, Filip S. Adamsen [EMAIL PROTECTED] wrote: Sorry, my bad. That is indeed not possible at the moment. I did post and example in my first message in this thread where I was playing with it, but I couldn't get Tapestry to process my renamed method, so I gave it a

Re: T5 5.0.10 Acegi doesn´t work

2008-02-19 Thread Robin Helgelin
On Feb 19, 2008 4:50 PM, ryanskow [EMAIL PROTECTED] wrote: First of all, thank you for the work everyone has done on Acegi. Is there any idea when secured methods will be working in tapestry-Acegi? I noticed in the http://www.localhost.nu/java/tapestry5-acegi/todo.html tapestry-acegi Todo

Class transformation

2008-02-19 Thread Robin Helgelin
Hi, I'm trying to do a simple prefix and extend to a single method, however, it seems that ClassTransformation.extendMethod(), doesn't find variables declared with prefixMethod(). Simple example which throws a javassist.CannotCompileException: transformation.prefixMethod(method, int i =

Re: Class transformation

2008-02-19 Thread Robin Helgelin
On Feb 19, 2008 7:44 PM, Howard Lewis Ship [EMAIL PROTECTED] wrote: Could the extend method be failing because it does not return a value? I tried returning a value, no change. It barfs on my variable i, backtrace as this: Caused by: org.apache.tapestry.internal.services.MethodCompileException:

Re: Class transformation

2008-02-19 Thread Robin Helgelin
On Feb 19, 2008 8:47 PM, Howard Lewis Ship [EMAIL PROTECTED] wrote: I think it's because the code you add is effectively inside a block, i.e. in Java it would be: { int i = 5; } So the scope of the new variable is limited. That means you need to generate all the code that uses the

Re: T5 5.0.10 Acegi doesn´t work

2008-02-19 Thread Robin Helgelin
On Feb 19, 2008 5:08 PM, Robin Helgelin [EMAIL PROTECTED] wrote: On Feb 19, 2008 4:50 PM, ryanskow [EMAIL PROTECTED] wrote: First of all, thank you for the work everyone has done on Acegi. Is there any idea when secured methods will be working in tapestry-Acegi? I noticed in the http

Re: Tapestry 6

2008-02-18 Thread Robin Helgelin
LOL! On Feb 17, 2008 11:34 PM, Joseph Kobe [EMAIL PROTECTED] wrote: Ok Howard, thanks for your private mail to me clarifying my concerns about Tapestry 6, upcoming in 4th quater of 2008. I must be honest and open, hence my reply via this medium, that I disagree with you about rewriting

[ANN] tapestry5-acegi 1.0.3 released.

2008-02-15 Thread Robin Helgelin
Hi, This is not just a release for staying up to date with the latest Tapestry 5.0.10 release. This release also adds a few @Marker annotations to work better together with tapestry-spring, and also, thanks to Will Norris, adds support for Acegi access denied URL. For more information and

Re: T5 5.0.10 Acegi doesn´t work

2008-02-13 Thread Robin Helgelin
On Feb 13, 2008 11:56 AM, Andreas Berndt [EMAIL PROTECTED] wrote: But this is just for keep on developing and not standing still. Will there be an update for tapestry-acegi soon ? Thank you! I haven't been able to keep up with the latest releases, but I'll find time this weekend. It will be

Re: T5 5.0.10 Acegi doesn´t work

2008-02-13 Thread Robin Helgelin
On Feb 13, 2008 10:10 PM, Robin Helgelin [EMAIL PROTECTED] wrote: Thank you! I haven't been able to keep up with the latest releases, but I'll find time this weekend. It will be the 1.0.3 release to match 5.0.9, and a snapshot to match up with 5.0.10. I'll give notice when I'm

Alias or AliasOverrides?

2008-02-12 Thread Robin Helgelin
Hi, Can someone, Howard?, explain to difference between contributing a service to Alias or AliasOverrides? -- regards, Robin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: What happened to Tapidea (IntelliJ IDEA Plugin)

2008-02-09 Thread Robin Helgelin
On Feb 9, 2008 9:14 AM, Sven Homburg [EMAIL PROTECTED] wrote: Emmanuel, gates beginning was i a garage, and everybody ask him who need an OS with windows. Don't bother, he's just trying to troll again. -- regards, Robin

Re: T5 tapestry5-acegi salt source not overridable

2008-02-05 Thread Robin Helgelin
On Feb 4, 2008 10:55 PM, Franz Amador [EMAIL PROTECTED] wrote: Yup, that works for me, too. Thanks. I didn't know I could do that. According to the JavaDoc for the Alias class, however, it looks like I should instead be contributing to the AliasOverrides service, and that does seem to

Re: T5 tapestry5-acegi salt source not overridable

2008-02-02 Thread Robin Helgelin
On Jan 21, 2008 7:59 PM, Franz Amador [EMAIL PROTECTED] wrote: It looks to me like the tapestry5-acegi module hard-codes the password salt source to be SystemWideSaltSource. I can change the system-wide salt via acegi.password.salt, but there is no corresponding acegi.salt.source property.

Re: Tapestry and Article at Theserverside.com

2008-02-01 Thread Robin Helgelin
On Feb 1, 2008 11:46 AM, Davor Hrg [EMAIL PROTECTED] wrote: tapestry has a good community, and an active mailing list... I'm not worried ... Don't forget we have Howard, Jesse and few other great committers. :) -- regards, Robin

Re: Tapestry and Article at Theserverside.com

2008-02-01 Thread Robin Helgelin
On Feb 1, 2008 12:14 PM, Emmanuel Sowah [EMAIL PROTECTED] wrote: Well, I don't know if they are great committers, else they could have chosen the challenging path of making each major Tapestry realease fully backward compatible. They rather choose the easy and trivial path of rewriting from

Re: Tapestry 5 book

2008-01-29 Thread Robin Helgelin
On Jan 29, 2008 10:53 AM, Kolesnikov, Alexander GNI [EMAIL PROTECTED] wrote: Well, definitely more books are needed. You can't cover everything in one book, especially the very first one on the subject. It was mainly targeted as a quickstart tutorial. It's also hard to write about the

Re: T5 tapestry5-acegi salt source not overridable

2008-01-24 Thread Robin Helgelin
Hi, On Jan 21, 2008 7:59 PM, Franz Amador [EMAIL PROTECTED] wrote: It looks to me like the tapestry5-acegi module hard-codes the password salt source to be SystemWideSaltSource. I can change the system-wide salt via acegi.password.salt, but there is no corresponding acegi.salt.source

Re: T5: Acegi table name too long for Oracle 9i

2008-01-09 Thread Robin Helgelin
On Jan 9, 2008 12:38 AM, Franz Amador [EMAIL PROTECTED] wrote: Actually, it's not my table. I presume it's being defined by tapestry5-acegi, which is why I posted it here. It seems you are using the tapestry5-acegi-example? This example is using Hibernate the easiest way it can, it also uses

Re: T5: Acegi table name too long for Oracle 9i

2008-01-09 Thread Robin Helgelin
On Jan 9, 2008 7:06 PM, Franz Amador [EMAIL PROTECTED] wrote: Oops, you're right. I am using tapestry5-acegi-example, and I'd forgotten that it has me define the entities. I was thinking that they were being defined internally to tapestry5-acegi. I know enough of Hibernate to proceed

Re: T5: access control (again)

2008-01-06 Thread Robin Helgelin
On Jan 6, 2008 10:29 AM, Chris Lewis [EMAIL PROTECTED] wrote: I remember reading in the acegi docs that it was possible to swap-out the usage of spring. I feel like you'll find it's not too difficult to do. I realize I say this out of ignorance but T5 IoC is quite easy to get your head around,

Re: T5: access control (again)

2008-01-06 Thread Robin Helgelin
On Jan 6, 2008 11:35 AM, Chris Lewis [EMAIL PROTECTED] wrote: Let me close by clarifying my tone as I've been told I come across as harsh. I am not bashing spring, acegi, or the tapestry integration. What I am saying is that as a developer with no use for spring, using the t5 acegi module

Re: Is Tapestry 5 ready?

2007-10-31 Thread Robin Helgelin
On 10/31/07, Galam [EMAIL PROTECTED] wrote: hi everyone, Hi. Last time when I check the Tapestry mailing list was probably a year a go. I have been waited patiently for the arrival of Tapestry 5. Now, it seems it is almost there, but technologies evoves fast. Is Tapestry still a better

Re: How do I get parameter from URL in Tapestry 5 ?

2007-10-28 Thread Robin Helgelin
On 10/28/07, James Lin [EMAIL PROTECTED] wrote: dear all: I have read one sample from Tapestry website http://wiki.apache.org/tapestry/Tapestry5ObtainingHttpServletRequest @Inject private RequestGlobals requestGlobals; public void onActivate(Object context) {

T5: Transformation rename method

2007-10-27 Thread Robin Helgelin
On 6/29/07, Dan Adams [EMAIL PROTECTED] wrote: yeah, the docs say that it adds you code to the end of it. I added a ticket: https://issues.apache.org/jira/browse/TAPESTRY-1615 Hi Dan, thanks for the prefixMethod. However, the original issue suggests that one should be able to rename a

Re: T5: Transformation rename method

2007-10-27 Thread Robin Helgelin
On 10/27/07, Robin Helgelin [EMAIL PROTECTED] wrote: thanks for the prefixMethod. However, the original issue suggests that one should be able to rename a method, are there any works on this? Ok, I have something running here but I'm having two different kind of problems. 1: I use

Re: Tapestry5-Acegi incompatibility with Tapestry 5.0.6

2007-10-26 Thread Robin Helgelin
On 10/26/07, Thiago H de Paula Figueiredo [EMAIL PROTECTED] wrote: Could you release a new version with updated dependencies? :) While you do not do that, I'll checkout the source and try to figure out what happened. I will :) The subversion code is ready, I was just waiting for the official

Re: Tapestry5-Acegi incompatibility with Tapestry 5.0.6

2007-10-26 Thread Robin Helgelin
On 10/26/07, Steven Woolley [EMAIL PROTECTED] wrote: Quick question... is there any chance of having the acegi setup so that an @Secured annotation on the class also applies to all the action methods in that class? I find it odd that adding the annotation to a class still allows accessing the

Re: T5.07 SNAPSHOT! Where is the Inject Annotation??

2007-10-24 Thread Robin Helgelin
On 10/24/07, lasitha [EMAIL PROTECTED] wrote: https://issues.apache.org/jira/browse/TAPESTRY-1800 Its a good idea to keep an eye on jira or the developer mailing list for some forewarning of such chanages :). Or just check the release notes :)

Re: Can BeanEditForm be Readonly?

2007-10-21 Thread Robin Helgelin
On 10/21/07, Eko S.W. [EMAIL PROTECTED] wrote: Hi All, Can we make BeanEditForm be Readonly? I need it to do quick Show Details of an item. Check out the new BeanDisplay in 5.0.6-SNAPSHOT. Default behaviour of BeanEditForm is to render Create/Update button How to not render it? No idea.

Re: can i change locale manually or not ???

2007-10-16 Thread Robin Helgelin
On 10/16/07, Mohammad Shamsi [EMAIL PROTECTED] wrote: No, I don't have AppModule class, where can i find docs or guide for Application Module Class in T5 If you generated your projected with maven quickstart you should have an xxx.yyy.services.AppModule class. -- regards,

Re: T5: User validation

2007-10-10 Thread Robin Helgelin
On 10/10/07, mnguyen21 [EMAIL PROTECTED] wrote: Short of adding a filter in the web.xml, is there a way in tapestry 5 to selectively have certain pages validate user sessions? I'm trying to unobtrusively have pages redirect the user to log in before they view the page if their session timed

Re: Tapestry 5 IoC container

2007-10-08 Thread Robin Helgelin
On 10/8/07, Peter Stavrinides [EMAIL PROTECTED] wrote: Hi All, Sorry if this is a trivial question, I am looking for samples or a tutorial explaining how to use Tapestry 5 IoC. I have been through the documentation on site and there are some details I can't figure out. It's easier to help

Re: [T5] Annotations are too static

2007-10-04 Thread Robin Helgelin
On 10/4/07, Julien HENRY [EMAIL PROTECTED] wrote: I have a page with a big form allowing user to create/update a card. The form has 2 submit buttons. One for creating/updating the card as draft (only card name input field is required), and one for validating the card. The validation

New BeanEditForm property block data passing

2007-10-04 Thread Robin Helgelin
Hi, I'm trying to add support for Daniel Jue's excellent SelectMultiple component as a BeanEditForm property. The only thing I need now is how to pass information from the page/component that contains the form to the property block page. Enviromental? -- regards, Robin

Re: New BeanEditForm property block data passing

2007-10-04 Thread Robin Helgelin
On 10/4/07, Robin Helgelin [EMAIL PROTECTED] wrote: Hi, I'm trying to add support for Daniel Jue's excellent SelectMultiple component as a BeanEditForm property. The only thing I need now is how to pass information from the page/component that contains the form to the property block page

Re: T5: the scanner and JBoss

2007-10-03 Thread Robin Helgelin
On 10/3/07, Geoff Callender [EMAIL PROTECTED] wrote: Thanks for the tips for Tomcat/JBoss users! I haven't got any of this working with .tml files, but maybe they aren't supported in T.0.5? No, 5.0.6-SNAPSHOT only at the momemt. -- regards, Robin

Re: RequestGlobals in tapestry-ACEGI UserDetailsService

2007-10-02 Thread Robin Helgelin
On 10/2/07, T. Papke [EMAIL PROTECTED] wrote: Hi, Hi! i have tried the tapestry 5 acegi example providing security controll for tapestry pages. I need the hostname of the requested url for getting the user by username. So i want to have the username per page. I have tried it with

Re: T5: OnPassivate returning multiple variables

2007-10-01 Thread Robin Helgelin
On 10/1/07, Angelo Chen [EMAIL PROTECTED] wrote: public Long onPassivate() { return currentUser.getId(); } I'm actually just guessing here, but public Long[] onPassivate() ? -- regards, Robin -

Re: T5: Using external Hibernate-mapped entities: the contribute method goes where?

2007-10-01 Thread Robin Helgelin
On 10/1/07, Andy Buckley [EMAIL PROTECTED] wrote: shows a way to deal with this, but I'm left with no idea where to put my contributeHibernateSessionSource(...) method! It doesn't seem to work if added to the page class (good: that would be inconvenient anyway!) so where should I put it? Help!

T5: type coercion, where?

2007-09-30 Thread Robin Helgelin
Hi, I have a Hibernate database entity called User, and I want to display a resultset of User's in a grid, however, I want to hide certain fields, change a few and add another one, so my idea was to create a bean created for this purpose. However, where should I do the conversion? In Hibernate

Re: T5: Upgrade to 5.0.6-SNAPSHOT

2007-09-28 Thread Robin Helgelin
On 9/28/07, Marcus [EMAIL PROTECTED] wrote: Hi lasitha, Same error, but I'm using 5.0.6_SNAPSHOT, I'm sure the template is there. Nick, Yes, I rename the file to Start.html. That should be Start.tml from a few days again. -- regards, Robin

Re: T5: Upgrade to 5.0.6-SNAPSHOT

2007-09-28 Thread Robin Helgelin
On 9/28/07, Nick Westgate [EMAIL PROTECTED] wrote: Did you heed Robert's sagely advice, and change *.html to *.tml? I also think that the page tml-files should be in webroot now, not inside WEB-INF as hls made changes so that you never can access a .tml file directly. -- regards,

Re: T5: Upgrade to 5.0.6-SNAPSHOT

2007-09-28 Thread Robin Helgelin
On 9/28/07, Borut Bolčina [EMAIL PROTECTED] wrote: What is the 5.0.6-SNAPSHOT repository url? http://tapestryjava.blogspot.com/2007/09/tapestry-5-nightly-builds.html repositories repository idtapestry-snapshot/id urlhttp://tapestry.formos.com/maven-snapshot-repository/url

Re: Questions for Tapestry 5

2007-09-28 Thread Robin Helgelin
On 9/28/07, BLIER, Jacques [EMAIL PROTECTED] wrote: Hi! Hi. I am a Tapestry newbie and want to start directly by using Tapesry 5. I think that Tapestry have a lot of potential and that it can grow into a large community. Good choice :) * How can I modify the QuickStart archetype

Re: T5: Upgrade to 5.0.6-SNAPSHOT

2007-09-28 Thread Robin Helgelin
On 9/28/07, Marcus [EMAIL PROTECTED] wrote: Hi Borut, It works if i rename Start.html to Start.tml and put in webapp folder. But, it's correct? all my templates have to renamed to *.tml? Seems like a very strange behavior, at least for me. That is because T5 needs it's markup files to be

Re: [T5] Broken links in documentation

2007-09-25 Thread Robin Helgelin
On 9/25/07, Borut Bolčina [EMAIL PROTECTED] wrote: Hello, just reporting some broken links Maybe all API links are broken. Yes, Howard updated the documentation to 5.0.6-SNAPSHOT whilst the website is probably referring to 5.0.5 at the moment. -- regards, Robin

T5: Override validation

2007-09-24 Thread Robin Helgelin
Hi, I'm trying to abstract my beans to make things easier. What I'm trying to do is to define a default validation on the abstract bean, and in same cases I want to override that as for example when a user is edited via admin, the username isn't required, which it is from the public part of the

Re: T5: nested loop

2007-09-21 Thread Robin Helgelin
On 9/21/07, Angelo Chen [EMAIL PROTECTED] wrote: Hi, I have a nested loop to create a table, the data displayed is from a List of 12 elements: table t:loop source=1..3 tr t:loop source=1..4 td element of List to be displayed here/td

Re: url-rewriting in Tapestry 5

2007-09-21 Thread Robin Helgelin
On 9/21/07, Daniel Leffel [EMAIL PROTECTED] wrote: I went down this path and decided that mod_rewrite is a much cleaner way to achieve something like this. Or maybe an urlfilter bundled with your war, there are a few usable ones. -- regards, Robin

Re: [T5] Grid component

2007-09-20 Thread Robin Helgelin
On 9/20/07, Jean-Philippe Steinmetz [EMAIL PROTECTED] wrote: Is there a way to add extra parameters to a grid component without having to modify the source class/bean itself? I am displaying a list of objects that I want to add a column for Edit and Delete links for each item. These links

Re: [T5] Grid component

2007-09-20 Thread Robin Helgelin
On 9/20/07, Robin Helgelin [EMAIL PROTECTED] wrote: userModel.add(action, new ActionPC()).label(Actions).sortable(false); Oops. class ActionPC implements PropertyConduit { public Object get(Object arg0) {return ;} public Class getPropertyType() {return String.class;} public

Re: [T5] Can't make custom library work

2007-09-19 Thread Robin Helgelin
On 9/19/07, Kolesnikov, Alexander GNI [EMAIL PROTECTED] wrote: Finally, logging shows that contributeComponentClassResolver() method in the library's module actually runs. Does Tapestry expect the components not to be POJOs? Questions, questions... Will go look into the source. Are you

Re: [T5] Can't make custom library work

2007-09-19 Thread Robin Helgelin
On 9/19/07, Chris Lewis [EMAIL PROTECTED] wrote: Thanks Robin. I'm using the jetty plugin for eclipse to run the app. I'm not sure what you mean by eclipse-project or jar-file - are these eclipse settings or variables? The m2 plugin really seems clumsy about using artifacts from other eclipse

Re: T5: 5.0.5 is there a list of dependecies on the site?

2007-09-18 Thread Robin Helgelin
On 9/18/07, Johan Maasing [EMAIL PROTECTED] wrote: Is there a human readable list somewhere which dependencies I need in my web-inf/lib for running tapestry 5.0.5? I tried with: tapestry-core-5.0.5.jar, tapestry-ioc-5.0.5.jar, javassist-3.0.jar, commons-logging-1.0.4.jar But then I run into

  1   2   >