Re: login with stored procedure

2010-10-22 Thread Andrey Gladilin
Stupid me. I've been checking the `password.toString()`, but should have to do `new String(password)`. My login form is working fine. Thank you all for help! On Wed, Oct 20, 2010 at 11:12 PM, Andrey Gladilin andrey.gladi...@gmail.com wrote: Seems that this advise does not work for me. Look, I

Re: Fwd: [Announce] Tapestry 5.2 Demo application

2010-10-22 Thread Katia Aresti Gonzalez
There is no security framework just tapestry following Howard's tutorial in the tynamo branch we use tynamo security, but this branch is not finished yet. We will use tynamo conversations too. 2010/10/22 ael alan-lua...@dash.com.ph What Security Framework this you use for this project? --

Re: T5: porting to Got5-JQuery how to use former Tapestry.ElementEffect ?

2010-10-22 Thread gbrits
thanks, i'll have a look 2010/10/22 Andreas Andreou-4 [via Tapestry] ml-node+3231498-238900553-91...@n5.nabble.comml-node%2b3231498-238900553-91...@n5.nabble.com I took a look and it shouldnt be hard to add this ... The important file is tapestry-jquery.js and around line 150 there's a

T5 Guide: Working Shopping Cart. Feel Free to comment...

2010-10-22 Thread ael
This is my shopping cart using SSO. TbCart.Class /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.dash.ssocart.entities; /** * * @author alan */ public class TbCart implements java.io.Serializable { private String items;

Re: Fwd: [Announce] Tapestry 5.2 Demo application

2010-10-22 Thread Alejandro Scandroli
Is there a tynamo branch?? excellent!! :) On Fri, Oct 22, 2010 at 8:32 AM, Katia Aresti Gonzalez katiaare...@gmail.com wrote: There is no security framework just tapestry following Howard's tutorial in the tynamo branch we use tynamo security, but this branch is not finished yet. We will use

Re: Fwd: [Announce] Tapestry 5.2 Demo application

2010-10-22 Thread Christophe Cordenier
Hi ! Yes there is a tynamo branch, the work is in progress but you can already test it ! Note : to get fresh informations on project evolution, you can register on github and follow the project, you will be informed of commits by email. I repeat myself, but everyone here can contribute by

Tapestry's own security module

2010-10-22 Thread Taha Hafeez
Hi, Just curious (It may end up as a foolish question!) why don't we have a tapestry-security module which is generic and can have plugins like shino or spring-security or a simple role based model ? This will make security pluggable. We can have tapestry specific authorizations

Re: Tapestry's own security module

2010-10-22 Thread Thiago H. de Paula Figueiredo
On Fri, 22 Oct 2010 08:45:11 -0200, Taha Hafeez tawus.tapes...@gmail.com wrote: Hi, Hi! Just curious (It may end up as a foolish question!) why don't we have a tapestry-security module which is generic and can have plugins like shino or spring-security or a simple role based

Annotations and ComponentRequestFilter Problem

2010-10-22 Thread shinlang
Hi, i'm having a problem using custom annotations and a ComponentRequestFilter. I am defining my own class annotation (TestAnnotation) and a test class (Index) that uses this annotation. In my ComponentRequestFilter however, when i am checking the page class (via

Re: Tapestry's own security module

2010-10-22 Thread Taha Hafeez
Actually I had already read the article. But then this argument is not applicable to security alone... what we generally do is take the generalizations together and create a module... right ? taha On Fri, Oct 22, 2010 at 5:45 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread Taha Hafeez
Can you share the code taha On Fri, Oct 22, 2010 at 5:55 PM, shinlang sascha.hinl...@gameforge.dewrote: Hi, i'm having a problem using custom annotations and a ComponentRequestFilter. I am defining my own class annotation (TestAnnotation) and a test class (Index) that uses this

Re: Tapestry's own security module

2010-10-22 Thread Thiago H. de Paula Figueiredo
On Fri, 22 Oct 2010 10:26:11 -0200, Taha Hafeez tawus.tapes...@gmail.com wrote: Actually I had already read the article. But then this argument is not applicable to security alone... We're discussing security. :) what we generally do is take the generalizations together and create a

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread Thiago H. de Paula Figueiredo
On Fri, 22 Oct 2010 10:25:03 -0200, shinlang sascha.hinl...@gameforge.de wrote: Hi, Hi! I have of course read the article at http://tapestryjava.blogspot.com/2009/12/securing-tapestry-pages-with.html, and i can't see any difference: Component page = componentSource.getPage(pageName); if

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread shinlang
Hi taha, you can find an example project here: http://satansoft.de/tapestry/annotationtest.zip It uses a very simple setup to show the problem. In TestFilter.java in the annotationTest() method you can see that the upper test case is not working, but the lower case is working well. Regards,

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread shinlang
Hi Thiago, thanks for your reply. I will certainly give that a try, but i won't be in the office until monday. I'm not sure, if i stated my problem right (as i'm quite new to tapestry). I am not dynamically adding the annotation to the class, as far as i can see, so getting it from the component

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread Taha Hafeez
Just move the annotation out of the pages package. Although I don't know the internals of tapestry that well but I think because pages and components packages have live reloading they may be loaded from different classloaders... regards Taha On Fri, Oct 22, 2010 at 7:19 PM, shinlang

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread Thiago H. de Paula Figueiredo
On Fri, 22 Oct 2010 12:10:38 -0200, Taha Hafeez tawus.tapes...@gmail.com wrote: Just move the annotation out of the pages package. This is one of the most common pitfalls Tapestry beginners fall: never never never put something in a pages, components or mixins package that isn't a page,

T5.1 IFrame and src context

2010-10-22 Thread Richard Hill
Hi All, I have an iframe in my T5.1 page. The src is another page served by the same tapestry webapp. The page to be loaded in the iframe takes 2 parameters, a string and an int, as activation context. How do I construct the value of the src to correctly link to the page with the correctly

Re: T5.1 IFrame and src context

2010-10-22 Thread Richard Hill
To answer my own question: @Inject private PageRenderLinkSource prls; public String getFrameSrc() { Link l = prls.createPageRenderLinkWithContext (DiffReportHTML.class,getContext()); return l.toAbsoluteURI(); }

Re: T5: porting to Got5-JQuery how to use former Tapestry.ElementEffect ?

2010-10-22 Thread gbrits
for people that might run into this: I didn't know that ElementEffect was the prototype way of handling things, jquery handles effects differently. Moreover, it's best practise to observe Tapestry.ZONE_UPDATED_EVENT instead of misusing an effect which is only meant for visual purposes. The

Re: T5: porting to Got5-JQuery how to use former Tapestry.ElementEffect ?

2010-10-22 Thread Andreas Andreou
i think you have quite an elegant solution here - i'll make sure to apply this to the 5.2 branch and i guess it'll also appear in master soon On Sat, Oct 23, 2010 at 00:22, gbrits gbr...@gmail.com wrote: for people that might run into this: I didn't know that ElementEffect was the prototype