Re: Tapestry-security 0.2.0 released!

2010-07-01 Thread Borut Bolčina
That is a wonderful news! As it just happens, I will begin to code a new T5 app just today, and guess what, I won't craft a new security solution by myself thanks to you guys. :-) I've used tapestry-spring-security for our former project (200K registered users) so I am very interested to see what

Invoke javascript through Mixin with actionLink and click event

2010-07-01 Thread SakshiAgarwal
Hi, In the below example, I am trying to invoke javascript when I click on Approve link and also on Disapprove. [While disapproving, I am submitting the form as I want to submit reported category along with it, while on approve I am just changing the status[approve/disapprove] of my photo in java

Re: Tapestry-security 0.2.0 released!

2010-07-01 Thread Kalle Korhonen
On Thu, Jul 1, 2010 at 7:05 PM, Greg Pagendam-Turner wrote: > Great work Kalle. Has it been tested against Tapestry 5.2? No, the integration tests are running only against T5.1.0.5. It's quite possible some tweaks are needed for 5.2; if so we'll get the snapshots going with it in the coming days.

Re: Tapestry-security 0.2.0 released!

2010-07-01 Thread Greg Pagendam-Turner
Great work Kalle. Has it been tested against Tapestry 5.2? Greg. On 2/07/2010 12:01 PM, Kalle Korhonen wrote: As an Apache Shiro committer and a strong proponent of Tapestry, I'm proud to announce the 0.2.0 release and immediate availability of tapestry-security module, which represents the bes

Tapestry-security 0.2.0 released!

2010-07-01 Thread Kalle Korhonen
As an Apache Shiro committer and a strong proponent of Tapestry, I'm proud to announce the 0.2.0 release and immediate availability of tapestry-security module, which represents the best and most comprehensive security framework integration for Tapestry 5 applications. I can say that since it's lar

Re: Redirect page

2010-07-01 Thread ebt
I just spent a bit of time looking for how to redirect, I got halfway through http://wiki.apache.org/tapestry/Tapestry5RedirectException but LinkFactory is not a part of 5.2. This threads placement was fortuitously placed. Thanks Thiago. Thiago H. de Paula Figueiredo wrote: > > On Thu, 01 Jul

Re: Ajax Problem with 5.2

2010-07-01 Thread Howard Lewis Ship
Details about Tapestry version, browser version, any custom JS you've written, steps taken, maybe some of your page class and template. On Thu, Jul 1, 2010 at 4:42 PM, Pierce Wetter wrote: > > >  Ok, any hint how I should write it up so that someone could actually be able > to fix it based on my

Re: Ajax Problem with 5.2

2010-07-01 Thread Pierce Wetter
Ok, any hint how I should write it up so that someone could actually be able to fix it based on my description of the problem? Programmers don't fix bugs, they fix bug reports. > This sounds like a new bug, some kind of order-of-operations problem. > Please add an issue. > > On Thu, Jul 1,

Re: Ajax Problem with 5.2

2010-07-01 Thread Howard Lewis Ship
This sounds like a new bug, some kind of order-of-operations problem. Please add an issue. On Thu, Jul 1, 2010 at 4:01 PM, Pierce Wetter wrote: > Background: > >    Page of data, you can click on a "show" button to see a grid for a to-many > relationship. You can think click on items in the grid

Ajax Problem with 5.2

2010-07-01 Thread Pierce Wetter
Background: Page of data, you can click on a "show" button to see a grid for a to-many relationship. You can think click on items in the grid to get a second reveal with some more data and some buttons. But: It broke sometime in the last few weeks. I'm getting an error on line 2067

T4 PermGen

2010-07-01 Thread Norman Franke
I just started having problems with my web server running out of PermGen on Tomcat 6.0.18 with Tapestry 4. I don't think any libraries changed, at least by the dates of the .jar files. I am using Jackson for JSON parsing, which was somewhat new, but it's not used all that often. Caching is

Re: Redirect page

2010-07-01 Thread Thiago H. de Paula Figueiredo
On Thu, 01 Jul 2010 15:09:04 -0300, Chanticleer wrote: but honestly, how hard can it be for someone to include a simple redirect() in their framework? Tapestry already provides a very elegant and flexible way of doing redirects, so I think there's no need for a redirect() method. anyway,

Re: Redirect page

2010-07-01 Thread Thiago H. de Paula Figueiredo
On Thu, 01 Jul 2010 14:44:57 -0300, Chanticleer wrote: i meant a metaphorical beating :) :) but do you think you can share me the code to do that redirect? i cant for the life of me figure it out. thanks The documentation is here: http://tapestry.apache.org/tapestry5.1/guide/pagenav.ht

Re: Redirect page

2010-07-01 Thread Chanticleer
but honestly, how hard can it be for someone to include a simple redirect() in their framework? anyway, the "'fundamentals" of Tapestry keep being reset with every release so its kind of pointless to master all of it. so guys, help a brother out with some redirect code. Adam Saltiel-2 wrote: >

Re: Redirect page

2010-07-01 Thread Adam Saltiel
If you can't do this for yourself you will never understand T5. It means you don't have the fundamentals, you must read up. It isn't hard. Thiego gave all the clues Adam Sent using BlackBerry® from Orange -Original Message- From: Chanticleer Date: Thu, 1 Jul 2010 10:44:57 To: Reply-T

Re: Redirect page

2010-07-01 Thread Chanticleer
i meant a metaphorical beating :) but do you think you can share me the code to do that redirect? i cant for the life of me figure it out. thanks Thiago H. de Paula Figueiredo wrote: > > On Thu, 01 Jul 2010 11:56:48 -0300, Chanticleer > wrote: > >> I have no idea why it should be so hard to d

Re: Redirect page

2010-07-01 Thread Thiago H. de Paula Figueiredo
On Thu, 01 Jul 2010 11:56:48 -0300, Chanticleer wrote: I have no idea why it should be so hard to do redirects. Its such an integral part of web apps. What's hard about creating one onActivate() method that returns a page instance, a page class instance or a java.util.URL? this Howard g

Re: Redirect page

2010-07-01 Thread Chanticleer
I have no idea why it should be so hard to do redirects. Its such an integral part of web apps. this Howard guy must be beaten Benny Law wrote: > > I wish it were built into Tapestry 5 too. It was in previous versions. I > don't fully understand why Howard took it out, and I don't know of any

[T-5.2] t:submit bug when using image parameter

2010-07-01 Thread Joost Schouten (ml)
Hi, When I use t:submit without the image parameter the onSelectedFromMyButton method gets called. When using the image parameter it does not get called. When no image is used the post [1] includes the t:submit value. When an image is used [2] only the java component id is added as a paramete

Replacing Date Selector

2010-07-01 Thread Jim O'Callaghan
I have used the jQuery date selector in non-Tapestry projects previously and would like to use it as the default for my current Tapestry application - can anyone advise the shortest path to achieving this? I have already decorated ClientInfrastructure and jQuery / jQuery UI is visible / usable in