How can we show image in per_images table in our OAF page?
Hi All,
Can any one suggest me how to show the image from per_images table on to OAF page?
Ihe image is stored as binary value in the table..
<br><br> Thanks in advance. <br>
Soujanya
Go through this thread:
Re: Displaying an Image stored in the Database as BLOB on OA Fwk Page
--Mukul
Similar Messages
-
How can i show images from different folders in image gallery
Hi All,
i have downloaded and executed photo viewer image gallery application.
in that we r showing images sequentially what we have defined in xml file.
but i want show images randomly or i want show images from different gallary.
Can any one help me.
thanks
Raghu.WaqarLFC7 wrote:
On Windows:
Ctrl + click on the songs you want to group - then right click and click get info and it will ask you if you want to get info for multiple items click YES then under album name it whatever you want and them songs will be grouped into 1 album.
Mac:
Same procedure but hit SHIFT instead of CTRL.
Actually, it's right click or ctrl click, same as windows. -
How can i show images on mobile Phone?
Hello All,
I am not able to see the image on a mobile phone.I am using the SimpleImage tag.Can any one send me a sample code and the things to be taken care while doing so.
please get back.
Raju
nullHello,
I am able to get the Gif image shown properly but when i kee a .wbmp in the same folder them i am unable to get it displayed on the mobile phone.
Can u suggest me any clue for it.
Hope to seee u soon.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Khurram Iftikhar ([email protected]):
Hi,
The following code works inside the servlet. The gif files are put in <%9iASHome%>\panama\server\portal\images directory. The portal alias for ptg/rm takes us to the ....\portal direcory. Anything after that you need to specify in the URL.
o.println ("<SimpleImage src=\"http://" + server + "/portal/images/PizzaHut.gif\" target=\"http://www.yahoo.com\" alt=\"Yahoo\" addImageExtension=\"false\">Yahoo</SimpleImage>");
KI <HR></BLOCKQUOTE>
null -
HOw can i show a table(name given in parameters) in a report program
I made a report in which there is a paremeter asking for a table name ....
PARAMETERS TBLLE_NAME(10) OBLIGATORY.
Now when I enter the table namke then how can i show its values....
HINT:- We have to use fiels symbols....AND THE USER CAN ENTER ANY DDIC TABLE NAME having some records ...........You can display the contents of the DB table inputted using ALV.
Pass the Structure name as the DB table name inputted.
Use CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE to create the dynamic table of the same structure as the DB table passed.
Once the above steps are done, the internal table with data can be displayed using ALV.
Reward points for all helpful answers.
Thanks,
Balaji -
I have strucked with a simple but a complex problem.
I have a Report with data in vertical rows..need of the hour is how can we show that data into column structure.
here is the table sample which i have in Database..
Location chrg_type Effective_date
xxxxxxx xxxx xx-xx
thhis is the structure in effective date we have several months in it in a single column i want show the effective date or effective month in various columns instead of a single column.
my required table is....
Effective_date Effective_date
Location chrg_type xx-xx xx-xx
xxxxxxx xxxx xx-xx
any tough heads?????Hi Sunil,
Your 1st problem is that you are going to need one more field to accomplish you goal. What type of data do want under your new date columns?
Anyway, once you have that you need to move on to how to move the data out into columns based on date.
Try something like this.
0_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',CurrentDate) AND
DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',CurrentDate)
THEN {tbl.DataField}
1_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',DATEADD('m', -1, CurrentDate)) AND
DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',DATEADD('m', -1, CurrentDate))
THEN {tbl.DataField}
2_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',DATEADD('m', -2, CurrentDate)) AND
DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',DATEADD('m', -2, CurrentDate))
THEN {tbl.DataField}
... Repeat this process until you have all of the columns you need, following this format.
Hope this works for you,
Jason -
How can I show a 0% range in the data value label on a bar chart thanks?
How can I show a 0% range in the data value label on a bar chart thanks?
I'm not sure what the question is.
I know that if you have a bar chart and one of the categories (X-axis) has bar (Y value) equal to 0%, no bar is plotted for that category. Even the addition of a stroke (line) around the bars doesn't make one appear for 0%. The only automatic way I know of to make it look like there is data in that category is to add the value labels to the bars. Inspector/Chart/Series, select one of the bars on the chart, click on "value labels". Another method that is a workaround is to fudge the number a little in your table so that instead of 0% it is a very small %. This will get you a thin line on the chart.
But if your question is about the value labels (the numbers that display on or in the bars) and you are not getting one for a bar that is supposed to be 0%, it probably means your table doesn't actually have a 0% in the corresponding cell. A blank cell in the table will not get a value label. -
How can I show my scanner in Photoshop import menu?
How can I show my scanner in Photoshop import menu?
Does it not appear when you go to Import > Images from Device? Please provide answers to the questions listed here: "FAQ: What information should I provide when asking a question on this forum?"
-
How can I show message from server?
Has anyone idea, how can I show message from server? I want to show message after some files are uploaded via FTP.
Hi,
You can use OPEN DATASET for this purpose.
Try this code:
<b>****************************************</b>
Data:
A_FILE TYPE RLGRAP-FILENAME, "Application server
P_FILE TYPE RLGRAP-FILENAME. "Presentation server
DATA: BEGIN OF ITAB OCCURS 0,
LINE TYPE STRING,
END OF ITAB.
DATA: FILENAME TYPE STRING.
FILENAME = P_FILE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = FILENAME
TABLES
DATA_TAB = ITAB[]
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
OPEN DATASET A_FILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
LOOP AT ITAB.
TRANSFER ITAB-LINE TO A_FILE.
ENDLOOP.
<b>*****************************************</b>
Hope this helps,
Regards,
Pragya -
How to store an image into database table
Hi
Can anyone tell me the way, how to store an image into database table.Hello,
May be this thread will help you in your requirement.
[FM for uploading Image to SAP;
Thanks,
Jayant -
How can I download images from website with Automator?
Hi!
I want to ask how can I download images from website with Automator like here http://www.youtube.com/watch?v=hQm7Xr9jY0w&t=85m15s (in 1:25:15).
I want to download these images to my downloads folder. Some things have changed and I can't find exact options as then. When I am trying to make it it shows "The action "Download URLs" was not supplied with the required data."
I am using 2012 late iMac with Mac OSX 9.2 (Mavericks).There are two apps that I know of - and I would also swear that they come from the same developer, although they've different names. Both have free trials and both cost $40 (but both do 'other' video conversion as well).
One is WonderShare - I bought this one and it works very well for downloading YouTube videos as well as converting just about any file format you can think of.
The other is iSkysoft Video Converter (just noticed that it's now $36).
I tried them both and finally decided on WonderShare. Give them both a trial run and decide if you like either one enough to buy it. I don't know of any 'free' software that will allow you to download and convert YouTube videos, but perhaps someone else will come along and know of something...
Good luck,
Clinton -
How can I assign image file name from Main() class
I am trying to create library class which will be accessed and used by different applications (with different image files to be assigned). So, what image file to call should be determined by and in the Main class.
Here is the Main class
import org.me.lib.MyJNIWindowClass;
public class Main {
public Main() {
public static void main(String[] args) {
MyJNIWindowClass mw = new MyJNIWindowClass();
mw.s = "clock.gif";
And here is the library class
package org.me.lib;
public class MyJNIWindowClass {
public String s;
ImageIcon image = new ImageIcon("C:/Documents and Settings/Administrator/Desktop/" + s);
public MyJNIWindowClass() {
JLabel jl = new JLabel(image);
JFrame jf = new JFrame();
jf.add(jl);
jf.setVisible(true);
jf.pack();
I do understand that when I am making reference from main() method to MyJNIWindowClass() s first initialized to null and that is why clock could not be seen but how can I assign image file name from Main() class for library class without creating reference to Main() from MyJNIWindowClass()? As I said, I want this library class being accessed from different applications (means different Main() classes).
Thank you.Your problem is one of timing. Consider this simple example.
public class Example {
public String s;
private String message = "Hello, " + s;
public String toString() {
return message;
public static void main(String[] args) {
Example ex = new Example();
ex.s = "world";
System.out.println(ex.toString());
}When this code is executed, the following happens in order:
1. new Example() is executed, causing an object to constructed. In particular:
2. field s is given value null (since no value is explicitly assigned.
3. field message is given value "Hello, null"
4. Back in method main, field s is now given value "world", but that
doesn't change message.
5. Finally, "Hello, null" is output.
The following fixes the above example:
public class Example {
private String message;
public Example(String name) {
message = "Hello, " + name;
public String toString() {
return message;
public static void main(String[] args) {
Example ex = new Example("world");
System.out.println(ex.toString());
} -
In ADF how can i insert data in multiple table if they have foreign key
I have started working on ADF and can anybody inform me in ADF how can i insert data in multiple table if they have foreign key,please?
Thnak you very much.Hello,
Still no luck.I am surely doing silly mistakes.Anyway,Here are my workings-
1> student_mst (id(pk),studentname) and student_guard_mst(id(fk),guardianname)
2> created EO from both of the tables,made id in both EO as DBSequence and an association was also generated.
3> i made that association composite by clicking the checkbox
4> i created 2 VO from 2 EO.
5> put those VO in Application Module.
6> dragged and dropped 2 VO on my jspx page and dropped them as ADF Form.
Now what to do please? -
Forms 6.0-- How can I show records in a block in different colours.
In a multi record block, how can I show few records in one colour and few more in a different colour depending on a condition.
Use DISPLAY_ITEM.
This will change the visual attribute of the item in the current(!) record,
set_item_property changes the attributes of the item in all(!) records. -
How can I display images that are not included in any collection?
How can I display images that are not included in any collection (some filter or smart collection)? A smart collection with parameters "Collection - contains - empty field" does not work. Lightroom 5.
Thank you! Good idea! I ordered letters of the alphabet (space separated), and it works.
-
How can I draw image in a vbean?
How can I draw image in a vbean?
this is my code :
import java.awt.BorderLayout;
import java.awt.Image;
import java.awt.Graphics;
import java.net.MalformedURLException;
import java.net.URL;
import com.sun.jimi.core.Jimi;
import oracle.forms.handler.IHandler;
import oracle.forms.properties.ID;
import oracle.forms.ui.VBean;
public class PrintEmailLogo extends VBean {
URL url;
Image img;
boolean ImageLoaded = false;
public void paint(Graphics g) {
if (ImageLoaded) {
System.out.println("yes~~~");
g.drawImage(img, 0, 0, null);
} else
System.out.println("no~~~");
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w,
int h) {
if (infoflags == ALLBITS) {
System.out.println("yes");
ImageLoaded = true;
repaint();
return false;
} else
return true;
public void init(IHandler arg0) {
super.init(arg0);
try {
url = new URL("file:print/77G.gif");
img = Jimi.getImage(url);
Image offScreenImage = createImage(size().width, size().height);
Graphics offScreenGC = offScreenImage.getGraphics();
System.out.println(offScreenGC.drawImage(img, 0, 0, this));
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
but when I run it in forms
when it run Graphics offScreenGC = offScreenImage.getGraphics();
It throw a exception:
java.lang.NullPointerException at com.avicit.aepcs.calendar.PrintEmailLogo.init(PrintEmailLogo.java:72) at oracle.forms.handler.UICommon.instantiate(Unknown Source) at oracle.forms.handler.UICommon.onCreate(Unknown Source) at oracle.forms.handler.JavaContainer.onCreate(Unknown Source) at oracle.forms.engine.Runform.onCreateHandler(Unknown Source) at oracle.forms.engine.Runform.processMessage(Unknown Source) at oracle.forms.engine.Runform.processSet(Unknown Source) at oracle.forms.engine.Runform.onMessageReal(Unknown Source) at oracle.forms.engine.Runform.onMessage(Unknown Source) at oracle.forms.engine.Runform.processEventEnd(Unknown Source) at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
I change it to:
import java.awt.BorderLayout;
import java.awt.Image;
import java.awt.Graphics;
import java.net.MalformedURLException;
import java.net.URL;
import javax.swing.JFrame;
import com.sun.jimi.core.Jimi;
import oracle.forms.handler.IHandler;
import oracle.forms.properties.ID;
import oracle.forms.ui.VBean;
public class PrintEmailLogo extends VBean {
URL url;
Image img;
public void paint(Graphics g) {
try {
url = new URL("file:print/77G.gif");
img = Jimi.getImage(url);
g.drawImage(img, 0, 0, this));
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
public void init(IHandler arg0) {
super.init(arg0);
But it display nothing.
It isn't paint continuous.
what's wrong in my vbean?
please help me.The following code works fine for me:
package oracle.forms.fd;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.util.*;
import javax.swing.*;
import javax.swing.event.*;
import oracle.forms.handler.IHandler;
import oracle.forms.properties.ID;
import oracle.forms.ui.CustomEvent;
import oracle.forms.ui.VBean;
public class test extends VBean {
private URL url;
private URL m_codeBase;
private Image img;
public void paint(Graphics g) {
// draw the image
g.drawImage(img, 0, 0, this);
public void init(IHandler arg0) {
super.init(arg0);
// load image file
img = loadImage("file:///c:/coyote.jpg");
public test()
super();
* Load an image from JAR file, Client machine or Internet URL *
private Image loadImage(String imageName)
URL imageURL = null;
boolean loadSuccess = false;
Image img = null ;
//JAR
imageURL = getClass().getResource(imageName);
if (imageURL != null)
try
img = Toolkit.getDefaultToolkit().getImage(imageURL);
loadSuccess = true;
return img ;
catch (Exception ilex)
System.out.println("Error loading image from JAR: " + ilex.toString());
else
System.out.println("Unable to find " + imageName + " in JAR");
//DOCBASE
if (loadSuccess == false)
System.out.println("Searching docbase for " + imageName);
try
if (imageName.toLowerCase().startsWith("http://")||imageName.toLowerCase().startsWith("https://"))
imageURL = new URL(imageName);
else if(imageName.toLowerCase().startsWith("file:"))
imageURL = new URL(imageName);
else
imageURL = new URL(m_codeBase.getProtocol() + "://" + m_codeBase.getHost() + ":" + m_codeBase.getPort() + imageName);
System.out.println("Constructed URL: " + imageURL.toString());
try
img = createImage((java.awt.image.ImageProducer) imageURL.getContent());
loadSuccess = true;
System.out.println("Image found: " + imageURL.toString());
return img ;
catch (Exception ilex)
System.out.println("Error reading image - " + ilex.toString());
catch (java.net.MalformedURLException urlex)
System.out.println("Error creating URL - " + urlex.toString());
//CODEBASE
if (loadSuccess == false)
System.out.println("Searching codebase for " + imageName);
try
imageURL = new URL(m_codeBase, imageName);
System.out.println("Constructed URL: " + imageURL.toString());
try
img = createImage((java.awt.image.ImageProducer) imageURL.getContent());
loadSuccess = true;
System.out.println("Image found: " + imageURL.toString());
return img ;
catch (Exception ilex)
System.out.println("Error reading image - " + ilex.toString());
catch (java.net.MalformedURLException urlex)
System.out.println("Error creating URL - " + urlex.toString());
if (loadSuccess == false)
System.out.println("Error image " + imageName + " could not be located");
return img ;
}Francois
Maybe you are looking for
-
Issue with FDMEE custom script
Hi All, I have written a custom script in FDMEE which pulls data from Oracle DB and writes it to a file in FDMEE App Inbox folder. This script is working perfectly in FDM where in I see file getting generated in Inbox folder. But, when I try to execu
-
What can i do about a stolen ipod?
what can i do about my ipod being stolen?
-
Security object for check against Lab office in DIR
Hi, We are running R/3 46C and use DMS to store our business documents via online vault. I have a requirement to set up access based on Lab office (department) that is used in the Document Information Record. Is there a standard security object that
-
why wont google chrome let me play you tube videos as all I get is a black scfeen with no control iocons??? ps help I've but made n o diff. tried clearing cashe's and browsing data but made no diff grrr
-
Email account unknown user ?server error.
When I email my daughter's .mac account, I get a server reject user is unkonown message on my iPhone. My Imac simply wont send to it. When I check her icloud account it says she has all three account extensions active (.mac, .me, .icloud) and verif