on 09-06-2007 5:23 AM
I don't want to hard code the text within my source code as this is not the best practice in webdynpro.. can any one just let me know how to pass the texts through the text elements/symbol.
thanks n regards
Anoop
hello
thanx for ur input ..it was helpful.
regards
Anoop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have an assistance class for your component, inheriting cl_wd_component_assistance. Go to your assistance class and define your text elements, from se24. Now you will have the interface metod if_wd_component_assistance~get_text in the class. Use that method to retrieve your text elements by passing the ID. Anywhere in your code when you want a text, simply call
wd_assist->if_wd_component_assistance~get_text( 'ID' ) passing the appropriate id. You can get these texts and bind them to your context, or use them for displaying messgaes etc.
Hope this helps.
Regards
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.