Re: Form validate on submit event

2011-09-07 Thread Steve Eynon
void onValidateForm() is deprecated in T5.2 and has been removed in T5.3, best to use onValidateFromForm() instead. I mention it 'cos I got bit by it upgrading some apps from T5.1 to T5.3. Steve. On 8 September 2011 10:54, dick_hu wrote: > > Yohan Yudanara-2 wrote: >> >> server side or clien

Re: tapestry-security in Servlet 3.0 servlets (was EJB components)

2011-09-07 Thread Lenny Primak
This is really simple to reproduce: In any tap-security enabled Tapestry application, and any servlet 3.0-compliant container, put this new file, and try to access it, the console log will show that getSubject() is not working properly, even though the app is logged in and has a proper session.

Re: tapestry-security in Servlet 3.0 servlets (was EJB components)

2011-09-07 Thread Lenny Primak
I have now confirmed that the new servlet _is_ handled by the tapestry filter, but yet SecurityUtil.getSubject() still isn't working properly. I believe that tapestry and tap-security is completely ignoring my servlet and thus none of the Shiro's configuration is getting in there. The question beco

Re: tapestry-security in Servlet 3.0 servlets (was EJB components)

2011-09-07 Thread Lenny Primak
Ok, I am getting a bit more of a handle on this problem... No matter what I do, my servlet is not getting filtered by tapestry filter. I tried it all in web.xml, to no avail. Tapestry & JSP pages do work perfectly. On Sep 8, 2011, at 1:15 AM, Kalle Korhonen wrote: > On Wed, Sep 7, 2011 at 9:55 P

Re: tapestry-security in Servlet 3.0 servlets (was EJB components)

2011-09-07 Thread Lenny Primak
The servlet is not handled by tapestry filter. I am not sure why, actually, as I am trying to declare it in web.xml as a workaround now. tapestry is handling all tap pages and even JSP pages for the old web site, including all security paths, but not the servlet. Thanks for your help! On Sep 8,

Re: tapestry-security in Servlet 3.0 servlets (was EJB components)

2011-09-07 Thread Kalle Korhonen
On Wed, Sep 7, 2011 at 9:55 PM, Lenny Primak wrote: > What I found out that Servlet 3.0 objects (annotated with @WebServlet and > their derivatives) > do not get the Shiro filter that's instantiated via tapestry-security. > SecurityUtils.getSubject() does not work therefore. Hey Lenny, can you c

tapestry-security in Servlet 3.0 servlets (was EJB components)

2011-09-07 Thread Lenny Primak
What I found out that Servlet 3.0 objects (annotated with @WebServlet and their derivatives) do not get the Shiro filter that's instantiated via tapestry-security. SecurityUtils.getSubject() does not work therefore. So the question becomes how do I get an instance of whatever's initialized by ta

Re: Form validate on submit event

2011-09-07 Thread dick_hu
Yohan Yudanara-2 wrote: > > server side or client-side validation? > > client-side validation,but not in tapestry > > If client side, then you can create regular onClick="blablabla()"> on .tml file. > On blablabla() method you do the client-side validation and then submit > the > form. > > ju

Re: Form validate on submit event

2011-09-07 Thread Yohan Yudanara
server side or client-side validation? If server side, then you just need to create onValidateForm() method in your page class. If client side, then you can create regular on .tml file. On blablabla() method you do the client-side validation and then submit the form. FYI, Tapestry already has m

Re: Form validate on submit event

2011-09-07 Thread Thiago H. de Paula Figueiredo
On Wed, 07 Sep 2011 23:06:17 -0300, dick_hu wrote: tapesty has it's own submit way. I disagree, as an ordinary HTML submit button works with the Tapestry Form component, even if it has client-side validation or even AJAX updates. Now I want do some validate when I click the submit bu

Form validate on submit event

2011-09-07 Thread dick_hu
tapesty has it's own submit way. Now I want do some validate when I click the submit button Is there any easy way to do it. Can AnyOne help me solve this problem,thanks a lot. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Form-validate-on-submit-event-tp4780855p4780855.

Re: [t5.2.6]Generating zones within a loop, then updating some of them

2011-09-07 Thread Muhammad Gelbana
I tweaked the zone updater get what I want. Finally it works :) This particular page is VERY hard to implement. It may look east but once you put your fingers on your keyboard, you start scratching your head again :D Thigo also kindly sent some assisting information regarding that matter: "Just pu

Re: Page redirection

2011-09-07 Thread Muhammad Gelbana
I haven't tried to solve your situation as I'm not sure I understand your case but here is my attempt to give back to this list something in return :) Q1. onActivate is "eventually" called because the page link directed to that page, it's not the direct result of clicking that link (event handling

Re: [T5.3 beta 2] Using Tapestry-Spring-Security with 5.3?

