Re: Upcoming Tapestry Training: Howard Lewis Ship and SkillsMatter

2010-11-16 Thread Alessio Gambi
Hi, On Tue, Nov 16, 2010 at 11:34 PM, Howard Lewis Ship wrote: > I have two public training sessions for Tapestry coming up. These are my > hands-on workshop, a four day course that takes you from zero to writing > testable, Ajax-enhanced, database-driven applications by day four. > > An outlin

Re: Form field inputs automatically cleared when "success" reached!?

2010-11-16 Thread Fernando Padilla
I think he meant, that he opens the database transaction in the validation step.. then some unknown time later, he commits it within success. that does sound a bit dirty to me. On 11/16/10 11:03 AM, Howard Lewis Ship wrote: On Mon, Nov 15, 2010 at 9:22 PM, Kalle Korhonen wrote: That's exact

[5.1.0.5] Log4J and Jetty Stand-Alone?

2010-11-16 Thread Rich M
Hi, I've been running 5.1.0.5 just fine using Maven to run the jetty:run goal. I had been loading a dependency to the log4j-1.2.8.jar file on my local system to run logging throughout the application. Everything worked fine. Now I've been asked to remove Maven from the execution path for a

Upcoming Tapestry Training: Howard Lewis Ship and SkillsMatter

2010-11-16 Thread Howard Lewis Ship
I have two public training sessions for Tapestry coming up. These are my hands-on workshop, a four day course that takes you from zero to writing testable, Ajax-enhanced, database-driven applications by day four. An outline of the course is available at: http://howardlewisship.com/training.html

Re: Devoxx 2010

2010-11-16 Thread Howard Lewis Ship
Wish I was there! On Tue, Nov 16, 2010 at 11:41 AM, Katia Aresti wrote: > Ok, > > let's say 13:10 in front of the stairs :) > > see you all tomorrow !!! > > Katia > > 2010/11/16 Igor Drobiazko > > > Ok, let meet there at lunch time. > > > > I think I'll wear a shirt with a very big Tapestry logo

Re: tapestry-resteasy next release

2010-11-16 Thread Borut Bolčina
Hooray! 2010/11/16 Alejandro Scandroli > Hi Borut and other tapestry-resteasy users > > In a very lucky turn of events (at least for us) TAP5-1349 made it in > to the 5.2.4 release that is being voted right now :P > Expect a new release of tapestry-resteasy soon. > > Thanks to Igor for taking ca

Re: Devoxx 2010

2010-11-16 Thread Katia Aresti
Ok, let's say 13:10 in front of the stairs :) see you all tomorrow !!! Katia 2010/11/16 Igor Drobiazko > Ok, let meet there at lunch time. > > I think I'll wear a shirt with a very big Tapestry logo to be recognized :) > > On Mon, Nov 15, 2010 at 3:13 PM, Katia Aresti > wrote: > > > Hi, > >

Re: Form field inputs automatically cleared when "success" reached!?

2010-11-16 Thread Kalle Korhonen
On Tue, Nov 16, 2010 at 11:03 AM, Howard Lewis Ship wrote: > On Mon, Nov 15, 2010 at 9:22 PM, Kalle Korhonen > wrote: >> That's exactly the reason why I typically save and catch the errors in >> onValidateForm but commit only in onSuccess. Purists claim it's misuse >> of the validate event but in

Re: Devoxx 2010

2010-11-16 Thread Igor Drobiazko
Ok, let meet there at lunch time. I think I'll wear a shirt with a very big Tapestry logo to be recognized :) On Mon, Nov 15, 2010 at 3:13 PM, Katia Aresti wrote: > Hi, > > For the place, we can meet at lunch time on the front door stairs. (in the > entry) > We can meet there before or after ca

Re: Form field inputs automatically cleared when "success" reached!?

2010-11-16 Thread Howard Lewis Ship
On Mon, Nov 15, 2010 at 9:22 PM, Kalle Korhonen wrote: > That's exactly the reason why I typically save and catch the errors in > onValidateForm but commit only in onSuccess. Purists claim it's misuse > of the validate event but in practice makes sense. > Who are these purists? That's exactly wh

Re: How return pre-filled beanEditForm in zone update

2010-11-16 Thread Thiago H. de Paula Figueiredo
On Tue, 16 Nov 2010 15:58:03 -0200, Николай Улога wrote: Dear Tapestry users, Hi! in my experiments with Tapestry 5 i'd like to return a beanEditForm in the zone which update is being triggered by actionLink. More specifically, when user clicks on actionlink - he is providing page contr

How return pre-filled beanEditForm in zone update

2010-11-16 Thread Николай Улога
Dear Tapestry users, in my experiments with Tapestry 5 i'd like to return a beanEditForm in the zone which update is being triggered by actionLink. More specifically, when user clicks on actionlink - he is providing page controller with id of the object which is being fetched from dB and should be

RE: RE: RE: contribute mystery

2010-11-16 Thread Jens Reufsteck
The short answer is, that following Fred's suggestion and adding the dispatcher before ComponentEvent, solves the problem. The longer answer is, that even with an empty dispatcher, the behaviour stays strange, if it is added before PageRenderer. Once Tapestry is up, the dispatcher is either con

Re: Form field inputs automatically cleared when "success" reached!?

