Re: Error posting a simple form

2008-05-29 Thread Peter Stavrinides
Unlikely to be a cached file, we have experienced this on multiple machines and under multiple browsers. - Original Message - From: "Howard Lewis Ship" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Thursday, 29 May, 2008 7:23:26 PM GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject

Re: t5-components MultipleSelect use

2008-05-29 Thread Weisu
You need to define encoder in your tml file, this is my: zack1403 wrote: > > Hmm, still getting the error: > > Render queue error in > BeforeRenderTemplate[survey/contact/Upload:multipleselect]: Failure > reading parameter 'encoder' of component > survey/contact/Upload:multipleselect: Could n

Re: How to Localize persistent Objects

2008-05-29 Thread Andreas Andreou
1) no need to use spring 2) It's easy if you take a look at the source of org.apache.tapestry.services.impl.ComponentMessages and its base class org.apache.hivemind.impl.AbstractMessages It's then a matter of: a) overriding public String getMessage(String key) and when the key isn't found, search

Re: Regexp validation

2008-05-29 Thread Mikaël Cluseau
Try to change your "\\" to "\". Le jeudi 29 mai 2008 à 20:13 -0400, Sura, Bhupesh a écrit : > I am using tapestry 5.0.10 and I have a code in a .tml file which looks like > this. > > t:validate="regexp=([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-

Regexp validation

2008-05-29 Thread Sura, Bhupesh
I am using tapestry 5.0.10 and I have a code in a .tml file which looks like this. No matter what input string I give, the regex validation is failing. The regex is valid and works fine with my java code. Any help would be greatly appreciated.

"Beginner's" Feedback

2008-05-29 Thread Mikaël Cluseau
Hi dear list, Just a though while I was working on a T5 app. It took me a lot of time (well, more than 20 minutes...) to figure out why I didn't get my informal block parameters from my component resources. = The Code MyComp.java: public class { @Inject private ComponentRes

Re: Error posting a simple form

2008-05-29 Thread Howard Lewis Ship
Possibly a bug in the client-side tapestry.js, or just the old one caught in the browser cache. On Thu, May 29, 2008 at 9:03 AM, Peter Stavrinides <[EMAIL PROTECTED]> wrote: > t:formdata: > * > H4sIAFvzloG1XJZBOiNNvyizOFvfuSg1sSTVKhlMJSaXZObnFRcxWOQXpeslFiQmZ6TqlSQWpBaXFFWa6iXnF6XmZCYB6dy

Antwort: Eating the dog food: experiences with T5 so far

2008-05-29 Thread Christian Koeberl
Hi Dan! > * We have an internal t5-based library (or 3 actually) that aids in > building CMS and other administrative applications. One library > provides super-slick Lucene integration for Hibernate entities. We're just looking through Lucene to use it in our T5/Hibernate apps. We're just exa

Re: Error posting a simple form

2008-05-29 Thread Peter Stavrinides
t:formdata: * H4sIAFvzloG1XJZBOiNNvyizOFvfuSg1sSTVKhlMJSaXZObnFRcxWOQXpeslFiQmZ6TqlSQWpBaXFFWa6iXnF6XmZCYB6dyC/LzUvJJivaDElMx896L80gKV4NSS0oKJBvt0NvN9PsTEwOjDwJ2cn1dSlJ/jl5ibWsIg5JOVWJaon5OYl64fXFKUmZduXVFQwsADsdoRbDVhl5mQ4TLDUxWnTm0K/ruPiYGhoqBcjkEGzY6C/KKStPwcoA1AlwItscZrSVJicaqeYxJQEOgq

Re: Error posting a simple form

2008-05-29 Thread Howard Lewis Ship
I know the FormFragment code has been in flux recently. Some more may come up as I work on the AjaxFormLoop component. This doesn't show up in my tests. It would be interesting to see more of the output HTML and the posted values fro the t:formdata query parameter. On Thu, May 29, 2008 at 8:01

Re: t5-components MultipleSelect use

2008-05-29 Thread zack1403
Hmm, still getting the error: Render queue error in BeforeRenderTemplate[survey/contact/Upload:multipleselect]: Failure reading parameter 'encoder' of component survey/contact/Upload:multipleselect: Could not find a coercion from type org.apache.tapestry.internal.services.StringValueEncoder to ty

Re: Eating the dog food: experiences with T5 so far

2008-05-29 Thread Howard Lewis Ship
On Thu, May 29, 2008 at 6:59 AM, Dan Adams <[EMAIL PROTECTED]> wrote: > Hey all, > > I've been pretty quiet the last couple months because I've been very, very > focused on a high-priority project here at the factory. We recently decided > to use T5 for the project (a pretty major move which I ex

Re: [T5] StreamResponse causes java.lang.IllegalStateException

2008-05-29 Thread Peter Stavrinides
Not enough info here to be precise about this one, but an 'illegal state' is mostly caused by trying to modify a response that is already closed, or alternatively trying to start a new response before the old one is closed this can often be fixed by ensuring you use a return statement in the cor

Error posting a simple form

2008-05-29 Thread Peter Stavrinides
Hi All I am using the Tapestry 5.0.12-SNAPSHOT, and I suspect a recent update caused my form to break, but I am at a loss... perhaps someone can help me with this? the error I get is as follows: org.apache.tapestry5.runtime.ComponentEventException: Not in GZIP format [at classpath:com/albou

Eating the dog food: experiences with T5 so far

2008-05-29 Thread Dan Adams
Hey all, I've been pretty quiet the last couple months because I've been very, very focused on a high-priority project here at the factory. We recently decided to use T5 for the project (a pretty major move which I expect to extend to the rest of engineering) and I thought I'd share some of wha

Re: T5 Creating a Library of Custom Components

2008-05-29 Thread Marcus
Hi Thiago, - MANIFEST.MF was extracted from JAR and checked, file is ok - Try putting JAR in project build path. same error :( Marcus

Re: T5 Creating a Library of Custom Components

2008-05-29 Thread Thiago HP
On 5/28/08, Marcus <[EMAIL PROTECTED]> wrote: > Hi Thiago, > > You are right, LibraryModule was not loaded. Hi! Check your JAR's MANIFEST.MF. If it is OK, try putting your JAR in the classpath through Eclipse project settings instead of just dropping your JAR in WEB-INF/lib. -- Thiago ---

[T5] StreamResponse causes java.lang.IllegalStateException

2008-05-29 Thread Donyee
when i click to submit the form, i got java.lang.IllegalStateException. I search the web and found that wes because the wrong use of response.getOutputStream(); and response.getWriter(); Is this a bug? how to fix this? In my java code: StreamResponse onSuccess() { return new TextStreamRes

Autoformatting..

2008-05-29 Thread kk4Nabble
Hi all, Is there any way to autoformat ssnfield other than maskedit in tapestry 4.1.5.. Please help me with this.. Thanks in advance -- View this message in context: http://www.nabble.com/Autoformatting..-tp17532403p17532403.html Sent from the Tapestry - User mailing list archive at Nabb

Re: Tapestry 5 FYI Page with no extension (tml) crashes

2008-05-29 Thread Sven Homburg
there is an issue for that http://issues.apache.org/jira/browse/TAPESTRY-2384 2008/5/29 maxthesecond <[EMAIL PROTECTED]>: > > It happened to me that I forgot to add the tml extension to a page , from > that moment I could not launch the application and jetty ended by crashing > due to a stack ove

Tapestry 5 FYI Page with no extension (tml) crashes

2008-05-29 Thread maxthesecond
It happened to me that I forgot to add the tml extension to a page , from that moment I could not launch the application and jetty ended by crashing due to a stack overflow Just adding the extension and everithing went Ok again. By the way , is it possible to have pages but not to use them? I

Re: How to Localize persistent Objects

2008-05-29 Thread Bastian Voigt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian Koeberl wrote: > There are two good practices to do database i18n: > http://www.theserverside.com/tt/blogs/showblog.tss?id=HibernateInternational Christian, thanks a lot for this link, esp. the first one is quite interesting! I like it becau

Re: How to Localize persistent Objects

2008-05-29 Thread Bastian Voigt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Andreou wrote: > http://wiki.apache.org/tapestry/HowTos > > see the Resources / I18n section Andreas, thank you for the link! Two further questions: 1. Do I need Spring to do it? (we're not using Spring) 2. I want all my tapestry component

Re: 答复: About tapestry5 and spring-acegi

2008-05-29 Thread Robin Helgelin
2008/5/29 滕训华 <[EMAIL PROTECTED]>: > Thank for your quickly reply,yes,I am understanding tapestry-acegi,but I > think spring have the good documents and reference.So I hope I can use > spring-acegi. If you want to use spring-acegi yourself, you can always look at tapestry-acegi sources if you want

Re: how to capture the submit event which occured from a input type=image

2008-05-29 Thread LakshithaS
Thanks Dav, ill look into that, this is a good approach using T5 Davor Hrg wrote: > > my advice is : > go to t5 source > copy paste submit component into your own > upgrade it a bit and youoll get all you need. > > The submit component calls the selected event on parent component, > you must c

Re: T5: ETA for t5-acegi and t5-components to work with SNAPSHOT?

2008-05-29 Thread Robin Helgelin
Hi! On Wed, May 28, 2008 at 12:51 AM, Franz Amador-2 <[EMAIL PROTECTED]> wrote: > Unsurprisingly, due to the package-name changes, t5-acegi and t5-components > no longer work with the snapshot version of t5. Are there snapshot versions > of them that use the new package names? I didn't see one f

Re: 答复: About tapestry5 and spring-aceg i

2008-05-29 Thread Stephane Decleire
Our projects is based on Tap5, Spring2 and Acegi and the glue for Acegi is tapestry-acegi ... But if you want more informations about how to use spring-acegi, perhaps the Spring mailing list would be more appropriate ... Stephane 滕训华 a écrit: > Thank for your quickly reply,yes,I am understanding

答复: About tapestry5 and spring-acegi

2008-05-29 Thread 滕训华
Thank for your quickly reply,yes,I am understanding tapestry-acegi,but I think spring have the good documents and reference.So I hope I can use spring-acegi. -邮件原件- 发件人: Stephane Decleire [mailto:[EMAIL PROTECTED] 发送时间: 2008年5月29日 16:03 收件人: Tapestry users 主题: Re: About tapestry5 and spri

Re: About tapestry5 and spring-acegi

2008-05-29 Thread Stephane Decleire
Why don't you have a look at tapestry-acegi ? (http://www.localhost.nu/java/tapestry5-acegi/) Stephane 滕训华 a écrit: > I want to integrate the spring and tapestry and spring-acegi. I have already > integrated the spring and tapestry or tapestry and spring-acegi,but how can > I integrate this three

About tapestry5 and spring-acegi

2008-05-29 Thread 滕训华
I want to integrate the spring and tapestry and spring-acegi. I have already integrated the spring and tapestry or tapestry and spring-acegi,but how can I integrate this three parts. When I integrated the spring and tapestry, I use the follow filter: app org.apache.tapestry.

Re: how to capture the submit event which occured from a input type=image

2008-05-29 Thread Davor Hrg
my advice is : go to t5 source copy paste submit component into your own upgrade it a bit and youoll get all you need. The submit component calls the selected event on parent component, you must create a component to get events here's source code for submit component that can cancel a from (it is

Re: Maven problems

2008-05-29 Thread Robin Helgelin
On Thu, May 29, 2008 at 9:18 AM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: > Probably network issues or some such, then. I don't think so, I think maven cached something it shouldn't have. Before downloading the correct jar-files, maven outputted this today, which it didn't yesterday. [INFO] sn

Re: how to capture the submit event which occured from a input type=image

2008-05-29 Thread LakshithaS
Thanks all for the replies, ctually this onSelected method works only with submit component. finally i have finished my work using a hidden field. Still couldn't find a tapestry solution for this matter. nille hammer wrote: > > > Hi Lakshitha, > > the event handler Methods for Submit-Buttons

Re: Maven problems

2008-05-29 Thread Filip S. Adamsen
Probably network issues or some such, then. -Filip Robin Helgelin skrev: On Wed, May 28, 2008 at 10:19 PM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: Hi Robin, Hi. Is that the complete output from Maven? It's usually more detailed... I skipped the non vital parts :) It looks alright t