Re: [T5] Page naigation using submit

2008-10-20 Thread Ville Virtanen
Hi, and sorry for my bad English :) I meant that I re-invented the wheel, not you. And yes, there are no links that can submit without js. I wrote those comments after a 12 hour work day. I should never do that again :D - Ville Joachim Van der Auwera wrote: Ville Virtanen wrote: Always

Meeting Howard in Paris

2008-10-20 Thread Francois Armand
Hello, This a is a pure community oriented email ;) My team-mate and I met Howard in Paris 2 week ago (yes, I was a long time ago... Say, the lag is due to the time zone). That was a really nice evening, with a lot of T5 related talks, and a litle too much wine for me :) For whose who are

Re: so much useless logging

2008-10-20 Thread Neeme Praks
There is a JIRA issue about this: https://issues.apache.org/jira/browse/TAP5-119 Please vote, so we get it higher on priority list. Fernando Padilla wrote: alright, so we just upgraded from 5.0.11 to 5.0.16-SNAPSHOT, so sorry I was not able to complain earlier.. Please help: but tapestry

Re: Core dump when debugging @OnEvent methods on Page (JDK 1.6.0_10, Eclipse 3.3.2)

2008-10-20 Thread Joel Halbert
I managed to resolve the issue by refactoring all the code out of the event handling method, and delegating the call to another method : @OnEvent(save) void save() { doSave(); } If the breakpoint is placed in doSave() instead of save() it all works fine. Joel Halbert

Core dump when debugging @OnEvent methods on Page (JDK 1.6.0_10, Eclipse 3.3.2)

2008-10-20 Thread Joel Halbert
Hi, Has anyone experienced core dumps when trying to debug T5 Page Event handler methods using a 1.6.0_10 jdk, on eclipse 3.3.2 ? I keep getting the following dump when my breakpoint is hit : # # An unexpected error has been detected by Java Runtime Environment: # # Internal Error

Re: Access to HttpSessions

2008-10-20 Thread Peter Stavrinides
This is something you have to do for yourself, as a session is specific to the container, and most containers expose the bare minimum for session handling in their API. Fortunately its very easy to do... best use a database table, that way you can collect some handy usage stats over time.

Session bleedings in Tapestry5

2008-10-20 Thread superoverdrive
I have heard there are some issues with Session bleedings in Tapestry5. Will those issues be fixed by November? I would like to go live with a T5 application by November/December Thanks! Tobias - To unsubscribe, e-mail:

Re: Session bleedings in Tapestry5

2008-10-20 Thread Tobias Wehrum
Hello namesake, Since I've never heared about this too, I searched the Mailing List and JIRA and didn't find any issue which you could've meant. Where did you hear that? - Tobias [EMAIL PROTECTED] schrieb: I have heard there are some issues with Session bleedings in Tapestry5. Will those

Re: [T5] org.apache.tapestry5.runtime.ComponentEventException - Stack is empty

2008-10-20 Thread mdes
Hi Ville, thanks a lot for your quick reply. I'm using Tapestry 5.0.15. I read the decorator tutorial, but unfortunally it didn't help. So I jumped to Jboss logs in order to try to undestand, and here below you can see the result. Is this log showing something I don't catch? 13:31:47,978

Re: [T5] org.apache.tapestry5.runtime.ComponentEventException - Stack is empty

2008-10-20 Thread Ville Virtanen
Hi again, I have to say that I really don't know what's going on, but it seems to originate from MatchPopulate.tml, so the answer will be found there. Make sure that you really have only one java-assist etc. in the classpath. If you develop with maven execute mvn dependency:tree and analyze

Re: Session bleedings in Tapestry5

2008-10-20 Thread Peter Stavrinides
I have never come across such a problem either, and we have done a lot of testing for this. Your problem sounds like it has little to do with the session and more to do with page pooling, i.e.: how you initialize your pages. The golden rule there is that your fields must always be private, and

Re: [T5] org.apache.tapestry5.runtime.ComponentEventException - Stack is empty

2008-10-20 Thread Thiago H. de Paula Figueiredo
Em Mon, 20 Oct 2008 09:36:32 -0300, Ville Virtanen [EMAIL PROTECTED] escreveu: I have to say that I really don't know what's going on, but it seems to originate from MatchPopulate.tml, so the answer will be found there. I agree with Ville, and maybe this empty stack error is related to the

Re: Session bleedings in Tapestry5

2008-10-20 Thread Daniel Jue
I've also never come across this kind of problem. It would be interesting to see the code that caused what the developer said was happening. As others have suggested, it's easy to do this if you are using statics (or if your private vars get initialized by statics in the setup phase). On Mon,

Re: Session bleedings in Tapestry5

2008-10-20 Thread superoverdrive
I quote from a chat protocol with a developer: Take for eg, if there are 10 users at present using our website, then first user clicks on 1st page, and 5th user clicks on 2nd page, and 3 rd person clicks on 3 page and using it. And if the user 1 is clcked on 8 page at that time user 3 want to

