on 10-01-2008 11:52 AM
Hi All,
Can anyone tell me how to create a getter and settere methods with parameter passing for context node attribute in methods tab.
Regards
Sireesha.
hi,
by default u will have the 'typed access required'
property of the context attributes set to true which generates the getters n setters automatically..
explicitly if u want to create a method
switch to methods tab,
click on new
choose method radio button,
give the name get , choose the return type,
click on next,
there, click on new for giving the parameters,
choose the return type.
say finish and implement the logic in the get and set methods.
Regards,
Satya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For every context node" type access required" property will be true by default,which means the setter and getter methods for all attributes will be generated automatically.U can also create user defined methods in view or in controller and pass args to the methods using methods tab.
Regards,
Srikanth Reddy.T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.