Re: trying to avoid code bloat

2013-05-20 Thread Peter Stavrinides
stick them in the base package, extend the class and it works great - Original Message - From: Barry Books trs...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Monday, 20 May, 2013 2:31:18 PM Subject: Re: trying to avoid code bloat I would not use an Abstract page

Re: How do you feel about requiring JRE 1.6 for Tapestry 5.4?

2012-05-02 Thread Peter Stavrinides
+ 1 - Original Message - From: Dimitris Zenios dimitris.zen...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Wednesday, 2 May, 2012 10:32:14 AM Subject: Re: How do you feel about requiring JRE 1.6 for Tapestry 5.4? +1 from me also On Wed, May 2, 2012 at 10:25 AM,

Re: [5.3] JSONArray Error while submitting forms

2012-02-05 Thread Peter Stavrinides
copy. mrg On Fri, Feb 3, 2012 at 9:22 AM, Peter Stavrinides p.stavrini...@albourne.com wrote: We are seeing this error too in production, not sure how to solve it though, clearing the cache is only a solution in development. Cheers, Peter - Original Message - From: Muhammad

Re: [5.3] JSONArray Error while submitting forms

2012-02-03 Thread Peter Stavrinides
We are seeing this error too in production, not sure how to solve it though, clearing the cache is only a solution in development. Cheers, Peter - Original Message - From: Muhammad Gelbana m.gelb...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Tuesday, 10 January, 2012

Re: T5.3.1 using jQueryMobile

2012-01-26 Thread Peter Stavrinides
Hi, I have also started a project using jQueryMobile and am utterly impressed with this little library. Integration with Tapestry was trivial, however I also ran into the same problem as François, jQueryMobile is heavily driven by ajax calls to open dialogues and slide btw pages and also for

Re: Managing the Tapestry 5.3 ApplicationStateManager SSO life-cycle

2011-12-19 Thread Peter Stavrinides
a ApplicationStateContribution with an appropriate ApplicationStateCreator. On Wed, Dec 14, 2011 at 6:54 PM, Peter Stavrinides p.stavrini...@albourne.com wrote: Hi everyone, We are using Tapestry 5.3; when writing some information directly into Tapestry's ApplicationStateManager service and we

Re: prototypejs is dead - time to bring t5-jquery in?

2011-12-16 Thread Peter Stavrinides
Hi All, The most important consideration in this debate imho is backwards compatibility. Some companies have tens of thousands of lines of Tapestry code, so are heavily invested. Whilst removing prototype is probably a good idea, Tapestry must maintain legacy support for prototype, at least

Managing the Tapestry 5.3 ApplicationStateManager SSO life-cycle

2011-12-14 Thread Peter Stavrinides
Hi everyone, We are using Tapestry 5.3; when writing some information directly into Tapestry's ApplicationStateManager service and we have been experiencing an odd runtime error which occurs after a time. The key we set in the ApplicationStateManager for our SSO's is a class type and the data

Re: smarter css

2011-12-05 Thread Peter Stavrinides
Hi Chris, So when it comes to css3 is it really so ugly? If you really want an answer to that, unfortunately yes... and no its not just gradients. So say I was trying to add browser specific css to my layout component what would people suggest as the best strategy? Browser detection

Re: Tapestry 5 JQuery - redirect to other page when session has expired

2011-12-01 Thread Peter Stavrinides
Server side: // The method that is called when the request completes onComplete : function(transport) { ... var redirect = (reply.redirect != undefined); if(redirect) location.href=reply.redirect; } - Original Message - From: François Facon francois.fa...@atos.net To: Tapestry users

Re: Tapestry 5 JQuery - redirect to other page when session has expired

2011-12-01 Thread Peter Stavrinides
- Original Message - From: Peter Stavrinides p.stavrini...@albourne.com To: Tapestry users users@tapestry.apache.org Sent: Thursday, 1 December, 2011 3:44:56 PM Subject: Re: Tapestry 5 JQuery - redirect to other page when session has expired Server side: // The method that is called when the request

Re: Tapestry 5 and Mobile

2011-11-29 Thread Peter Stavrinides
Howard that would be awesome from my point of view at least. I am still researching, but jQuery Mobile seems like a natural fit for Tapestry. If I understand what you are contemplating then this would be an enabler for seamless content adaptation. Cheers, Peter - Original Message -

