HTML Region: Image from item name
Im having problems getting item states into html region.....
I have setup an item that will hold the picture web address: e.g. P1_HTML_TEST = '/webserver/smile.jpg'
Not any of the below retreive the item state.... what is the proper meathod of doing this?
It seems that the value isnt being retreived at all.
<img src=$P1_HTML_TEST. alt="">
<br>
<img src="$P1_HTML_TEST." alt="">
<br>
<img src=:P1_HTML_TEST alt="">
<br>
<img src=":P1_HTML_TEST" alt="">
<br>
$P1_HTML_TEST.
<br>
:P1_HTML_TEST
<br>
Thanks
<img src="&P1_HTML_TEST." alt="">Please consult the documentation at:
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11947/concept.htm#sthref197
Similar Messages
-
Can I generate html and images from the same script?
I am trying to create a script that generates both html and gif images. Is there a way using the multipart mime content type to create a single stream that includes both html and images?
No. Facing pages has been removed from Pages 5 along with 100 other features.
If you want to view two parts of the same document you will need to rename a copy and place two windows side by side, which is hampered by Pages 5's bloated use of screen real estate.
Peter -
I blocked some images from myspace by mistake. How can I unblock them?
I play a my space app called Hotties For Sale. I inadvertently blocked some images from the app. This includes operating buttons and some photos. The only info I can find is "Block images from x.myspacecdn.co... How do I get these images back? Can you help please?
With myspace on display, click on the site identity button (for details on what that is see the [[site identity button]] article) and then on More Information. This will open up the page info dialog.
First select the Permissions panel, make sure that "Load Images" is set to allow (selecting Use Default should also work)
Next select the Media panel, then click on the first item in the list. Use the down arrow key to scroll through the list. If any item has the option "Block images from (domain name)" selected, de-select the option.
This should hopefully resolve your issue, but also see [[Images or animations do not show]].
Some add-ons can also block images, for example if you have AdBlock Plus installed, make sure that you have not accidentally created a filter to block the images. -
I accidentally blocked images from a website (facebook) how do i fix it?
i accidentally blocked images from a website (facebook) how do i fix it?
With Facebook on display, click on the [[site identity button]] and then on More Information. This will open up the page info dialog.
First select the Permissions panel, make sure that "Load Images" is set to allow (selecting Use Default should also work)
Next select the Media panel, then click on the first item in the list. Use the down arrow key to scroll through the list. If any item has the option "Block images from (domain name)" selected, de-select the option.
This should hopefully resolve your issue, but also see [[Images or animations do not show]]. -
How to - link from HTML Region to Report Column?
Dear Apex gurus,
Ok, I'll go straight to my question. I have a file upload page with Report Region (conditional) which comes up after file uploading process. Under Report I have a column to delete uploaded file (column has an image in link, target in application, item name: P2_DELETE_ID and value: #DOC_ID#). Basically the Report picks up just uploaded file ID and allows me to delete the file by having Hiden Page Item (P2_DELETE_ID) and Before Header Process:
BEGIN
DELETE FROM EBA_ASSET_ORDER_TEMP_DOCS
WHERE doc_id = :P2_DELETE_ID;
END;with condition: Value in Expression 1 is Not Null, and Expression 1 set to:
P2_DELETE_IDI have and another conditional Region (which is HTML) and it comes up after file uploading process as well. The region Source is:
<div id="FinalMessage"></div>
<br />
<div ><a href="javascript:confirmFileDelete(htmldb_delete_message,'f?p=&APP_ID.:2:&SESSION.:REMOVE_ID:::P2_DELETE_ID:#DOC_ID#');"><img >src="/i/delete.gif" style="position: relative; top: 1px;"/>Remove Uploaded File</a>
</div>where id="FinalMessage" - is the Sucess/Error message from JS
and .....href="javascript:confirmFileDelete....... - is my actual question. So, I am trying to hide my Report Region and show only my HTML region where I will be able using this (.....href....) link delete file from my table. I am able to dele file using report colum link but my .....href.... link dosnt want to delete my file, doen't even want to pick up file ID. Is there a way where I can link my .....href.... link to pull from Report Column????
ThanksI am getting crazy now:
It gives me an error message whan I am trying to add RETURN to my process, here is my process, seems to be fine and I can fined what is going on, may be I am blind:
DECLARE
n_size NUMBER;
v_filename VARCHAR2(500);
P2_FILE_INPUT VARCHAR2(1000) := v('P2_FILE_INPUT');
BEGIN
INSERT INTO EBA_ASSET_ORDER_TEMP_DOCS (DOC_ID, NAME, CONTENTS, mime_type, CREATED_ON, DOC_SIZE, FILENAME)
SELECT ID, P2_FILE_INPUT, BLOB_CONTENT, mime_type, CREATED_ON, DOC_SIZE, FILENAME
FROM apex_application_files
WHERE NAME = P2_FILE_INPUT
RETURNING DOC_ID INTO :P2_DELETE_ID;
DELETE apex_application_files
WHERE NAME = P2_FILE_INPUT;
END;error:
1 error has occurred
ORA-06550: line 13, column 38: PL/SQL: ORA-00933: SQL command not properly ended ORA-06550: line 10, column 4: PL/SQL: SQL Statement ignored
Edited by: Yasen® on Oct 5, 2009 3:28 PM -
Image rendered in HTML region on same page
I am using the Oracle OBE tutorial below to insert and manage a photo associate with an employee record. Howerver, clinking on the download link renders the image in a separte browser window. Is there any way to render the photo from the report and/or form in an HTML region on the same page? The report and form appear on the same page as well. Specific code or reference to such would be greatly appreciated.
Andy, I do appreciate you responding so quickly. The scenario I am trying to accomplish is the following: I have a table as follows:
Name Null? Type
SIA_ID NOT NULL NUMBER(20)
LOGIN_ID VARCHAR2(20)
LAST_NAME VARCHAR2(60)
FIRST_NAME VARCHAR2(60)
EMAIL VARCHAR2(40)
MENTOR VARCHAR2(1)
PHOTO BLOB
FILENAME VARCHAR2(255)
MIMETYPE VARCHAR2(255)
LAST_UPDATE_DATE DATE
I have a Form with report that allows me to upload photos in the form and show the PHOTO column as a DOWNLOAD link in the report. I also have the ID column as a link to the form so I can edit details of that record. Is there any way with this scenario to simply allow the PHOTO (blob) to be shown in a small HTML region on the same page as this report and form? I'm thinking that I might be able to use an IMG tag in the HTML region but I'm not sure how to format it. So I guess I'd like to see the details for the record from the report in the form other than the photo which would show up in a separate region on the same page.
Thanks again. -
How to Refer Application item in the html region
Hi All,
I have region which says 'Data was refereshed on 12-Apr-2010'. This is displayed in many pages. I want to reduce the manual work of going into each and every page and editing the date.
I have created an Application Item in shared components. Can anyone help me how to refer this application item in the html region?
Thanks,
VikasYou can use the syntax of : &<ITEM_NAME>.
i.e. say I have an application item MY_NAME , I would then have a html region which has the following
<p>My name is &MY_NAME.</p>see: http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#BEICHBBG
Trent -
How to display RTE item in a HTML region
I have a process that is populating a hidden item with a RTE item from another page. I need to display this in its formatted state. I am using an HTML region to display this item but the page shows HTML tags instead of rendering them. I have tried both options under html region (escape special characters and plain HTML text).
Can someone please help me to display this formatted RTE item on a page? Btw...I am using APEX 4.0.
Thanks.
Ashwen
Edited by: Ashwen on Jul 26, 2010 2:23 PMuser12601765 wrote:
did you figure out how to display RTE item in a HTML region? Can you share with me how you did it?No he can't. He's not been active on this forum for over a year, and is totally unaware of your post as watches on threads only persist for a few weeks. Please stop posting follow-ups to ancient threads. Many of the participants in such threads will no longer be active on the forum (check the "recent messages" in their profiles).
Posting follow-ups to ancient threads/departed users is NOT an effective way of getting help:
<li>Other users may ignore the thread as it appears to be closed
<li>Your assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions
<li>Watches on the thread may have expired, so the original participants may be unaware of the new post, or they may no longer be active on the forum
<li>You have no ability to mark posts as helpful or correct
Post your question as a new thread, including at least the following information:
<li>APEX version
<li>DB version and edition
<li>Web server architecture (EPG, OHS or APEX listener)
<li>Browser(s) used
<li>Links to related posts and threads using the methods in the FAQ.
Please read the FAQ and forum sticky threads for more information on using this forum effectively.
From the information in the Allow users to use Rich Text Editor to build their own HTML/Apex Page you resurrected:
>
I am a business user developing apps, so my technical skills are limited.
>
you should be considering Websheets. (See this tutorial as well.)
Also, please update your forum profile with a real handle instead of "user12601765". -
Beginner ?: How to align Items in HTML Region so they display nicely?
I am new to Application Express so please be gentle....
I have an HTML region that contains several items/fields that I am using to gather user input. So my Page or HTML region looks something like the example below.....
Name:__________ Birthdate:_________
Address: _____________________ City:__________ State: _______
So with the example above in mind how can I get the fields "City" and "Birthdate" to line up nicely on the page so that they would appear something like.....
Name:__________ Birthdate:_________
Address: _____________________ City:__________ State: _______
I have tried changing all kinds of things such as Begin on New Line, ...Field, Colspan, Rowspan. In playing with these various settings I am unable to make any headway with aligning the fields on my page so that they display nicely....but I AM making progress at confusing myself as to how AppEx actually stores the labels and fields. I never seem to be able to control the spacing between the fields being displayed.
So with all of that said....is there a way to make page items line up in an HTML region? There seems to be no issue getting the first column of each new row to line up (Begin on New Line = Yes) but when in comes to lining up the 2nd and 3rd fields on a row I am at a lose. Looks like I could also use a lesson in how labels and fields are stored within underlying AppEx HTML tables.
Many thanks in advance for any and all responses.Hi Andrei,
Thanks so much for your response...it got me to realize what my issue really was......What you listed above in your response to my plea for help is almost what I had but I was so concentrated on the small fields that I had that I failed to notice that my problem was the text area below those fields which takes up quite a bit of space on the screen...so what I finally realized (bonehead / rookie mistake on my part) was that my fields were lining up in the second column but the second column did not start until the end of the text area.
So I am going to look into moving my text area fields to a separate HTML region so that the smaller sized fields above will line up nicely.
Thanks again for your response and helping me to step back and look again.
Best regards,
Shellie -
Display image in HTML region???
I made blank page, and on that page I made html region. Then I go to the Shared Components>Images Create and Upload the image DMD.gif
to the Application 106, that the Application with which I'm working.I trying to put that image to the html region.
In html region in Source I put this code, but it doesn't working:
.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
.<html xmlns="http://www.w3.org/1999/xhtml">
.<head>
.<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
.<title>Untitled Document</title>
.</head>
.<body>
/img src="/i/DMD.gif" align="top"/
.</body>
.</html>
I'm workin with Application Express 2.1!
Edited by: user10187476 on Aug 27, 2008 2:35 AMIn the HTML Region just put
<img src="#WORKSPACE_IMAGES#DMD.gif">
or if you associated the image with the application
<img src="#APP_IMAGES#DMD.gif">
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
How to create a Hyperlink from HTML region
How can I create a Hyperlink to another site from an html region in an apex page. It should be something simple, but I could not find it
Please help
GeorgeHave a look here:
http://htmldb.oracle.com/pls/otn/f?p=31517:1
There are lots of examples that may be usefull for you.
Denes Kubicek -
WCF Service and Sharepoint Form library : How i can read or access a form libray and query a item from file name and read form xml in WCF service ?
Ahsan RanjhaHi,
In SharePoint 2013, we can take use of REST API or Client Object Model to access the SharePoint objects like Form Library.
SharePoint 2013 REST API
http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx
http://blogs.technet.com/b/fromthefield/archive/2013/09/05/working-with-sharepoint-list-data-odata-rest-and-javascript.aspx
SharePoint 2013 Client Object Model
http://msdn.microsoft.com/en-us/library/office/fp179912(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/office/jj193041(v=office.15).aspx
With the retrieved file, we can then use XmlDocument object to parse it and get the values you want:
http://weblogs.asp.net/jimjackson/opening-and-reading-an-xml-file-in-a-document-library
http://stackoverflow.com/questions/1968809/programatically-edit-infopath-form-fields
Best regards
Patrick Liang
TechNet Community Support -
How to show an image from html ?
Hi,
I have an image from a html that I want to show, it�s in a html:
<BODY LANG="pt-BR" DIR="LTR">
<P STYLE="margin-right: 0.63cm; margin-bottom: 0cm"><IMG SRC="??????????\Trabalho_html_86e8006.gif" ALIGN=LEFT HSPACE=12><BR>it�s stored in a database and I�m using an outputtext to show it.
I�d try to use c:\ but it did not works.
What path do I have use to correctly display the image ???
Thanks
Marlos Rodriguesduplicate of http://swforum.sun.com/jive/thread.jspa?threadID=50363&tstart=0
-
Possible to display null item value as 'All' in blank HTML region?
Apex 4.1
Theme 21
Hi There,
I have select list which has null and other values. I have created a blank HTML region with the following text
Report for the year &P2_YEAR. and for geography &P2_GEOG.
Now P2_YEAR works fine because, it is always populated with a year. However, &P2_GEOG has 'All' as null value since we can see the report for all geographies. However, if the all option is selected, the above &P2_GEOG. shows as null. Since its not a PL/SQL proc, I cannot put in a NVL. I am guessing one possible way is to write a PL/SQL code before region and then check if its null and then try to populate a new hidden field and show, something like that. Wondering if there is a way to do it directly in the HTML region?
Thanks,
Sun
Edited by: ryansun on Jul 2, 2012 12:49 AM
Edited by: ryansun on Jul 2, 2012 12:50 AM
Edited by: ryansun on Jul 2, 2012 12:55 AMHi Morten,
in the validation callback you could use apex_util.set_session_state to modify the page items value. We do that ourself in the "Number Field" native item type plug-in.
Regards
Patrick
Member of the APEX development team
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
How do i send an html file exported from muse as email blast with images and live links?
My question it:
How do i send an html file exported from muse as email blast with images and live links?
I have designed a "website" in adobe muse and exported it as an html file. I am not sure how to send my .html file in an email!
Best,
NicoleUnfortunately, the answer is, you don't. The requirements for HTML displayed in an e-mail reader are very different than those for HTML displayed in a browser. The output of Muse won't work as an HTML e-mail. You could upload the Muse site as a website and provide a link to it in an e-mail, but the HTML generated by Muse is not suitable for direct display by an e-mail program.
Maybe you are looking for
-
Random Shutdowns on a MBP Core Duo, Suggestions/Help would be great
I've had two random shutdowns of my mac since purchasing it back in August. The first happened on January 11th, when it said it was at 11-12% power. The second happened about two weeks later, at 23% power. I've been looking around these forums and ot
-
Versistand version is 2013 sp1. I am using CSV stimulus expressions in my real-time sequence, and would like a channel to retain its current (last) value until a certain time step is reached. Is there a way to do this? Example CSV stimulus file: time
-
Has Anyone Used the Pinnacle TV for Macbook Tuner?
I saw this product at the store yesterday and I'm wondering how well it works for recording TV programs and possibly movies onto my macbook. I am hoping it performs similar to a DVR, and I am also wondering if it would be possible to burn these progr
-
Parse and Modify Xml using DOMDocument60 in VC++
I am trying to traverse an in-memory xml, while traversing the nodes, I want to edit the value in the node and save it in memory. Is there a way??? Below is a portion of the code snippet, it does not seem to work... Any help will be great. BOOL CTest
-
Is it possible to animate a symbol when dragged?
IF so can you show me how? thanks!