Re: T5.1 and Threaded Background Tasks

2010-09-01 Thread Kalle Korhonen
ParallelExecutor is a "service that allows work to occur in parallel using a thread pool". I doubt it's usefulness in your case. Simply create a new service, spawn threads in it as needed to do work and implement a few get status operations that your page(s) can call. That way, keeping the page up-

Re: tynamo exception handling doesn't work in setupRender?

2010-08-31 Thread Kalle Korhonen
File a (Tynamo) issue and I'll take a look. Kalle On Tue, Aug 31, 2010 at 6:31 PM, Paul Stanton wrote: > I'm using the Tynamo tapestry-exception module, and for the most part it > works great, however I've noticed that it doesn't seem to work for > exceptions thrown during a 'setupRender' event

Re: Call function periodically

2010-08-31 Thread Kalle Korhonen
Quartz is nice but if you need something simple to happen every minute just use plain Java: timer = new Timer(); timer.scheduleAtFixedRate(new TimerTask() { @Override public void run() {

Re: OT: Web Services

2010-08-29 Thread Kalle Korhonen
Second that. CXF is the successor to XFire and its solid. Kalle On Sun, Aug 29, 2010 at 3:56 PM, Daniel Honig wrote: > I know of many projects using CXF without complaints.  I'd say that CXF is > probably a good way to go. > > On Sun, Aug 29, 2010 at 1:35 PM, Jim O'Callaghan > wrote: > >> I'm a

Re: [T5] and PayPal

2010-08-25 Thread Kalle Korhonen
More than one way to skin the Paypal cat. I use Paypal's standard SOAP api with CXF's cxf-rt-frontend-jaxws client; it has very little to do with Tapestry and all about Paypal's SOAP. Follow their examples on their developer sandbox, they have decent documentation. On the frontend, I use a payment

Re: Capturing hibernate exception

2010-08-20 Thread Kalle Korhonen
(The database should not fail - but when it does...) For handling those the irrecoverable errors you could use Tynamo's tapestry-exceptionpage module, see http://tynamo.org/tapestry-exceptionpage+guide for details. Kalle On Fri, Aug 20, 2010 at 4:54 AM, Elin wrote: > > I have a project where im

Re: Calling different pages depending on browser

2010-08-19 Thread Kalle Korhonen
Use the User-Agent header (e.g http://en.wikipedia.org/wiki/User_agent). Kalle On Thu, Aug 19, 2010 at 10:48 PM, Omar Carvajal wrote: > Hey all, > > I wanted to know if there was a way to get my app to call different pages > depending on the browser that is being used. > > For example if the ap

Re: tapestry-jersey

2010-08-12 Thread Kalle Korhonen
On Thu, Aug 12, 2010 at 9:15 AM, Borut Bolčina wrote: > perhaps this should go to tynamo user list, but I guess no one will mind > posting this here. > Before looking at the source code for tynamo-resteasy, how hard would it be > to write tapestry-jersey integration module? Not that hard :) In al

Why would I choose JQuery?

2010-08-05 Thread Kalle Korhonen
I have an older T4 app that I'm going to upgrade to T5. It's not a full RIA but nevertheless a fairly fancy, interactive web app with drag & drop, ajax file uploads etc. The UI of the app was based on Prototype and Dojo 0.4.3 which served me well at the time despite of being a bit on the heavy side

Re: for IE

2010-08-05 Thread Kalle Korhonen
The way I did it just for IE was to stop the event and open the same url via javascript. It's unbelievable what hoops you have to go through for IE support. I certainly would use regular submits and links if I have a choice while wishing for IE's quick but painful death. Kalle On Thu, Aug 5, 201

Re: for IE

2010-08-04 Thread Kalle Korhonen
On Wed, Aug 4, 2010 at 2:32 PM, Jim O'Callaghan wrote: > The behavior I was finding was as follows: > Perhaps FF and Chrome are not behaving as the W3C spec mandates though it > would have suited my purpose.  I was basing the approach on a post on the > list that I can't find at the moment. Nine

Re: chenillekit on T5.2.0

2010-08-03 Thread Kalle Korhonen
On Tue, Jul 13, 2010 at 7:36 AM, Massimo Lusetti wrote: > I've already done that (requested bamboo access), plus Nexus is > available at the Haus, you should request access there too if > interested: > http://docs.codehaus.org/display/HAUSMATES/Codehaus+Maven+Repository+Usage+Guide (Sorry this p

Re: T5 Dispatcher: How to correctly order the Pipeline

2010-07-30 Thread Kalle Korhonen
I'm completely biased of course so feel free to disregard, but: I used to be a long time user of Acegi Security (now Spring Security) but finally got fed up with the peculiarities of the framework and the inherent inflexibility for supporting some of the more elaborate security models. I looked aro

Re: final version of Tapestry 5.2

2010-07-30 Thread Kalle Korhonen
snapshot version I have is T5.2.0 - the > other dependencies are all release versions - I'm currently running with > maven offline as I don't like surprises - how do you 'freeze' at a certain > snapshot?  Thanks. > > Regards, > Jim. > > -Original

Re: final version of Tapestry 5.2

2010-07-29 Thread Kalle Korhonen
I'm not so sure that GAE on Java is production ready, but that aside, ultimately it's up to you to decide what's production ready for you and what isn't. A snapshot is a snapshot of that version in development. T5.2 isn't going to change drastically anymore. If I wanted to deploy to T5.2 to product

Re: Using PageResponseRenderer.render() in T5.2?

2010-07-27 Thread Kalle Korhonen
e dev list as well - I don't think you need to specifically worry about library incompatibility, at least in this case - I can easily hack up something together for now and refactor later. Kalle > > 2010/7/27 Kalle Korhonen > >> On Tue, Jul 27, 2010 at 8:05 AM, Christophe Co

Re: Using PageResponseRenderer.render() in T5.2?

2010-07-27 Thread Kalle Korhonen
On Tue, Jul 27, 2010 at 8:05 AM, Christophe Cordenier wrote: > 2010/7/27 Kalle Korhonen >> Very good, that's what I thought. Makes sense now why calling it in >> PageResponseRender may not necessarily be the right place but there >> doesn't seem to be a lot of wi

Re: Using PageResponseRenderer.render() in T5.2?

2010-07-27 Thread Kalle Korhonen
On Mon, Jul 26, 2010 at 11:48 PM, Christophe Cordenier wrote: > 2010/7/26 Kalle Korhonen >> SecurityFilter is a ComponentRequestFilter. If I contribute it right >> after "InitializeActivePageName", the fairly comprehensive integration >> tests for the module pa

Re: Using PageResponseRenderer.render() in T5.2?

2010-07-27 Thread Kalle Korhonen
On Mon, Jul 26, 2010 at 11:48 PM, Christophe Cordenier wrote: > 2010/7/26 Kalle Korhonen >> SecurityFilter is a ComponentRequestFilter. If I contribute it right >> after "InitializeActivePageName", the fairly comprehensive integration >> tests for the module pa

Re: Using PageResponseRenderer.render() in T5.2?

2010-07-26 Thread Kalle Korhonen
On Mon, Jul 26, 2010 at 3:17 AM, Christophe Cordenier wrote: > 2010/7/26 Kalle Korhonen >> On Sun, Jul 25, 2010 at 11:45 PM, Christophe Cordenier >> wrote: > Actually i was not thinking about catching the exception at the filter level > since Tapestry does it well and as

Re: Using PageResponseRenderer.render() in T5.2?

2010-07-26 Thread Kalle Korhonen
ion as well (just putting together what you said and reading the code), right? Hopefully that proves the need for the fix. Kalle > 2010/7/26 Kalle Korhonen > >> On Sun, Jul 25, 2010 at 5:35 AM, Christophe Cordenier >> wrote: >> > I am currently working on this JIRA,

Re: Using PageResponseRenderer.render() in T5.2?

2010-07-25 Thread Kalle Korhonen
ate all the different error cases. I'm not strongly against exploring alternatives, but it makes sense to me that PageResponseRenderer would set the active page and I don't see any disadvantages in doing so, do you? Kalle > 2010/7/20 Kalle Korhonen >> Pretty please, any commi

Re: non thread safe access to session

2010-07-22 Thread Kalle Korhonen
To create an absolutely *new* session (even if another thread-bound session already exists), inject HibernateSessionSource and call hibernateSessionSource.getSessionFactory().create(), then manage transactions and all objects in that session yourself. Kalle On Thu, Jul 22, 2010 at 9:38 AM, Jim O

Re: redirecting from an ajax event listener

2010-07-20 Thread Kalle Korhonen
You can implement onException() to catch exceptions thrown from page event handlers (see http://tapestry.apache.org/tapestry5.1/guide/event.html), or, though I know you don't like this, for handling known exceptions in a more generic manner you could use Tynamo's tapestry-exceptionpage module (http

Re: Using PageResponseRenderer.render() in T5.2?

2010-07-19 Thread Kalle Korhonen
Pretty please, any committer? It's a one-liner to fix https://issues.apache.org/jira/browse/TAP5-1201 and the patch is attached. Kalle On Mon, Jul 19, 2010 at 2:23 PM, Pierce Wetter wrote: > > On Jul 9, 2010, at 1:40 PM, Kalle Korhonen wrote: > >> Sorry to be a pest, bu

Re: Need advice on scrubbing .internal. stuff.

2010-07-15 Thread Kalle Korhonen
Internal is internal. Don't depend on it unless you have to, and if you do, you'll do it at your own risk. The same goes for snapshots; don't depend on a moving target unless you have to. And I know you are talking about add-on modules rather than your own code directly but the same rules apply. Fo

Re: OAuth support in tynamos tapestry-security

2010-07-14 Thread Kalle Korhonen
I already implemented Oauth2 for my own use, obviously utilizing tapestry-security, not using rest though but I imagine it'd be easy to add on top. The sore point right now is that it's not generalized since there's a few different ways to go about it, depending on whether you need federated user a

Re: reloading not working, what did i break?

2010-07-13 Thread Kalle Korhonen
porting this feature for tomcat. > > anyway, back to the point, if anyone has any tips on how to get this to work > in tomcat i'm all ears. > > regards, paul. > > Kalle Korhonen wrote: >> >> Suit yourself but you shouldn't claim it doesn't work at all i

Re: chenillekit on T5.2.0

2010-07-13 Thread Kalle Korhonen
On Tue, Jul 13, 2010 at 5:49 AM, Massimo Lusetti wrote: > On Tue, Jul 13, 2010 at 1:51 AM, Kalle Korhonen > wrote: > You're right, we should but personally i lack a lot of free times and > may day to day job has switched recently. > Anyway we were in contact with Ben to prov

Re: reloading not working, what did i break?

2010-07-12 Thread Kalle Korhonen
Suit yourself but you shouldn't claim it doesn't work at all if you can not get it working. Kalle On Mon, Jul 12, 2010 at 9:34 PM, Paul Stanton wrote: > no kalle, i am not. > > we cannot get tapestry's class reloading working with tomcat. > > regards, paul. >

Re: reloading not working, what did i break?

2010-07-12 Thread Kalle Korhonen
citly told earlier on the mailing list that the >> classloader of tomcat works in a way that doesn't allow the reloading >> technique used by T5. >> >> Happy to hear that this is wrong :) >> >> On Wed, Jun 16, 2010 at 7:28 PM, Kalle Korhonen >> wro

Re: chenillekit on T5.2.0

2010-07-12 Thread Kalle Korhonen
I don't think Chenillekit currently provides automatically built snapshots, at least not using Codehaus' infrastructure, but maybe they should - similar to Tynamo (see http://ci.repository.codehaus.org/org/tynamo/). Automatically built T5.2 snapshots are available via Apache's snapshots repo. Kall

Re: Quartz Job setup with JobDetails requires parameter free constructor - how to inject Service bindings

2010-07-12 Thread Kalle Korhonen
You create a JobSchedulingBundle (service), create a JobDataMap in it, add all the services to the map you need in your Job and then then get the map via executionContext.getMergedJobDataMap(). The concept behind JobDataMap is solid but you could arguably make a tighter and easier-to-use Tapestry-s

Re: Using PageResponseRenderer.render() in T5.2?

2010-07-09 Thread Kalle Korhonen
store functionality that existed in T5.1. It's my understanding its perfectly safe to do as suggested so we can't go that far off even if somebody wants to refactor it later. Kalle On Tue, Jul 6, 2010 at 4:47 PM, Kalle Korhonen wrote: > Attached a patch to https://issues.apache.org/jir

Re: Using PageResponseRenderer.render() in T5.2?

2010-07-06 Thread Kalle Korhonen
Attached a patch to https://issues.apache.org/jira/browse/TAP5-1201 (sorry if I'm being pushy about it but I'd rather have it resolved in the core than work around the issue in the add-on library). Kalle On Mon, Jul 5, 2010 at 2:23 PM, Kalle Korhonen wrote: > https://issues.ap

Re: Using PageResponseRenderer.render() in T5.2?

2010-07-05 Thread Kalle Korhonen
ing issue (I don't have time > to look it up) that asks for the ability to render an alternate page > from the activate event handler ... without sending a redirect. That > might fit in with your needs as well. > > On Mon, Jul 5, 2010 at 1:59 PM, Kalle Korhonen > wrote: &g

Re: Using PageResponseRenderer.render() in T5.2?

2010-07-05 Thread Kalle Korhonen
alle On Mon, Jul 5, 2010 at 10:34 AM, Howard Lewis Ship wrote: > I suppose it could; just a case of unexpected use of the APIs.  As > currently coded, we assume that the active page is identified by the > component event or page render dispatcher. > > On Sun, Jul 4, 2010 at 4:05 PM, K

Using PageResponseRenderer.render() in T5.2?

2010-07-04 Thread Kalle Korhonen
(Related to Tynamo's tapestry-security, http://tynamo.org/tapestry-security+guide) A custom exception handler added as an advice for the default one wants to handle some specific type of exceptions and proceeds to call PageResponseRenderer.render() in those cases. This works without issues in T5.1

Re: Tapestry-security 0.2.0 released!

2010-07-02 Thread Kalle Korhonen
-exceptionpage module for this case as well - even if you start your project right now I'm sure I'll get a new version of tapestry-security out before you are anywhere close to completing your project. Kalle > 2010/7/2 Kalle Korhonen > >> As an Apache Shiro committer an

Re: Tapestry-security 0.2.0 released!

2010-07-01 Thread Kalle Korhonen
e coming days. Kalle > On 2/07/2010 12:01 PM, Kalle Korhonen wrote: >> >> As an Apache Shiro committer and a strong proponent of Tapestry, I'm >> proud to announce the 0.2.0 release and immediate availability of >> tapestry-security module, which represent

Tapestry-security 0.2.0 released!

2010-07-01 Thread Kalle Korhonen
As an Apache Shiro committer and a strong proponent of Tapestry, I'm proud to announce the 0.2.0 release and immediate availability of tapestry-security module, which represents the best and most comprehensive security framework integration for Tapestry 5 applications. I can say that since it's lar

Re: [Tapestry Central] Tapestry 5.2: Improved Query Parameter Support

2010-06-26 Thread Kalle Korhonen
On Sat, Jun 26, 2010 at 10:40 AM, Howard Lewis Ship wrote: > On Sat, Jun 26, 2010 at 9:25 AM, Jim O'Callaghan > wrote: > So how about > @QueryParameter --> @RequestParameter > @QueryParameterMapped --> @ActivationQueryParameter +1 Kalle >> -Original Message- >> From: Michael Gentry [

Re: Accessing tapestry's hibernate instance from a quartz job

2010-06-24 Thread Kalle Korhonen
Chenillekit provides Quartz integration module - http://chenillekit.codehaus.org/chenillekit-quartz/index.html. Been using it for more than a year now. Kalle On Thu, Jun 24, 2010 at 7:32 PM, Howard Lewis Ship wrote: > Well, within a single JVM, Tapestry IoC service proxies will serialize > and

Re: Custom Edit Block

2010-06-16 Thread Kalle Korhonen
On Wed, Jun 16, 2010 at 12:18 PM, Jim O'Callaghan wrote: > Thiago, given that approach, where an entity with structure (Long id, String > desc) is being translated, would you mind suggesting the best approach to > access the id of my entity from within the > parseClient method of the relevant

Re: reloading not working, what did i break?

2010-06-16 Thread Kalle Korhonen
Live class reloading works fine in Tomcat. Kalle (just combating the misinformation) On Wed, Jun 16, 2010 at 3:31 AM, Inge Solvoll wrote: > Unfortunately, live class reloading does not work in tomcat, only jetty. > > On Wed, Jun 16, 2010 at 12:25 PM, Paul Stanton wrote: > >> thanks sven, >> >>

Re: Tapestry 5.1 pom.xml modifications results in BOOM

2010-06-15 Thread Kalle Korhonen
On Tue, Jun 15, 2010 at 3:42 PM, Thiago H. de Paula Figueiredo wrote: > On Tue, 15 Jun 2010 19:37:54 -0300, ebt wrote: >> I should have also added that I am using the tomcat service from within >> eclipse using run-as etc. I guess that might add a layer of complexity >> that would be hard to pin

Re: Sven Homburg's components

2010-06-13 Thread Kalle Korhonen
http://chenillekit.codehaus.org/ On Sun, Jun 13, 2010 at 3:42 PM, Paul Stanton wrote: > the link http://code.google.com/p/tapestry5-components/ on the tapestry home > page goes to a google page saying: > > "Your client does not have permission to get URL |/p/tapestry5-components/| > from this ser

Re: [ANNOUNCEMENT] tapestry-resteasy 0.2.0 and tapestry-model 0.0.2 released!

2010-06-09 Thread Kalle Korhonen
On Wed, Jun 9, 2010 at 8:09 AM, Borut Bolčina wrote: > Wow, looking forward to tapestry-security! I just saw Apache Shiro 1.0.0 was > released a few days ago. This is it, isn't it? That's the one. Kalle > 2010/6/9 Kalle Korhonen > >> On Wed, Jun 9, 2010 at 7:28

Re: [ANNOUNCEMENT] tapestry-resteasy 0.2.0 and tapestry-model 0.0.2 released!

2010-06-09 Thread Kalle Korhonen
that, a release of tapestry-security. Kalle > On Tue, 8 Jun 2010 22:34:53 -0700, Kalle Korhonen > wrote: >> (If your name is Paul Stanton, please stop reading now :-> ) >> >> They say that a release a week keeps the doctor away so to combat any >> potential illness

[ANNOUNCEMENT] tapestry-resteasy 0.2.0 and tapestry-model 0.0.2 released!

2010-06-08 Thread Kalle Korhonen
(If your name is Paul Stanton, please stop reading now :-> ) They say that a release a week keeps the doctor away so to combat any potential illnesses in advance, we are announcing tapestry-resteasy 0.2.0 and tapestry-model 0.0.2 releases! Tapestry-resteasy is whiz-bang job of Alejandro Scandroli

Re: Not Found Directed to Index

2010-06-07 Thread Kalle Korhonen
x27;m not sure what would be the ideal approach. On one hand, you want to handle custom context and not show unnecessary errors, but on the other hand you do want 404 on urls that really don't exist in your application. Kalle > On Mon, Jun 7, 2010 at 12:50 PM, Kalle Korhonen > wro

Re: Not Found Directed to Index

2010-06-07 Thread Kalle Korhonen
Use a Start page instead of an Index page - the index page treats everything as the context for the Index page if the string doesn't map to any other page. Kalle On Mon, Jun 7, 2010 at 9:43 AM, Todd Orr wrote: > I've setup a custom 404 page according to > http://wiki.apache.org/tapestry/Tapestr

Re: [T5.1.0.5] Problem with report-plugin on windows

2010-06-02 Thread Kalle Korhonen
Can somebody please please apply the patch attached to the issue (https://issues.apache.org/jira/browse/TAP5-871), at least to the trunk version? Kalle On Wed, Nov 4, 2009 at 6:53 PM, buckofive wrote: > > Just as a reference for this thread the JIRA for this issue is here: > https://issues.apac

Re: [ANNOUNCEMENT] tapestry-watchdog 0.0.1 released!

2010-05-31 Thread Kalle Korhonen
;m *soliciting* for feature requests :) Still not quite sure what kind of integration you are thinking about, but yes, watchdog uses Geronimo's javamail implementation and it's very straight-forwarded to send email with Javamail. Kalle > On Mon, May 31, 2010 at 8:45 AM, Kalle Korhonen &g

Re: [ANNOUNCEMENT] tapestry-watchdog 0.0.1 released!

2010-05-30 Thread Kalle Korhonen
>> On Mon, May 31, 2010 at 3:43 AM, Kalle Korhonen >> wrote: >> >> > My apologies if announcing Tynamo modules on Tapestry users list >> > offend anybody - if community feels that way, we have no problem >> > keeping the announcements only on Tynamo l

Re: [ANNOUNCEMENT] tapestry-watchdog 0.0.1 released!

2010-05-30 Thread Kalle Korhonen
Of course! Kalle On Sun, May 30, 2010 at 10:39 PM, Angelo Chen wrote: > > good, does it work with 5.1.0.5? > > > Kalle Korhonen-2 wrote: >> >> On Sun, May 30, 2010 at 10:28 PM, Angelo Chen >> wrote: >>> I think this is very handy app. does it depen

Re: [ANNOUNCEMENT] tapestry-watchdog 0.0.1 released!

2010-05-30 Thread Kalle Korhonen
On Sun, May 30, 2010 at 10:28 PM, Angelo Chen wrote: > I think this is very handy app. does it depend on other modules of Tynamo? No, I'll add a note on that in the guide. Kalle > Kalle Korhonen-2 wrote: >> Hey all, it's the Tynamo project here again. Just to kee

Re: [ANNOUNCEMENT] tapestry-watchdog 0.0.1 released!

2010-05-30 Thread Kalle Korhonen
maybe I should simply use to-field for all or send to each mailing list separately. Kalle > Kalle Korhonen wrote: >> >> My apologies if announcing Tynamo modules on Tapestry users list >> offend anybody - if community feels that way, we have no problem >> keeping the a

Re: [ANNOUNCEMENT] tapestry-watchdog 0.0.1 released!

2010-05-30 Thread Kalle Korhonen
y Users list. Kalle On Sun, May 30, 2010 at 5:43 PM, Paul Stanton wrote: > How do I unsubscribe from tynamo's solicitation without leaving the tapestry > users list? > > Kalle Korhonen wrote: >> >> Hey all, it's the Tynamo project here again. Just to keep up wit

[ANNOUNCEMENT] tapestry-watchdog 0.0.1 released!

2010-05-30 Thread Kalle Korhonen
Hey all, it's the Tynamo project here again. Just to keep up with releasing something new every month, we are announcing tapestry-watchdog, version 0.0.1! This module got released sometime ago but as a multi-process application that most of the time doesn't do much but needs to deliver when the tim

Re: Multiple browser windows handling with sessions

2010-05-25 Thread Kalle Korhonen
Regarding Tynamo's conversations, that's technically correct but the driving principle is "many small conversations rather than one big one". For a shopping cart, I'd certainly argue that to implement it properly, the state of a shopping cart needs to be stored in a database. Of course, the right c

Re: TSS with T5 5.2.0-SNAPSHOT

2010-05-24 Thread Kalle Korhonen
On Mon, May 24, 2010 at 10:00 AM, Pierce Wetter wrote: >  Meanwhile, shiro is about to go 1.0, and Kalle is going to bring > tapestry-security up to date with that once that is done. Just a side note, Tynamo's tapestry-security is already updated with the latest Shiro API changes. However, getti

Re: Is this a bug?

2010-05-03 Thread Kalle Korhonen
On Mon, May 3, 2010 at 3:13 PM, Massimo Lusetti wrote: > On Mon, May 3, 2010 at 10:30 PM, Howard Lewis Ship wrote: >> We don't yet have Forms and Zones working; XMLHttpRequest doesn't >> automatically handle the necessary MIME multipart/form-data content >> type.  It possible that the Upload need

Re: Tapestry 5.1.0.5 Google App Engine

2010-04-17 Thread Kalle Korhonen
I'm using the GAE maven plugin (http://code.google.com/p/maven-gae-plugin/) and I didn't really have to do anything to get GAE going with it except to work around one minor dependency issue with the plugin itself. Tapestry-conversations (http://tynamo.org/tapestry-conversations+guide) sample is run

Re: [T5.1-Hib] Hibernate 3.5-Final release with Envers

2010-04-05 Thread Kalle Korhonen
No need to exclude anything. The nearest resolution wins; if you specify a different version for the same library in your pom, that's version you are going to get. Kalle On Mon, Apr 5, 2010 at 11:40 AM, Thiago H. de Paula Figueiredo wrote: > On Mon, 05 Apr 2010 15:18:18 -0300, Everton Agner >

Tapestry-exceptionpage 0.0.1 released!

2010-04-01 Thread Kalle Korhonen
Another month, another release. This time we bring you a Tapestry-style replacement for this standard web.xml configuration: java.lang.Throwable /generalError.jsp Tapestry conveniently wraps up any uncaught exception inside ComponentEventException and displays a very nice exception page

Re: 5.0.1.8 Download?

2010-03-31 Thread Kalle Korhonen
Well that's because 5.1.0.8 hasn't been released yet. Kalle On Wed, Mar 31, 2010 at 1:19 PM, xfile80303 wrote: > > Thanks Kalle, but I still only see 5.1.0.5 there... > -- > View this message in context: > http://n2.nabble.com/5-0-1-8-Download-tp4832734p4833317.html > Sent from the Tapestry Us

Re: 5.0.1.8 Download?

2010-03-31 Thread Kalle Korhonen
You can happily browse the central Maven repo and manually download whatever you like, see e.g: http://repo2.maven.org/maven2/org/apache/tapestry/tapestry-core/ Kalle On Wed, Mar 31, 2010 at 11:42 AM, xfile80303 wrote: > > Hi all, > > It would seem that I'm experiencing some bugs in 5.1.0.5 whi

Re: 404 from onActivate

2010-03-19 Thread Kalle Korhonen
If you want Tapestry to render your error page, you need to configure the filter to handle error dispatches: app /* REQUEST ERROR Entirely possible that Jetty would route this to the app by default but I think it's o

Re: Order of processing of mixins

2010-03-18 Thread Kalle Korhonen
Just in general, explicit order of listeners would destroy (current or future) possibilities for implicit parallelism. Problems with listener ordering can be solved with event propagation (by creating a nested element). Kalle On Thu, Mar 18, 2010 at 12:27 AM, LiborGMC wrote: > > Hi, thanks for

[ANNOUNCEMENT] New releases of conversations and hibernate-seedentity modules

2010-03-15 Thread Kalle Korhonen
Just to avoid spamming the list too often, I'm sending these two release announcements as aggregated. We've released 0.1.0 version of tapestry-hibernate-seedentity and 0.1.1 of tapestry-conversations. The documentation for both is updated and the libraries are available from Central immediately. We

Re: Grid -> Create ActionLink to get details or record

2010-03-11 Thread Kalle Korhonen
There's no service typed CustData, exactly as the error message says. You are trying to @Inject CustData but it's not a service, it's your data class. What you want is to mark "CustData user" as a @Property. Kalle On Thu, Mar 11, 2010 at 8:07 PM, Chris Mylonas wrote: > Hi, > > I've got a pretty

Re: Name of application module class too complicated?

2010-03-10 Thread Kalle Korhonen
Agree with Igor. Ok, so it might trip up a few new users, but at least it fails fast and the reason is very understandable. Why remove additional flexibility that is already there. The simplest solution is to emphasize this in the documentation with bold letters and be done with it. Kalle On Wed

Re: Why does nesting break my Ajax?

2010-03-09 Thread Kalle Korhonen
Luckily, there's t:remove (http://tapestry.apache.org/tapestry5/guide/templates.html) in T5.1 as well - I use it all the time for documentation purposes. Kalle On Tue, Mar 9, 2010 at 12:43 PM, Pierce T. Wetter III wrote: > > On Mar 9, 2010, at 12:15 PM, Robert Zeigler wrote: > >> t:contnt is wh

Re: Tomcat / Tapestry 5

2010-03-08 Thread Kalle Korhonen
On Mon, Mar 8, 2010 at 11:18 AM, Christophe Cordenier wrote: > It's not only that i like to answer to myself :) but if this can help other > fighting unnecessarily with eclipse WTP plugin... Even better solution would be not to use the WTP plugin at all. Both run-jetty-run and sysdeo's Tomcat plu

Re: Tapestry Scaling

2010-03-02 Thread Kalle Korhonen
On Tue, Mar 2, 2010 at 12:13 AM, Ben Gidley wrote: > The site has seen a lot of visitors over its launch period (I am not allowed > to release actual stats) but Alexa shows us just as the 1200 most popular > site in the UK. Our load testing has shown the site scaling to 33 > pages/second (the tran

Re: users Digest 24 Feb 2010 11:26:55 -0000 Issue 4018

2010-02-25 Thread Kalle Korhonen
On Thu, Feb 25, 2010 at 1:22 AM, Ulrich Stärk wrote: > I still don't see what the purpose of such a site should be. I personally > don't want Tapestry to be developed somewhere else then at Apache - for > various reasons. And before there is no plan on what to do on an additional > site, I'm again

Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-19 Thread Kalle Korhonen
ve considered trying to figure out a way to deploy these assets (e.g. > images, swf files, js) on a static server somewhere but that will > unnecessarily complicate the app... > > Regards, > > Alex K > > On Thu, Feb 18, 2010 at 10:19 PM, Kalle Korhonen > wrote: > >

Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-18 Thread Kalle Korhonen
On that note, I also recently deployed Tynamo's conversation example to GAE (see http://tynamo.org/tapestry-conversations+guide and http://tapestry-conversations.tynamo.org/), it was pretty straight-forwarded. It's all mavenized and naturally, the source is available for others to look at. Kalle

Re: Activation context for a component?

2010-02-16 Thread Kalle Korhonen
Nathan, since you invested considerable amount of time debugging a case that seems to be just a standard event bubbling behavior, do you think that there is anything you'd think the framework or somebody could do to make the logical error in your code more visible? I know Tapestry documentation has

Re: Page render & event URLs with large optional context parameter

2010-02-16 Thread Kalle Korhonen
If you have a limited number of pagelinks referring to the same page, maybe you could just contruct them by hand and just return null in onPassivate. I.e. store the initial context to @Property initialContext and then render the page links with - would that work? Kalle On Tue, Feb 16, 2010 at 9

Re: [T5.1] How To Send HTTP Error as Response?

2010-02-11 Thread Kalle Korhonen
Simply return a StreamResponse (http://tapestry.apache.org/tapestry5/guide/pagenav.html). I use a custom StreamResponse which you can construct with a specific status code: public class TextStreamResponseWithStatus extends TextStreamResponse { private final int statusCode; public TextStre

Re: [ANNOUNCEMENT] Introducing Tynamo!

2010-02-06 Thread Kalle Korhonen
integration with GAE. Kalle On Sat, Jan 30, 2010 at 3:53 PM, sodium wrote: > > Nice project. Since there is conversational scope already, is there any plan > to include application scope to Tynamo future roadmap as well? > > > Kalle Korhonen-2 wrote: >> >> We are pleased

Re: [ANNOUNCEMENT] Introducing Tynamo!

2010-01-30 Thread Kalle Korhonen
Application scope? Why not just use a static property? Kalle On Sat, Jan 30, 2010 at 3:53 PM, sodium wrote: > > Nice project. Since there is conversational scope already, is there any plan > to include application scope to Tynamo future roadmap as well? > > > Kalle Korhonen

Re: from tapestry5 quickstart to jumpstart?

2010-01-30 Thread Kalle Korhonen
the chances are you won't need it. In any case, let us know how it goes, I'm certainly interested in hearing your experiences with EJB if you decide to take that route. Kalle > Kalle Korhonen-2 wrote: >> >> I'm glad you were able to figure it out. Yes, we've tr

Re: from tapestry5 quickstart to jumpstart?

2010-01-30 Thread Kalle Korhonen
t;> xmlns:p="tapestry:parameter"> >>                 2     >>                 3     >>                 4     >>                 5     >>                 6     >>       location >>           context:Index.tml, line 1 >> >>     * java.lang.Runtim

Re: from tapestry5 quickstart to jumpstart?

2010-01-29 Thread Kalle Korhonen
ference. > [INFO] > > [INFO] BUILD SUCCESSFUL > [INFO] > -------- > [INFO] Total time: 13 minutes 52 seconds > [INFO] Finished at: Fri Jan 29 1

Re: from tapestry5 quickstart to jumpstart?

2010-01-29 Thread Kalle Korhonen
Not a jumpstart, but you might want to try out Tynamo's archetype, see http://tynamo.org/Quick+start. It's got Hibernate, H2 etc. all set up and ready to go after you run it. Kalle On Fri, Jan 29, 2010 at 1:16 AM, faye alaska wrote: > > Hello, I am new to tapestry5 and I followed > http://tapes

Re: 5.1.0.6-SNAPSHOT ?

2010-01-26 Thread Kalle Korhonen
On Tue, Jan 26, 2010 at 5:57 PM, Bryan Lewis wrote: > I thought of another way to kick-start it.  I put my pom's Tapestry version > back to 5.1.0.5 and the tapx-datefield error went away.  Then I returned to > 5.1.0.8-SNAPSHOT and now it's working too.  Maybe some jar-version conflict > got cleare

Re: [trails-announce] [ANNOUNCEMENT] Tapestry JPA 2.0.0

2010-01-26 Thread Kalle Korhonen
apestry's > hibernate support. To get started, you may want to take a look at our > Tapestry JPA Guide[2]. > > Many thanks goes to Pierce T. Wetter who helped out with the code as > well as to Kalle Korhonen who made this release possible by guiding me > through tynamo's relea

Re: [ANNOUNCEMENT] Tapestry-resteasy 0.0.1 released!

2010-01-22 Thread Kalle Korhonen
er we like with all the power of Tapestry's plumbing at our fingertips and I think it's a worthy goal so we could really claim it to be a drop-in module. Let's add it as an enhancement request (and we are always looking for good committers :P ) Kalle > On Fri, Jan 22, 2010 at 10

[ANNOUNCEMENT] Tapestry-resteasy 0.0.1 released!

2010-01-22 Thread Kalle Korhonen
JAX-RS is simple and cool, and we at Tynamo project (http://tynamo.org) wanted to make it even simpler for you Tapestry dudes! Tapestry-resteasy is a drop-in module for making your webapplication RESTful. Follow our tapestry-resteasy guide (http://tynamo.org/tapestry-resteasy+guide) to set it up. T

Re: [T5.1.0.4] Distinguishing Between Internal and Scripts when Combining

2010-01-21 Thread Kalle Korhonen
Link is rather useful for many purposes. Kalle > Kalle Korhonen-2 wrote: >> >> This seems to be the case with 5.1.0.5 as well - was there any >> resolution for it? Did you ever create an enhancement request? >> >> Kalle >> >> >> On Sun, May 3, 200

Re: [T5.1.0.4] Distinguishing Between Internal and Scripts when Combining

2010-01-21 Thread Kalle Korhonen
This seems to be the case with 5.1.0.5 as well - was there any resolution for it? Did you ever create an enhancement request? Kalle On Sun, May 3, 2009 at 3:07 PM, Steve Eynon wrote: > Hi, > > If you add a script with an external url then script combining is disabled. > > From DocumentLinkerImp

Re: I'd like to have a page with no session for unauthenticated users, and with a session when the user is authenticated

2010-01-13 Thread Kalle Korhonen
. > CELL: 512-426-3929 > DESK: 512-623-5913 > www.KingsIsle.com > > > -Original Message- > From: Kalle Korhonen [mailto:kalle.o.korho...@gmail.com] > Sent: Wednesday, January 13, 2010 2:48 PM > To: Tapestry users > Subject: Re: I'd like to have a page with no sessi

Re: I'd like to have a page with no session for unauthenticated users, and with a session when the user is authenticated

2010-01-13 Thread Kalle Korhonen
On Wed, Jan 13, 2010 at 12:38 PM, Robin D. Wilson wrote: > In the interim, we've opted for a different solution. We've modified the > DeltaManager for Tomcat (clustering manager) to not create > sessions that are of short durations (we created a configuration switch for > "sessionReplicationDura

Re: I'd like to have a page with no session for unauthenticated users, and with a session when the user is authenticated

2010-01-13 Thread Kalle Korhonen
I'm also quite keen on having a better solution for this - it didn't seem Robin had created an issue for this, so I did: https://issues.apache.org/jira/browse/TAP5-985. Please vote if the issue is important to you. Kalle On Mon, Jan 11, 2010 at 2:28 PM, Howard Lewis Ship wrote: > True; perhaps

Re: JavaScript inside .tml breaks ZoneUpdate for IE

2010-01-12 Thread Kalle Korhonen
Or simply with @IncludeJavaScriptLibrary annotation (http://tapestry.apache.org/tapestry5.1/guide/ajax.html). Because Javascript files are combined, this doesn't incur additional load time cost. Kalle On Tue, Jan 12, 2010 at 8:55 AM, Thiago H. de Paula Figueiredo wrote: > On Tue, 12 Jan 2010 14

Re: [ANNOUNCEMENT] Introducing Tynamo!

2010-01-10 Thread Kalle Korhonen
ces several times as the same theme is used in example applications. So you know, we've thought about it, but there are pros and cons to every approach. Kalle > On Sun, Jan 10, 2010 at 7:48 PM, Kalle Korhonen > wrote: > >> On Sun, Jan 10, 2010 at 5:14 AM, Igor Drobiazko >

Re: [ANNOUNCEMENT] Introducing Tynamo!

2010-01-10 Thread Kalle Korhonen
;themes" directory from target to your src/main/webapp. Yeah, the documentation for tapestry-model-web and how you can set it up etc. is completely missing, certainly we need to fix that. Kalle > On Sun, Jan 10, 2010 at 7:55 AM, Kalle Korhonen > wrote: > >> We are pleased to

<    2   3   4   5   6   7   8   9   10   >