[ANN] Spock 0.7 Released

2012-10-08 Thread Peter Niederwieser
his release. If you have anything to say, or have an idea how we can improve our Tapestry support, please reach out to us on http://forum.spockframework.org. One more thing: The next release is going to be 1.0! The highest priority for 1.0 is to complete the reference documentation. Cheers, P

[ANN] Spock 0.5 released

2010-12-11 Thread Peter Niederwieser
dehaus.org). ----- Peter Niederwieser Creator, http://spockframework.org Committer, http://groovy.codehaus.org Twitter: @pniederw -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-Spock-0-5-released-tp3301531p3301531.html Sent from th

Re: Adding palette to BeanEditForm

2010-09-23 Thread Peter Niederwieser
Found the problem. Should be instead of . Cheers, Peter -- View this message in context: http://tapestry.1045711.n5.nabble.com/Adding-palette-to-BeanEditForm-tp2851150p2851352.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Adding palette to BeanEditForm

2010-09-23 Thread Peter Niederwieser
I'm trying to add a palette as an additional field to a BeanEditForm. Something along the lines: However, I'm always getting: java.lang.RuntimeException: The data type for property 'kpis' is null Does this mean I have to switch to a hand-coded form to make this work? T5.2

Note on debugging T5.2 apps

2010-09-20 Thread Peter Niederwieser
Just wanted to say that I've found debugging T5.2 apps very difficult because: - fields in page classes are null due to the new approach to page sharing - line numbers in page classes are off (may or may not be related to the fact that our pages are written in Groovy) How about enabling page poo

Problem with BeanEditForm validation

2010-09-19 Thread Peter Niederwieser
When using a BeanEditForm, I don't get validate events for individual properties (e.g. "onValidateFromUsername"). Only when I add a custom block for a property with an element and a t:id, I do get the event. Is this a bug? I'm using Tapestry 5.2.0. Cheers, Peter -- View this message in context:

Re: Exceptions during registry startup

2010-09-18 Thread Peter Niederwieser
My @Startup method does get invoked, and I do see "Error invoking startup method" in the log file. However, I never get a stack trace, neither in the log file nor on system out/err. Does this mean I've misconfigured something? Cheers, Peter -- View this message in context: http://tapestry.10457

Re: Exceptions during registry startup

2010-09-16 Thread Peter Niederwieser
What's the status on this? Seems the problem still exists in 5.2. No matter which log level I choose, I never see stack traces of exceptions thrown from a module's @Startup method. Cheers, Peter -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exceptions-during-registry-st

Re: A big thank you to Tapestry

2010-08-06 Thread Peter Niederwieser
attempted to use the login function on the same page in stead. > > If this is not working for you, I'd love to know the details (url, > browser, OS etc.) about your situation so I can fix where needed. > > Thank you for your feedback, > Joost > > On Fri, Jul 30, 2

Re: A big thank you to Tapestry

2010-07-30 Thread Peter Niederwieser
"Try it yourself" failed my 1-minute test. Always get "License not recognized". No idea what to enter in the license field. Cheers, Peter -- View this message in context: http://old.nabble.com/A-big-thank-you-to-Tapestry-tp29291226p29308137.html Sent from the Tapestry - User mailing list archi

Re: Component .java file unit testing and @Property

2010-06-17 Thread Peter Niederwieser
Another option: Write your tests in Groovy, which lets you access private fields. (Of course you'll get other benefits from using Groovy. In short, it's a much better language for testing, especially when combined with Spock.) Cheers, Peter Christian Edward Gruber-3 wrote: > > Hey, > > S

[ANN] Spock Framework 0.4 released, with improved Tapestry support

2010-05-28 Thread Peter Niederwieser
tests, here are a few links to get you started: Spock Homepage Spock Web Console Spock Example Project Spock-Tapestry Documentation Any feedback is greatly appreciated! Happy testing, Peter ---- Peter Niede

Re: How to create analog of Spring FactoryBean?

2009-09-14 Thread Peter Niederwieser
I'd be interested to see a ServiceLifecycle implementation for prototype scope. I recently tried to come up with one, but it didn't seem to be doable. Cheers, Peter Thiago H. de Paula Figueiredo wrote: > > Then you can create a new Tapestry-IoC scope (ServiceLifecycle > implementation) that

Re: Why does Registry.get(Class, AnnotationProvider) ignore @Scope?

2009-09-06 Thread Peter Niederwieser
Well, actually it does compile - if the class is written in Groovy. :-) Have to investigate this further. Anyway, I now understand that @Scope is allowed on a service implementation class, but not on its fields. Thanks for the clarification! Cheers, Peter Thiago H. de Paula Figueiredo wrote: >

Why does Registry.get(Class, AnnotationProvider) ignore @Scope?

2009-09-06 Thread Peter Niederwieser
I'm using Registry.get(Class, AnnotationProvider) to find matching services for fields of an object that is not under Tapestry's control. Everything works fine, except that annotating a field with @Scope("myOwnScope") has no effect. Is this a bug? If not, what can I do to obtain a service with the