HTML TAGS in messages
Hi -
We have requirement where we want to add some HTML Tags i.e. Bold Wording, URL with HREF etc. in Application Message and they should appear as expected on HTML Quoting Messages i.e. Bold Word, URLs etc.
I am working on HTML Quoting application to have these changes in messages. (Application Developer Resp. Application --> Messages. Application is Oracle Quoting.
The sample message could be...
Please note that this action is <b>not allowed</b>.
In this message not allowed should appear in Bold. As I am referring to the Message for my PageStatus component.
I tried adding html tags but could not see any effect. I see those tags in the message on the screen. When checked the source of the page I can see that those tags are replaced by < and >.
Does anyone know how to achieve this?
Hi,
what is the technology you are using?
Frank
Similar Messages
-
How to include HTML tags in a success message?
I have seen a few posts on this topic in the past, but have not seen a definitive response...apologies if this has been answered.
I would like to have a dynamic process success message that includes some HTML tags in it - in this case an anchor tag that can jump the user back to the object he/she just edited.
So, I build up a dynamic success message in a page variable - say P10_SUCCESS_MSG - and set the Process Success Message field in the relevant Process to &P10_SUCCESS_MSG.
The problem is that when the page template substitutes in my message for #SUCCESS_MESSAGE# it looks like it also escapes any HTML tags, so the markup gets displayed literally on the page.
Is there any recommended way to override or get around this behavior?
Many thanks,
BillI just noticed that it looks like the success message is passed around on the URL - when I look at my URL after a successful form process, I see &success_msg=BIG_UGLY_ESCAPED_SUCCESS_MSG_HERE embedded in the URL. If this is the case, I can see why - technically - it ends up getting escaped. Looks like I may have to figure out my own hack for success message processing - maybe some weird post-processing of a placeholder success token that I replace in a page 0 process or something...
-
APEX 3.1 replaces HTML tags in error message automatically
Hello!
I have a problem: we use sometimes HTML links or even JavaScript in error messages. In older versions of APEX it works, but now we upgraded to 3.1 and in all those messages HTML tags are replaced so instead of link we get a plain HTML in a message.
Are there any possibilities to turn this option off or what can we do to solve this problem?
Regards,
MaksimIn a page process we use raise_application_error(-20547, 'Go to GOOGLE') and in a Process Error Message
we use constuction Error: #SQLERRM#. Then on an standard error page we see instead of Error: Go to Google html source. Thats it. In template in Error Page Template Control section we use substitution #MESSAGE# -
How to turn of HTML tags in Email Messages?
My BB8830 World Edition on Verizon continues to show full html tags - e.g. <http://www.oracle.com/dm/global/opn.gif> - instead of just the link, which makes any email with links extremely difficult to read as the full html tags display in the middle of a sentence or para.
Any idea how to turn this off?You'll have to wait for Verizon to release OS 4.5 for your device. Once you upgrade your device, you will be able to view HTML email.
There are also third party packages (that you'd have to pay for) available to read HTML email, but the OS should be available within the next few months. Then again it is Verizon, and they tend to drag their heels on updates, so....
Jerry -
In OAF restrict the richtext editor using html tags
Hi Gurus,
In my page Insert/Update I have requirement of Adding Comment. I have used MessageRichText for this Comment section. The data type of the corresponding Table column is CLOB.
But while saving the entered comment, data is getting saved with HTML tags. .... :
I have another search page that cannot have MessageRichText filed; only MessageStyledText field could be used to show the Saved Comment.
As the data has been stored with HTML tags in DB Table, in the Search Page it showing the Last Inserted Comment with HTML tag.
I want to show the actual Comment entered without HTML tag.........how to do this??????
Please help!!!!!!!!!!!!!!!!!!!!!!!!!1Hello cornelius.
For one, you need to select RTF for message composition and not Plain Text.
Select/highlight the text you want for the hyperlink and at the menu bar, go to Edit and select Add Hyperlink.
Enter the URL in the space provided and be sure to include http://
Select OK when finished. -
Muse CC Emails sent by Form widget are shown as html-tags
Hi,
I´ve got the following problem that emails sent by the Muse CC form widget are shown as html-code or html-tags in my inbox.
Though the message contains all filled in data this is a quite unreadable format similarily as in post http://forums.adobe.com/message/5818028#5818028
I already read the discussions here in the community but as it seems the issue though already known seems not be fixed yet nor does any of the answers which refer to the ISP configurations regarding message handling apply to me. Actually this is a first time issue with mails - haven´t had this problem up to now so I guess it´s a Muse thing.
Though the mail is shown in some kind of html-tag format as mentioned it is actually marked as "text only" message?
Furthermore the message is UTF-8 so there shouldn´t be any problems with special characters either but also German consonants like "ä,ü,ö" are not formatted correctly.
I am using Windows 7, Outlook 2013 by the way.
The Muse site was exported as html and then uploaded via ftp, I am not using catalyst.
No idea what´s going wrong here hopefully someone has a solution to this problem.
Help would be very much appreciated. Thanks in advance.
(Hope my English is understandable)I have the same situation (( what to do?
-
How to Read a program with HTML tags from SO10
Hi All,
I have a html program in Standard text (SO10).But when I am trying read the program content using FM: READ_TEXT, the html tags <b> </p> etc are creating problem.
They are retrieved as <(><<)>b>.
What should we do to get same/original text as in SO10? Is there any other FM for that? Any other way to achieve this?
Thanks & Regards,
Vimalan Ramhere is the code sample.
after reading the text using READ_TEXT you have to use CONVERT_ITF_TO_ASCII to convert the contents.
DATA: itf_tab TYPE STANDARD TABLE OF tline ,
wa_itf TYPE tline .
DATA: c_datatab TYPE tdtab_c132 .
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = 'ST'
language = sy-langu
name = 'Y_RAJA_HTML'
object = 'TEXT'
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER = HEADER
TABLES
lines = itf_tab
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'CONVERT_ITF_TO_ASCII'
EXPORTING
* CODEPAGE = '0000'
* FORMATWIDTH = 72
language = sy-langu
tabletype = 'ASC'
* TAB_SUBSTITUTE = ' '
* LF_SUBSTITUTE = ' '
* REPLACE_SYMBOLS = 'X'
* REPLACE_SAPCHARS = 'X'
IMPORTING
* FORMATWIDTH_E = FORMATWIDTH_E
* X_DATATAB = X_DATATAB
c_datatab = c_datatab
* X_SIZE = X_SIZE
TABLES
itf_lines = itf_tab
EXCEPTIONS
invalid_tabletype = 1
OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
Raja
Message was edited by: Durairaj Athavan Raja -
Wls 8.1 sp2: weblogic.jspc complains about struts-html tags
Hi,
I am trying to compile jsps with weblogic.jspc, which use struts' html tags. However,
the compilation fails with the following message:
[java] Translation of /views/viewPageBody.jsp failed: (line 3): Error in using
tag library uri='/tags/struts-html' prefix='html': The Tag class 'org.apache.struts.taglib.html.BaseTag'
has no setter method corresponding to TLD declared attribute 'server', (JSP 1.1
spec, 5.4.1)
I opened the BaseTag class from the struts jar and found the setter exists for
the attribute 'server' of html tld. So does the property 'server'. The property
'server' is a string and the parameter in the setter is a string. I read about
the jspc errors in wls 8.1 about the setter parameter being of different type
than the property. However, that is not the case here. I tried using both Sun's
and BEA's jdk. None of them help. Btw, there is another attribute mentioned in
the html tld, which is 'target'. The compiler doesn't complain yet about this.:(
Also, I happened to compile other apps which have struts logic tags.
My environment:
OS: Win2k sp3
WLS: 8.1 sp2
JDK: Sun's 1.4.2 sp4 / Bea's 1.4.1 sp5 (tried both)
Ant: 1.5.3 (I had an issue earlier with ant until I found that Bea officially
without any mention supports only ant 1.5.3.)
I would appreciate any help in this regard.
Thanks,
Abbas
What version of Struts are you trying to use?
Are you certain you're not encountering a different instance of that class in
an unexpected location in your classpath?
"Abbas" <[email protected]> wrote:
>
>Hi,
>I am trying to compile jsps with weblogic.jspc, which use struts' html
>tags. However,
>the compilation fails with the following message:
>
>[java] Translation of /views/viewPageBody.jsp failed: (line 3): Error
>in using
>tag library uri='/tags/struts-html' prefix='html': The Tag class 'org.apache.struts.taglib.html.BaseTag'
>has no setter method corresponding to TLD declared attribute 'server',
>(JSP 1.1
>spec, 5.4.1)
>
>I opened the BaseTag class from the struts jar and found the setter exists
>for
>the attribute 'server' of html tld. So does the property 'server'. The
>property
>'server' is a string and the parameter in the setter is a string. I read
>about
>the jspc errors in wls 8.1 about the setter parameter being of different
>type
>than the property. However, that is not the case here. I tried using
>both Sun's
>and BEA's jdk. None of them help. Btw, there is another attribute mentioned
>in
>the html tld, which is 'target'. The compiler doesn't complain yet about
>this.:(
>Also, I happened to compile other apps which have struts logic tags.
>
>
>My environment:
>OS: Win2k sp3
>WLS: 8.1 sp2
>JDK: Sun's 1.4.2 sp4 / Bea's 1.4.1 sp5 (tried both)
>Ant: 1.5.3 (I had an issue earlier with ant until I found that Bea officially
>without any mention supports only ant 1.5.3.)
>
>I would appreciate any help in this regard.
>
>Thanks,
>
>Abbas
-
Unable to use HTML tags in the BPEL email component
Hi,
I am using BPEL email component to send mail notifications. I want the email should be in proper format.If I use HTML tags the workflow application build fails .It says invalid syntax for html tags.So, I removed the tags and just using the concat string operations as of now.To format i even tried '\n' like in java but it didnt help. Could you please let me know how do I achieve this?
The JDeveloper version is 11.1.1.3 and SOA ,OIM both are 11.1.1.3
The BPEL source code for the email content I configured is:
<copy>
<from expression="concat(string('AD Account access request has been rejected by manager.\n
Here are some details about the request:\n
Request ID : '), bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:RequestID'),string('\n'),
string('Employee First Name : '),bpws:getVariableData('empFName'),string('\n'),
string('Employee Last Name : '),bpws:getVariableData('empLName'),string('\n'),
string('Manager Employee ID : '),bpws:getVariableData('manager'),string('\n\n\n'),string('Thanks,\n IDM Administration')
)"/>
<to variable="varNotificationReq"
part="EmailPayload"
query="/EmailPayload/ns15:Content/ns15:ContentBody"/>
</copy>
Please suggest .
Thanks,
PiyasaHi
Here is the sameple email from BEPL email component. See if this helps:
"<html>
<body>
<p>This is an automated message from the <b>Identity Provisioning Solution</b>. Please don’t reply to this email.</p>

<p>An access request has been successfully submitted for <%concat(bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:BeneficiaryDetails/ns4:FirstName'),' ',bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:BeneficiaryDetails/ns4:LastName'))%> to access <%bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:ObjectDetails/ns4:name')%>.</p>

To view additional details of the request, login to the Identity Provisioning Solution.

<br>Request ID: <%bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:RequestID')%>
<br>
<br>
<br>
<br>Thank you,
<br>Identity and Access Management
</body>
</html>
"
Regards
user12841694 -
HTML tags displayed with the text in "Notification" area
We want to display an HTML formatted message in the "notification" area, but the HTML tags are being escaped and thus are displayed along with the text. We are using Application Express 2.2.1.00.04. The application has been handed off to us to support and we have no experience with APEX. So I hope I am explaining this correctly.
The process to display the message is as follows:
After submission, a page validation fires, which is of type "function returns boolean": "return some_function('P100_MESSAGE',2nd_arg);".
In "Error Message" is "&P100_MESSAGE."
The function returns true when the validation is successful. When validation fails, it returns false, setting 'P100_MESSAGE' to some error message - for example: "<li>Phone number is not numeric</li><li>Email address is not valid</li>".
Our template has this in the body definition:
#NOTIFICATION_MESSAGE##SUCCESS_MESSAGE##BOX_BODY#
As I understand it, #NOTIFICATION_MESSAGE# will be replaced with the value of 'P100_MESSAGE'.
I've displayed 'P100_MESSAGE' on my page to confirm its contents and it is rendered correctly with bullets. But the notification area does not show bullets. It displays the text and the HTML tags.
Is there anything obvious we can do to fix this problem? ThanksI 've changed P100_MESSAGE to text field, text field (disabled, saves state), text field (disabled, does not save state), and textarea, display as text, etc. It is originally set to Hidden type (because it is only to be displayed in the notification area). But changing it to various types makes no difference as to how it is displayed in the notification area. Of course, when it's not hidden, then it's also displayed on the page, among to other page elements,which is not acceptable.
Thanks-
-j -
Can i use HTML tag in text when sending contens as "Attachement(PDF)".
Hi all!!
i try to add html tag on ibot email text column.
is it possible?
- in ibot delivery content.
send content as Attachment(PDF)
"if sent as attachement, include this text" <--- mark this field
and below multi line input column, can i use html tag, for example,
Yahoo
thanks in advance.
Edited by: vingorius on 2010. 10. 31 오후 7:27hi vingorius ,
No you cant include html but u can use variables
To add a variable in a text message to provide context for the iBot attachment
1. Click the following option:
If sent as attachment, include this text
2. Type the text into the text box with a session variable, a repository variable, or a presentation variable using the syntax shown in the following table:
Variable Type
Syntax
Repository @{Variable_Name}
Session @{NQ_SESSION.Variable_Name}
Presentation @{Variable_Name}
For example, Dear, @{NQ_SESSION.Variable_Name}, here is your personalized Weekly Sales Territory Update.
NOTE: If you want to use the @ character, you need to precede it with the \ (back slash) character to separate it from the variable syntax. For example, Dear @{NQ_SESSION.DISPLAYNAME}, \@ New York, appears as Dear Joe Smith, @ New York.
Source : BI Guide
Thanks,
Saichand.v -
HTML tags in Hidden Item not displaying correctly
I have created a HTML Text Region which includes a Javascript function. The function references a Hidden Item also created and linked to the region. The Hidden item returns a text field from the database with concatenates multiple rows together into a single string with HTML tag -br- between each row.
The tags are not been recognised as HTML tags and is displayed :-
-br-Record 1-br-Record 2-br-Record 3-br-'
I want the page to display :-
Record 1
Record 2
Record 3
Any ideas?
Message was edited by:
pjturley
Message was edited by:
pjturley
Message was edited by:
pjturleyHello,
Check to make sure you don't have those items set to escape html.
Past that are you sure your javascript is putting in the <br /> tags correctly? before you submit fire a alert that shows the value of the hidden item and make sure it's correct there.
Carl -
I have a unique situation (may be not that unique). I want to update or add HTML tags in an XML element I am writing a PL/SQL Stored Procedure to insert, update or delete elements/attributes from an XML Type column based on the input XML (coming from Java application). SP is called from Java app. For example my XML may loook like
<Description Name="Sales Message">
<Text>This is a test</Text>
</Description>
I can update this in XML by creatinga SP which accepts a value (clob or text) and make a simple update call like
UPDATE table_name
SET hotel_xml = UPDATEXML (hotel_xml, Description[@Name=''Sales Message'']/Text/text()', 'This is a Test')
WHERE id = 123;
Hopwever when I have HTML tags in my parameter value, my update fails. For example java pp passes me a string
This is a bold <B>Test</B>
(without encoding it is "This is a Bold <B>Test</B>"
When I run this
UPDATE table_name
SET hotel_xml = UPDATEXML (hotel_xml, Description[@Name=''Sales Message'']/Text/text()', 'This is a bold <B>Test</B>')
WHERE id = 123;
It thinks, I am passing a substitution variable (think < and > as sub variables) and the procedure fails.
How do I handle HTML encoded charcters in Oarcle Pl/SQL? Many of my SPs has to accept XML as clob that may contain HTML encoding. Java always encodes HTML tags in an XML so I have to pass the CLOB(xml) to a SP as it isWhen this type of encoding is there in my XML or input variable, PL/SQL thinks
its a substitution variable and tries to replace it by prompting replacement. I think »substitution variables« is the wrong phrase for this. Probably you mean »entity names«, and all that happens is that special characters are converted to »entity names« to ensure valid xml after the update:
SQL> with table_name as (
select xmltype('<Description Name="Sales Message">
<Text>This is a test</Text>
</Description>') hotel_xml from dual)
select updatexml (hotel_xml,
'Description[@Name="Sales Message"]/Text/text()',
'This is a bold <B>Test</B>'
) hotel_xml
from table_name
HOTEL_XML
<Description Name="Sales Message"><Text>This is a bold &lt;B&gt;Test&lt;/B&gt;</Text></Description> Do you expect your result to look like
<Description Name="Sales Message">
<Text>This is a bold <B>Test</B></Text>
</Description>?? -
HTML tags in text-only e-mail notification (with HTML attachment)
Greetings,
Our "Purchase Order Review" e-mail notifications (as generated by the WF-Mailer) have HTML tags in the message body (which is "plain-text" text-only), with an HTML attachment. (The attachment looks good, and is what we are expecting.) All our e-mail notifications are text-only (which is how we want them), and this is the only kind of notification that is generating HTML tags in the 'text-only' message body.
We'd like to keep the HTML attachment as it is, but we want to have the e-mail message body be text (without any HTML tags). The other option that would be acceptable is to NOT have any message content at all, and only the HTML attachment.
Can either of these options be done, and how do we go about doing them?? Thanks!! -- Tom
Tom Buck
[email protected]
PS: Here is a partial sample of the "text-only" message content...
<HTML><HEAD></HEAD>
<BODY BGCOLOR="#FFFFFF"><b>Oracle Workflow Notification (FYI)</b>
<br>
<hr>
<P><table width=100% border=0 cellpadding=2 cellspacing=1 cols=3 rows=2>
<!-- header -->
<tr>
<!-- ORACLE, ship-to, PURCHASE-ORDER -->
<td width=45% valign=top>
<!-- ORACLE -->
<font color=black size=+2>
BUTLER MANUFACTURING
</font><br>
<font color=black> BUTLER MANUFACTURING COMPANY
<br> BUTLER MANUFACTURING HEADQUARTERS
<br> 1540 GENESSEE ST.
<br> KANSAS CITY
, MO
64102
<br> US
</font> </br>
</td>
<td width=25% valign=top>
<!-- ship-to -->
etc..., for another couple hundred lines. -- Tomin the notifications properties you will see two tabs, in one you can enter your message in text and in another you can enter in html. not sure if you had tried these.
hth
satish paul
Greetings,
Our "Purchase Order Review" e-mail notifications (as generated by the WF-Mailer) have HTML tags in the message body (which is "plain-text" text-only), with an HTML attachment. (The attachment looks good, and is what we are expecting.) All our e-mail notifications are text-only (which is how we want them), and this is the only kind of notification that is generating HTML tags in the 'text-only' message body.
We'd like to keep the HTML attachment as it is, but we want to have the e-mail message body be text (without any HTML tags). The other option that would be acceptable is to NOT have any message content at all, and only the HTML attachment.
Can either of these options be done, and how do we go about doing them?? Thanks!! -- Tom
Tom Buck
[email protected]
PS: Here is a partial sample of the "text-only" message content...
<HTML><HEAD></HEAD>
<BODY BGCOLOR="#FFFFFF"><b>Oracle Workflow Notification (FYI)</b>
<br>
<hr>
<P><table width=100% border=0 cellpadding=2 cellspacing=1 cols=3 rows=2>
<!-- header -->
<tr>
<!-- ORACLE, ship-to, PURCHASE-ORDER -->
<td width=45% valign=top>
<!-- ORACLE -->
<font color=black size=+2>
BUTLER MANUFACTURING
</font><br>
<font color=black> BUTLER MANUFACTURING COMPANY
<br> BUTLER MANUFACTURING HEADQUARTERS
<br> 1540 GENESSEE ST.
<br> KANSAS CITY
, MO
64102
<br> US
</font> </br>
</td>
<td width=25% valign=top>
<!-- ship-to -->
etc..., for another couple hundred lines. -- Tom -
HTML Tags appear in Notes : how to removing display HTML Correctly.
Hi the Notes section of HTML CLient for service request, we are seeing HTML Tags appearing in the following format.
<html><b>Some message/b></html>
We want to make it appear in HTML format. Not with the HTML Tags. Is there some way to get rid of the HTML Tags ?
Appreciate you inputs.
RgdsI guess you need to explain your page structure and actions you are doing in a more detailed way. You mentioned a table Jtf_NOTES_B, is it a OAF page or a JSP page ?
--Shiv
Maybe you are looking for
-
Mismatch between preview and output
Hi.. I'm new to After Effects, and having some problems with a project I'm working on.. It's a fairly simple project, just some tracking and replacing elements in a video clip. Everything looks fine in the RAM preview, things line up and the timing l
-
How can I import my home movies (.dv) into iTunes?
I'm getting frustrated with the lack of information about converting movies with all the recent upgrades. I have many short home movies in a variety of formats (.dv, .mov. Mp4, etc) - how in the world can I get them into iTunes (and ultimately on my
-
Send report via email as xls file.
Hello from Spain, Sorry if this is not the correct forum. It's both a forms and reports question, but I think it fits better in the reports forum. I have queried into the forums for similar questions and found some threads without any replies around
-
Adding a double line border to a table
Hi i am creating a PDF form which contains a table, is there a way to set a double line border to to the table in the form ( like the option in EXCLE - i mean border like this: || ) Thanks, Ami
-
I want an app but is in another store
I want an app but it is in another store how can I change de store.