Re: Any good tapestry5 plugin for eclipse

2010-11-25 Thread Taha Hafeez
Thanks everybody I had a look at it. I feel tapestry is in need of a good eclipse plugin !! Don't know much about writing a plugin but am considering it.. Something on the lines of http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench regards Taha On Thu, Nov 25, 2010 at 10:23 PM, Evert

Re: context asset servlet gives directory listing and access to WEB-INF

2010-11-25 Thread Paul Stanton
Thiago, I do want to make sure i disallow directory listings. agree there is potential for bottleneck so I have changed to: public boolean service(Request request, Response response, RequestHandler handler) throws IOException { String path = request.getPath(); String co

Re: T5.1 and Tynamo Security: override a Shiro Filter

2010-11-25 Thread Kalle Korhonen
Follow http://jira.codehaus.org/browse/TYNAMO-67. In the one application I needed this, I'm still using tapestry-security 0.1.0 which allowed these type of contributions and was a separate and my original effort at integrating jsecurity/shiro. There were a few other interesting features and I'll me

Re: context asset servlet gives directory listing and access to WEB-INF

2010-11-25 Thread Thiago H. de Paula Figueiredo
On Thu, 25 Nov 2010 18:24:39 -0200, Paul Stanton wrote: Yes tested and it works. Yay! :) I figured since I'm only executing the logic for things that start with /asset/ctx/ the overhead shouldn't be noticeable, however on second thought maybe this isn't a good idea? There's a possibi

Re: context asset servlet gives directory listing and access to WEB-INF

2010-11-25 Thread Paul Stanton
Yes tested and it works. I create the real file so I can disallow all directory listings. I could do this by testing for the (non)existence of a file extension, however that isn't technically cross-platform etc... so i create the file to test whether it's a directory, and disallow if it is.

Re: T5.1 and Tynamo Security: override a Shiro Filter

2010-11-25 Thread Kalle Korhonen
Whoops. We certainly wanted to make overriding possible programmatically. I'm on it, didn't look into the code yet but if it doesn't currently work I'll definitely fix it. Which version of tapestry-security are you using? Kalle On Wed, Nov 24, 2010 at 3:11 AM, anton.litvinenko wrote: > > Hello!

Re: Any good tapestry5 plugin for eclipse

2010-11-25 Thread Everton Agner
There is Loom T5, it helps a little http://code.google.com/p/loom-t5/ ___ Everton Agner Ramos 2010/11/25 Guerin Laurent > Hi Taha, > > This wiki link is very helpfull to get Component completion with parameters > and description for TML files into Eclipse : > http://wiki.a

RE: Any good tapestry5 plugin for eclipse

2010-11-25 Thread Guerin Laurent
Hi Taha, This wiki link is very helpfull to get Component completion with parameters and description for TML files into Eclipse : http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse Cheers, Laurent GUÉRIN -Message d'origine- De : Taha Hafeez [mailto:tawus.tapes...@gmail.com] Env

Re: Any good tapestry5 plugin for eclipse

2010-11-25 Thread Taha Hafeez
Thanks regards Taha On Thu, Nov 25, 2010 at 8:21 PM, Inge Solvoll wrote: > This one is very helpful for creating templates and switching between > template and java. It's also pretty much the only useful T5 eclipse plugin. > > http://code.google.com/p/loom-t5/ > > On Thu, Nov 25, 2010 at 3:49 PM

Re: Any good tapestry5 plugin for eclipse

2010-11-25 Thread Inge Solvoll
This one is very helpful for creating templates and switching between template and java. It's also pretty much the only useful T5 eclipse plugin. http://code.google.com/p/loom-t5/ On Thu, Nov 25, 2010 at 3:49 PM, Taha Hafeez wrote: > Hi > > Is there any good tapestry5 plugin for eclipse. > > reg

Any good tapestry5 plugin for eclipse

2010-11-25 Thread Taha Hafeez
Hi Is there any good tapestry5 plugin for eclipse. regards Taha

Re: Reusable login component

2010-11-25 Thread Katia Aresti
Without doing it with callbacks and events, more simple for your use case : you can define 2 input parameters like this in you component : @Parameter(defaultPrefix = BindingConstants.LITERAL) private String successPage; @Parameter(defaultPrefix = BindingConstants.LITERAL) private String errorPag

Re: Reusable login component

2010-11-25 Thread Christophe Cordenier
Hi ! Use events and callbacks, see ComponentResources.triggerEvent 2010/11/25 Tibo23 > > How to tell the component from the beginning where to go? Because it > depends > on the parent page where the login component is included AND on a > authentication fonction success? > > Here is my Login com

Re: Tapestry Web Site Updated

2010-11-25 Thread Michael Gentry
Borut beat me to it. If you use GMail to subscribe to the mailing list and create a filter to automatically tag messages and move them out of your inbox, then you practically end up with a personal forum system. It works beautifully for every Apache mailing list I subscribe to. GMail keeps it or

Re: Reusable login component