Tapestry 5 and Mobile

2011-11-28 Thread Peter Stavrinides
Hi everyone, This question is for the mobile gurus out there using Tapestry. We are about to take the plunge and convert our Tapestry web applications into mobile compatible web applications, but I don't quite know where to begin, so I would love to know how others are handling mobile with

Re: Tapestry 5 and Mobile

2011-11-28 Thread Peter Stavrinides
this help. RegardsFrançois -- Forwarded message -- From: Peter Stavrinides p.stavrini...@albourne.com Date: 2011/11/28 Subject: Tapestry 5 and Mobile To: Tapestry users users@tapestry.apache.org Hi everyone, This question is for the mobile gurus out there using Tapestry. We

Re: fault found

2011-11-28 Thread Peter Stavrinides
One thing you can check is that your submit method references the correct form id, using catch all event methods could receive bubbled up events from other forms: i.e.: onSuccess() should become onSuccessFromFormId() Kind regards, Peter - Original Message - From: Christian Riedel

Re: [ANN] @Exclude for css

2011-11-10 Thread Peter Stavrinides
Nice one Barry, you made my day... if only it happened every time I made a suggestion that someone else went if and did the work ;o) - Original Message - From: Barry Books trs...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Thursday, 10 November, 2011 15:11:05 GMT +02:00

Re: Insert Stylesheet to the Head top

2011-11-09 Thread Peter Stavrinides
Great explanation Robert! Thanks, Peter - Original Message - From: Eugene Zhulkov ezhul...@gmail.com To: users@tapestry.apache.org Sent: Wednesday, 2 November, 2011 14:30:19 GMT +02:00 Athens, Bucharest, Istanbul Subject: Re: Insert Stylesheet to the Head top It works! Thank you all

Fwd: Event after completion Tapestry 5 Autocompleter

2011-11-09 Thread Peter Stavrinides
Hi Thiago, Have you tried adding the function as a JSONLiteral? And why are you returning a function instead of having this function declared somewhere else and just passing parameters to it in the JSONObject? I am not, Tapestry is responsible for these hooks, we simply pass the

Re: Web services using Tapestry

2011-11-08 Thread Peter Stavrinides
Search this mailing lists and you will find some recent threads and some coded examples. regards, Peter - Original Message - From: Lenny Primak lpri...@hope.nyc.ny.us To: Tapestry users users@tapestry.apache.org Sent: Tuesday, 8 November, 2011 16:48:14 GMT +02:00 Athens, Bucharest,

Re: Possible regression Tapestry 5.1 to 5.3

2011-10-31 Thread Peter Stavrinides
super.dispatchComponentEvent(), and (b) invoke onSuccessFromStep1(). Thus two invocations. Probably a bug, but may only be fixed in 5.4 or 5.3.1 at this point. On Thu, Oct 27, 2011 at 3:26 AM, Peter Stavrinides p.stavrini...@albourne.com wrote: FYI: returning true will also work, so I am happy to use

Possible regression Tapestry 5.1 to 5.3

2011-10-27 Thread Peter Stavrinides
Hi all, We noticed some odd behaviour today in one of our apps, it appears when we use the pattern detailed below, the onSuccessFromStep1() event gets invoked twice by Tapestry, this was not the case in 5.1: public abstract class BaseClass { public abstract Object onSuccessFromStep1(); }

Re: Possible regression Tapestry 5.1 to 5.3

2011-10-27 Thread Peter Stavrinides
FYI: returning true will also work, so I am happy to use that as a workaround instead, but I am still puzzled as to why it gets invoked twice? I suspect this is going to cause issues when I need to return an Object. cheers, Peter - Original Message - From: Peter Stavrinides p.stavrini

Re: Tapestry 5.3 Validation removal of validateForm

2011-10-27 Thread Peter Stavrinides
onValidateFromForm-component-id Yes of course, why didn't I think of that (too much coffee today perhaps!)... Thanks! Simply using onValidate is probably not specific enough as it may get triggered by bubbling events. Exactly, OnValidate is a catch all so does get invoked for each bubbling

Re: pageRenderLinkSource.toAbsoluteURI() returns relative URL

