Re: [ANN] JumpStart 4.8 released

2010-05-18 Thread Ulrich Stärk
There is, on http://tapestry.apache.org/ Uli On 18.05.2010 00:27, Paul Stanton wrote: Thanks Geoff, The page AJAX On Event: the ZoneUpdater Mixin looks similar to what i need to achieve. Also, I am surprised there isn't a link to your resource from the tapestry main page! Geoff Callender

Ajax.Request to handle a multizone update?

2010-05-18 Thread Paul Stanton
Hi all, I've set up an Ajax.Request to call a listener method in my component. The listener method returns a MultiZoneUpdate. return new MultiZoneUpdate(myZone, myZone); // this will update more zones once I get it working My question is, what do I have to do in my onComplete (or onSucess)

5.2.0-SNAPSHOT repositories are down?

2010-05-18 Thread Inge Solvoll
I'm trying to switch my T5 version to 5.2.0 in maven, but it wasn't able to download. I then tried to run the archetype, see the console output below. I checked this url: http://tapestry.formos.com/maven-snapshot-repository/org/apache/tapestry/tapestry-core/ So the repository seems to be up.

Re: 5.2.0-SNAPSHOT repositories are down?

2010-05-18 Thread Andreas Andreou
Hi, try mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org Also, we've starting using apache's infrastructure to host the snapshots so: http://repository.apache.org/snapshots On Tue, May 18, 2010 at 10:38, Inge Solvoll inge.tapes...@gmail.com wrote: I'm trying to switch my T5

Re: 5.2.0-SNAPSHOT repositories are down?

2010-05-18 Thread Inge Solvoll
That archetype leads me to choosing 5.1.0.5. I've tried tons of different repository urls here, none working. Does anyone have one that is proven to work? On Tue, May 18, 2010 at 10:53 AM, Andreas Andreou andy...@di.uoa.gr wrote: Hi, try mvn archetype:generate

Re: 5.2.0-SNAPSHOT repositories are down?

2010-05-18 Thread Andreas Andreou
why 5.1.0.5 ? when you run mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org; it gives (i just tried fyi): Choose archetype: 1: http://tapestry.apache.org - quickstart (Tapestry 5.2.0-SNAPSHOT Quickstart Project) 2: http://tapestry.apache.org - quickstart (Tapestry 5.1.0.5

Re: 5.2.0-SNAPSHOT repositories are down?

2010-05-18 Thread Inge Solvoll
Thanks for helping me here! Must be something wrong with our local NEXUS server then, I get this: [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] [INFO] Building Maven

Re: 5.2.0-SNAPSHOT repositories are down?

2010-05-18 Thread Andreas Andreou
perhaps your nexus instance needs to be setup to proxy the snapshots repository from https://repository.apache.org On Tue, May 18, 2010 at 12:46, Inge Solvoll inge.tapes...@gmail.com wrote: Thanks for helping me here! Must be something wrong with our local NEXUS server then, I get this:

Re: Ajax.Request to handle a multizone update?

