on 12-28-2011 7:26 AM
when we can directly make use of class and create its object and make use of its methods in our component without declaring assistant class. what is the relevance of assistance class?
Hi,
You can access assistance class objects using wd_assist attribute. No need of separate instance like normal class.
The assistance class is automatically instantiated when a component is called. The instance is available to each controller of the component through the attribute WD_ASSIST.
Assistance class is use to manage of dynamic texts. Texts that are combined at runtime only and/or contain variables can be stored in the text pool of the assistance class as text symbols.
Regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If we wanted to use normal class similar to assistance class in webdynpro you need to manually create instance of class , and you need to pass the same reference to all the views / controllers if we need to use in other places as well.
But if in case of Assistance class we need not create the instance seperatly and same instance will be exist through out the life time of the webdynpro application.
Regards,
Bhaskar
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.