2011-10-06 Thread Peter Stavrinides
Yes, this is a bug I have seen too, I hacked together my own fix for this, but somehow in 5.3 is working correctly again. - Original Message - From: Brian Long bl...@annadaletech.com To: Tapestry users users@tapestry.apache.org Sent: Monday, 3 October, 2011 12:20:33 GMT +02:00 Athens,

Re: T5.2 and Metro / SOAP

2011-10-05 Thread Peter Stavrinides
The ObjectLocator provides access to services defined within a Registry, but I haven't seen an example of using it to get hold of a reference to the actual registry? is that possible? if so pls provide a code example, I have only seen this from the Context. ie: Registry registry = (Registry)

Fwd: T5.2 and Metro / SOAP

2011-10-05 Thread Peter Stavrinides
there would be no need for a reference to the Registry... As I said before, I am fine with my approach, much of a muchness but this could be a better way for others. Regards, Peter - Original Message - From: Thiago H. de Paula Figueiredo thiag...@gmail.com To: Peter Stavrinides p.stavrini

Re: Passing parameters to nested components

2011-09-29 Thread Peter Stavrinides
Hard to pinpoint the right choice without seeing the code, sounds to me like you need to use onPrepare rather since you are referring to a form, if that is not sufficient rethink the design maybe use InjectContainer instead of environmental... there is more than one way to do this. Peter

Re: pages vs components... use model still the same or has it evolved any ?

2011-09-09 Thread Peter Stavrinides
As Steve mentions its an evolution of personal best practice for your coding style. My personal taste through the years evolved through trial and error, more components is not always better but components to me work best when devoid of state, i.e.: breaking out the mechanics into the component

Re: what is called when - ajax version

2011-08-10 Thread Peter Stavrinides
However, there's still the possibility that these are useful ... except that all the use cases I can come up with are better served by a perthread scoped service, rather than associated with the page instance. I am using them for a one time setup of tab groups (essentially linkedhashmaps) in

Re: 100% CPU load after hot deploy of Tapestry 5 Application on Tomcat 6

2011-07-21 Thread Peter Stavrinides
Hi Guys, Thanks for the attempts... these machines are monsters, 8 cores and about 32 gigs... Tomcat has more resources allocated than it should ever need, the CPU never drops just grows after the hot deploy (and only then). The machine doesn't fall over either because of the extensive

Re: 100% CPU load after hot deploy of Tapestry 5 Application on Tomcat 6

2011-07-21 Thread Peter Stavrinides
Martin thanks, I will try this, will let you know. Cheers, Peter - Original Message - From: Martin Strand do.not.eat.yellow.s...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Wednesday, 20 July, 2011 12:52:52 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re:

Re: [ANN] JumpStart 5.3.2 released

2011-06-21 Thread Peter Stavrinides
Kudos on the web services implementation! nice :) Peter - Original Message - From: Geoff Callender geoff.callender.jumpst...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Friday, 17 June, 2011 14:43:00 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: [ANN] JumpStart

Re: IllegalAccessError in IoC

2011-04-15 Thread Peter Stavrinides
Thanks very much for the explanation Howard!! Cheers, Peter - Original Message - From: Howard Lewis Ship hls...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Thursday, 14 April, 2011 19:21:03 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: IllegalAccessError

Re: 10 Minute Web Application Demo

2011-02-17 Thread Peter Stavrinides
:) Excellent Mark! I know the feeling... does she also give the blank expression? - Original Message - From: Mark mark-li...@xeric.net To: Tapestry users users@tapestry.apache.org Sent: Wednesday, 16 February, 2011 23:25:47 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re:

Re: [Announce] Tapestry Testify project - v1.0.3 released

2011-02-07 Thread Peter Stavrinides
Thanks for your effort Paul! - Original Message - From: PaulField tapes...@cloudinthesky.co.uk To: users@tapestry.apache.org Sent: Saturday, 5 February, 2011 16:20:51 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: [Announce] Tapestry Testify project - v1.0.3 released I'd like

Re: best stack ...

2010-11-05 Thread Peter Stavrinides
You are not forced to develop with Maven, but it takes a brave soul to manage 30 to 40 megs of libraries manually :) lol. Peter - Original Message - From: Adam Zimowski zimowsk...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Friday, 5 November, 2010 04:35:38 GMT +02:00

Re: Looks like a bug with image submit

