inheritance - Is it possible to have function-specific variables viewable by extending components? -
In Adobe Flex, it is possible to declare a public function, which can be overridden in that category Increases the square:
public class class1 {public function method 1 {public var var1: string = "hello world"; }} Public Class Class 2 Class 1 (Override Public Function Method 1) {alert.show (super.var1 + "!"); }}
How can the extended category reach that public preference?
I am thinking that if something like this is possible in the Seedfusion. I know that component-specific variables are stored in the "this" and "variable" area, and the "var" radius is private in the method in which it has been declared, but is there something in it?
PS Sorry for the most obscure tags on this ....
I see what you are trying to do, but this is not the answer, it is not possible to do this in coldfusion. It is not how the part in the CF works.
However, you have access to run the parent class version of the function; And you can use a component-global radius, such as a variable (or user's session area, etc.)
& Lt; Cfdump var = "# variables #" /> & Lt; / Cffunction & gt; & Lt; / Cfcomponent & gt;
Comments
Post a Comment