Re: component report failing

2010-05-07 Thread Igor Drobiazko
No problems here. On Thu, May 6, 2010 at 11:10 AM, Ulrich Stärk wrote: > Hey guys, > > somehow the tapestry-component-report in 5.2-SNAPSHOT is failing for me > (see stack trace below). Has anyone else seen this? I believe that there's a > problem with the dependencies but before changing them I

Re: [T5.1] tapestry-spring-security : overriding saltsource probleme

2010-05-07 Thread Michael Gerzabek
ouch, sorry! I don't have the time now to dig deeper but will do tomorrow .. Am 07/05/2010 07:00, schrieb Nicolas Bouillon: Did you tried that ? It doesn't work, because TSS pass this value to the SystemWideSaltSource class from spring add calls the following afterPropertiesSet method :

Re: Heavy and long background process

2010-05-07 Thread Massimo Lusetti
On Fri, May 7, 2010 at 3:58 AM, Alex Kotchnev wrote: > We've used Spring Batch quite a bit to handle situations like this. Lots of > good infrastructure that we didn't have to reinvent I really don't want to put more deps on the app that are not actually needed. My question was more about how t

Re: Heavy and long background process

2010-05-07 Thread Andreas Andreou
I've done similarly to how Kristian described with one small addition - i had the background thread check a cancel flag every once in a while so that it's possible to cancel it manually from the UI. On Fri, May 7, 2010 at 11:25, Massimo Lusetti wrote: > On Fri, May 7, 2010 at 3:58 AM, Alex Kotchn

Re: [T5.1] tapestry-spring-security : overriding saltsource probleme

2010-05-07 Thread Nicolas Bouillon
Oups, sorry i had made a mistake when trying this way. I actually worked. public static void contributeServiceOverride( MappedConfiguration configuration) { configuration.add(SaltSourceService.class, new SaltSourceService() { public Object getSalt(UserDetails u

Re: [T5.1] tapestry-spring-security : overriding saltsource probleme

2010-05-07 Thread Michael Gerzabek
So finally it's fine! I'll put your code into the 'official' documentation .. Thank you Am 07/05/2010 10:55, schrieb Nicolas Bouillon: Oups, sorry i had made a mistake when trying this way. I actually worked. public static void contributeServiceOverride( MappedConfiguration

[ANN] JumpStart 4.7 released

2010-05-07 Thread Geoff Callender
Hi all, JumpStart 4.7 is now available. It features: * New: One Page CRUD example. * New: One Page CRUD with Filter example. * Fixed: Creating a fresh project was failing due to references in AppModule to old class ProtectedPageGateKeeper. Use it live: http://j

Re: [ANN] JumpStart 4.7 released

2010-05-07 Thread Sergey Didenko
Hi Geoff, there is an error on "http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/state/ejb3"; " Source code: JNDIServicesLocator.java -- The file was not found. Path given was /WEB-INF/sourcecode/business/src/main/java/jumpstart/util/JNDIServicesLocator

Duplicate class definition for TapestryIOCModule on Geronimo deploy

2010-05-07 Thread Andreas Bohnert
dear list, I try to get tapestry 5 running on geronimo 2.2 with just one page and zero configuration, but I get an exception (full stacktrace at the end of this post) / java.lang.LinkageError: loader (instance of org/apache/geronimo/kernel/config/MultiParentClassLoader): attempted duplicat

Re: component report failing

2010-05-07 Thread Ulrich Stärk
That's so annyoing. Happens with Maven 2.0 as well as with 2.2. On 07.05.2010 09:04, Igor Drobiazko wrote: No problems here. On Thu, May 6, 2010 at 11:10 AM, Ulrich Stärk wrote: Hey guys, somehow the tapestry-component-report in 5.2-SNAPSHOT is failing for me (see stack trace below). Has an

Partial form updates with zones

2010-05-07 Thread Jim O'Callaghan
Is there any timeline in place for getting zone updates within forms working or is this something that will be in Tap 5.2.0? It would be a very handy feature. Thanks, Jim.

[T5.1] Obtaining The Page Name In A MarkupRendererFilter

2010-05-07 Thread Steve Eynon
Hello, I'm looking at ways to automatically insert the name of the page being rendered into each page (so my selenium tests can check the correct page was finally rendered). This was done using a component I placed on each page but I'm looking for a more elegant solution. I've tried contributing

Re: [T5.1] Obtaining The Page Name In A MarkupRendererFilter

2010-05-07 Thread Dmitry Gusev
public void contributeMarkupRenderer(OrderedConfiguration configuration, final MetaDataLocator metaDataLocator, final ComponentEventLinkEncoder linkEncoder, final RequestGlobal

Re: [T5.1] Obtaining The Page Name In A MarkupRendererFilter

2010-05-07 Thread Thiago H. de Paula Figueiredo
On Fri, 07 May 2010 11:05:56 -0300, Dmitry Gusev wrote: public void contributeMarkupRenderer(OrderedConfiguration configuration, final MetaDataLocator metaDataLocator, final ComponentEventLinkEncoder linkEncoder

Re: [T5.1] Obtaining The Page Name In A MarkupRendererFilter

2010-05-07 Thread Steve Eynon
Thanks for the help and a quick response! The following gives me what I need inside a MarkupRendererFilter: @Inject private Request request; @Inject private ComponentEventLinkEncoder linkEncoder; @Inject private ComponentClassResolver classResolver; String logicalPageName = linkEncoder.decodePa

RE: Zone ID issue

2010-05-07 Thread Jim O'Callaghan
Looks like I had a false start on hoping to fix this one. The recurrence is so infrequent it's hard to pin down. Though all the component ids are explicitly bound, I occasionally get a block rendered within the component that is using a duplicate id (of the manually assigned and unique ids) -

Re: [jira] Closed: (TAP5-1134) Upgrade Hibernate dependencies to 3.5.1

2010-05-07 Thread Howard Lewis Ship
My client's project is using hibernate-search and, after the upgrade, I get the following: Caused by: java.lang.RuntimeException: Error invoking service builder method org.apache.tapestry5.hibernate.HibernateCoreModule.buildHibernateSessionSource(Logger, List, RegistryShutdownHub) (at HibernateC

Re: How to load tml files from the filesystem instead of classpath?

2010-05-07 Thread Josh Canfield
Hi! > I´ve spent nearly all the day with this and I don´t get what I want what´s > really annoying…so my love relation with T5 is turning into frustration > right now Hopefully you understand that you're moving off the reservation a bit and that things are going to be harder. If Tapestry was about

Re: Heavy and long background process

2010-05-07 Thread Josh Canfield
> Hi all, Hi, > I need to process a big chunk on data uploaded from users. The whole > process takes up to 2-4 hours as involve a big change in the database. > > I've implemented this as a series of Invokable from ParallelExecutor > and a "controller" service which hold a weak references to the c

Re: [ANN] JumpStart 4.7 released

2010-05-07 Thread Geoff Callender
Thanks Sergey. I've fixed it and released 4.7.1. Cheers, Geoff On 07/05/2010, at 8:11 PM, Sergey Didenko wrote: > Hi Geoff, > > there is an error on > > "http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/state/ejb3"; > > " > Source code: JNDIServicesLocator.java > --