Re: Partly OT: problems with Eclipse / T5

2009-03-18 Thread tapestryphoto
Nothing much to see... I'm perplexed! I've fixed all my Maven problems now. So this leaves problem (2) - the uncatchable exception. The code in getRecordIdsByKeywordGroupsLC() correctly throws the exception. The catch never catches it. There is only one exception class with the name

Re: [T5.1.0.0] Loop in Form problem introduced in T5.1.0.0

2009-03-18 Thread Joost Schouten (mailing lists)
Howard, I had a closer look to volatile in the Loop. Though I don't fully get all the details yet, I don't see why the Form still needs to execute any ComponentAction on the Loop when volatile=true. Why does advanceVolatile need to access the Loop's iterator? When I remove items from the loop

Re: [T5] Form submission via POST and problem under HTTPS

2009-03-18 Thread Borut Bolčina
Hello, I am using 5.0.18 and want to conditionally deploy my web app for http (development) and https (production) without changing source code - that is putting @Secure on page class. I tried public void contributeMetaDataLocator(MappedConfigurationString, String configuration,

Re: Partly OT: problems with Eclipse / T5 (solved)

2009-03-18 Thread tapestryphoto
Please ignore previous posting. Problem (2) was caused by further problems courtesy of Maven screwing up my Eclipse environment. All fixed now. Apologies! p. - To unsubscribe, e-mail:

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Thiago H. de Paula Figueiredo
On Wed, Mar 18, 2009 at 10:00 AM, Hugues Narjoux huguesnarj...@gmail.com wrote: Hi, I am using Tapestry 5.0.18 and I read a lot about tapestry being able to reload classes without a restart. See: http://tapestry.apache.org/tapestry5/guide/reload.html But when I run my webapp in eclipse with

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Borut Bolčina
Check this out http://bbwebcraft.blogspot.com/2009/01/task-3-rapid-turnaround-in-tapestry-5.html Cheers, borut 2009/3/18 Hugues Narjoux huguesnarj...@gmail.com Hi, I am using Tapestry 5.0.18 and I read a lot about tapestry being able to reload classes without a restart. See:

[T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Hugues Narjoux
Hi, I am using Tapestry 5.0.18 and I read a lot about tapestry being able to reload classes without a restart. See: http://tapestry.apache.org/tapestry5/guide/reload.html But when I run my webapp in eclipse with WTP tools, and whenever I make a change to one of my page class, eclipse is always

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Hugues Narjoux
Wow ! Thanks for the quick reply ! However even if i ignore the message, the modification won't appear ... How does this class relaoding thing works ? Is tapestry detecting a change in the .class file ? Or a change in the class loader ? Thanks Hugues On Wed, Mar 18, 2009 at 2:03 PM, Thiago H.

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Thiago H. de Paula Figueiredo
On Wed, Mar 18, 2009 at 10:29 AM, Hugues Narjoux huguesnarj...@gmail.com wrote: Wow ! Thanks for the quick reply ! You're welcome! However even if i ignore the message, the modification won't appear ... I don't use WTP for a very long time (it was much worse and error prone than Tomcat

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Hugues Narjoux
I just ran a test: when a java file is modified, WTP recompiles, publishes it to the server location automatically (so the .class file is updated) but tapestry won't see the change ... This is odd ... You're right, jetty or tomcat launchers are much easier to use. But I have an overly complex

Re: [ANNOUNCE] Tapestry 5.1.0.1 (alpha release)

2009-03-18 Thread Borut Bolčina
Hi Howard, I just tried 5.1.0.1 and got this error on FireFox 3.0.7 on one of my pages which work just fine under 5.0.18 Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. and the stacktrace: ERROR

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Thiago H. de Paula Figueiredo
On Wed, Mar 18, 2009 at 10:57 AM, Hugues Narjoux huguesnarj...@gmail.com wrote: WTP was great here because it would let you configure a deployment descriptor and automaticaly deploy and re-assemble your webapp. I guess the problem is exactly the reassemble process. Many times, when using WTP

Re: [ANNOUNCE] Tapestry 5.1.0.1 (alpha release)

2009-03-18 Thread Thiago H. de Paula Figueiredo
On Tue, Mar 17, 2009 at 11:57 AM, Joachim Van der Auwera joac...@progs.be wrote: Is it possible you have two woodstox implementations on your classpath? This could happen as they (woodstox) changed their groupid at some point which could cause two different versions to be in the classpath.

Re: [T5] Form submission via POST and problem under HTTPS

2009-03-18 Thread Borut Bolčina
My bad, the code bellow works just fine, the Tomcat had a switch -Dtapestry.production-mode=false (I was ooking at the wrong Tomcat instance). I think there is an error in at http://tapestry.apache.org/tapestry5/guide/secure.html: If you want to make your entire application secure: public void

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Peter Stavrinides
This is a pain, and has been an issue for years already... and unfortunately there is no end in site. There is a minor tweak though, WTP has an option (in Tomcat server properties dialog) select 'never publish automatically' regards, Peter - Original Message - From: Thiago H. de Paula

Re: Q : IF component in tapestry 5 ?

2009-03-18 Thread Andy Pahne
Ulrich Stärk schrieb: The test will be true if the provided test returns true or in case of an object return type that object is not null. Or a collection which is not empty. What about arrays? True, if array is not null, true, if array.size 0? I am not sure...

Building page with a for loop causes Out of memory

2009-03-18 Thread ViceGripX
Hi everyone, I am looking for advice on how to overcome a problem I am currently having. What I am trying to do is build a tree structure on a page that needs to be able to contain many nodes and values...I'm talking about 15k entries or more When I load the entries and sort them into the

Re: t5: overriding URLEncoder

2009-03-18 Thread Ulrich Stärk
Do binder.bind(URLEncoder.class, MyURLEncoderImpl.class).withId(MyUrlEncoder); public static void contributeAliasOverrides(@InjectService(MyUrlEncoder) URLEncoder encoder, ConfigurationAliasContribution configuration) { configuration.add(AliasContribution.create(URLEncoder.class,

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Hugues Narjoux
But if you disable the automatic publishing, how would your modifications be updated ? I tried it, even with manual publising and I still do not see my the results of my update ... I tried the maven jetty plugin like Borut suggested.It works just fine as for class reloading. Except that every

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Peter Stavrinides
Tomcat in the eclipse WTP can be very sensitive, I spent hours fiddling with it, so if you can use Jetty then forget Tomcat. I just happen to use both... Jetty mostly but sometimes Tomcat when I need to attach library modules to debug and edit. Live reloading can almost work right in Tomcat but

Re: t5: overriding URLEncoder

2009-03-18 Thread Robert Zeigler
There are two services: Alias AliasOverrides. Alias is intended for services that can be overridden. (ie, when there might be multiple services implementing the same interface and you want to specify, by default, which to use). AliasOverrides is intended for when you want to override the

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Kalle Korhonen
There are perfectly good Tomcat launchers for Eclipse as well that don't use the cumbersome WTP infrastructure that copies files around (causing these issues and bad performance). http://merve.sourceforge.net/ works exactly like Jetty launcher (but hasn't been updated for a while) and Sysdeo's

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Peter Stavrinides
Yes, but the problem with these is exactly what you mentioned, they are not being maintained, once you move to newer versions of Tomcat and Java 6 then you are going to have some fun! -- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read,

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Robert Zeigler
Personally, I use the m2eclipse plugin, and just define a new maven run configuration to jetty:run. But that's if you're using maven to control your build. :) Robert On Mar 18, 2009, at 3/1812:16 PM , Kalle Korhonen wrote: There are perfectly good Tomcat launchers for Eclipse as well that

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Kalle Korhonen
I use Tomcat 6 and Java 6 with Sysdeo's plugin without any problems whatsoever. I also use use Jetty launcher. Kalle On Wed, Mar 18, 2009 at 10:19 AM, Peter Stavrinides p.stavrini...@albourne.com wrote: Yes, but the problem with these is exactly what you mentioned, they are not being

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Peter Stavrinides
I particularly liked Sysdeo and used it for a while, but with a newer version of eclipse it stopped working so I tanked it. Do you use it with eclipse 3.4 and Java 6 ? Peter - Original Message - From: Peter Stavrinides p.stavrini...@albourne.com To: Tapestry users

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Peter Stavrinides
Thats what I use Robert, we also use a local nexus repo as we have about 50 megs of jars. - Original Message - From: Robert Zeigler robe...@scazdl.org To: Tapestry users users@tapestry.apache.org Sent: Wednesday, 18 March, 2009 19:20:21 GMT +02:00 Athens, Beirut, Bucharest, Istanbul

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Kalle Korhonen
Yes. Kalle On Wed, Mar 18, 2009 at 10:22 AM, Peter Stavrinides p.stavrini...@albourne.com wrote: I particularly liked Sysdeo and used it for a while, but with a newer version of eclipse it stopped working so I tanked it. Do you use it with eclipse 3.4 and Java 6 ? Peter - Original

Re: t5: overriding URLEncoder

2009-03-18 Thread Fernando Padilla
oh. right. another option is to look up decoration. So instead of whole-sale replacing it, you can decorate the default service with your own logic. Pretty easy. On 3/18/09 10:11 AM, Robert Zeigler wrote: There are two services: Alias AliasOverrides. Alias is intended for services that can

Re: [5.1.0.0] Exception sorting a Grid with AJAX

2009-03-18 Thread Hugo Palma
I'm also getting this but not when ordering a grid. When i try to order a grid i get what i think is already reported in TAP5-573https://issues.apache.org/jira/browse/TAP5-573 . In my case i get this expection when updating a zone with a component returned from an event listener. I'm using

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Hugues Narjoux
Are you on windows? what Maven plug-in version are you running? on Ubuntu it doesn't do this (there are some configuration options on the plug-in, try uncheck the ones you don't need). No, the reason is we are running fancy home-brewed maven plugins processing zip files all around ... and this

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Robert Zeigler
5 minute test compilation?!? Wow... Ok, so, how about: mvn -DskipTests jetty:run This will disable the test phase of the app, and, consequently, skip test-source compilation. Cheers, Robert On Mar 18, 2009, at 3/1811:32 AM , Hugues Narjoux wrote: But if you disable the automatic