Skip to main content

[webtier] Getting the parent component reference inside of composite component

1 reply [Last post]
Anonymous

Hi all,

Is possible to get the parent component reference inside a composite
component? Example:

#{cc.parent} = Return the parent component of this component.

That would be useful to access the id of the parent component and maybe
apply some behaviors on it.

Thanks.
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Ed Burns

>>>>> On Tue, 02 Jun 2009 20:12:46 -0300, Paulo Cesar Reis said:

PC> Hi all,
PC> Is possible to get the parent component reference inside a composite
PC> component? Example:

PC> #{cc.parent} = Return the parent component of this component.

Yes, this should completely work.

Ed

--

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net