How to include hyperlink
Hi,
In the code
JPanel statusLabel = new JPanel();
statusLabel.setBounds(5,105,450,50);
JLabel status = new JLabel("Your message has been sent successfully. Please send it to another contact.");
statusLabel.add(status);How can I add a hyperlink in Please send it to another contact..
Also, I need to have a listener for that hyperlink.
Please help.
Regards,
Rony
I saw that thread actually before posting.But dont know, how to invoke a constructor of other class instead of google.com in the code
String link = "http://www.google.com";
JLabel label = new JLabel("<html><head></head><body><a href=\""+link+"\">"+link+"</a></body></html>");Rony
Similar Messages
-
How to include hyperlink in Endeca page
I have a requirement about including hyperlink into Endeca page. I have an endeca page including external web contents, let's say the url is http://localhost:8080/web/guest/a. I have another endeca page showing orders. When user click on an order on that endeca page, it should go to http://localhost:8080/web/guest/. I just want to know how to implement this feature in Endeca. Any help is appreciated.
For now I can click one of the items in the guided navigation and then go to another endeca page which has OA page in it. Another question for this, could I get the data for what user choose? Say user choose item1 in the guided navigation, then the OA page knows user choose this item and user does not need to enter item id to update the quantity of this item (say the filed of item id is filled automatically because OA page gets data from endeca). The reason why I want to do like this is Endeca cannot update data so I need to use OA framework to update. Does anyone know how to implement this scenario?
-
How to Including Hyperlinks in alv
Anone has a simple demo report for alv Including Hyperlinks.?
Hyper link can be in the form hotspot here. so check this sample code.
REPORT ztest_hyper_link MESSAGE-ID zz .
TYPE-POOLS: slis.
DATA: x_fieldcat TYPE slis_fieldcat_alv,
it_fieldcat TYPE slis_t_fieldcat_alv,
l_layout TYPE slis_layout_alv,
x_events TYPE slis_alv_event,
it_events TYPE slis_t_event.
DATA: BEGIN OF itab OCCURS 0,
vbeln LIKE vbak-vbeln,
posnr LIKE vbap-posnr,
link(40),
END OF itab.
SELECT vbeln
posnr
FROM vbap
UP TO 20 ROWS
INTO TABLE itab.
LOOP AT itab.
itab-link = 'http://www.sdn.sap.com'.
MODIFY itab.
ENDLOOP.
x_fieldcat-fieldname = 'LINK'.
x_fieldcat-tabname = 'ITAB'.
x_fieldcat-seltext_l = 'Website'.
x_fieldcat-col_pos = 1.
x_fieldcat-hotspot = 'X'.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
x_fieldcat-fieldname = 'VBELN'.
x_fieldcat-seltext_l = 'VBELN'.
x_fieldcat-tabname = 'ITAB'.
x_fieldcat-col_pos = 2.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
x_fieldcat-fieldname = 'POSNR'.
x_fieldcat-seltext_l = 'POSNR'.
x_fieldcat-tabname = 'ITAB'.
x_fieldcat-col_pos = 3.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
is_layout = l_layout
i_callback_user_command = 'USER_COMMAND'
it_fieldcat = it_fieldcat
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*& Form USER_COMMAND
* text
* -->R_UCOMM text
* -->RS_SELFIELD text
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
DATA: document TYPE string.
CASE '&IC1'.
CASE rs_selfield-fieldname.
WHEN 'LINK'.
document = rs_selfield-value.
CALL METHOD cl_gui_frontend_services=>execute(
EXPORTING
document = document
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDCASE.
ENDCASE.
rs_selfield-refresh = 'X'.
BREAK-POINT.
ENDFORM. "USER_COMMAND -
How can a hyperlink be included in a published calendar event?
In a published calendar (via MobileMe), I created an iCal event that included a hyperlink (http://www....) and refreshed the published calendar. When I looked at the published version of the calendar, the hyperlink appears in the event (and functions), but the calendar is distorted. If I remove the http:// and leave the rest of the internet address the distortion is gone and the calendar views normally. But, I lose the hyperlink.
Is there a technique to publish a calendar with events that include hyperlinks?
Thanks.The URL is in the event title (at the end)--I hadn't previously noticed the URL data element (but as you stated, it doesn't show in the published calendar event).
Yes, I'm viewing at ical.me.com/....
I'm using Safari Version 3.2.1 (5525.27.1).
The distortion is in the weekly view (day and month are OK)--the event is on Saturday (8 am to 5 pm). Essentially, the time scale on the left edge of Sunday (first day of the week) breaks off around 8:30 AM and appears in Saturday and is appended to the Saturday event. The Apple logo and the phrase "Created using .Mac" that is usually at the bottom of the time scale appears where 9:00 AM should be on the time scale to the left of Sunday. Sunday through Friday are grayed out each day from around 8:45 AM until midnight. Any events during those times appear on Saturday.
Thanks for your interest. -
How to include Material Cost in the SD report
Hi,
I am working on Cube 0SD_C03 for the Sales and Distribution Report "Sales Contribution - Product Wise u2013 KPI" where I have to show the following information which are given below.
1. Total Sales Qty.
2. Total Sales Value
3. Total Material Cost
For third one I do not know how to include this in this SD report.
so please tell me about this if anybody has idea about this?Hi Francisco,
Note:
your xml should only have
<URL>http://dbxserver.dbxprts.com:7778/pls/apex/f?p=134:1:::NO::P1_ID_CONSTANCIA:1183</URL>
Show me your sample XML , i can help you.
What is your expected output ? PDF or HTML ?
here it is.
option1:
If the XML data includes an element that contains a hyperlink , then you can use that element to create dynamic hyperlinks at runtime.
a. insert hyperlink from word menu
b. In the Type the file or Web page name field of the Insert Hyperlink dialog box, enter the following syntax:
c. {ELEMENT_NAME_WHICH_HAS_URL_LINK}
where ELEMENT_NAME_WHICH_HAS_URL_LINK is the xml data element name
option2:
create a form field, you can add it
<fo:basic-link external-destination="http://www.google..com">
<fo:inline text-decoration="underline">google Link</fo:inline>
</fo:basic-link>
or
<fo:basic-link external-destination="{ELEMENT_NAME}">
<fo:inline text-decoration="underline">google Link</fo:inline>
</fo:basic-link>
or
<fo:basic-link>
<xsl:attribute name="external-destination"><xsl:value-of select="ELEMENT_URL"/>
</xsl:attribute>
<xsl:value-of select="LINK_NAME"/>
</fo:basic-link> -
How to include HTML page on a screen
Hi,
How to include HTML page on a module-pool screen. i want to handle hyperlinks on that page. how ca n i do that?....plz send me reply vvvery fastHi Amarnath,
1. RSDEMO_HTML_VIEWER
Check the above program.
Regards,
Amit M. -
To create a dvd and include hyperlinks within the presentations to further info
I want to create a DVD with a a main menu that feeds into various slideshows and pdf documents. But I want to include hyperlinks within these slideshows and pdf's that will bring you to further information (Sub Folders lets say!) that will not be contained within the initial slideshows and pdf documents but held somewhere on the dvd. How do I create these hyperlinks or can this be done?
Hi
I doubt that very much.
a Video-DVD as You make with iDVD is to be played on any standard DVD-Player and they can not address internet or playback .pdf.
• You can store Data-material on a Video-DVD but need a computer to use it
• You can convert a .pdf file into a movie to be viewed as any other movie (I never get good enough quality in this conversion though)
and
You can make the DVD into a Data-DVD on Desktop/Finder and convert Your movies into QuickTime .mov (or other) to be played on PC/Mac - but this will not play in any DVD-player.
Have You ever seen a DVD that work as You describe Your wish ? I never.
Yours Bengt W -
How do you HYPERLINK a web page address to an EXCEL document in Firefox like is possible in Explorer
How do you HYPERLINK a web page address to an EXCEL document in Firefox like is possible in Explorer?
When you follow a hyperlink in Excel, usually it should open in your default browser. You shouldn't have to do anything special in Excel to create the link when Firefox is your default browser compared with IE. However, the Insert Hyperlink dialog might work differently. I think it might be able to automatically pre-populate a URL from IE, while in Firefox, you need to copy the URL from Firefox's address bar and paste it into the Insert Link dialog.
-
How to include old invoices in the invoice list
How to Include old billing documents in the invoice list.
TO be more clear:-
I created 20 invoices in the monthof JAN
I maintained the factory calender in the payer master in the month of Feb 1st and created 10 more invoices in this month.
So the system is considering only the invocies which were generated after I maintained the factory calender (Only feb invoices).
Is there any process to include the previous invoicies (Jan invoices) also to get include in the invoice list.
Help me in this regards.
Regards,
Mallesh.It is not possible.
Regards,
Rajesh Banka -
How to provide hyperlink for a particular field in ALV
Hi,
How to provide hyperlink for a particular field in alv report.
Regards,
Ramu.Yes you can do that. using the fieldcatalog there is an option for that. give HOT_SPOT = 'X'. for the column you want.
wa_field-hotspot = 'X'.
REPORT ztest_alv.
TYPE-POOLS:slis.
DATA:it_fieldcat TYPE slis_t_fieldcat_alv,
wa_field LIKE LINE OF it_fieldcat.
DATA: BEGIN OF it_likp OCCURS 0,
vbeln TYPE likp-vbeln,
END OF it_likp.
DATA: layout TYPE slis_layout_alv.
wa_field-fieldname = 'VBELN'.
wa_field-tabname = 'IT_LIKP'.
wa_field-hotspot = 'X'.
wa_field-outputlen = 10.
wa_field-no_zero = 'X'.
wa_field-seltext_l = 'Sales'.
APPEND wa_field TO it_fieldcat.
SELECT vbeln FROM likp
UP TO 10 ROWS
INTO TABLE it_likp.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
is_layout = layout
i_callback_user_command = 'USER_COMMAND'
it_fieldcat = it_fieldcat
TABLES
t_outtab = it_likp
EXCEPTIONS
program_error = 1.
*& Form user_Command
* text
* -->UCOMM text
* -->SELFIELD text
FORM user_command USING ucomm TYPE sy-ucomm
selfield TYPE slis_selfield.
CASE ucomm.
WHEN '&IC1'.
SET PARAMETER ID 'VL' FIELD selfield-value.
CALL TRANSACTION 'VL02N' AND SKIP FIRST SCREEN.
ENDCASE.
ENDFORM. "user_Command -
How to include a jsp page in another jsp jsp page
hi,
i m trying to include a jsp page name "header.jsp" into one jsp page name"selectattribute.jsp" i m using these commands in "selectattribute.jsp"
<%@include file "header.jsp"%> bcz both these jsp page are C:\program files\tomcat 4.0\webapps\examples\jsp\Poject\
but the problem is that , i m invoking this jsp page "selectattribute.jsp" from a servlet reportcontroller.java using REQUEST DISPATCHER.
the servlet is in
C:\Program files\tomcat 4.0\webapps\examples\WEB-INF\classes\Project\
i want to know how to include some other jsp page in a jsp page and how to invoke applet from jsp page when that particular jsp page is being invoked by servlet.
plz help
manishuse this for including in your selectattribute.jsp
<jsp:include page="header.jsp" flush="true"/>
I never tried calling an applet. I think you can write the code for calling the applet in a javabean method and call the method in the jsp -
How to include one view into another view
Hi SDN's,
Could any please tell me,How to include one view into another view.
In my requirment.I want to create a 'Z' view for an interface .In that view i have to take,
1) Ship-to-email adrr by
LIKP-KUNNR -> KNA1-ADRNR
KNA1-ADRNR -> ADR6-ADDRESNUMBER.
2) E-mail addr of person who created the document.i.e
LIKP-ERNAM -> USR21-BNAME.
USR21-ADDRESNUMBER -> ADR6-ADDRESNUMBER
USR21-PERSNUMBER -> ADR6-PERSNUMBER.
In both the case we have to pass ADDRESSNUMBER to ADR6 table.
If we pass these condition it fails,B'Coz at a time it passes Two ADDRESSNUMBER and a PERSNUMBER.
So i created two which fetches only the email addr of person who created the document.and another view fetches Ship-to-email addr.
Now i want to include the second view into first view . Is it possible?or please
tell me someother way to get these email addresses in a single view.hi
as per my knowledge, nested views are not possible. However, while creating a new view, selection method will not giv u option to select the already created view(S) except the tables..i think so.
regards,
shamim -
How to remove hyperlink in Reports Region
How to remove hyperlink in a Report region (Based on some filter condition)
Example : In Report Region, I am getting value as 10, 20, 30, 0, 44, 55, 0
In the above value, I need to remove the hyperlink for 0 values.
Can anyone help me to resolve this issue.
Thanks in advance.
Regards
Balaji SIf you want a link column for values other than 0 and a blank for those with 0 then the best way to do this is to use a case or a decode to return a LINK image or text to a hidden column; I usually return the Edit icon only. You can then use the 'column link' region on a different column to create a link in the usual way and set the Link Text to the hidden column (e.g. #EDIT# in the example below). If you have set the target page to require a Checksum this will then be added without having to code it into your sql. E.g.
SELECT some_columns,
CASE WHEN numcol != 0 THEN '<img src="#IMAGE_PREFIX#e2.gif" alt="">'
ELSE null
END "EDIT"
FROM your_tableIf you want the same column value, but those of 0 to not have a link and those other than 0 to have a link then you need to code the link into your sql. e.g.
SELECT some_columns,
DECODE (numcol,0,numcol,'<a href="f?p=&APP_ID.:11:&SESSION.::&DEBUG.:11::">'||numcol||'</a>') "EDIT"
FROM your_table# = your URL e.g f?p=&APP_ID.:11:&SESSION.::&DEBUG.:11::
If you require a checksum on the link you need to add the apex_util.prepare_url function to the URL.
Cheers
Shunt -
How to remove hyperlinks in a word document
how to remove hyperlinks in a word document
Go to your "Insert" drop down menu.
Select "Hyperlink", near or at bottom.
You will get this dialog box:
Look at the lower left corner... see the button "Remove Link"?
Click on it...and hit the "OK" button in the lower right...
Since this was a Word question, and not a Mac Pro question, it would have been better to post it here http://www.msofficeforums.com/word/ -
HOW to include a reference currency fields in a view ?
Hello Experts,
<b>I am having Currency fields error in generic extraction</b>
I have table where I am trying to extract data to BW via generic extraction. When I tried
to extract with the TABLE its giving me an error
<b>Invalid extract structure template RPSCO of DataSource ZBW_REP3_TEST
You tried to generate an extract structure with the template structure RPSCO. This operation failed, because the template structure quantityfields or currency fields, for example, field WLP00 refer to a differenttable</b>.
Now I created a view with all the fields same as my table.
But its still giving me the same error and taking all the fields as a primary keys. I have over 12 currency fields in the table. I am confused how to fix this issue and add a currency field to my view?
hOW to include a reference currency fields in a view ?
All inputs are much appreciated.
Thanks and Regards,
HarishThank you for your responce,
Can you please check my view and let me know where I am going wrong
View Table Field Dataele Data
field type 0
WLP01 RPSCO WLP01 BP_WPL CURR 15 Period value in ledger currency
WLP02 RPSCO WLP02 BP_WPL CURR 15 Period value in ledger currency
WLP03 RPSCO WLP03 BP_WPL CURR 15 Period value in ledger currency
WLP04 RPSCO WLP04 BP_WPL CURR 15 Period value in ledger currency
WLP05 RPSCO WLP05 BP_WPL CURR 15 Period value in ledger currency
WLP06 RPSCO WLP06 BP_WPL CURR 15 Period value in ledger currency
WLP07 RPSCO WLP07 BP_WPL CURR 15 Period value in ledger currency
WLP08 RPSCO WLP08 BP_WPL CURR 15 Period value in ledger currency
WLP09 RPSCO WLP09 BP_WPL CURR 15 Period value in ledger currency
If I add a
Table TCURC against any field what would be the view field and data element
Do I need to tick MOD?
Please suggest.
Kapadia,
If I do that its still taking all the fields are a primary keys and bringing 6 lakh records to where I originally have 49 records in a table
Thanks and Regards,
Harish
Maybe you are looking for
-
In PSE 12 (iOS) I can't find "Photomerge Panorama". The tutorial says it should be available in the menu File/New. Yet it isn't.
-
How to get assettype of a flex asset based on asset id
How to get assettype of a flex asset based on asset id
-
After Effects won't run after upgrading to Yosemite
Hi there, My After Effects CS6 ill not launch in my other user accounts since I've upgraded to Yosemite. I have installed the plugin/update that was released and it works in the Administrator account, however, not on the others. Even when I go into t
-
What Configaration Macbook Air is needed to install and run Paralles Desktop 8 and Windows 8
Hello, I'm going to buy an Apple Macbook Air and want to install Paralles Desktop 8 and windows. What configaration will I need in the Macbook Air ? I don't want to loose speed in loading apps etc... and I want to have enough space. Thanks
-
What if i can't remember answers to apple id security questions?
what if i can't remember answers to apple id security questions? I cannot purchase some things in itunes store without these answers.