[T5] Strange problems using jetty:run

2008-10-20 Thread cnoleherzer
Hi Guys, first of all i am using Tapestry5.0.14 and maven2 to build a website, maven jetty plugin (mvn jetty:run) to launch the application. Everything has worked fine util today i used mvn clean to remove the war file, and then mvn jetty:run didn't work. All pages are gone, or the templates of

Re: Session bleedings in Tapestry5

2008-10-20 Thread superoverdrive
Tapestyr5 or 4 ? Here, this developer means Tapestry5 Original-Nachricht Datum: Mon, 20 Oct 2008 08:46:15 -0400 Von: Daniel Jue [EMAIL PROTECTED] An: Tapestry users users@tapestry.apache.org Betreff: Re: Session bleedings in Tapestry5 I've also never come across this

Re: Session bleedings in Tapestry5

2008-10-20 Thread Carl Crowder
I currently use Tapestry 5.0.13 (soon to be upgraded) in a live system used by plenty of people at once and I have not had this issue at all. [EMAIL PROTECTED] wrote: Tapestyr5 or 4 ? Here, this developer means Tapestry5 Original-Nachricht Datum: Mon, 20 Oct 2008

Re: Session bleedings in Tapestry5

2008-10-20 Thread Howard Lewis Ship
This might be possible if a field was marked with @Retain instead of @Persist. @Retain marks fields that are safe to share between different users, things like computed DateFormats. Interestingly, I've never used @Retain in one of my applications. Fields that store user-specific data that must

Client side validation

2008-10-20 Thread tapestry5
I am working on Tapestry 5.0.13 version. I have 2 radio buttons in my page and i need to set client side validation on the click of radio buttons. Below is the eg: Radio Button 1 Radio Button 2 TextField1 TextField2 TextField3 TextField4 On click of Radio Button 1: TextField1 should not be

[T5] org.apache.tapestry5.runtime.ComponentEventException - Stack is empty

2008-10-20 Thread mdes
Dear all, I need your help because I don't understand the real cause of my problem. I injected one page, say AnotherPage, in MyPage.java. When I try to use one of the setter methods of AnotherPage to pass a value contained in MyPage, I got this error:

[T5] Unclosed empty HTML tags (bug?)

2008-10-20 Thread Gabriel Rodriguez
When Tapestry 5 produces HTML from my TMLs it's removing the / from the end of my empty tags, leaving them unclosed and causing rendering problems on the browser. Is this by design? Is there a setting that needs to be changed? Thanks, Gabriel F. Rodríguez Associate Software Engineer,

Re: [T5] org.apache.tapestry5.runtime.ComponentEventException - Stack is empty

2008-10-20 Thread Ville Virtanen
Hi, What T5 version are you using? Anyway, add decorate request handler to your app.module as described here: http://tapestry.apache.org/tapestry5/cookbook/exceptions.html (Version 3: Decorating the RequestExceptionHandler, bottom of the page.) Set break point inside the decorator to get

Re: Session bleedings in Tapestry5

2008-10-20 Thread Ville Virtanen
I've never heard of that? I suspect that this is due to the fact that the T5 page pool is forgotten and @Retain is used or something similar? Page cannot contain ANY instance variables, excluding the ones that are same regardless of the session (user) accessing the page or maintained by T5.

Re: [T5] Unclosed empty HTML tags (bug?)

2008-10-20 Thread Francois Armand
Gabriel Rodriguez wrote: When Tapestry 5 produces HTML from my TMLs it's removing the / from the end of my empty tags, leaving them unclosed and causing rendering problems on the browser. Is this by design? Is there a setting that needs to be changed? What exactly is your problem, on which

Re: [T5] Strange problems using jetty:run

2008-10-20 Thread Peter Stavrinides
Are you using eclipse? using a mvn clean has been known to wipe your projects build path, you will have to restore it. -- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it.

T5: Handle session time out error on ExceptionReport

2008-10-20 Thread gajananji
Hi all, How to inform end users that the session has expired? Can I do it in the ExceptionReport page? thx. Gajanan -- View this message in context: http://www.nabble.com/T5%3A-Handle-session-time-out-error-on-ExceptionReport-tp20070324p20070324.html Sent from the Tapestry - User mailing

Re: Client side validation

2008-10-20 Thread Thiago H. de Paula Figueiredo
Em Mon, 20 Oct 2008 11:00:20 -0300, tapestry5 [EMAIL PROTECTED] escreveu: I am working on Tapestry 5.0.13 version. I have 2 radio buttons in my page and i need to set client side validation on the click of radio buttons. On click of Radio Button 1: TextField1 should not be empty. On click

RE: [T5] Unclosed empty HTML tags (bug?)

2008-10-20 Thread Gabriel Rodriguez
The problem is particularly evident with: link rel=stylesheet href=${style} type=text/css/ The resulting HTML document contains only: link rel=stylesheet href=${style} type=text/css (no slash!) I have tried it with no DOCTYPE declaration and with an XHTML 1.0 Strict declaration and in both

