You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by su...@gmx.de on 2007/12/03 18:13:29 UTC

How to access component properties inside of a page

Hi there!

I want to access the property selectedBlockID of a component called GraphicalTabPanel inside of a page that includes this component.

The method getComponent() returns an IComponent.

GraphicalTabPanel panel = this.getComponent("GraphicalTabPanel ");

and I can not cast it to GraphicalTabPanel which extends BaseComponent - but it does not implement IComponent.

Thought this should be something simple?

Thanks!

Toby

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to access component properties inside of a page

Posted by su...@gmx.de.
..sorry, just ignore this message 

	GraphicalTabPanel panel = (GraphicalTabPanel)this.getComponent("tabPanel");
	

lol

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org