on 05-14-2009 4:37 PM
Hello,
I wanted to add a simple URL (ie: Google, hotmail, etc) for people to access in my web dynpro application. How can I do that?
Thanks.
Sana
The first part of my question is answered, on what to use, now I wanted to know HOW to use it. I see it in the GUI - layout page, but I don't want to use the GUI. I want to actually code the LinkToURL in my code and display it in a table. How do I do that? What do to use to construct / set my LinkToURL???
Thanks.
Sana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Add an additional TableColumn to the Table, use LinkToURL as cell editor, bind the "text" and "reference" properties to suitable context attributes under the table's data source node.
In the supply function of the data source node (or wherever you fill it), set the attribute values for each node element (row) to the text to displayed and the URL to be referenced.
Armin
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi Sana,
>
> Can you please tell me whats your requirement? - Where the URL come from? - Isn't it easier to fill a Value Attr. and use it in the Table's LinkToURL?
>
> Regards,
> Daniel
Here is what I am going.
I retrieve data from a function and it returns a table. I loop though the table and based on a key column, I set a corresponding URL. I wanted to display that url right next to the record that I retrieve, thats why I wanted to put it in the table. The URL is something I am creating on my own.
Isn't it easier to fill a Value Attr. and use it in the Table's LinkToURL?
Maybe - I do not know, that is why I'm asking, what do I need to use and how do I use it.
Thank you!
Thank you for the quick response! Did resolve my issue.
Sana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sana,
You can use, LinkToURL UI, it is a hypertext link. When you choose this link, you are directed to a user-defined Web resource (URL).
The LinkToUrl is used to exclusively to open URLs in a separate window. To leave the Web Dynpro application and display a new URL use an exit plug.
You just need to specify the URL and the text which will be a hyperlink.
On clicking at the Hyperlink, you will be redirected to the specified URL.
I hope it solves your purpose. If you are looking for something else, please revert back. I'll be happy to help you.
Cheers!!!
Umang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sana,
You can use LinkToURL UI element for the purpose. You will get a lot of docs for this on SDN.
Regards,
Biroj Patro.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adding LinktoURL UI element to your view?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.