2010-10-15 Thread Peter Stavrinides
Ahh yes, thanks! I see it was fixed over a year ago, but wasn't 5.1.0.6 and 5.1.0.7 voted down? - Original Message - From: Stephan Windmüller stephan.windmuel...@tu-dortmund.de To: users@tapestry.apache.org Sent: Friday, 15 October, 2010 12:13:23 GMT +02:00 Athens, Beirut, Bucharest,

Re: Is there any way to render the get method of form?

2010-10-05 Thread Peter Stavrinides
Point us to the Jira Lutz, the HTML 2 specification details the following: If the processing of a form is idempotent (i.e. it has no lasting observable effect on the state of the world), then the form method should be GET. Many database searches have no visible side-effects and make ideal

Re: Deploying several T5 apps in one servlet container

2010-09-16 Thread Peter Stavrinides
Hi Borut, Determine and prioritize exactly what you want, and then go from there: - Do you need a CDN? i.e.: do you stream video / have lots of static content on a high traffic site? - Tomcat is not as fast as Apache serving static content, Apache may not be the fastest but its fast enough for

Re: How to set up Tapestry 5 on Tomcat 5

2010-09-13 Thread Peter Stavrinides
One correction, you are referring to Tomcat 5, so the link is here: http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html Beware the classloader has changed in Tomcat 6, there are some considerations when upgrading , but why not use 6 or even 7? Cheers, Peter - Original Message

Re: OT: Web Services

2010-08-30 Thread Peter Stavrinides
Hi Jim I evaluated quite a few Java WS stacks and was between CXF and Metro, but in the end I chose metro, but to be honest there was very little to choose btw the two... so I would suggest those two as the leading Java WS stacks. Both support maven and are very complete in terms of how much

Re: OT: Web Services

2010-08-30 Thread Peter Stavrinides
metro too. we switched from cxf to metro because it was easier to work with jaxb-binding overrides... g, kris Von:Peter Stavrinides p.stavrini...@albourne.com An: Tapestry users users@tapestry.apache.org Datum: 30.08.2010 14:59 Betreff:Re: OT: Web Services Hi Jim I

Re: Another IllegalAccessError in 5.2 alpha [bug?]

2010-08-12 Thread Peter Stavrinides
Thanks for the help Howard... it makes perfect sense when you understand whats happening, otherwise we have no chance of guessing it from this error. Cheers, Peter - Original Message - From: Howard Lewis Ship hls...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Wednesday,

Re: Another IllegalAccessError in 5.2 alpha [bug?]

2010-08-12 Thread Peter Stavrinides
- Original Message - From: Peter Stavrinides p.stavrini...@albourne.com To: Tapestry users users@tapestry.apache.org Sent: Thursday, 12 August, 2010 10:19:08 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Another IllegalAccessError in 5.2 alpha [bug?] Thanks for the help Howard

Re: Tapestry 5.2.0 Alpha Release Now Available

2010-08-11 Thread Peter Stavrinides
Yes, I think this could be the issue, thanks Igor! I will follow up with more info once I am certain. - Original Message - From: Igor Drobiazko igor.drobia...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Tuesday, 10 August, 2010 20:03:54 GMT +02:00 Athens, Beirut,

Re: Tapestry 5.2.0 Alpha Release Now Available

2010-08-10 Thread Peter Stavrinides
Not quite, there is no explicit auto-loading, Sorry Thiago, I misread you, yes the service is autobuilding since its explicitly bound. Cheers, Peter - Original Message - From: P Stavrinides p.stavrini...@albourne.com To: Tapestry users users@tapestry.apache.org Sent: Tuesday, 10

Re: Tapestry 5.2.0 Alpha Release Now Available

2010-08-10 Thread Peter Stavrinides
Release Now Available On Tue, 10 Aug 2010 08:53:09 -0300, Peter Stavrinides p.stavrini...@albourne.com wrote: Not quite, there is no explicit auto-loading, Sorry Thiago, I misread you, yes the service is autobuilding since its explicitly bound. Does your class have nother constructors

Zoneupdater mixin best practice

2010-07-23 Thread Peter Stavrinides
Hi all, I am trying out the Zoneupdater mixin on a dropdown. What I want to do is as follows: When the user selects an option from the dropdown I want to trigger an event that filters a list, which is then used on an autocomplete textfield. Sounds simple enough but I don't quite understanding

