Re: Debugging ajax requests from various browesers ..

2009-12-15 Thread Gunnar Eketrapp
Great Thiago! Firefox: isXHR = true IE isXHR = false So what can I turn it on in IE ... 2009/12/16 Thiago H. de Paula Figueiredo : > Em Tue, 15 Dec 2009 22:22:38 -0200, Gunnar Eketrapp > escreveu: > >> Hi Thiago! > > Hi! > >> I switched to returning zone.getBodey() and got this from IE (firefo

Re: Debugging ajax requests from various browesers ..

2009-12-15 Thread Thiago H. de Paula Figueiredo
Em Tue, 15 Dec 2009 22:22:38 -0200, Gunnar Eketrapp escreveu: Hi Thiago! Hi! I switched to returning zone.getBodey() and got this from IE (firefox works like a charm) org.apache.tapestry5.runtime.ComponentEventException A component event handler method returned the value Block[Body of Reg

Re: Debugging ajax requests from various browesers ..

2009-12-15 Thread Gunnar Eketrapp
Hi Thiago! I switched to returning zone.getBodey() and got this from IE (firefox works like a charm) Application Exception An unexpected application exception has occurred. org.apache.tapestry5.runtime.ComponentEventException A component event handler method returned the value Block[Body of Reg

Re: Debugging ajax requests from various browesers ..

2009-12-15 Thread Thiago H. de Paula Figueiredo
Em Tue, 15 Dec 2009 20:36:22 -0200, Gunnar Eketrapp escreveu: The event method returns a zone and works with firefox. Anyway, you shouldn't return a Zone itself, you should return zone.getBody(). -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consulta

Re: Christmas Wish List (was: Tapestry 5, JPA and Hibernate)

2009-12-15 Thread Kalle Korhonen
On Tue, Dec 15, 2009 at 1:30 PM, Kalle Korhonen wrote: > It's nice you mention Tynamo even though I've been rather careful > *not* to talk about it here yet before we have our house fully in > order. Tapestry is the enabling technology for both Tynamo and Somebody already asked - the project site

Re: Debugging ajax requests from various browesers ..

2009-12-15 Thread Gunnar Eketrapp
The event method returns a zone and works with firefox. 2009/12/15 Thiago H. de Paula Figueiredo > Em Tue, 15 Dec 2009 20:09:25 -0200, Gunnar Eketrapp < > gunnar.eketr...@gmail.com> escreveu: > > Hi! >> > > Hi! > > > 22:57:46.915 [btpool0-4] WARN o.a.t.s.T.ComponentInstanceResultProcessor >>

Re: Debugging ajax requests from various browesers ..

2009-12-15 Thread Thiago H. de Paula Figueiredo
Em Tue, 15 Dec 2009 20:09:25 -0200, Gunnar Eketrapp escreveu: Hi! Hi! 22:57:46.915 [btpool0-4] WARN o.a.t.s.T.ComponentInstanceResultProcessor - Component Register:telllayout.loginzone was returned from an event What the event handler is returning? It seems you're returning something

Re: DateField Exception

2009-12-15 Thread matt22
is there any demo for T5.1 and simple datefield? thanks My Problem with simple datefield: java.lang.IllegalArgumentExceptionService contribution (to service 'AjaxComponentEventResultProcessor') conflicts with existing contribution (by org.apache.tapestry.commons.TapestryCommonsModule.contributeA

Debugging ajax requests from various browesers ..

2009-12-15 Thread Gunnar Eketrapp
Hi! How do I log the ajax requests that my T5 app receives. My ProtectedPageGateKeeper interceptor does not receive them ... I tried with logging everything coming to it but no Ajax requests did. Anyone? My T5 app dislikes some requests from IE and loggs the following ... 22:57:46.915 [btpool0

Re: Christmas Wish List (was: Tapestry 5, JPA and Hibernate)

2009-12-15 Thread Thiago H. de Paula Figueiredo
Em Tue, 15 Dec 2009 19:30:41 -0200, Kalle Korhonen escreveu: to use and integrate on their so from my perspective, Spring is just another layer of indirection that I'm campaigning to remove (and I say that having used Spring extensively for years in multiple projects). I agree completely. T

Re: Christmas Wish List (was: Tapestry 5, JPA and Hibernate)

2009-12-15 Thread Kalle Korhonen
On Tue, Dec 15, 2009 at 1:40 AM, Alessandro Bottoni wrote: > Il 15/12/2009 06:43, Kalle Korhonen ha scritto: >> Most of the Java applications today are way over-engineered for their >> purpose - while RoR and php folks are running circles around us. > That's true. And that brings me to another, st

Re: T5 / Ajax / ID generation

2009-12-15 Thread Benny Law
Hi, sorry for jumping in, but I ran into this before myself. I still don't quite understand the need for T5 to do this though: If the zone is being replaced during the update, how can element IDs be duplicated inside the zone? Losing control over element IDs is a bit inconvenient, and that's one of

Re: T5 / Ajax / ID generation

2009-12-15 Thread Thiago H. de Paula Figueiredo
Em Tue, 15 Dec 2009 19:07:49 -0200, Gunnar Eketrapp escreveu: Hi! Hi! Is there any way to prevent T5 from adding these numbers. The initally fields have been replaced so it should be safe to reuse the id names !!! I guess not. This is Tapestry trying to avoid having more than one elemen

T5 / Ajax / ID generation

2009-12-15 Thread Gunnar Eketrapp
Hi! We have a login form within a div that is initially hided and slided out by javascript when clicking on a login button. Within this div we use aja to replace the login form with a request forgotton password etc etc. My problem now is when going back from the request forgotton password look a

Re: DateField Exception

2009-12-15 Thread Thiago H. de Paula Figueiredo
Please post the full stack trace. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br ---

DateField Exception

2009-12-15 Thread matt22
Hello, i have easy form and easy datefield ...and i still get exception(in blackbird), when i click on day in calendar, it seems like ajax exception, but i am not using ajax... Communication with the server failed: Exception constructing service 'AjaxComponentEventResultProcessor': Err

Re: API for obtaining absolute URL of the page?

2009-12-15 Thread Ilya Obshadko
Probably you've misunderstood my question. My goal was not to create absolute URI (which is absolute only within a single website), but full external URL that may appear, for example, in RSS feed or mail notification. toAbsoluteURI () method creates exactly what it says: "Converts the link to an

Re: T5 / Ajax / IE7 / ???

2009-12-15 Thread Gunnar Eketrapp
When updating a zone from IE Tapetsry does not recognize the zone. The warn below does only come when using IE. 18:45:12.196 [btpool0-3] DEBUG com.xyz.components.Layout - [ENTER] onActionFromForgotPassword() 18:45:12.197 [btpool0-3] DEBUG com.xyz.components.Layout - [ EXIT] onActionFromForgotPass

Re: T5 / Ajax / IE7 / ???

2009-12-15 Thread Thiago H. de Paula Figueiredo
Em Tue, 15 Dec 2009 15:18:34 -0200, Gunnar Eketrapp escreveu: Hi! Hi! We have problems with ajax in IE7. (+Chrome) What problems? -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and dev

T5 / Ajax / IE7 / ???

2009-12-15 Thread Gunnar Eketrapp
Hi! We have problems with ajax in IE7. (+Chrome) Is there any know issues when it comes to T5 + Ajax + IE7. It works like a charm in FIrefox! Oops Same problem in chrome Any known isues? Thanks in advance! /Gunnar Eketrapp

Re: Mixin used with Submit component

2009-12-15 Thread Ulrich Stärk
Does this help? https://issues.apache.org/jira/browse/TAP5-103 Uli On 15.12.2009 13:09 schrieb Blower, Andy: If I have a mixin that can be used with the T5 Submit component, how can the mixin find out whether the submit is disabled or not? Submit doesn't have an isDisabled() method, is there

T5 : Zone / Tapestry.windowUnloaded / Download link

2009-12-15 Thread cordenier christophe
Hi All When i have a dowload link in my page (generated via EventLink), and zones in the same page. If the download link is clicked, it raises a window.beforeunload event (because of GET). After that the zone do not update anymore, since tapestry.js is listening to 'window.beforeunload' to disable

Mixin used with Submit component

2009-12-15 Thread Blower, Andy
If I have a mixin that can be used with the T5 Submit component, how can the mixin find out whether the submit is disabled or not? Submit doesn't have an isDisabled() method, is there some other way to access the parameters bound to the component from its mixin? Thanks, Andy.

Re: Tapestry 5, JPA and Hibernate

2009-12-15 Thread Thiago H. de Paula Figueiredo
Em Tue, 15 Dec 2009 03:43:19 -0200, Kalle Korhonen escreveu: That's just a typical overengineered design (http://en.wikipedia.org/wiki/Overengineering). What's overengineering for one can be fine for another and even underengineering for a thir person. :) My point is that different people

Grid and Checkboxes

2009-12-15 Thread sandeepraj singh
Hi, I have done some search on the mailing list but have not found a concrete guide for the problem. I want to retrieve the selected rows of the grid via check boxes on the java side of the page. Note, there is no unique key in the data of the grid.

Christmas Wish List (was: Tapestry 5, JPA and Hibernate)

2009-12-15 Thread Alessandro Bottoni
Il 15/12/2009 06:43, Kalle Korhonen ha scritto: > Most of the Java applications today are way over-engineered for their > purpose - while RoR and php folks are running circles around us. That's true. And that brings me to another, strictly related topic: the learning curve of Tapestry 5. On the N