on 09-26-2014 2:02 PM
Hi SAP Gurus,
I am stuck in a code where in I need to display set of instructions in a text view, it is a long text so I am achieving it with the help of text view and passing the text as hard code.
Below is the view how it looks like.
Now the issue is I want an URL in the link provided above.
But I am passing the text as hard code in the init method and binding it to textview and displaying.
Is there any way, I can create a URL and pass it to the text.
Please provide the solution.
Regards,
Aakash Awasthi
Hi,
You need to create a linkToUrl / linktoAction UI element next to the text view.
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aakash,
You can use FormattedTextView instead of TextView. Go to this link for more info:
FormattedTextView - Web Dynpro for ABAP - SAP Library
I did this using FormattedTextView UI Element.
See the following image, for the solution.
Regards,
Rohit
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.