2010-11-25 Thread Tibo23
How to tell the component from the beginning where to go? Because it depends on the parent page where the login component is included AND on a authentication fonction success? Here is my Login component : public class Login { @Inject private IAuthenticationService authentication

Re: Redirect to URL with params

2010-11-25 Thread Gnu Ubuntu
Thanks Richard, I'll try that. 2010/11/25 Richard Hill > > Ok so, if I follow correctly: > > Page A: Doesn't have a form. So instead you have a normal link. This > contains as url parameters the data to be sent. After processing you > want to redirect to Page B. So you could do something like th

Re: Reusable login component

2010-11-25 Thread Thiago H. de Paula Figueiredo
Hi, Katia! On Thu, 25 Nov 2010 06:13:48 -0200, Katia Aresti wrote: There are always several ways to do the same thing. @Thiago Doing with events like this, does not come up to the same to same thing ? In the end I have to catch the event on my page to decide where to go. So, why not telli

Re: context asset servlet gives directory listing and access to WEB-INF

2010-11-25 Thread Thiago H. de Paula Figueiredo
On Thu, 25 Nov 2010 00:03:03 -0200, Paul Stanton wrote: Thanks Thiago, Hi! AFAIK you don't need to check for the real file. Just checking the URL is enough. Besides this, I think it is ok. Have you tested it already? -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5

Re: Redirect to URL with params

2010-11-25 Thread Richard Hill
Ok so, if I follow correctly: Page A: Doesn't have a form. So instead you have a normal link. This contains as url parameters the data to be sent. After processing you want to redirect to Page B. So you could do something like this: PageA.java: @Inject private Request request; @Inject private P

Re: Redirect to URL with params

2010-11-25 Thread Gnu Ubuntu
Thanks Richard for your response. What I want is to do a post request but my page dosn't contain any form. The user will be redirected to an URL with some parameters and after that I must get some other parameters from the response. I hope that is more clear now. Thanks.

Re: Redirect to URL with params

2010-11-25 Thread Richard Hill
Can you be a little more explicit: You want a GET request (instead of a POST) to trigger a redirect? Does the original GET or the redirect contain url parameters? Or both? Do either of them have an activation context? -Original Message- From: Gnu Ubuntu Reply-to: "Tapestry users"

Redirect to URL with params

2010-11-25 Thread Gnu Ubuntu
Hi! I need to redirect user to an url with some parameters (simulate a post without form). Can you help me to do that, please ? Thanks in advance.

Re: Tapestry Web Site Updated

2010-11-25 Thread Paul Stanton
I didn't mean to start an egg throwing contest with anyone, just thought it was a good idea to bring up for discussion. I appreciate all the comments and opinions, hopefully something comes of it even if it's just a few more people monitoring the SO list. I won't post again on the topic becau

Re: Tapestry Web Site Updated

2010-11-25 Thread Borut Bolčina
If you register on the user mailing list with your google mail account and create a filter on the mailbox, then you have the ultimate power of sorting threads and searching the knowledge. It can not get better. When I see a forum which has a search link which takes you to another page where you ar

Tapestry Mailing List vs Forum

2010-11-25 Thread Newham, Cameron
An interesting discussion. However, while I do see that a forum would, perhaps, be initially more user friendly for new people to join, in the end the creation of such a thing would either divide the community into those on the ML and those on the forum, or at worst the forum would end up with

Re: Hot reloading and mvn:gae:run

2010-11-25 Thread Nicolas Bouillon
To solve my issue, I've added a custom ant builder to Eclipse that copy the target/classes folder to the target/myapp/WEB-INF/classes folder, and then the tapestry hot reload of classes and resources works. It works, but I have to trigger my custom builder manually with Ctrl-B (build project), bec

Re: Tapestry Web Site Updated

2010-11-25 Thread Ulrich Stärk
But registering with StackOverflow or a forum is OK or what? On 25.11.2010 10:19, Paul Stanton wrote: "I don't see why those questions can't be asked and answered on the mailing lists. " you are missing the point. they probably haven't been asked on the ml because the user doesn't want to reg

Re: Tapestry Web Site Updated

2010-11-25 Thread Paul Stanton
"I don't see why those questions can't be asked and answered on the mailing lists. " you are missing the point. they probably haven't been asked on the ml because the user doesn't want to register/subscribe/manage the ml. some people have a general aversion to ml's. p. On 25/11/2010 7:07 PM

Re: Tapestry Web Site Updated

2010-11-25 Thread Massimo Lusetti
On Thu, Nov 25, 2010 at 1:41 AM, Andreas Andreou wrote: > So, anyway, Tapestry has the mailing list, its website/documentation and > there's > always StackOverflow. Perhaps it makes sense to define a strategy on how to > take > advantage of that last one though Completely agree. Cheers -- Ma

Re: Tapestry Web Site Updated

2010-11-25 Thread Paul Stanton
Ulrich, of course you are entitled to your opinion. p. On 25/11/2010 6:47 PM, Ulrich Stärk wrote: That's just plain wrong. The form of communication (forum vs. mailing list) will have no impact at all on whether questions you ask are answered more or less conclusively. It's how you ask your q

Re: Tapestry Web Site Updated

2010-11-25 Thread Ivano Luberti
I'm sorry but I strongly disagree: I have never seen a support service as efficient as this mailing list. And for free. Il 25/11/2010 0.33, Paul Stanton ha scritto: > "They (forums) are to publish discussions on specific matters." > > Exactly! I'm often disappointed with the level of help offered

Re: Tapestry Web Site Updated

2010-11-25 Thread Ulrich Stärk
I don't see why those questions can't be asked and answered on the mailing lists. If you want to ask or answer questions on stackoverflow, do it. If you want to create a forum that's fine too. But the only *official* help source will be the mailing lists. Everything else will just partition th