Re: Zoneupdater mixin best practice

2010-07-23 Thread Peter Stavrinides
, 23 Jul 2010 07:40:18 -0300, Peter Stavrinides p.stavrini...@albourne.com wrote: Hi all, Hi! To be more specific, I am using the Zoneupdater (code below) with a zone that encloses a form, and the form encloses several textfields. For my use case I only want to target one specific form

Re: directly return an image from Tapestry

2010-07-21 Thread Peter Stavrinides
Just return it in the page's onActivate() method. Just be careful of this approach, its fine for an image or two, but anything more may generate a lot of requests and cause performance problems in larger pages. - Original Message - From: Thiago H. de Paula Figueiredo

Re: [ANN] Manning Publications translates my Tapestry 5 book

2010-06-18 Thread Peter Stavrinides
Hi Igor, Please let us know when the book is ready for pre-order. thanks, Peter - Original Message - From: Robin Komiwes robin.komi...@gmail.com To: Tapestry users users@tapestry.apache.org, adam saltiel adam.salt...@gmail.com Sent: Saturday, 12 June, 2010 23:38:34 GMT +02:00 Athens,

Re: session.persist saves object with id 0

2010-06-08 Thread Peter Stavrinides
Perhaps the type is a primitive, so instead of null a default value will be 0? just a guess. Peter - Original Message - From: Genís Pujol gpu...@ngeografics.com To: Tapestry users users@tapestry.apache.org Sent: Tuesday, 25 May, 2010 18:30:10 GMT +02:00 Athens, Beirut, Bucharest,

Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

2010-06-01 Thread Peter Stavrinides
Hi What do you mean by: This library fully drop out Prototype, Scriptaculous, Blackbird and tapestry.js and replace them by jQuery. - How does that work, does Tapestry not require 'tapestry.js' or does jquery provide some equivalent? - How would jQuery integrate with existing

Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

2010-06-01 Thread Peter Stavrinides
://docs.jquery.com/Using_jQuery_with_Other_Libraries [5] http://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/components/Palette.java [6] http://github.com/got5/tapestry5-jquery/blob/master/README.md On Tue, Jun 1, 2010 at 10:05 AM, Peter Stavrinides

Re: What happend to Tapestry 5

2010-05-31 Thread Peter Stavrinides
Don't worry. Tapestry 5.2 will be released soon. What is soon? 3, 6, 9, 12 months? - Original Message - From: Igor Drobiazko igor.drobia...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Monday, 31 May, 2010 08:56:53 GMT +02:00 Athens, Beirut, Bucharest, Istanbul

Re: T5: LinkSubmit should be generic

2010-05-21 Thread Peter Stavrinides
Nice! - Original Message - From: Inge Solvoll inge.tapes...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Friday, 21 May, 2010 11:34:11 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: T5: LinkSubmit should be generic Forget the question, I tested it myself and

Re: Tapestry 4.0 on JDK 1.6

2010-05-19 Thread Peter Stavrinides
More than 3 years ago we were running Tapestry 4 on JDK 6 with no real issues. Tapestry 5 also runs well on JDK 6 provided you use the right version of Javassist, and ensure you have no conflicts in your setup. regards, Peter - Original Message - From: Howard Lewis Ship hls...@gmail.com

Re: [T5.1] How to add a Message Catalog to a Service

2010-04-23 Thread Peter Stavrinides
I also required this a while back, but found not enough of the API was available to do what I wanted... I opened up a jira back then: https://issues.apache.org/jira/browse/TAP5-838 Will this make it into 5.2? Cheers, Peter - Original Message - From: Howard Lewis Ship hls...@gmail.com

Re: How to get the Component inside advice?

2010-04-19 Thread Peter Stavrinides
I hope to have a simple authentication framework, possibly as a Tapestry extension, at some point in the next couple of months. Great news Howard, I will look forward to that!! - Original Message - From: Howard Lewis Ship hls...@gmail.com To: Tapestry users users@tapestry.apache.org

Re: 5.0.1.8 Download?

2010-04-16 Thread Peter Stavrinides
Is 5.0.1.8 a release candidate yet, are you planning to vote on it? cheers, Peter - Original Message - From: xfile80303 l...@grokers.net To: users@tapestry.apache.org Sent: Thursday, 1 April, 2010 19:26:48 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: 5.0.1.8 Download?

