Re: [Trinidad] tr:chart doesn't work inside tr:iterator?

2007-11-02 Thread venkata guddanti
By looking at the code I cannot see any reason why the ChartRenderer cannot get hold of the EL bound value property. Can you put the model inside the bean for e.g. #{bean.model} for the chartModel and #(bean.component} for the component. Another thing that you can try is to get the trinidad source

Re: [Trinidad] tr:chart doesn't work inside tr:iterator?

2007-11-02 Thread Dan Potter
Yes I think my ChartModel class is fine, I can use the class with a tr:chart tag that is not within another tag that has bound the ChartModel instance to a var attribute. It's like the chart tag can't read a var binding from a parent tag. I've tried using forEach too with no luck. On 11/1/07, ve

Re: [Trinidad] tr:chart doesn't work inside tr:iterator?

2007-11-01 Thread venkata guddanti
You could also try using af:forEach instead of af:iterator. Regards, Venkata On 11/1/07, venkata guddanti <[EMAIL PROTECTED]> wrote: > > I am not sure I understand this issue. The value attribute for the > tr:chart must be bound to a ChartModel instance. So if you did that did you > add component

Re: [Trinidad] tr:chart doesn't work inside tr:iterator?

2007-11-01 Thread venkata guddanti
I am not sure I understand this issue. The value attribute for the tr:chart must be bound to a ChartModel instance. So if you did that did you add component getter/setter inside it which is an instance of CoreChart? Regards, Venkata On 10/31/07, Dan Potter <[EMAIL PROTECTED]> wrote: > > t:dataLis

Re: [Trinidad] tr:chart doesn't work inside tr:iterator?

2007-10-31 Thread Dan Potter
t:dataList seemed to behave the same way. I did a little more experimenting and I can print out the title of the charts returned by the iterator or dataList, so they aren't null. The chart tag just thinks the object is null. I get this error. javax.faces.el.PropertyNotFoundException: Error sett

Re: [Trinidad] tr:chart doesn't work inside tr:iterator?

2007-10-31 Thread Andrew Robinson
try the t:dataList and report the findings, ppl have found it to be less buggy. On Oct 31, 2007 12:16 PM, Dan Potter <[EMAIL PROTECTED]> wrote: > Hello, > I have a tr:iterator iterating over an arrayList of charts in my backing > bean. The chart variable returned is null though, causing errors in