Hi, CRM Gurus
In one of the views I need to show the value of specific context node's attribute as hyperlink.
In order to do that I've redefined GET_P_attr( ) method with the following code:
- CASE iv_property.
- WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
- rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
- WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
- rv_value ='NAVIGATE_TO_TARGET'.
- ENDCASE.
Everything is OK and the value of this attribute is really works as hyperlink, but it looks like a regular text and not like a web hyperlink.
I need to make to look this hyperlink in web-browser as default hyperlink, e.g. blue font color and underlined text, something like «example».
In CSS I'd write something like:
- a {color:#1478eb;
- text-decoration:underline;}
But how can I achieve the same result in SAP CRM Webclient UI, in BSP?
Thanks.