Re: [Announce] Wooki - Collaborative Writing

2010-01-19 Thread Igor Drobiazko
Very nice tool. I suggest you don't display user's email. On Tue, Jan 19, 2010 at 5:13 PM, cordenier christophe < christophe.corden...@gmail.com> wrote: > Hi > > Thanks a lot for your feedbacks, currently we have found some minor UI bugs > on the deployed version. So please don't mind for small s

Re: Different ExceptionReport for different pages

2010-01-19 Thread cordenier christophe
Hi, We have implemented such a feature in our project and documented it on our blog http://spreadthesource.com/2010/01/handle-multiple-exception-page-with-tapestry-5/ Hope this can help. Christophe Cordenier, Developper of Wooki @http://wookicentral.com Source code : http://github.com/robink/wo

Re: UrlRewriter - t:pagelink to alias url

2010-01-19 Thread Piero Sartini
>> [ERROR] TapestryModule.RequestExceptionHandler Processing of request >> failed with uncaught exception: java.lang.ExceptionInInitializerError >> java.lang.ExceptionInInitializerError >>        at >> de.pierosartini.tynamo.services.impl.TynamoComponentClassResolverImpl$6.invoke(TynamoComponentCla

Re: Is it a bug? T5.1.05

2010-01-19 Thread Howard Lewis Ship
Both classes are "component classes", meaning they are instrumented by Tapestry. Tapestry writes its own constructor (that how most injections work) and therefore won't use your constructor, unless its the no-arguments constructor. On Tue, Jan 19, 2010 at 8:27 AM, lyf wrote: > > Thank you Howard.

Re: UrlRewriter - t:pagelink to alias url

2010-01-19 Thread Thiago H. de Paula Figueiredo
On Tue, 19 Jan 2010 15:21:14 -0200, Piero Sartini wrote: [ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: java.lang.ExceptionInInitializerError java.lang.ExceptionInInitializerError at de.pierosartini.tynamo.services.impl.TynamoComponentC

Re: UrlRewriter - t:pagelink to alias url

2010-01-19 Thread Piero Sartini
>> It would be great to just override ComponentClassResolver - but this >> does not seem to work?! > > What exactly do you mean by "does not seem to work"? binder.bind(ComponentClassResolver.class, TynamoComponentClassResolverImpl.class).withId("Override"); For now, TynamoComponentClassResolverIm

Re: Is it a bug? T5.1.05

2010-01-19 Thread lyf
Thank you Howard. Sorry, I didn't describe it clearly. I mean the base class does not have a default constructor but the component class has. They look like the following code: // ObjectList.groovy package myroot.base; class ObjectList { public ObjectList(String methodName) {

Re: [Announce] Wooki - Collaborative Writing

2010-01-19 Thread cordenier christophe
Hi Thanks a lot for your feedbacks, currently we have found some minor UI bugs on the deployed version. So please don't mind for small service interruption (less than one minute) Regards, Christophe. 2010/1/19 ningdh > Cool, very nice. > > Can't wait to try. > > DH > > - Original Message -

Re: Is it a bug? T5.1.05

2010-01-19 Thread Howard Lewis Ship
No component class is allowed to have anything but the default constructor. I'm not sure if this is made sufficiently clear in the documentation. On Tue, Jan 19, 2010 at 6:07 AM, lyf wrote: > > I use groovy with T5 > > I got a base abstract class ObjectList.groovy in the base package > And I got

Re: UrlRewriter - t:pagelink to alias url

2010-01-19 Thread Thiago H. de Paula Figueiredo
On Tue, 19 Jan 2010 13:55:14 -0200, Piero Sartini wrote: It would be great to just override ComponentClassResolver - but this does not seem to work?! What exactly do you mean by "does not seem to work"? -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate cons

Re: UrlRewriter - t:pagelink to alias url

2010-01-19 Thread Piero Sartini
>>> - if not, make tapestry think there is a page which is in fact located >>> somewhere else >> >> You could advice ComponentSource to change the getPage(String name) method >> parameter value before its invoked. > > I will try this, thanks! I think it could work if I advise to ComponentClassReso

Re: [Announce] Wooki - Collaborative Writing

2010-01-19 Thread ningdh
Cool, very nice. Can't wait to try. DH - Original Message - From: "Robin Komiwes" To: "Tapestry users" Cc: "Verachten Bruno" ; "Christophe Cordenier" Sent: Tuesday, January 19, 2010 11:24 PM Subject: [Announce] Wooki - Collaborative Writing What would you need if you had to publis

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 http://www.albourne

[Announce] Wooki - Collaborative Writing

2010-01-19 Thread Robin Komiwes
What would you need if you had to publish a document and then get it reviewed by someone else? You will be looking for a publish platform, with at least some comment system and a social network. That’s Wooki’s baseline. Wooki is thought to be simple, based on a friendly user interface. Wooki also

Is it a bug? T5.1.05

2010-01-19 Thread lyf
I use groovy with T5 I got a base abstract class ObjectList.groovy in the base package And I got a component class DomainList.groovy extends ObjectList in the components package. ObjectList got only one constructor with a parameter, in which case T5 would throw a exception saying the ObjectList

Re: UrlRewriter - t:pagelink to alias url

2010-01-19 Thread Piero Sartini
> This seems to me more of a Tynamo issue than a Tapestry one itself, so I > guess you'll have a better answer from the Tynamo team. ;) I don't think so. This issue is about implementing a specific functionality missing in tynamo right now ;) We are discussing the issue within http://jira.codehaus

Re: UrlRewriter - t:pagelink to alias url

2010-01-19 Thread Thiago H. de Paula Figueiredo
This seems to me more of a Tynamo issue than a Tapestry one itself, so I guess you'll have a better answer from the Tynamo team. ;) The goal is simple: - check if there is a page available at a specific location You can use PageRenderRequestParameters decodePageRenderRequest(Request reques

Re: UrlRewriter - t:pagelink to alias url

2010-01-19 Thread Piero Sartini
>> The usecase is for tynamo's crud functionality. >> We want to provide generic Add/List/Edit pages inside our library. > > The normal, unchanged URL for your pages can still be used, so you shouldn't > worry about them. URL rewriting is aliasing, not overriding. Of course we could use "/tynamo/a

Res: Chenille Kit - Handle response error

2010-01-19 Thread Everton Agner
It looks promising! Thanks! The only bad thing is that my request didn't even reach the T5 Filter... because the systems needs another filter (http servlet filter) for anthentication and authorization... It will need some workaround... Thanks! Everton De: Mo

Re: UrlRewriter - t:pagelink to alias url

2010-01-19 Thread Thiago H. de Paula Figueiredo
On Tue, 19 Jan 2010 10:28:27 -0200, Piero Sartini wrote: The usecase is for tynamo's crud functionality. We want to provide generic Add/List/Edit pages inside our library. The normal, unchanged URL for your pages can still be used, so you shouldn't worry about them. URL rewriting is alia

Re: UrlRewriter - t:pagelink to alias url

2010-01-19 Thread Piero Sartini
>> I want to use UrlRewriter in order to make a page appear in two locations. >> Now my problem is that I am not able to link to both destinations >> (with t:pagelink for example). > > Why would you want/like that in first place? The usecase is for tynamo's crud functionality. We want to provide g

Re: Load page/component without ComponentClassResolver

2010-01-19 Thread Thiago H. de Paula Figueiredo
On Tue, 19 Jan 2010 09:41:49 -0200, Piero Sartini wrote: After trying to override ComponentClassResolver (which did not work), You could also advise it. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, softwar

Re: UrlRewriter - t:pagelink to alias url

2010-01-19 Thread Thiago H. de Paula Figueiredo
On Tue, 19 Jan 2010 09:50:27 -0200, Piero Sartini wrote: I want to use UrlRewriter in order to make a page appear in two locations. Now my problem is that I am not able to link to both destinations (with t:pagelink for example). Why would you want/like that in first place? Tapesty's UR

UrlRewriter - t:pagelink to alias url

2010-01-19 Thread Piero Sartini
I want to use UrlRewriter in order to make a page appear in two locations. Now my problem is that I am not able to link to both destinations (with t:pagelink for example). Is there any way for me to make a page appear under two locations and be able to use it as it is available in both locations?

Re: Load page/component without ComponentClassResolver

2010-01-19 Thread Piero Sartini
After trying to override ComponentClassResolver (which did not work), I played with UrlRewriter infrastructure. I think most of what I need could be done by just using it. Thanks! - To unsubscribe, e-mail: users-unsubscr...@tapes

Tapestry 4.1.6 : setCheckboxGroup not consistent with refresh button & Browser refresh(F5)

2010-01-19 Thread seshu babu
Hi All, I am facing a problem in a scenario where table rows get dynamically updated using a refresh button. Problem :Clicking on the table group checkbox doesn't select(check) all the rows in the table if refresh button is used (not browser F5). Say if initially there are 2 rows & later a new r

Re: Handling session expiry

2010-01-19 Thread Klaus Kopruch
Ah, thanks! Massimo Lusetti wrote: > >> >> Thanks a lot! >> >> How can I access a T5 service from sessionDestroyed() ? > > As i said from my first reply get the Registry from the > ServletContext, it is stored there under > TapestryFilter.REGISTRY_CONTEXT_NAME > -- View this message in cont

Re: Handling session expiry

2010-01-19 Thread P . Stavrinides
So an example of what Massimo is saying: Registry registry = (Registry) context.getAttribute(TapestryFilter.REGISTRY_CONTEXT_NAME); registry.getService(YourServiceInterface.class); Where context is the ServletContext. regards, Peter - Original Message - From: "Massimo Lusetti" To: "Ta

Re: Handling session expiry

2010-01-19 Thread Massimo Lusetti
On Tue, Jan 19, 2010 at 10:15 AM, Klaus Kopruch wrote: > > Thanks a lot! > > How can I access a T5 service from sessionDestroyed() ? As i said from my first reply get the Registry from the ServletContext, it is stored there under TapestryFilter.REGISTRY_CONTEXT_NAME Cheers -- Massimo http://me

Re: Handling session expiry

2010-01-19 Thread Klaus Kopruch
Thanks a lot! How can I access a T5 service from sessionDestroyed() ? P.Stavrinides wrote: > > Exactly, just set it in your web.xml: > > > com.web.application.SessionListener > > > And then in SessionListener: > > /** @see HttpSessionListener#sessionC