on 10-06-2012 11:37 AM
Hi,
I have created a WD component wherein i have defined few attributes (in attribute tab). When i'm accessing these variables in a custom method in same view these are not visible there. When im including same variables in interface of this method it is not allowing me change values of these variables. However i'm not seeing anyway in interface to change these importing params to 'By reference' in fact i'm not sure if this would be solution of my problem. Please let me know if any body has any amswer.
Rgds
Sudhanshu
Hi sudhanshu,
When you add Attributes in view or controller and you want to access those Attributes
Example:- you added an Attribute like this
mo_attr type char20.
if you want to access in Method then call like this it works
wd_this->mo_attr = 'SUDHANSHU'.
what i understood from your question.
if not this elaborate the question.
Regards
Madhukiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.