on 05-06-2010 9:19 AM
Hi All,
I can use " report_attribute_error_message " , this will highlight the field with a red border.
but can i highlight the two fields with a red border at the sametime ?
Can anyone help me ?
Thanks!
Edited by: DDT CHOU on May 6, 2010 10:20 AM
Hi,
Yes - but only for a single element
use method REPORT_ELEMENT_T100_MESSAGE, or REPORT_ELEMENT_ERROR_MESSAGE or REPORT_ELEMENT_EXCEPTION of the message handler..
data: lo_component type ref to if_wd_component,
ls_msg type SYMSG,
lo_message_manager type ref to if_wd_message_manager.
lo_component = wd_comp_controller->wd_get_api( ).
lo_message_manager = lo_component->get_message_manager( ).
* some code to populate element reference and populate table of attributes...
lo_message_manager->report_element_t100_message(
msg = ls_msg
element = lo_element
attributes = lt_attribs )
you can pass a table of the attributes you want to relate to the error - but only one element.
Nor can you highlight a dropdown by index with an error message. (At least not in a table).
unfortuantely I don't see a way to do the same thing in the FPM message manger. Fingers crossed for NW7.02...
Hope this helpful,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
3Q ^^/
" you can pass a table of the attributes you want to relate to the error - but only one element. "
Yes , That is I need ^^/
Thank you very ...very ...very ...very ... much
Edited by: DDT CHOU on May 7, 2010 3:29 AM
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.