Disable PageRenderSupport

2008-04-26 Thread Fernando Padilla
Hello. I would like to disable the default PageRenderSupport. How can I do that? here is what I know so far, but not close enough.. pleae help. I can override/shadow PageRenderSupport by adding a MarkupRendererFilter, "after:PageRenderSupport". But PageRenderSupport will still call it's b

Re: T5 Component question based on the Count component in documentation

2008-04-26 Thread maxthesecond
allegedly longs from http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/coercion.html and then Vm will turn them Intsif not the lord itself, but nevertheless still puzzled , specially if I commplete your sentence: 'tapestry can interprete numerics as integer' but not strings as s

AJAX and the bleeding edge... minor pains...

2008-04-26 Thread Steven Woolley
Like pouring ajax in my wounds? Trying to upgrade from 5.0.6, and upgrading all my ajax stuff is killing me... The issues I've run into (I'm shoehorning things a bit, by just returning a block from an actionevent handler and grabbing the markup from the jsonresponse with my AJAX response handler.

Re: Creating components - best practices

2008-04-26 Thread Bill Holloway
I think I'd try to factor that out a little. Injecting a page into a component is a little surprising. If you need injected behaviors in a component, that sounds like the right place for a service. For your feedback data, if you persist it between requests, then I'd look at an application state

Re: T5 Component question based on the Count component in documentation

2008-04-26 Thread Sven Homburg
tapestry can interprete numerics as integer (or long, im not sure) 2008/4/26 maxthesecond <[EMAIL PROTECTED]>: > > wunderbar > But still I'm lost in the space:why? I mean why integer values doesen't > subdue to this literal rule?..well I see they are not literate... > Infinite thanks I'll read ag

Re: T5 Component question based on the Count component in documentation

2008-04-26 Thread maxthesecond
wunderbar But still I'm lost in the space:why? I mean why integer values doesen't subdue to this literal rule?..well I see they are not literate... Infinite thanks I'll read again once more the documentation and try get it right in my mind. Thanks again. Sven Homburg wrote: > > you should use

Re: T5 Component question based on the Count component in documentation

2008-04-26 Thread Sven Homburg
you should use "literal:mytext" for parameter stext without "literal" tapestry tries to interpret "mytext" 2008/4/26 maxthesecond <[EMAIL PROTECTED]>: > > In the count sample component > > > http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/parameters.html > > > public class Count

T5 Component question based on the Count component in documentation

2008-04-26 Thread maxthesecond
In the count sample component http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/parameters.html public class Count { @Parameter private int _start = 1; @Parameter(required = true) private int _end; //added by me @Parameter(required = true) private

Re: T5-Components: DAO component issue

2008-04-26 Thread Sven Homburg
findById is renamed to doRetrieve 2008/4/26 Andreas Pursian <[EMAIL PROTECTED]>: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi list, hi sven, > > i'm using the t5-contrib dao component in my project. While upgrading > from t5c-contrib 5.0.10 to 5.0.11 i noticed that the findById() meth

T5-Components: DAO component issue

2008-04-26 Thread Andreas Pursian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi list, hi sven, i'm using the t5-contrib dao component in my project. While upgrading from t5c-contrib 5.0.10 to 5.0.11 i noticed that the findById() method seems not to be available anymore, is there a special reason for it? thanks in advance ...

Re: accessing core services

2008-04-26 Thread Sven Homburg
@InjectService is possible, if you must inject a service by his ID (if two or more services implement the same interface) 2008/4/26 Chris Lewis <[EMAIL PROTECTED]>: > Janos > > No, @Inject does not work in services. However injection still works on > them, and is done via constructor arguments. Y

T4... @For component question - is there a high water delimeter parameter ?

2008-04-26 Thread Ken in nashua
Folks, I have a collection of size 50. But I only want to iterate ten at a time. Is there a parameter in the tapestry-4.1.6 FOR component that will permit me to jump out once index reaches 10? I can set index to anything I want. I only want the for loop to go 10 items and break. Thoughts an

Re: accessing core services

2008-04-26 Thread Chris Lewis
Janos No, @Inject does not work in services. However injection still works on them, and is done via constructor arguments. You don't have to instantiate your service, just bind it in your module's bind() method and T5-ioc will sort out the details. To me that seems perfectly sensible and enforces

Re: accessing core services

2008-04-26 Thread János Jarecsni
However, @Inject Logger logger; does not work even now. It is a pity, because this way I have to list all stuff I need in the constructor... I'd rather inject them. Is there some rule in which kind of classes injection works? thx janos 2008/4/26 János Jarecsni <[EMAIL PROTECTED]>: > This helpe

Re: accessing core services

2008-04-26 Thread János Jarecsni
This helped! THX! :) Janos 2008/4/25 Sven Homburg <[EMAIL PROTECTED]>: > i hope it helps you: > > put this code into your ApplicationModule > > public static buildMyDispachter(ComponentClassResolver resolver) > { > return MyDispatcher(resolver); > } > > 2008/4/25, János Jarecsni <[EMAIL PROTECTE