Re: T5: Using the strategy pattern with components.

2012-01-06 Thread Thiago H. de Paula Figueiredo
On Fri, 06 Jan 2012 04:30:09 -0200, jochenfrey wrote: Is there a way to get a reference to a component (or block) by classname (MyComponent.class), instead of the id? No. Static structure. ;) I tried out the approach Thiago suggested, and it works fine. However, it requires me to keep a

Re: tapestry 5.2.4 and spring 3.1M1

2012-01-06 Thread Igor Drobiazko
No snapshots are available because our build is currently broken. We are working on it. On Fri, Jan 6, 2012 at 4:44 AM, m...@raibledesigns.com < m...@raibledesigns.com> wrote: > I'd like to use a snapshot of 5.3.2 in my project. According to the > documentation: > > > > > A nightly build process

Field versus constructor parameter injection

2012-01-06 Thread Borut Bolčina
Hi, I am exploring the possibilities of injecting Symbols into my service. While this works: public class RestEasyClientImpl implements RestEasyClient { private Logger logger; private Integer configurationServiceConnectionTimeoutMillis; private Integer configurationServiceSocketTimeou

[5.3.x] Failure when building 5.3 branch

2012-01-06 Thread Serge Eby
Hi, I get the following error while trying to build 5.3 branch. The build is successful if I revert the last commit. excerpt --- :plastic:compileJava [ant:javac] /Users/seby/tmp/spike/tapestry5/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticClassPool.java:87: cannot fi

Problems migrating to spring-security 3.

2012-01-06 Thread Juan Alba
Hi, I am using spring 2.5.6 and I am trying to integrate my apps with facebook. As far as I saw, there is a library developed for tapestry but unfortunately it uses shirio and my apps already use spring-security. So I decided to use spring-social, this need spring 3 so I started to migrate from sp

Re: Server Side Validation with ajax form loop

2012-01-06 Thread George Christman
Hi Geoff, Implemented your suggestion with the same set of results. My pr object seems to be returned null resulting in the loss of data. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5125845.html Sent from the Tapestry

Re: Field versus constructor parameter injection

2012-01-06 Thread DH
Yes, Try: @Inject @Symbol("configuration.service.connectionTimeoutMillis") private Integer configurationServiceConnectionTimeoutMillis; 2012-01-06 DH 发件人:Borut Bolčina 发送时间:2012-01-06 22:35 主题:Field versus constructor parameter injection 收件人:List Tapestry User 抄送: Hi, I am exploring th

Re: Difference between renderSupport.addScript and JSON addInit(function, JSON Object)

2012-01-06 Thread Javix
One more question: How to trigger the exectution of js function. For exmaple, before the code was like that directly n the tml page: Some hard-coded meessage

Re: error in documentation

2012-01-06 Thread Howard Lewis Ship
Fixing ... On Thu, Jan 5, 2012 at 11:02 PM, Paul Stanton wrote: > http://tapestry.apache.org/defining-tapestry-ioc-services.html > > IOCConstants.PERTHREAD_SCOPE > > should be > > ScopeConstants.PERTHREAD > > > - > To unsubscribe

Re: error in documentation

2012-01-06 Thread Howard Lewis Ship
Emmanual beat me too it. Awesome! On Fri, Jan 6, 2012 at 9:02 AM, Howard Lewis Ship wrote: > Fixing ... > > On Thu, Jan 5, 2012 at 11:02 PM, Paul Stanton wrote: >> http://tapestry.apache.org/defining-tapestry-ioc-services.html >> >> IOCConstants.PERTHREAD_SCOPE >> >> should be >> >> ScopeConsta

Re: Difference between renderSupport.addScript and JSON addInit(function, JSON Object)

2012-01-06 Thread Thiago H. de Paula Figueiredo
On Fri, 06 Jan 2012 13:48:58 -0200, Javix wrote: One more question: How to trigger the exectution of js function. Just call it. For exmaple, before the code was like that directly n the tml page:

Re: Field versus constructor parameter injection

2012-01-06 Thread Borut Bolčina
2012/1/6 DH > Yes, Try: > > @Inject > @Symbol("configuration.service.connectionTimeoutMillis") > private Integer configurationServiceConnectionTimeoutMillis; > > > Nope, tried that also, forgot to include it in my original email.

Re: Field versus constructor parameter injection

2012-01-06 Thread Howard Lewis Ship
What version of Tapestry are you using, and how is the class being instantiated. If you are simply using "new", then Tapestry is not involved and no injections take place. On Fri, Jan 6, 2012 at 9:41 AM, Borut Bolčina wrote: > 2012/1/6 DH > >> Yes, Try: >> >> @Inject >> @Symbol("configuration.s

Re: development with eclipse+tomcat

2012-01-06 Thread Kalle Korhonen
On Fri, Dec 23, 2011 at 1:23 PM, Paul Stanton wrote: > That document is great, much better than what I could find last time around. > The only step which I had to go searching elsewhere to solve was finding > where the "DevLoader" was! > I figured out (google) that the devloader package is actuall

Re: The best way to use Stacks to combine css and javascript?

2012-01-06 Thread Bo Gao
> Would it be possible to put all three in one stack, or does 1.css and > 3.css have conflicting rules? > I think the intended use of the stack functionality was to make an all > (or mostly) inclusive one for your entire app/library and re-use it in > many places; the rationale being that the savi