2011-09-07 Thread Robert Lentz
Rado, Just read your posting Early this year I contacted Robin about the latest TSS version, as 2.1.0 does not work with T5.2.x. The trunk version 3.0.0 which uses spring-security-3.0 (http://www.localhost.nu/svn/public/tapestry-spring-security/trunk) works with T5.2.6 not sure about the chan

Re: [T5.3 beta 2] Using Tapestry-Spring-Security with 5.3?

2011-09-07 Thread Jonathan Barker
I was in touch with Robin a couple of months ago - I'm also in the boat of needing to make a choice very soon. He was not actively doing development on it, but open to contributors. It looks like the ServiceOverrides is almost a drop-in replacement. Just rename the method, adjust a few types, and

Page redirection

2011-09-07 Thread lifestyles_
Hi, i'm trying to implement a situation where as, i have a PageA, PageB and PageC. When using PageA, depending on different situations, i would want the page to render, otherwise, it would want to render PageC. What happen's in real life is : Start of with PageA::onActivate(), the conditions don'

Re: [T5.3 beta 2] Using Tapestry-Spring-Security with 5.3?

2011-09-07 Thread Immutability
Thank you guys! I'll be definitely giving Tynamo's security a try. In the meantime I scanned through the sources of TSS 2.1.0 that I've checked out from SVN several months ago, and now I have some basic understanding of what the issue with Tapestry 5.3 is - it removed the deprecated Aliases servic

Re: javascript

2011-09-07 Thread LLTYK
Use tapestry generated paths, like ${context:icons/add.png} . That way they won't come out as relative paths. -- View this message in context: http://tapestry-users.832.n2.nabble.com/javascript-tp6767323p6767533.html Sent from the Tapestry Users mailing list archive at Nabble.com. -

Re: Are all these great tools lately going into the component finder?

2011-09-07 Thread Ulrich Stärk
As for a place to live, that can probably be hosted alongside the demo app at tapestry.zones.apache.org if you wish. Uli On 07.09.2011 12:39, Bob Harner wrote: > I guess you're asking about the app I'm working on > (https://github.com/bobharner/Tapestry-finder/wiki). Yes, Exanpe > components are

Re: javascript

2011-09-07 Thread csckid
Thanks jQuery.noConflict(); worked I hope it won't cause any problem in future Yes, I wasn't using https://github.com/got5/tapestry5-jquery. *Next Question* I have add some images in menubar. The problem is that images are not found on all the pages. {code} *resources>com.myproject.kids>compon

Re: javascript

2011-09-07 Thread Taha Hafeez
Hi I assume you are not using https://github.com/got5/tapestry5-jquery. jquery and prototype don't work together without some configuration (noConflict()) http://www.codeboss.in/web-funda/2009/04/02/using-jquery-and-prototype-together/ If you want to use jquery you can use the above mentioned li

javascript

2011-09-07 Thread csckid
I have added this line in Layout.java @Import(library={"context:js/jquery-1.6.2.min.js", "context:js/hoverIntent.js","context:js/superfish.js"}, stylesheet={"context:css/superfish.css"}) Now, the tapestry javascript isn't working. I want tapestry to work too. -- Vi

Re: Are all these great tools lately going into the component finder?

2011-09-07 Thread Taha Hafeez
Great work Bob! You didn't announce it or did I miss it.. I am myself very busy with some projects. The good part is I am getting work because of tapestry but the bad part is I am getting less time to contribute back. Hope that changes in a month or so. On Wed, Sep 7, 2011 at 4:20 PM, Massimo L

Re: Are all these great tools lately going into the component finder?

2011-09-07 Thread Massimo Lusetti
On Wed, Sep 7, 2011 at 12:39 PM, Bob Harner wrote: > I guess you're asking about the app I'm working on > (https://github.com/bobharner/Tapestry-finder/wiki). Yes, Exanpe > components are listed in the database now (but not yet commited). So > far there are about 240 entries (components, mixins,

Re: Are all these great tools lately going into the component finder?

2011-09-07 Thread Bob Harner
I guess you're asking about the app I'm working on (https://github.com/bobharner/Tapestry-finder/wiki). Yes, Exanpe components are listed in the database now (but not yet commited). So far there are about 240 entries (components, mixins, elements, packages & frameworks) in the database. Vacations a

Re: Why IdAllocator is not a service ?

2011-09-07 Thread Amaury Willemant
Thank you Howard, I hope i did not offended you. I was just joking, the modifications I realized seem to work and I must admit that it is a real pleasure to understand Tapestry, the more you dig into the code, the more you love it ;) 2011/9/6 Amaury Willemant > Hi everyone, > > I am currently

Re: Migration from Tapestry 5.0.18 to Tapestry 5.2.6 on Websphere 6.1

2011-09-07 Thread jkollar
So we have found identified the problem. As I've found in the documentation, Tapestry from version 5.1 compresses requests/responses and assets using gzip. obviously our websphere has some problem with this. Our solution is to disable this feature via configuration property tapestry.gzip-compressio

RE: [ANN] exanpe-t5-lib : new Tapestry 5 library

2011-09-07 Thread Guerin Laurent
Thanks for all your messages. This encourages us to keep providing our efforts and provide soon more new features and components. Tapestry rocks! Exanpe team http://exanpe.github.com/exanpe-t5-lib/ -Message d'origine- De : Geoff Callender [mailto:geoff.callender.jumpst...@gmail.com] E