Re: How do I set up logging with Tapestry 5 and Tomcat?

2010-04-16 Thread Peter Stavrinides
You need a log4j.properties file in $CATALINA_HOME/lib Or in the classes directory at runtime... to ensure its always in the right place simply put the log4j.properties or log4j.xml file is in the src/main/resources root folder. regards, Peter - Original Message - From: Tim Koop

Re: Tweaking an AjaxFormLoop

2010-04-09 Thread Peter Stavrinides
Nice post! and came at just the right time for me too... so thanks for the tips! +1 for feature addition, any Jira open? cheers, Peter - Original Message - From: Juan Isern juanis...@gmail.com To: users@tapestry.apache.org Sent: Friday, 9 April, 2010 08:09:40 GMT +02:00 Athens,

Generated links in a loop

2010-03-30 Thread Peter Stavrinides
Hi! Is it possible to attach a mixin on the fly to a 'generated' link? I wanted to use component resources: Link link = resources_.createEventLink(linkId, new Object[] {param1,param2}); for generating the link, but there doesn't appear to be a way to attach a link property? I feel like I am

Re: Generated links in a loop

2010-03-30 Thread Peter Stavrinides
:Peter Stavrinides p.stavrini...@albourne.com An: Tapestry Mailing List users@tapestry.apache.org Datum: 30.03.2010 11:47 Betreff:Generated links in a loop Hi! Is it possible to attach a mixin on the fly to a 'generated' link? I wanted to use component resources: Link link

Re: Documentation Request/Suggestion

2010-03-24 Thread Peter Stavrinides
We understand that Tapestry commiters are giving up their time to make Tapestry what it is, and we are grateful, I think they too are aware of these issues and must have some plans in the pipeline to rectify the problems. Nothing being suggested in this post is new, my question is where the

Re: [Announce] Tapestry Testify project - v1.0.1 released

2010-03-12 Thread Peter Stavrinides
Thanks once again Paul for giving of your time to maintain Testify!! we have found Testify to be a real asset! regards, Peter - Original Message - From: Angelo Chen angelochen...@yahoo.com.hk To: users@tapestry.apache.org Sent: Saturday, 13 March, 2010 02:12:02 GMT +02:00 Athens,

Re: Suggestion for JavaOne Tapestry Talk

2010-03-11 Thread Peter Stavrinides
+ 1 for AOP meta programming in Java (emphasis on Tapestry), sounds like a great topic! -- 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. Please visit

Exception handling

2010-03-08 Thread Peter Stavrinides
Hi everyone, I am having a problem with the following scenario: - A page renders a grid with a number of links - Clicking one of those links causes the page to re-render, but it breaks with the following exception: ERROR com.test.CoreModule.SiteRequestExceptionHandler Render queue error in

Re: Exception handling

2010-03-08 Thread Peter Stavrinides
: Exception handling On Mon, 08 Mar 2010 05:40:50 -0300, Peter Stavrinides p.stavrini...@albourne.com wrote: Hi everyone, Hi! So my question is what approach can I take to intercept *only these exceptions that don't make it to the page. Create your own error page. It must implement

Re: Pretty Printing JSON

2010-02-23 Thread Peter Stavrinides
+1 very useful in development, should go into the core imho. Peter - Original Message - From: Howard Lewis Ship hls...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Wednesday, 24 February, 2010 04:31:13 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Pretty

Re: [T5.1] Log4j and Application Development/Production Mode

2010-02-19 Thread Peter Stavrinides
There is any T5 Elegant way so I can automatically switch between distincts Log4J configurations Yes, I simply place mine side by side in src/main/resources and then just supply a JVM argument to choose the correct one in production, i.e.: -Dlog4j.configuration=log4j_prod.xml if you supply

Re: integrating a web services stack

2010-02-17 Thread Peter Stavrinides
Hi Uli, I opted out of 3, since I don't use Spring, so thought it would be overkill bringing too much baggage. I would love to see an actual example of 1, it could be interesting... but I settled for a version of 2, from what I understood this was the simplest approach to get working. Cheers,

Re: [Tapestry Central] Live reloading of Tapestry services?

