Re: Quick Contrib:Table question (how to get an ExpressionEvaluator?)

2006-08-16 Thread Norbert Sándor
... or in 4.1 the service is injected automatically, so you don't need the @InjectObject annotation. Regards, Norbi Ryan Cuprak wrote: D'oh was a simple fix, use service: @InjectObject("service:tapestry.ognl.ExpressionEvaluator") On Wednesday, August 16, 2006, at 07:54AM, Ryan Cuprak <[EMA

Re: Quick Contrib:Table question (how to get an ExpressionEvaluator?)

2006-08-16 Thread Ryan Cuprak
D'oh was a simple fix, use service: @InjectObject("service:tapestry.ognl.ExpressionEvaluator") On Wednesday, August 16, 2006, at 07:54AM, Ryan Cuprak <[EMAIL PROTECTED]> wrote: > > Thanks, > That is much simpler! > For the ExpressionTableColumn I need a ExpressionEvaluator as the last > par

Re: Quick Contrib:Table question (how to get an ExpressionEvaluator?)

2006-08-16 Thread Ryan Cuprak
Thanks, That is much simpler! For the ExpressionTableColumn I need a ExpressionEvaluator as the last parameter. I think it is a tapestry service (still digging through the binding files), thought this would work: @InjectObject("infrastructure:tapestry.ognl.ExpressionEvaluator") public

Re: Quick Contrib:Table question

2006-08-16 Thread Robert Zeigler
If you want, you don't even have to implement ITableColumnModel. just do something like: .html: .java: public List getColumnList() { List ret = new ArrayList(); String columnId="callPointH"; String columnHeader="Call Point H"; //not that the root of your ognl expression is the cu

Quick Contrib:Table question

2006-08-16 Thread Ryan Cuprak
Hello, I am working creating a table for which the number of columns is dynamic (user can control which columns they want displayed). What is the proper approach for implementing the behavior? Thus far I created an implementation of ITableColumnModel which then returns the custom set of co