on 05-07-2004 9:10 PM
Hello Experts-
I am trying to pass an HTMLB:TextEdit control from a view to my controller.
I can pass a string field from the view [HTMLB:InputField] to a class attribute in my controller class through the 'DO_HANDLE_DATA' method. Unfortunately the same syntax is not working when I am trying to pass the contents of the HTMLB:TextEdit control from my view into a class attribute with the same table type as in the HTMLB:TextEdit field on my view.
What is the correct syntax/technique for passing a muti-line text edit field (which I am assuming is handled by the view as an internal table) from the view to the controller?
Your help will be appreciated.
Thanks,
- Vik.
P.S.: The syntax in the controller class' 'DO_HANDLE_EVENT' that I use for passing strings from my view to my controller is:
field-symbols: <field> type ihttpnvp.
read table form_fields with table key
name = 'selapprover' assigning <field>.
me->selapprover = <field>-value.
Many thanks to: Venky Varadadesigan.
Venky posted the solution to this question in response to a different question on this very forum -> "BC-BSP-MVC: How can I pass text in table format from view to controller?".
-
Hi Vik,
Please note that the 'text' attribute of htmlb elements 'textEdit' and 'textView' is simple "String" and not an internal table.
Regards,
Venky Varadadesigan
SAP NetWeaver consulting.
-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.