on 09-12-2008 11:04 AM
Hi,
I have a hyperlink content in a table in one field.
The link content is generated at the runtime, I mean it is not constant every time. It is different for different records in the table. I want to navigate to that link( a new window ) when clicked on that link, a field of table. How can I do that??
Regards,
Niranjan
we can do this in two ways..
1. using htmlb
using the tableview iterator you can do that. based on the content of the clicked cell populate the hyperlink and target page in the iterator cell_start method.so that you can navigate to different webapplication in a popup.
2. using normal html
here based on the event onclick for table cell, and its value we can show different window using window.open javascript.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can we open a new window using hyperlink?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<%
data: linkid type string ,
ttab(5) .
loop at linktable into wa .
move: sy-tabix to ttab .
clear linkid .
concatenate 'link' ttab into linkid .
condense linkid no-gaps .
%>
<htmlb:link id = "<%= linkid %>"
...
...
...
reference = "<%= wa-linkurl %>"
text = "<%= wa-linkdescription %>" />
<% endloop .%>
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 | |
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.