2010-11-16 Thread Massimo Lusetti
On Tue, Nov 16, 2010 at 4:27 PM, Vjeran Marcinko wrote: > Not sure I quite understood you, but... Hope to be more clear... > I don't say there is no easy workaround for this  - use ValidateForm and > return "this", although one could argue that "validateForm" isn't the right > name for method w

Re: Form field inputs automatically cleared when "success" reached!?

2010-11-16 Thread Vjeran Marcinko
- Original Message - From: "Massimo Lusetti" To: "Tapestry users" Sent: Tuesday, November 16, 2010 4:11 PM Subject: Re: Form field inputs automatically cleared when "success" reached!? On Tue, Nov 16, 2010 at 4:00 PM, Vjeran Marcinko wrote: Long time ago this was reported on JIRA

Re: Form field inputs automatically cleared when "success" reached!?

2010-11-16 Thread Massimo Lusetti
On Tue, Nov 16, 2010 at 4:00 PM, Vjeran Marcinko wrote: > Long time ago this was reported on JIRA, but Howard closed the issue due to > some back-compatibility issues: > https://issues.apache.org/jira/browse/TAP5-182 And there you were specifically told to us the validation event handler method

Re: Form field inputs automatically cleared when "success" reached!?

2010-11-16 Thread Vjeran Marcinko
- Original Message - From: "Massimo Lusetti" Newsgroups: gmane.comp.java.tapestry.user To: "Tapestry users" Sent: Tuesday, November 16, 2010 10:30 AM Subject: Re: Form field inputs automatically cleared when "success" reached!? On Tue, Nov 16, 2010 at 6:22 AM, Kalle Korhonen wrote

RE: RE: contribute mystery

2010-11-16 Thread Jens Reufsteck
Hi nillehammer with further testing on Tomcat I'm finding the following in catalina.out: Exception in thread "Timer-0" java.lang.NullPointerException at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:25 5) at com.mchange.v2.resourcepool.BasicResourcePool

Re: Re: XML requests

2010-11-16 Thread niksami
Thank you. I'll try that, and then I'll inform you about success. Kind regards, Niksa -- View this message in context: http://tapestry.1045711.n5.nabble.com/XML-requests-tp3265672p3267210.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Re: XML requests

2010-11-16 Thread Thiago H. de Paula Figueiredo
On Tue, 16 Nov 2010 09:55:06 -0200, niksami wrote: And parameter name should be? Name of textarea from which is sent XML POST request? Yes. It's just an ordinary text area. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instru

Re: Re: XML requests

2010-11-16 Thread niksami
And parameter name should be? Name of textarea from which is sent XML POST request? -- View this message in context: http://tapestry.1045711.n5.nabble.com/XML-requests-tp3265672p3267201.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Re: XML requests

2010-11-16 Thread Thiago H. de Paula Figueiredo
On Tue, 16 Nov 2010 09:48:33 -0200, niksami wrote: So my problem is how I can exchange that XML between that 2 applications. I can return it by TextStreamResponse, but how can I receive it from that other app? That other app will send the XML POST request. Just @Inject Request and use the

Re: Re: XML requests

2010-11-16 Thread niksami
Ok... This is simplified situation... Another application needs to communicate with my Tapestry application (to get some data). That application will send XML to my page. On my page I will get that XML, add some data to it, and then return the XML back to that application. So my problem is how I

Re: Re: XML requests

2010-11-16 Thread Richard Hill
You need to be a little clearer about the flow of your XML - where it originates, what you need to do with it and where it needs to go. -Original Message- From: niksami Reply-to: "Tapestry users" To: users@tapestry.apache.org Subject: Re: Re: XML requests Date: Tue, 16 Nov 2010 03:

Re: Re: XML requests

2010-11-16 Thread niksami
Thank you again for your answer. But I don't understand you completely. Form with TextArea can be used to obtain XML from another page that is sent to my page with POST, or just to send POST? How can I access that XML that other page sent me? Do I need to use Request, and then access it from param

Re: Re: XML requests

2010-11-16 Thread Thiago H. de Paula Figueiredo
On Tue, 16 Nov 2010 06:56:34 -0200, niksami wrote: Yes, I need POST to receive XML and then GET to return the new XML back to that app. TextStreamResponse works well to return the XML back, but can someone show me some example with POST. Just something like "Hello World" example to show me

Re: Form field inputs automatically cleared when "success" reached!?

2010-11-16 Thread Massimo Lusetti
On Tue, Nov 16, 2010 at 6:22 AM, Kalle Korhonen wrote: > That's exactly the reason why I typically save and catch the errors in > onValidateForm but commit only in onSuccess. Purists claim it's misuse > of the validate event but in practice makes sense. Not at all! It varies between situation bu

Re: Form field inputs automatically cleared when "success" reached!?

2010-11-16 Thread niksami
Mark fields used in form with @Persist("flash") annotation, so they won't be cleared if you catch some error during validation. These fields will be cleared after second reload of page, and that will supply your needs I think. If you need to stay on that page after the form is successfully submitt

Re: Re: XML requests

2010-11-16 Thread niksami
Thank you for your answers. Yes, I forgot about special signs, but also I found that activation context would not supply my needs (because that other app can not access my page with added arguments to URL). Yes, I need POST to receive XML and then GET to return the new XML back to that app. Text