Multicolumn LOV with Images
Hi,
I've been searching for a solution for a multi-column lov that incorporates images for a product view selector.
I came across Super LOV from SkillBuilders
http://www.skillbuilders.com/webinars/webinar.cfm/61?title=Introducing%20SkillBuilders%20Oracle%20APEX%20Plug-In%20Super%20LOV%202.0
which works great but i want a solution to show images for each line.
Could someone suggest a way to implement this? I would love to use super lov if i could even have a "view icon" on every line that could open the appropriate image.
Thanks
Teo
Hello Teo,
Got It!
After visiting:
http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/skillbuilders-super-lov_75.html
I have no idea on what the pop-up lov is based on?(means the GUI). But I am sure if it is based on the one of the APEX reports type(SQL/Interactive) you can also show images in it.
I am sure if @Dan McGhan notices this thread, he will help you with it.
Regards,
Kiran
Similar Messages
-
LOV with images that originate from a BLOB in table
Hello,
i am using APEX ver. 4.2.1.00.08, with Oracle 11g R2. (11.2.0.3.0 + Patch 15), under Windows 7 64 bit. I have a table that stores images, that has the following desc:
Name Data Type
ID NUMBER(*,0) NOT NULL
FILE_NAME VARCHAR2(1024 CHAR) NOT NULL
MIME_TYPE VARCHAR2(100 CHAR) NOT NULL
CONTENT_TYPE VARCHAR2(100 CHAR) NOT NULL
FILE_SIZE NUMBER(*,0) NOT NULL
VERSION NUMBER(*,0) NOT NULL
PAYLOAD BLOB(4000) NOT NULL
SERVER_ONLY VARCHAR2(1 CHAR) NOT NULL
CODE VARCHAR2(200 CHAR) NOT NULL
LAST_UPDATE_DATE DATE
I need to build a LOV from this table, that instead of the name, it displays the image that is store in PAYLOAD field. I need this LOV to be displayed/used as a Select List in a Form.
Can this be done ?
i have tried this up to now, with no success, as the source for the LOV:
SELECT gi.ID,
decode(nvl(dbms_lob.getlength(gi.payload),0),0,null,
'<img style="border: 4px solid #CCC; -moz-border-radius: 4px; -webkit-border-radius: 4px;" '||
'src="'||
apex_util.get_blob_file_src('P41_PAYLOAD', gi.id)||
'" height="75" width="75" alt="General Image" title="General Image" />')
IMAGE
FROM GENERAL_IMAGE gi
ORDER BY gi.CODE ASC
What is displayed unfortunately, is just the text in the combo box (select list).
Any idea if i can achieve this ?
TIADionyssis wrote:
i am using APEX ver. 4.2.1.00.08, with Oracle 11g R2. (11.2.0.3.0 + Patch 15), under Windows 7 64 bit. I have a table that stores images, that has the following desc:
I need to build a LOV from this table, that instead of the name, it displays the image that is store in PAYLOAD field. I need this LOV to be displayed/used as a Select List in a Form.
Can this be done ?Not using a select list. The content model for the elements<tt>option</tt> elements that comprise the select list only allows them to contain text, not other HTML elements like <tt>img</tt>. (APEX also escapes the LOV labels which is why you see the HTML code when the item is rendered.)
Any idea if i can achieve this ?It might be feasible using a Pop-up LOV, but if you want something displayed directly in the page you'll need to find a plug-in or create some kind of custom component. For the latter useful building blocks would be a dynamic list, hidden item, dynamic action(s), and some CSS. -
Ok, Good afternoon... I was wonder, when I used a loadmovie
for loading a file JPG, It saves into computer (on *temp files)? I
mean, I'm working with some pics, but they are the result of many
years of investigations... my clients don't want people can stole
that images by Internet... I thought flash is able to do it... but
I'm not complete sure, my question:
is flash safe for working with images?, are they going to be
safe on Temp files when I load the website?, is there a posibility
for blocking the printscreen button?
Hoope you can understand my idea and you can help meThis has been discussed for years and the short answer is -
whatever is being displayed on your
screen, no matter how it gets there, can simply be grabbed
via a screenshot using the Prnt Scrn key
or any of the various screen grab utilities available.
--> **Adobe Certified Expert**
--> www.mudbubble.com
--> www.keyframer.com
Dj... God Lov.... wrote:
> Ok, Good afternoon... I was wonder, when I used a
loadmovie for loading a file
> JPG, It saves into computer (on *temp files)? I mean,
I'm working with some
> pics, but they are the result of many years of
investigations... my clients
> don't want people can stole that images by Internet... I
thought flash is able
> to do it... but I'm not complete sure, my question:
is flash safe for
> working with images?, are they going to be safe on
Temp files when I load
> the website?, is there a posibility for blocking the
printscreen button?
>
> Hoope you can understand my idea and you can help me
> -
I want to make a slideshow to view on my television with image's duration ranging from seconds to an hour or more and I want to use my iPhone or iPad mini to control the television through my Apple tv.
I've been unable to locate an app that will do this. The Photos app that comes with the phone or iPad has extremely limited duration controls. PhotoStream seems to load everything from my phone or iPad not allowing me to just load up a set group of images.
iPhoto for iPad is getting some terrible recent reviews. I tried a couple other free apps but they don't use Airplay.
I can do something like this with iPhoto and my MB Air, but it's kind of ugly to have the computer open in order to connect by Airplay to my Apple TV. I've thought the iPad or iPhone would be a lower profile controller.
Am I out of luck?Thanks for your help. Since I'm uninterested in loading all my photos (the only option) into photostream, I won't be able to use the settings in ATV. I guess I'm just stuck with using iPhoto on my MB Air. Thanks again.
paul -
WYSIWYG editor upload with images
Hello, friends!
I need help solving following problem:
I need to create WYSIWYG editor, which just to enter text and image. Other options (like font-size, font-weight...) not need. Then when submit the form with richedit, all data in form with images must sent to server.
1) images must upload
2) text must content following: text <img="src=../image1.png"> text <img="src=../image2.png"> text
or maybe all images must save as a blob data
Help me, people!Is this an Oracle question?
-
Previously when I logged in to my INGdirect online bank account, the login window came up showing images and clickable hotspots. Recently, the login window changed to a text-only version. On two different computers running Firefox, the login comes up in the previous version, with images and clickable hotspots. I'm unaware of having done anything to change my settings either in Firefox or on the banking website. Because it seems to be localized on this computer, I've tried downloading latest version of Firefox, but got no change, login still comes up in text-only format.
Try clearing your browser cache.
Tools > Clear Recent History... - hit Details and make sure only Cache is selected, then select Everything and hit the Clear Now button. -
Hi,
Iam facing with one problem.I have one swing interface through which I can upload files(back end servlet programme).Now I can upload all types of file but problem with image file it uploading perfectly that means size of the uploaded file is ok but its format damaged.It can not be open.My backend servlet programme is ok coz i tested it with html form it is working perfectly.Problem with swing interface.Plz guide me where I done a mistake.Below r my codes:-
ImageIcon Upload=new ImageIcon("images/Upload.gif");
Button=new JButton(Upload);
Button.setToolTipText("Upload");
Button.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
int returnVal = fc.showOpenDialog(ActionDemo4.this);
if (returnVal == JFileChooser.APPROVE_OPTION) {
File file = fc.getSelectedFile();
String aa=file.getAbsolutePath();
textArea3.append(aa);
textArea2.append("Local URL:");
long l=file.length();
try
byte buff[]=new byte[(int)file.length()];
InputStream fileIn=new FileInputStream(aa);
int i=fileIn.read(buff);
String conffile=new String(buff);
String str1=textArea10.getText();
url = new URL ("http://127.0.0.1:7001/servletUpload?x="+str1);
urlConn = url.openConnection();
urlConn.setDoInput (true);
urlConn.setDoOutput (true);
urlConn.setUseCaches (false);
urlConn.setRequestProperty("Content-Type","multipart/form-data;boundry=-----------------------------7d11e410e500f2");
printout = new DataOutputStream (urlConn.getOutputStream ());
String content ="-----------------------------7d11e410e500f2\r\n"+"Content-Disposition: form-data;"+"name=\"upload\"; filename=\""+aa+"\"\r\n"+"Content-Type: application/octet-strem\r\n\r\n\r\n"+conffile+"-----------------------------7d11e410e500f2--\r\n";
printout.writeBytes(content);
printout.flush ();
printout.close ();
Best Regards
BikashThe errors are here:
byte buff[]=new byte[(int)file.length()];
InputStream fileIn=new FileInputStream(aa);
int i=fileIn.read(buff);
String conffile=new String(buff); (conffile is a String object containing the image)
and here:
String content ="-----------------------------7d11e410e500f2\r\n"+"Con
ent-Disposition: form-data;"+"name=\"upload\";
filename=\""+aa+"\"\r\n"+"Content-Type:
application/octet-strem\r\n\r\n\r\n"+conffile+"--------
--------------------7d11e410e500f2--\r\n";
printout.writeBytes(content);conffie is sent to the server but
it's non possible to treat binary data as String!
Image files must be sent as byte[] NOT as String ...... -
Exception while Exporting Datagridview data with Images to Excel...
Hi Everyone,
I have datagridview in that 17 columns are text columns and 5 columns are Image columns,when I'm trying to export whole gridview data's along with images to EXCEL,getting "HRESULT:
0x800A03EC" Error..While debugging the code I'm getting the error on image column not able to export..
Can anybody help us to resolve this issue..
Here is my code which i used:
private void btnexportexcel_Click(object sender, EventArgs e)
try
SaveFileDialog savefile = new SaveFileDialog();
savefile.Filter = "Excel (*.xls)|*.xls";
if (savefile.ShowDialog() == DialogResult.OK)
if (!savefile.FileName.Equals(string.Empty))
FileInfo finfo = new FileInfo(savefile.FileName);
if (finfo.Extension.Equals(".xls"))
Excel.Application xlApp;
Excel.Workbook xlWorkBook;
Excel.Worksheet xlWorkSheet;
object misValue = System.Reflection.Missing.Value;
xlApp = new Excel.Application();
xlWorkBook = xlApp.Workbooks.Add(misValue);
xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(2) ;
int i = 0;
int j = 0;
for (i = 0; i <= dataGridView1.RowCount - 1; i++)
for (j = 0; j <= dataGridView1.ColumnCount - 1; j++)
DataGridViewCell cell = dataGridView1[j, i];
xlWorkSheet.Cells.Borders.LineStyle = Excel.XlLineStyle.xlContinuous;
xlWorkSheet.Columns.AutoFit();
if (cell.Value.GetType() == typeof(Bitmap))
string image =Convert.ToString(dataGridView1.CurrentRow.Cells[i].Value);
Excel.Range oRange = (Excel.Range)xlWorkSheet.Cells[i + 1, j + 1];
float Left = (float)((double)oRange.Left);
float Top = (float)((double)oRange.Top);
const float ImageSize = 32;
xlWorkSheet.Shapes.AddPicture(image, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoCTrue, Left, Top, ImageSize, ImageSize);
oRange.RowHeight = ImageSize + 2;
else
xlWorkSheet.Cells[i + 1, j + 1] = cell.Value;
xlWorkBook.SaveAs(savefile.FileName, Excel.XlFileFormat.xlWorkbookNormal, misValue, misValue, misValue, misValue,
Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue, misValue);
xlWorkBook.Close(true, misValue, misValue);
xlApp.Quit();
releaseObject(xlWorkSheet);
releaseObject(xlWorkBook);
releaseObject(xlApp);
MessageBox.Show("Excel file created , you can find the file " + savefile.FileName);
else
MessageBox.Show("Invalid file type");
else
MessageBox.Show("You did pick a location " + "to save file to");
catch (Exception ex)
MessageBox.Show("Exception Occured", ex.Message);
Thanks & Regards RAJENDRAN MHi Everyone,
I have datagridview in that 17 columns are text columns and 5 columns are Image columns,when I'm trying to export whole gridview data's along with images to EXCEL,getting "HRESULT:
0x800A03EC" Error..While debugging the code I'm getting the error on image column not able to export..
Can anybody help us to resolve this issue..
Here is my code which i used:
private void btnexportexcel_Click(object sender, EventArgs e)
try
SaveFileDialog savefile = new SaveFileDialog();
savefile.Filter = "Excel (*.xls)|*.xls";
if (savefile.ShowDialog() == DialogResult.OK)
if (!savefile.FileName.Equals(string.Empty))
FileInfo finfo = new FileInfo(savefile.FileName);
if (finfo.Extension.Equals(".xls"))
Excel.Application xlApp;
Excel.Workbook xlWorkBook;
Excel.Worksheet xlWorkSheet;
object misValue = System.Reflection.Missing.Value;
xlApp = new Excel.Application();
xlWorkBook = xlApp.Workbooks.Add(misValue);
xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(2) ;
int i = 0;
int j = 0;
for (i = 0; i <= dataGridView1.RowCount - 1; i++)
for (j = 0; j <= dataGridView1.ColumnCount - 1; j++)
DataGridViewCell cell = dataGridView1[j, i];
xlWorkSheet.Cells.Borders.LineStyle = Excel.XlLineStyle.xlContinuous;
xlWorkSheet.Columns.AutoFit();
if (cell.Value.GetType() == typeof(Bitmap))
string image =Convert.ToString(dataGridView1.CurrentRow.Cells[i].Value);
Excel.Range oRange = (Excel.Range)xlWorkSheet.Cells[i + 1, j + 1];
float Left = (float)((double)oRange.Left);
float Top = (float)((double)oRange.Top);
const float ImageSize = 32;
xlWorkSheet.Shapes.AddPicture(image, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoCTrue, Left, Top, ImageSize, ImageSize);
oRange.RowHeight = ImageSize + 2;
else
xlWorkSheet.Cells[i + 1, j + 1] = cell.Value;
xlWorkBook.SaveAs(savefile.FileName, Excel.XlFileFormat.xlWorkbookNormal, misValue, misValue, misValue, misValue,
Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue, misValue);
xlWorkBook.Close(true, misValue, misValue);
xlApp.Quit();
releaseObject(xlWorkSheet);
releaseObject(xlWorkBook);
releaseObject(xlApp);
MessageBox.Show("Excel file created , you can find the file " + savefile.FileName);
else
MessageBox.Show("Invalid file type");
else
MessageBox.Show("You did pick a location " + "to save file to");
catch (Exception ex)
MessageBox.Show("Exception Occured", ex.Message);
Thanks & Regards RAJENDRAN M -
Problem in creating client side PDF with image using flex and AlivePD
I need a favor I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf.I am taking the image inside a canvas . How do i control my images so that they come fit on that pdf file for any image size that i take.
Thanks in advance
AtishayI am having a similar and more serious problem. It takes a
long time to execute, but even attaching a small image balloons the
pdf to 6MB plus. After a few images it gets up to 20MB. These are
100k jpeg files being attached. The resulting PDF is too large to
email or process effectively. Does anyone know how to reduce
size/processing? -
Text jobs with images - printer cancels
When I print a text document with images the printer stops printing and cancels the print job when it starts to print any image.
Help
This question was solved.
View Solution.Hey @sudiegal!
Thanks for posting on the HP Forums!
I would be happy to provide some suggestions that may resolve the issue. I can see that the printer cancels the jobs when you add a photo to you text document. The first thing I suggest is to remove the printer by resetting the print system. After the printer is removed re-add the printer and try printing the document again.
To reset the printing system:
1. Click the Apple icon at the top left of the computer
2. Click System Preferences
3. Click Printers and Scanners
4. Hold down the "control" key on the keyboard and click with the mouse in the white space bellow the printer
5. Click reset printing system dropdown
6. It may ask for Mac ID and will color wheel for a moment until the printer is removed
To re-add the printer:
1. Click the Apple icon at the top left of the computer
2. Click System Preferences
3. Click Printers and Scanners
4. Click the plus (+) icon under the printers list
5. Select your printer
6. Choose HP ENVY 7640 series in the dropdown next to "use" or "print using"
7. Click add
Please post back and let me know if this works out for you!
Cbert
I work on behalf of HP.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" at the bottom of this post to say “Thanks” for helping! -
How to concatenate the values in single row with images or colours
hi all,
i am apex 4.2,
i tried to execute a plsql query for the values concatenate two values into same column
example in my table
i am having teachers list one can teach two or three subjects
in table i am saving like
teacher_id teacher_name salary subjects
1 ram 5000 science,maths
2 gang 4000 maths,science,english
but my report should come like
teacher_id teacher_name salary subjects
1 ram 5000 science maths i have to highlighting these subjects with images or with different colors
2 gang 4000 maths english science
can any one help me please
thanks & regards
pavan
Edited by: Pavan on Apr 9, 2012 4:15 AM
Edited by: Pavan on Apr 9, 2012 4:22 AMFirst of all, i would split the subjects column.
If you for sure only need up to 3 subjects, you could make three columns subject1, subject2, subject3.
If you may have an indefinite number of subjects for each teacher, you might create a detail-table with the subjects for each teacher.
I also would create a list of values for the subjects, either based on static values or based on another table with the subjects allowed.
Now that the subject-names are fixed you could create a subject-image for each subject, named as the subject itself. Then you "construct" the image for each subject as
<img src="#APP_IMAGES##SUBJECT_NAME#.png"/> -
I have created two related Blurb books in Lightroom 5 (Volumes 1 and 2) but my balance of page numbers is off. So I'd like to take some pages out of one book (complete with images) and paste them into the other. Is this possible?
Can you zip up a few of your GoPro images, upload them to dropbox.com and post a share link, here, so others can experiment with them, or do you mean this issue is global to all camera models?
-
How to populate a page with images in across/down direction?
Hi,
Does anyone know how to populate a page with images in across and down direction (for example 6 X 6 )? It seems that I cannot use data table because records are only running downward and each row can have one record.
Any suggestion would be appreciated. thanks.Alex,
You can create your own tabular form using APEX_ITEM API's
Create report and you can put similar code to following
SELECT APEX_ITEM.TEXT(1,col1) pk1, APEX_ITEM.TEXT(2,col2) pk2 FROM your_tableSo data will be displayed in TEXT boxes as if it's a tabular form. Now you need to handle INSERT/UPDATE/DELETE processes manually. You can easily handle INSERT and DELETE. But handling UPDATE can be a nightmare. What if user has updated both the column values?
Updated details
One way out would be to use ROWID as Primary key to handle DELETE and UPDATE
SELECT APEX_ITEM.CHECKBOX(1,ROWID) tick, APEX_ITEM.TEXT(2,col1) pk1, APEX_ITEM.TEXT(3,col2) pk2 FROM your_tablebut yet I suggest to go for proper primary key..
Regards,
Hari
Edited by: Hari_639 on Dec 3, 2009 6:52 PM -
How to use recursion with images
Ok, for this program I'm trying to recursively repeat an image 3 times with varying widths and heights, and I don't know how to do that with images. With rectangles and other shape objects it's easy because all I had to do was override the draw method, but with images I'm not sure what to override to allow me to repeat the drawing of it with a different height and width. Any help would be greatly appreciated.
Would I be able to work that in with recursion? Currently I have a JPanel with the paintComponent method being overridden, and I've tried setting up the paintComponent method to call itself to repaint the image, but I've realized everytime I resize the application's window paintComponent gets called again making the images go out of site. Is there a way to override the drawImage method to allow me to change the width and height of the image without causing the panel to repaint itself?
-
Two Firefox at the same time, (one with images, other without)?
Hi,
Is is possible to use two firefox browsers at the same time, the one with images enabled, the other disabled?See this easy to follow directions:
http://www.callum-macdonald.com/about/faq/multiple-firefox-instances/
Maybe you are looking for
-
I just purchased a new ipod touch so now I have two. I do not want the second ipod touch to sync the same as the old ipod touch - 2 people with 2 different music preferences. How do I keep them separate.
-
EXIT_SAPMM06E_012 : Incoterms validation for header/item in a PO.
Hi, I need to add validation to PO that : The header level incoterm 1 and 2 and the items incoterm1 and 2 has to be populated by the user, for PO create(ME21n) and change (ME22n) modes. THe header level inocterm field validations were done in Change
-
No Thumbnails in Cover Flow View
I used to be able to view all image files at the top of the windo in cover flow view. Now, instead of showing me the image, it shows me icons. Like .jpg's show up as a preview icon. I want to see the image itself so I don't have to open every file. I
-
How to add a MovieClip in current fla
Like the example Rob Dillon shew me: http://www.ddg-designs.com/downloads/textOverVideo2.zip How to add the text window movieClip? I tried: 1. new as3 project 2. add component -> movieClip -> instance name "aa" but I couldn't find where the new movie
-
Why can't I find the Skype app in the Samsung Apps...
I currently have the Samsung UE40D5500 TV and I cannot find the Skype app. Is it not compatible with my TV? Regards