2010-02-12 Thread Peter Stavrinides
This is worth spending some time on ... if I can pull it off, it would be an incredible coup! I sit on the fence on this one... on the one hand live reloading is productive any any context, on the other in principle I do agree with Igor, so not sure... My only worry is memory management, i.e.:

Re: [Tapestry Central] Live reloading of Tapestry services?

2010-02-12 Thread Peter Stavrinides
I use Tomcat in production only, I develop using the jetty plugin, and am very happy with it, though we have massive source tree and tend to have sizable pages too. I get the occasional Permgen, but not too often. I run Jetty with plenty of memory, and enable Class unloading on the JVM which is

Re: @Secure solution (was Re: [t5.0.18] Secure Annotation / BaseURLSource)

2010-02-09 Thread Peter Stavrinides
Hi Geoff, Yes thats a pretty robust configuration, we have Tapestry configured this way in production for a couple of years now without issues, if you can use a recent version of Apache, i.e.: 2.1 onwards then its best to use the built in mod_proxy_ajp module:

Re: web service problem

2010-02-08 Thread Peter Stavrinides
Currently, Tapestry-IoC doesn't copy the annotations put in the service implementation class and methods to the generated proxy. A workaround is to put the annotation in the service interface. Do you mean put it in the implementation class rather? just tested it and it seems to work in the

Re: web service problem

2010-02-08 Thread Peter Stavrinides
Peter Stavrinides p.stavrini...@albourne.com Currently, Tapestry-IoC doesn't copy the annotations put in the service implementation class and methods to the generated proxy. A workaround is to put the annotation in the service interface. Do you mean put it in the implementation class rather

Re: web service problem

2010-02-08 Thread Peter Stavrinides
Peter Stavrinides p.stavrini...@albourne.com Currently, Tapestry-IoC doesn't copy the annotations put in the service implementation class and methods to the generated proxy. A workaround is to put the annotation in the service interface. Do you mean put it in the implementation class rather

Re: How to decorate a service that has already been decorated ?

2010-02-03 Thread Peter Stavrinides
Not 100% related, but I created an ActivationContextEncoderT interface and corresponding ActivationContextEncoderSource service. This way, I can have the logic for generating the activation context value for a given type separate from its ValudeEncoder logic. The above pseudo-id lookup

Re: New Tapestry Website - http://www.seesaw.com/

2010-01-29 Thread Peter Stavrinides
Hi Ben, What motivated you to use Tapestry? obviously this is a great choice of course! As a side note: IE 6 is a malware software developers dream come true, it has to be the worst browser since Netscape 4, it has two critical flaws: 1. A core design flaw in the zone-based security framework

Re: Easy Way to create a select model?

2010-01-28 Thread Peter Stavrinides
I feel a little dumb, because for years I have been using Tapestry... Well that makes two of us Andy, from my point of view its nice to see Kristians example, and I am sure for others too. cheers, Peter -- If you are not an intended recipient of this e-mail, please notify the sender,

Re: Tapestry 5 and external web service

2010-01-22 Thread Peter Stavrinides
There isn't anything I know that deals with webservices in Tapestry, but I guess any webservice package would be easily integrated with Tapestry-IoC (and thus Tapestry itself. An example of this would be great Thiago, to me this seems harder than it should be, currently the best way I

Re: [Announce] Wooki - Collaborative Writing

2010-01-19 Thread Peter Stavrinides
Robin and co. this is really fantastic, can't wait to take it for a spin! :) regards, Peter -- 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. Please visit

Re: Different ExceptionReport for different pages

2010-01-18 Thread Peter Stavrinides
This is easier in 5.2 as there's a new RequestGlobals property that identifies the name of the page for the request. Wow thats a useful feature, nice! - Original Message - From: Howard Lewis Ship hls...@gmail.com To: Tapestry users users@tapestry.apache.org, r...@su3analytics.com

Re: Handling session expiry

2010-01-15 Thread Peter Stavrinides
I don't use @SessionState with my HttpSessionBindingListener implementation. I set it in the Session directly. ;) Exactly, just set it in your web.xml: listener-class com.web.application.SessionListener /listener-class And then in SessionListener:

Re: API for obtaining absolute URL of the page?