Datefield ignores custom Date-String coersion?

2008-10-20 Thread Andreas Pardeike
Hi, we have our own Date-String coersion handler installed and by using the explain method in the coersion API, we can see that it's called and working fine. Why is it then that our beanform does not use the coersion at all? /Andreas Pardeike

Re: [T5] Unclosed empty HTML tags (bug?)

2008-10-20 Thread Joel Halbert
I've seen a loop iterator around options tags produce the following: optionvalue instead of optionvalue/option But it only happens only when I try to render the selected attribute of the option in the loop, something like: option t:type=loop t:source=x t:value=y

Re: Session bleedings in Tapestry5

2008-10-20 Thread superoverdrive
Thanks for the quick reply. Good to hear that this is not an issue in T5. Original-Nachricht Datum: Mon, 20 Oct 2008 06:52:54 -0700 Von: Howard Lewis Ship [EMAIL PROTECTED] An: Tapestry users users@tapestry.apache.org Betreff: Re: Session bleedings in Tapestry5 This might

RE: need help setting up FCKEditor component

2008-10-20 Thread Gabriel Rodriguez
The good news is the IDE and Maven didn't complain when I added the repository and the dependency, however, I still can't get it to work. I've tried so many configurations I'm really not sure what might be going wrong. Is there anyone who could walk me through this starting from the fresh

Re: so much useless logging

2008-10-20 Thread Fernando Padilla
sorry. nope. the log that I included did not include the generated class code. And I hit my Start page a few times to make sure I wasn't mad either. The log I included is being spit out for every single request of my Start page! Toby Hobson wrote: I agree that this is a little annoying

Re: [T5] Unclosed empty HTML tags (bug?)

2008-10-20 Thread Francois Armand
Gabriel Rodriguez wrote: The problem is particularly evident with: link rel=stylesheet href=${style} type=text/css/ The resulting HTML document contains only: link rel=stylesheet href=${style} type=text/css (no slash!) I have tried it with no DOCTYPE declaration and with an XHTML 1.0 Strict

Re: T5 - Can't get the tapestry 5 quickstart maven archetype to resolve

2008-10-20 Thread BarryDev
Managed to get this to work by adding -DremoteRepositories=http://tapestry.formos.com/maven-snapshot-repository/ -DarchetypeVersion=5.0.16-SNAPSHOT to the command. Found it on this page http://tapestry.apache.org/tapestry5/quickstart/ . Guess how I was adding the snapshot repository to my

RE: [T5] Unclosed empty HTML tags (bug?)

2008-10-20 Thread Gabriel Rodriguez
Following the Wiki article did the trick! Be sure and do what it says on the bottom for the latest versions. Don't do the stuff on the top. Thanks! -Original Message- From: Francois Armand [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2008 10:03 AM To: Tapestry users Subject: Re:

Re: [T5] Strange problems using jetty:run

2008-10-20 Thread cnoleherzer
Thanks Peter, problem solved. Peter Stavrinides wrote: Are you using eclipse? using a mvn clean has been known to wipe your projects build path, you will have to restore it. -- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read,

String encoding in activation context

2008-10-20 Thread shymon
I have written simple search app using Tapestry 5.0.15. User query from text field is passed between requests via onPassivate and onActivate methods. Here is a page class source excerpt: public class Index { private String _userQuery; private String _correctedQuery; @ApplicationState

T5 Handling invalid urls with redirects

2008-10-20 Thread nillehammer
Hi List, Long time no see. I have finally got my application online and am facing two problems, I have not thought of before. Both of which are users or search bots (namely google) using wrong urls. 1.) I have got an index Page in the root which works fine, but my beloved users tend to type

Re: T5 Handling invalid urls with redirects

2008-10-20 Thread Martin Strand
We switched from PHP to Tapestry last year and I'm using a rewrite filter to redirect old urls to the new ones: http://tuckey.org/urlrewrite/ Martin On Mon, 20 Oct 2008 22:05:38 +0200, nillehammer [EMAIL PROTECTED] wrote: Hi List, Long time no see. I have finally got my application

Re: Overriding BeanBlockSource (serious issue with contributeBeanBlockSource)

2008-10-20 Thread Moritz Gmelin
Hi Howard, Thanks for taking the time to answer. I understand the licensing thing. However the other problem seems to be more serious. My own contributed BeanBlockSources to override the standard Date editor is taken into account on a random basis. I have added some println's in

Re: Tapestry 5.0.15 DateField localization problem [patch included]

2008-10-20 Thread Mikaël Cluseau
I think it should work, but I'm not absolutly sure. Since you can't select the time zone in the calendar (hopefully!), you may be right to avoid transfering timezone information, because it could change the day when going from/to the server to/from the client. Example. I'm at GMT+11. If write

how to override tapestry core components?

2008-10-20 Thread Fernando Padilla
I need to override the tapestry core components ( PageLink, EventLink ), within a library, not within an application. I created a library that all of our facebook apps use. We need to override the PageLink and EventLink components to be able to work within facebook properly (minimal