Skip to Content
avatar image
Former Member

URl in popup message

Hi,

I was able to populate the pop up with text in it. i have one more issue . I concatenated URL along with the text as below. Though the 'Text for URL (Guide in this case)' is been grayed out its not providing the 'Hand link' to the URL .

DATA: w_url TYPE AGR_URL.

w_url = 'http://doc.pdf" target="_blank">Guide'.

CONCATENATE 'employees detais' w_url 'check the link for more info' into l_text.

Then i am assigning l_text to the Formatted Textview UI element.

Is there any thing i am missing for the URL link.

Thanks,

Kumar.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 23, 2009 at 06:55 PM

    hi,

    For opening a new URL :

    1. Create a LINKTOURL UI element.

    2. Bind the text with the target propperty of LINKTOURL UI element.

    3. This way you will be having URL with hyper link .

    In your case :

    Do as follows:

    Create LinktoURL -> Create one context Attribute(Att) of type String. -> Bind attribute Att with Target property of UI.

    For 'employees detais' : Create one textview and bind 'employees detais' with text property of TextView.

    For wa_url : Create linktourl ui and bind wa_url with target property of linktoUrl.

    Your layout will look like :

    employees detais wa_url. wa_url will be link to url.

    -


    I hope i am clear.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Have you used LinkTo URL or LinkToAction. If you have used Linktoaction then impelment the action handler for that then you will get the hand icon. If you are using the LinkToURL then try to give the correct URL(full domain).

      Try to use LinkToAction UI element.

      I guess, you are directly concatenating the string and display that message, and part of the text is URL right.

      Then you have to have textview, LinkToAction,textview as a part of the UI elements.

      Have you deisgned the layout that way or not.

      Ex:

      w_url = 'Guide'

      CONCATENATE 'employees detais' w_url 'check the link for more info' into l_text.

      display ' employee details' text in one Textview UI element,

      LinkToAction - Guide

      display 'check the link for more info' in other Text view.

      Then i am assigning l_text to the Formatted Textview UI element.

      Hope this is clear.

      Regards,

      Lekha.

  • Oct 23, 2009 at 05:56 PM

    You have to use LinkToUrl UI element to show URLs

    Abhi

    Add comment
    10|10000 characters needed characters exceeded