2010-01-14 Thread Peter Stavrinides
Hi Ilya, IMHO I don't think this should be a Tapestry function, constructing an absolute URL is not always perfectly generic... i.e.: detecting SSL, port and hostname reliably to construct the URL from. Sometimes people configure SSL on non-standard ports, and browser headers are at best

Re: Discussion

2009-12-23 Thread Peter Stavrinides
There's a recent discussion about that in the dev mailing list. Everyone is invited. :) Thiago could you provide a link perhaps? -- 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

Re: Discussion

2009-12-23 Thread Peter Stavrinides
-- 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. Please visit http://www.albourne.com/email.html for important additional terms relating to this e-mail. I've also thought

Re: [ANNOUNCEMENT] New Tapestry 5 book

2009-11-12 Thread Peter Stavrinides
+1 - Original Message - From: Ivano Luberti lube...@archicoop.it To: Tapestry users users@tapestry.apache.org Sent: Thursday, 12 November, 2009 10:21:35 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: [ANNOUNCEMENT] New Tapestry 5 book +1 If you need something signed with

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-10 Thread Peter Stavrinides
My 2 cents, in order of priority: 1. Ongoing bug fixes, prioritized by severity and then community votes 2. Comprehensive multi-language docs (preferably community driven via collaboration software), including ALL types of docs (cookbook, API reference, tutorials, quickstart) and all in one

Re: T5: Disable JavaScript usage

2009-10-09 Thread Peter Stavrinides
I've to create a WebApp which may use plain html only! Is it possible/does it make sense to use Tapestry for that? Yes of course, I would like to use Tapestry for that app because i made some good experience with it, but is Tapestry able to avoid JavaScript at all? You are not forced to use

Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-07 Thread Peter Stavrinides
are simply added to the runtime path with no copying. This is what I do. On Tue, Oct 6, 2009 at 7:59 AM, Peter Stavrinides p.stavrini...@albourne.com wrote: What is your exact environment / configuration? - Original Message - From: Inge Solvoll inge.tapes...@gmail.com

Re: Validation question - at which point are property values set before post

2009-10-07 Thread Peter Stavrinides
Anybody? - Original Message - From: Peter Stavrinides p.stavrini...@albourne.com To: Tapestry Mailing List users@tapestry.apache.org Sent: Tuesday, 6 October, 2009 10:07:53 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Validation question - at which point are property values

Re: Validation question - at which point are property values set before post

2009-10-07 Thread Peter Stavrinides
Thanks for the explanations, much appreciated to all. Peter - Original Message - From: cordenier christophe christophe.corden...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Wednesday, 7 October, 2009 15:07:52 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re:

Re: Problem with error404

2009-10-07 Thread Peter Stavrinides
Just as a side note, error pages work correctly in Tomcat 6 as well. regards, Peter -- 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. Please visit

Validation question - at which point are property values set before post

2009-10-06 Thread Peter Stavrinides
Hi everyone, I came across what seems a strange scenario to me, using Tapestry 5 validation. I am looking for a little understanding more than anything else with regards to 'the point at which properties values are set, before a form posts'... please examine this code snippet: //This code

Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-06 Thread Peter Stavrinides
What is your exact environment / configuration? - Original Message - From: Inge Solvoll inge.tapes...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Tuesday, 6 October, 2009 10:57:30 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Jetty lock on JS-files in classpath

Re: T5.1 Graceful Session Timeout?

2009-09-28 Thread Peter Stavrinides
Hi Michael, Is there a way in T5.1 to have graceful session timeout handling on form submission or links? I think a superclass can be an elegant solution... my solution though was to use a dispatcher, my use case was not specific to a form or a few links or a few pages, but rather application

Re: Avoiding recursion detection in ajax situations.

2009-09-28 Thread Peter Stavrinides
This is an interesting use case! I for one wouldn't mind seeing an actual concrete example... perhaps it could make a nice topic for a wiki article, if you have the time. regards, Peter - Original Message - From: ownedthx sethc...@gmail.com To: users@tapestry.apache.org Sent: Tuesday,

Re: Accessing page context from a component

2009-09-28 Thread Peter Stavrinides
Chakra words reminds me of the interesting idea for components to have their independent activation context. That page is not aware of. I for one don't like this idea, if you consider what onActivate() is, and how the activation context is produced. Its an 'EXTERNAL event', a way of invoking

  1   2   3   4   5   6   >