Re: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-11 Thread Leon Derks
He Martijn, The URL is not really generated. I was playing with Freemarker (Java template engine). I tried it to send a mail... The URL is in the mail template and the email param is replaced by freemarker: http://localhost:8090/tapestry/test/user/${user.userEmail}"/> My test was to send an

Re: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-11 Thread Martijn Brinkers
I had a similar requirement and decided not use the activation context for this but do it the 'old fashioned' way with parameters (ie. ?email=blabla) by injecting the Request service. If your freemaker code runs inside a Tapestry application I guess you can add the URLEncoder service to the freema

Re: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-11 Thread Jan Vissers
> He Martijn, > > The URL is not really generated. I was playing with Freemarker (Java > template engine). > I tried it to send a mail... > The URL is in the mail template and the email param is replaced by > freemarker: > http://localhost:8090/tapestry/test/user/${user.userEmail}"/> > > My test wa

[T5.0.17] tapestry-hibernate with EJB/JPA, it is possible?

2008-12-11 Thread Ovidiu Hurducas
Hi! I want to use EJB3 Persistence with tapestry-hibernate. I've configured an persistence unit in persistence.xml file.However is keep trying to find the hibernate configuration. The exception message is: org.hibernate.HibernateException: /hibernate.cfg.xml not found As far as I know all the con

Re: Persistance

2008-12-11 Thread Hugo Palma
I myself have found the need for such a persistence strategy. I would suggest creating an issue for this so that people can vote and follow it. On Fri, Nov 28, 2008 at 10:23 AM, Peter Stavrinides < [EMAIL PROTECTED]> wrote: > Hi, > > I have been thinking about persistence lately... and after movi

Re: Redirect before page render

2008-12-11 Thread Otho
If you use Spring Security you can also check against the SecurityContext. Regards, Otho 2008/12/11 Allex Juang <[EMAIL PROTECTED]> > Thanks Peter, It works. > > Allex J. > > Peter Stavrinides 提到: > >> Use an application state object (it is session scoped), so on your login >> page you could hav

Tap 5 / 4.1 - Dirty Form Warning?

2008-12-11 Thread Mike Oestereter
Hi We may have to port a Tapestry 4.0 app to either Tapestry 4.1 or (preferably) 5.0 depending on how easy it would be. The 4.0 uses the tacos:DirtyFormWarning quite a lot. And we can't find such a component in Tapestry 4.1 or 5.0. Do you know of a similar component or feature in Tapestry 4.1 or

Re: [ANN] tapestry5-appfuse

2008-12-11 Thread Otho
Only one remark so far. You should maybe complete the doc page? :) Regards, Otho 2008/12/9 SergeEby <[EMAIL PROTECTED]> > > Hi, > > Version 1.0.1 of the tapestry5-appfuse project has been released. > It's built with Tapestry 5.0.18 and has several improvements and bug fixes. > > See details her

Re: AW: AW: Advantages of various .tml storage locations?

2008-12-11 Thread Otho
Uhm... I use the resource folder since the beginning of dabbling around with Tap5 and never had any issues. In fact it's the first thing I do when creating a new app via the archetype to create the packages under the resource directory and moving Index.tml there. As I am talking about archetypes..

Re: Tap 5 / 4.1 - Dirty Form Warning?

2008-12-11 Thread Andreas Andreou
it still in tacos : http://tacos.sourceforge.net/tacos4.1/tacos-core/tapdocs/index.html Also, sources are easy to follow at : http://fisheye3.atlassian.com/browse/tacos/tacos-4.1/trunk/tacos-core/src/java/net/sf/tacos/components so you can further customize or port it On Thu, Dec 11, 2008 at 2:1

Re: Persistance

2008-12-11 Thread Peter Stavrinides
I think this feature would set Tapestry 5 even further apart from the rest, go vote for it at: https://issues.apache.org/jira/browse/TAP5-411 cheers, Peter - Original Message - From: "Hugo Palma" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Thursday, 11 December, 2008 12:52:37 PM GMT

Re: AW: AW: Advantages of various .tml storage locations?

2008-12-11 Thread Daniel Jue
+1 to that. I have also been using the src/main/resources dir since cutting my teeth with Maven and T5. The Tapestry related directories there mirror the packages under src/main/java, for both page classes and component classes. In eclipse the src/main/java and src/main/resources are both listed

RE: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-11 Thread Blower, Andy
I think the new URL encoding scheme should have some characters added to the safe list, including @. According to the BNF for URLs (http://www.w3.org/Addressing/URL/url-spec.html), the following characters are perfectly valid for URLs: $...@.&+-!*"'(), -_. are already in the safe list, and I'm

Re: AW: AW: Advantages of various .tml storage locations?

2008-12-11 Thread Christian Edward Gruber
It may, but I always change /src/*/resources folders from source folders to class folders, since they are resources, not code, so they don't really need to go through Eclipse's incremental compiler. That's just me though. Either way works. Christian. On 11-Dec-08, at 10:27 , Daniel Jue w

Re: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-11 Thread Thiago H. de Paula Figueiredo
Em Thu, 11 Dec 2008 16:37:31 -0300, Blower, Andy escreveu: The main reason for this is Tapestry's new encoding scheme makes some of my application's URL's incredibly ugly with its $00xx replacements everywhere. What do you all think? I agree, and the $00XX replacement is even more part

BeanEditForm Component in Tapestry 5

2008-12-11 Thread mraible
I'm working on a simple CRUD example for Tapestry 5 (version 5.0.18) today in order to create the necessary FreeMarker templates for AppFuse's Maven Plugin. Here's my form class: package org.appfuse.webapp.pages; import org.apache.tapestry5.annotations.Persist; import org.apache.tapestry5.annota

Confirm("are you sure want to delete") in

2008-12-11 Thread Tan cyb...@n
hi, i'm a newbie in tapestry. may i know is it possible to do like: I have tried to put in as well, but after choose cancel. it will still submit. May i know how to avoid the postback? Thank you. Tan