Re: Accessing a component property from html page

2005-06-04 Thread Christian
This is just a wild guess: In "page.components.holdingQuantityPie.size" getPage().getComponents() is a map. How should you be able to retrieve a component out of that? couldn't you try something like page.getComponent(holdingQuantityPie).size? I am not 100% sure about the ognl syntax... c

Re: Accessing a component property from html page

2005-06-02 Thread Paul Woodward
The component in question belongs to the border, not the page. leaving out the page. as suggested worked. On 6/2/05, Andreas Andreou <[EMAIL PROTECTED]> wrote: > > Yes, it's null... > Do a > > > > to see which components are there... > > Do you add these 2 components into the page directly?

Re: Accessing a component property from html page

2005-06-02 Thread Andreas Andreou
Yes, it's null... Do a to see which components are there... Do you add these 2 components into the page directly? or do you add a Border component into your page and then add those 2 components into the Border... page.components only returns components directly added to the page There's a

Re: Accessing a component property from html page

2005-06-02 Thread Paul Woodward
I get no output from the insert at all - so it's null? On 6/2/05, Andreas Andreou <[EMAIL PROTECTED]> wrote: > > From the Exception thrown, it seems that > > ognl: page.components.holdingQuantityPie > > returns null, but I can't figure why, since your code seems correct. > > Can you confirm t

Re: Accessing a component property from html page

2005-06-02 Thread Andreas Andreou
From the Exception thrown, it seems that ognl: page.components.holdingQuantityPie returns null, but I can't figure why, since your code seems correct. Can you confirm this? i.e. instead of HoldingChart, add a Paul Woodward wrote: Hi all, I'm somewhat new to tapestry so apologies if this

Accessing a component property from html page

2005-06-02 Thread Paul Woodward
Hi all, I'm somewhat new to tapestry so apologies if this is obvious: I have a squisher component which hides and shows its body. The squisher has zoom buttons that adjust a member property called size: I want to be able to pass the size property to a subcomponent so that can affect the way i