2010-05-18 Thread Vassilis Bekiaris
Hi, in a page I would do the following (not really sure if you may apply this in a component, however I see no reason why you shouldn't be able to do this): 1. Include an eventlink (even if you don't want the ajax update to be invoked by means of clicking the link, include it and hide it

Setting form values with JavaScript triggers Validation

2010-05-18 Thread Stephan Windmüller
Hello! I am trying to update the value of an input field with the value of another with this JavaScript line: targetField.setValue(sourceField.getValue()); However, this triggers the validation which tells me that a value is needed for this field. But I just copied a value there? Does

Tapestry 4.0 on JDK 1.6

2010-05-18 Thread ramachavali
We have an application built on Tapestry 4.0. This application is running on weblogic 9.2 which works on JDK 1.5. Now we are planning to upgrade to Weblogic 10.3, which needs JDK 1.6. Can Tapestry 4.0 work on JDK 1.6? Are there any steps that needs to be taken for making it work on JDK 1.6? If

Re: Tapestry 4.0 on JDK 1.6

2010-05-18 Thread Thiago H. de Paula Figueiredo
On Tue, 18 May 2010 09:58:42 -0300, ramachavali reachr...@rediffmail.com wrote: Can Tapestry 4.0 work on JDK 1.6? I don't know why it wouldn't. Sun always took a lot of care with backwards compatibility. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate

Updating Javascript-Code with a zone

2010-05-18 Thread Alexander Muthmann
Hi there, I currently work on an applications which uses a google-map-api based map with database-loaded data. To get the data in my map, I use a JSONArray which is returned from a method. function addLocations(){ var data = ${courierLocations}; for(i in data ){

Re: Updating Javascript-Code with a zone

2010-05-18 Thread Thiago H. de Paula Figueiredo
On Tue, 18 May 2010 12:40:07 -0300, Alexander Muthmann amuthm...@dev-eth0.de wrote: Hi there, Hi! I currently work on an applications which uses a google-map-api based map with database-loaded data. To get the data in my map, I use a JSONArray which is returned from a method.

Re: Updating Javascript-Code with a zone

2010-05-18 Thread Alexander Muthmann
Hi Thiago! Thanks a lot for your fast reply! This is one thing, I though about, but as far as I can remember, RenderSupport is only available during the render phase. So I cant use it in my actionlink... On Tue, May 18, 2010 at 5:53 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote:

Re: Tapestry 4.0 on JDK 1.6

2010-05-18 Thread Howard Lewis Ship
We've seen some combinations of JDK 1.6 that cause some problems for the bytecode library Tapestry uses, Javassist. However, the way Tapestry 4.0 works, you are unlikely to hit those problems when using JDK 1.6. You will need to experiment a bit, and possibly compile your pages and components

Re: Updating Javascript-Code with a zone

2010-05-18 Thread Thiago H. de Paula Figueiredo
On Tue, 18 May 2010 13:50:15 -0300, Alexander Muthmann amuthm...@dev-eth0.de wrote: Hi Thiago! Thanks a lot for your fast reply! Hi! This is one thing, I though about, but as far as I can remember, RenderSupport is only available during the render phase. You're right. So I cant use it

Re: [T5.1 + TSS 2.1.0] @Secured annotation on class doesn't avoid call to onActivate

2010-05-18 Thread Nicolas Bouillon
Le 17/05/2010 18:40, Thiago H. de Paula Figueiredo a écrit : On Mon, 17 May 2010 11:12:48 -0300, Nicolas Bouillon nico...@bouil.org wrote: Hi, Hi! I'm using Tapestry 5.1 with Tapestry Spring Security 2.1.0 and I've noticied a strange behaviour : But even if the user is not logged in, the

Re: [T5.1 + TSS 2.1.0] @Secured annotation on class doesn't avoid call to onActivate

2010-05-18 Thread Thiago H. de Paula Figueiredo
On Tue, 18 May 2010 15:00:20 -0300, Nicolas Bouillon nico...@bouil.org wrote: I'm afraid it is also a no-go for using TSS with this kind of security hole. What a deception because it is easiest than a spring security XML file. On the other hand, it's easy to create a

Re: Updating Javascript-Code with a zone

2010-05-18 Thread Alexander Muthmann
Thanks again. I'm sorry about the question, but I cant find any example of the RenderNotifier Component, so how to use it?? On Tue, May 18, 2010 at 7:20 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Tue, 18 May 2010 13:50:15 -0300, Alexander Muthmann amuthm...@dev-eth0.de

Re: [T5.1 + TSS 2.1.0] @Secured annotation on class doesn't avoid call to onActivate

2010-05-18 Thread Nicolas Bouillon
Le 18/05/2010 20:06, Thiago H. de Paula Figueiredo a écrit : On Tue, 18 May 2010 15:00:20 -0300, Nicolas Bouillon nico...@bouil.org wrote: I'm afraid it is also a no-go for using TSS with this kind of security hole. What a deception because it is easiest than a spring security XML file. On

RE: [T5.1 + TSS 2.1.0] @Secured annotation on class doesn't avoid call to onActivate

2010-05-18 Thread Jim O'Callaghan
This is really worrying. Is it possible to contribute / decorate a ComponentEventRenderFilter to overcome this security hole? Regards, Jim. -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: 17 May 2010 18:14 To: Tapestry users Subject: Re: [T5.1

Re: [T5.1 + TSS 2.1.0] @Secured annotation on class doesn't avoid call to onActivate

2010-05-18 Thread Thiago H. de Paula Figueiredo
On Tue, 18 May 2010 15:21:43 -0300, Jim O'Callaghan jc1000...@yahoo.co.uk wrote: This is really worrying. Is it possible to contribute / decorate a ComponentEventRenderFilter to overcome this security hole? Just write a ComponentEventRenderFilter with the checking logic and contribute

Re: [T5.1 + TSS 2.1.0] @Secured annotation on class doesn't avoid call to onActivate

2010-05-18 Thread Thiago H. de Paula Figueiredo
On Tue, 18 May 2010 15:20:58 -0300, Nicolas Bouillon nico...@bouil.org wrote: I guess you mean ComponentEventRequestFilter, like this kind of stuf : Yes, I made a typo in the

Re: Updating Javascript-Code with a zone

2010-05-18 Thread Thiago H. de Paula Figueiredo
On Tue, 18 May 2010 15:16:18 -0300, Alexander Muthmann amuthm...@dev-eth0.de wrote: Thanks again. I'm sorry about the question, but I cant find any example of the RenderNotifier Component, so how to use it?? Oops, I was wrong twice: it's RenderNotification and it is a mixin, not a

Re: [T5.1 + TSS 2.1.0] @Secured annotation on class doesn't avoid call to onActivate

2010-05-18 Thread Nicolas Bouillon
Le 18/05/2010 20:55, Thiago H. de Paula Figueiredo a écrit : On Tue, 18 May 2010 15:20:58 -0300, Nicolas Bouillon nico...@bouil.org wrote: I guess you mean ComponentEventRequestFilter, like this kind of stuf : Yes, I made a typo in the

Re: Updating Javascript-Code with a zone

2010-05-18 Thread Alexander Muthmann
Ok, Ill give it a try ;) thanks alot! Mit freundlichen Grüßen Alexander Muthmann On 18.05.2010, at 20:58, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Tue, 18 May 2010 15:16:18 -0300, Alexander Muthmann amuthm...@dev-eth0.de wrote: Thanks again. I'm sorry about the

Re: Sample Tapestry 5 GWT project in wiki

2010-05-18 Thread Shing Hing Man
In case anyone is interested, I have migrated the GWT and Tapestry 5 example described in http://wiki.apache.org/tapestry/Tapestry5GWTIntegration to a Maven Eclipse project using the maven GWT plugin 1.2 and GWT 2.0.3. An online demo is available at: http://lombok.demon.co.uk/t5gwt/ The

Re: Ajax.Request to handle a multizone update?

2010-05-18 Thread Paul Stanton
Thanks Vassilis, The key was in the javascript function processReply processReply : function(reply) { Tapestry.loadScriptsInReply(reply, function() { // In a multi-zone update, the reply.content may be blank or missing. reply.content

Transformation Exception

2010-05-18 Thread Greg Pagendam-Turner
Guys, I'm getting a transformation exception for one of my pages. It only occurs in tomcat6 in production but not under jetty in development. I'd appreciate any ideas on how to track this down please. An unexpected application exception has occurred. * java.lang.RuntimeException

Re: Transformation Exception

2010-05-18 Thread Howard Lewis Ship
Your best bet for dealing with these issues is to first try compiling for JDK 1.5, even if you are deploying on 1.6. You can see why we're working to take Javassist out of the picture! On Tue, May 18, 2010 at 6:26 PM, Greg Pagendam-Turner g...@liftyourgame.com wrote: Guys, I'm getting a