ShortDesc attribute in af:image component doesn't display in IE8
Hello all,
As said in the subject, I have an af:image component inside a table column which looks like this :
<af:column sortProperty="GraphicalSymbol" sortable="false"
headerText="#{res.history_vehicle_event}"
id="c10" width="60" align="center" headerClass="tableHeader" styleClass="columnData">
<af:image id="imgIc" source="/images/new_layout/events/symbol_#{fn:toLowerCase(row.GraphicalSymbol)}.png" shortDesc="#{row.EventType}"/>
</af:column>the tooltip displays successfully in Firefox and chrome, but not in IE8 (version : 8.0.7600.16385) until I active the compatibility view mode.
Is this mandatory to set the compatibility view for adf applications ? are there other bugs/risks if I don't? Can it be set automatically?
Thanks for your help
Stephane
Hi,
sound like a bug in ADF Faces to me. Setting the compatibility mode is more a work around than really a solution. You don't mention teh JDeveloper build you use. Did you try 11.1.1.4 ?
Frank
Similar Messages
-
WebHelp doesn't display in IE8 after applying IE10 fix
We're using RoboHTML 9 to generate WebHelp. We've applied the IE10 fixes to the output; however, after copying and replacing the 2 files, the Help does not display in IE8. We are running the Help locally in a Windows 7 system.
Tons of js errors appear in IE8...examples:
'whMessage' is undefined
whskin_frmset01.htm
Message: Script error
Line: 0
Char: 0
Code: 0
URI: file:///[masked]/WebHelp/whver.js
Message: Script error
Line: 0
Char: 0
Code: 0
URI: file:///[masked]/WebHelp/whutils.js
We've cleared cache and the errors still appear. Doesn't occur in Firefox and Chrome. Any ideas?Weird. Does it work in IE10 though?
This almost suggests that there is a syntax error in one of the scripts blocking the execution. But that would normally break all browsers...
Do you have a plugin like ChromeFrame installed? Perhaps that is playing foul.
If you click F12 and go to the tab console, reload the page. Can you post the errors from the console?
Greet,
Willam -
Image code doesn't display in Firefox beta 26
FYI I noticed a difference between browsers on this Test page: http://manotick.net/test.htm
Both images display in Firefox 25 + Windows7 and Chrome 30.0 + Android 4.2.1
Top images does not display in FirefoxBeta 26 + Android 4.2.1I don't see any difference between Firefox desktop and Firefox for Android on 25 through 28. I don't notice any missing images.
If possible would you provide a screenshot. On many newer Android phones one can capture the screen by pressing volume down and the power button at the same time.
Then attach that picture to this post by using the browse button below the Add images: line. -
Error while using Image component to display a child flash file
Hi
I'm using Xcelsius version 4.5. I used the "Image Component" to import a child flash file(.swf) into the parent flash file.
I gave the path "D:\246024\Loblaw\Dashboard Docs\New Folder\trend input.swf" in the general tab of the image component.
After exporting the .xlf into a flash file , it works fine in the system in which i created it. If i open the same flash file in any other system the parent file opens but the child flash file imported through the image component is not displayed.
Please help me out in solving this issue
Thanks
Anithayes, you will face the same problem as its still looking for the path of the swf.
you need to have the SWF on specific location which is accessable by the Parent SWF
usually web page or something which is accessable for all.
good luck -
Setting source property of Trinidad image component using java script
Hi,
Can anyone tell me how to set the source property of Trinidad Image component using javascript.
i tried document.getElementById("f1:img").source="/images/neha.gif".
But its not working
Thanks
NehaHi,
Bases on the solution you suggested, i tried the img component to change the image on OnMouseOver and OnMouseOut. Its working fine in a normal browser but doesnt work in Mobile browser. May be because mobile browser supports only trinidad components. I then tried the option of backing bean
" Or you can expose the component to a backing bean by setting its "binding" attribute. JDeveloper can create a backing bean from the wizard if you don't already have one. This will get you a CoreImage object in the bean, and you can change the source with its setSource method."
. So i bound the omMouseOver event of the trinidad image component to a backing bean. Inside that i am changing the source and refreshing the component.
<tr:commandLink id="cl1" action="goAlerts" styleClass="listingLink2">
<tr:image source="/images/alert.gif" id="i4"
binding="#{Images.alertOnMouseOver}"
onmouseover="#{Images.alertOnMouseOver}"/>
</tr:commandLink>
Images.java
public void setAlertOnMouseOver(CoreImage alertOnMouseOver) {
this.alertOnMouseOver = alertOnMouseOver;
alertOnMouseOver.setSource("/images/alertSelect.gif");
RequestContext context = RequestContext.getCurrentInstance();
context.addPartialTarget(alertOnMouseOver);
System.out.print("Test");
So what i found is setAlertOnMouseOver is getting called but not MouseOver event but when the page is loaded. Can you please tell me where i am going wrong? -
Simple image component question
I have to fix a flash file someone else made, and I need to use an image component, which I'm not familiar with.
I just need a simple image that scales up, and then moves across the screen. I've got my image component, and tweened it to scale and then move, and it looks fine when I scrub the timeline, but when I test as a swf it doesn't do anything, it just sits there.
Am I missing something?If its working on while dragging the timeline during in authoring and not working while playing the complied swf can mostly mean that u have attached a top command somehwere in ur code which is stopping the timeline from moving forward on playing the swf.Check for unwanted stop commands.
-
MPEG-2 component doesn't work anymore
Hi,
I now recognized, that the MPEG-2 component doesn't work anymore. I don't know since which moment, but maybe since the last QuickTime update. I reinstalled it, but it didn't solve the problem.I can open a m2v fil but there is no content and it displays like a sound file.
If there is no display screen above the controller (i.e., looks like an audio file), check the Inspector (or Properties) window to see what the QT player thinks is contained in the file. Also, what is the source of the file? Files split by windows users and posted on the internet frequently open in this manner without a display screen. Basically, if the QT MPEG-2 Playback component is not working, the file will not open at all. Also, M2V files are normally paired with a separate AIFF file. If you have QT Pro, open the Properties window and check the "Resource" pointer for your M2V track.
I can't find where it is installed either.
Did you check the root "Library > QuickTime" folder on your start-up drive? Also, did you install the correct codec? Two versions should be contained in the image file. You want the one that says "For QuickTime 6.4 and later & Intel Macs." -
How can i set a image dinamically in a image component (ADF Mobile)?
Hello everybody,
I have to consume a rest service and get a url. This url is redirected to one image. After reading this image, how can i set he in a adf mobile image component?Hi,
bind the mobile image component URL to a managed bean and have the managed bean. Then use the bean setter to set a new URL string and ensure (when creating the Java class for the managed bean) you have JDeveloper creating the property change event handlers.
Frank -
Illustrator Image Trace doesn't work with large images
Illustrator's Image Trace doesn't seem to work at all with large images. The attached image shows the following:
A) The original raster cropped tightly.
B) Converting the raster with default "Black and White Logo" settings. Results in 242 paths and 4792 anchors.
C) Adding a massive amount of white space and then converting the raster with default "Black and White Logo" settings. Results in 407 paths and 1620 anchors.
For whatever reason Illustrator can't seem to handle large images. This test shows it's not an issue with the image being too complex since all I've done is add white space and the file was saved without compression so there should be no noise.
This type of glitch started with CS6 with the new Image Trace tool. Is there a fix for this? Maybe setting Image Trace into legacy mode?Moving to Illustrator forum.
-
Create an Image Component that has a scale9Grid border
Hello, I want to start the process of creating a custom Image
Component that has a property of Scale9GridBorder, which upon
setting, will use Scale9Grid to create a frame around an image. I
was wondering if someone has any tips?
I'm familiar with custom components, all written in
Actionscript 3.0, and with the common createCHildren,
commitPorperties, measure, updateDisplayLIst mehtods that Ill have
to implement. I'm just not sure if classes like RectangleBorder,
etc. will be of help for me.
Maybe someone has already created a similar component?
Thanks,
ToddI guess, where I'm getting stuck is trying to use scale9Grid
dynamically at runtime. Is this possible, or does scale9Grid only
work with embeded images? (I can't find any samples of runtime
setting a background image and then setting the innerRectangle of
scale9Grid.
THanks -
I have index.jsp at the root level. I this redirects to xrate.jsp at the following path: WEB-INF/views/jsp. At the same level is include.jsp and includeTop.jsp. My images are at WEB-INF/images. CSS files are at WEB-INF/styles. Here's thier jsp declaration code:
xrate.jsp
<%@ include file="include.jsp"%>
<%@ include file="includeTop.jsp"%>
<html>
<head>
<title></title>
</head>
<body>
<h1>
Application - Borrower System
</h1>
</body>
</html>include.jsp
<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8"
contentType="text/html; charset=utf-8"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>includeTop.jsp
<%@ include file="/WEB-INF/views/jsp/include.jsp"%>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="../../styles/xrate.css" />
</head>
<body>
<div id="logo">
<img src="../../images/xrate-logo.jpg" width="720" height="140" border="0" alt="Logo" />
</div>
</body>
</html>xrate.css
div#logo {
width: 720px;
height: 140px;
background: #A8A8A8;
}When xrate.jsp loads, I get everything except the image doesn't display, just its placeholder with the alternate text.
I am using MyEclipse's jsp visual designer and in the preview mode, the image properly shows. I've checked the deployed files and everything is in the correct location. Also, the browser is set to allow images to download.
Any ideas anyone??Take your images/styles out of the WEB-INF directory.
The WEB-INF directory is protected from the browser.
Nothing requested from the WEB-INF directory will be served directly. You can forward/include these resources from other servlets/jsps but they can't be accessed from a direct url.
Shifting images/styles out of the WEB-INF directory should fix it.
You will of course have to fix your links.
Note that links are resolved relative to the requesting uri (or the html <base> tag if present), not necessarily to the actual location of the JSP. -
Text and Image component Image placing not working!
Hi Guys,
For some odd reason, when I drop text and image component to the page I do not see the left or right option to place image in "Styles" tab. The styles tab shows blank and by default paragraph gets placed after image. This only happens in my site, not in Geomatrix. Am I missing something to include??
Thanks in advance.geometrixx site has extended the text&image component thats why it shows that option. earlier in 5.4 version they directly overrided in geometrixx apps but now you wont find it there. But if you want to achieve this functionality then you have to override same component locally in your apps and add some more configuration to style tab as below.
<tab4
jcr:primaryType="cq:Widget"
xtype="componentstyles">
<items jcr:primaryType="cq:WidgetCollection">
<controlstyle
jcr:primaryType="cq:Widget"
fieldLable="ControlStyle"
name="./ControlStyle"
title="ControlStyle"
type="select"
xtype="selection">
<options jcr:primaryType="cq:WidgetCollection">
<Left
jcr:primaryType="nt:unstructured"
text="Left Align"
value="left"/>
<Right
jcr:primaryType="nt:unstructured"
text="Right Align"
value="right"/>
</options>
</controlstyle>
</items>
</tab4> -
Image Capture doesn't recognize iPhone and Camera anymore
Image Capture doesn't recognize my iPhone or my Fujifilm camera. I am pretty sure this happened after updating to Safari 4.0.2 and having to restart which I did today. Yesterday I was able to to browse through my devices.
I'm adding that iTunes has no problem reading the iPhone.
-
How to refresh an Image component
Hi,
jdev 1.1.1.5
I have a parent page with a table to show employees and a tab to show detail of employees
Detail is in a Region and is sharing the same datacontrol with parent page and i don´t have any parameter in task flow.
Sincronization Parent - Detail works fine using Partialtriggers.
Detail Region has a button for upload an image and another button to process the image and an Image component(by servlet) to show it.
Process button call an operation exposed in AM, This method do Insert or Update in IMAGE TABLE.
The problem is than image is not refreshed until i do full refresh the page.(but only occurs when updating the image, for insert the Image component show the new image)
I tried this code at end of process button logic but i can't achieve refresh the image.
public void saveFileUploaded() {
oper =
bindings.getOperationBinding("myMethodInAM");
Map args = operaImatge.getParamsMap();
args.put("empId", empId);
args.put("imatgeBlob", createBlobDomain(file));
oper.execute();
// try refresh entire region method 1
AdfFacesContext.getCurrentInstance().addPartialTarget(JSFUtils.findComponentInRoot("r1"));
// try refresh image component
AdfFacesContext.getCurrentInstance().addPartialTarget(JSFUtils.findComponentInRoot("imageEmp"));
// try refresh region method 2
RichRegion region = (RichRegion)JSFUtils.findComponentInRoot("r1");
region.refresh(JSFUtils.getFacesContext());
}Any suggestion?
Thanks in advance
Edited by: DV on 03-sep-2011 17:36
Edited by: DV on 04-sep-2011 11:33Hi,
I have updated the use case at first message.
you wrote
you have a binding to the component that is holding the image.. and then refresh the container region..
that would refresh the image inside.
can you give two cents?
i just created a binding for image component but
what must i do?
Remember
the button for process image (operation exposed in my AM service) and Image component(by servlet) are in the same .jsff.
Means the changes occurs in same jsff without interaction with parent page.
Thanks,
Edited by: DV on 04-sep-2011 11:43 -
Actionscript image gallery doesn't recognize load request
Hi, I'm trying to create a five image gallery, and when I try to add the load request for the 3rd, 4th, and 5th images I get an error message that says it doesn't recognize that request: see code below:
stop();
//turn on buttonMode for mc's so mouse changes to hand
one_mc.buttonMode=true;
two_mc.buttonMode=true;
three_mc.buttonMode=true;
//four_mc.buttonMode=true;
//five_mc.buttonMode=true;
//--add button modes for 3-5 here
//define rollovers (don't define rollOuts yet...will prevent flickering)
one_mc.addEventListener(MouseEvent.ROLL_OVER, over1);
two_mc.addEventListener(MouseEvent.ROLL_OVER, over2);
three_mc.addEventListener(MouseEvent.ROLL_OVER, over3);
//--add eventListeners for 3-5 here
//define clicks
one_mc.addEventListener(MouseEvent.CLICK, load1);
two_mc.addEventListener(MouseEvent.CLICK, load2);
three_mc.addEventListener(MouseEvent.CLICK, load3);
//four_mc.addEventListener(MouseEvent.CLICK, load4);
//five_mc.addEventListener(MouseEvent.CLICK, load5);
//--add eventListeners for 3-5 here
//turn off big rect
bigRect_mc.visible=false;
//create URL request to communicate to external file
//NOTE: You will have to have an "images folder with "one.jpg" in order for this to work
//title your files so they make sense
var my1Request:URLRequest=new URLRequest("images/one.jpg");
var my2Request:URLRequest=new URLRequest("images/two.jpg");
var my3Request:URLRequest=new URLRequest("images/three.jpg");
//--add requests for 3-5 here
//create loader to bring in external file
var my1Loader:Loader = new Loader();
var my2Loader:Loader = new Loader();
var my3Loader:Loader = new Loader();
//--add requests for 3-5 here
//move loaders to create room for nav
my1Loader.x=125;
my1Loader.y=12;
my2Loader.x=125;
my2Loader.y=12;
my3Loader.x=125;
my3Loader.y=12;
//--add positioning for 3-5 here
//add a close button. The new close is a reference to the CLASS NAME GIVEN IN THE PROPERTIES OF THE SYMBOL...very important!
var close1_btn=new close();
var close2_btn=new close();
var close3_btn=new close();
//--add close buttons for 3-5 here
//choose location on the stage (my close button has the registration in the upper right)
close1_btn.x=954;
close1_btn.y=11;
close2_btn.x=954;
close2_btn.y=11;
close3_btn.x=954;
close3_btn.y=11;
//--add close locations for 3-5 here
//define event listeners
function over1(evt:MouseEvent):void {
//remove over event
one_mc.removeEventListener(MouseEvent.ROLL_OVER, over1);
//play one's timeline
one_mc.gotoAndPlay("over");
//add rollout
one_mc.addEventListener(MouseEvent.ROLL_OUT, out1);
function out1(evt:MouseEvent):void {
//remove out event
one_mc.removeEventListener(MouseEvent.ROLL_OUT, out1);
//play one's timeline
one_mc.gotoAndPlay("out");
//add rollover
one_mc.addEventListener(MouseEvent.ROLL_OVER, over1);
function over2(evt:MouseEvent):void {
two_mc.removeEventListener(MouseEvent.ROLL_OVER, over2);
two_mc.gotoAndPlay("over");
two_mc.addEventListener(MouseEvent.ROLL_OUT, out2);
function out2(evt:MouseEvent):void {
two_mc.removeEventListener(MouseEvent.ROLL_OUT, out2);
two_mc.gotoAndPlay("out");
two_mc.addEventListener(MouseEvent.ROLL_OVER, over2);
function over3(evt:MouseEvent):void {
three_mc.removeEventListener(MouseEvent.ROLL_OVER, over3);
three_mc.gotoAndPlay("over");
three_mc.addEventListener(MouseEvent.ROLL_OUT, out3);
function out3(evt:MouseEvent):void {
three_mc.removeEventListener(MouseEvent.ROLL_OUT, out3);
three_mc.gotoAndPlay("out");
three_mc.addEventListener(MouseEvent.ROLL_OVER, over3);
//--add event listener definitions for 3-5 here
define loadOne
function load1(evt:MouseEvent):void {
//remove any listeners you don't need
one_mc.removeEventListener(MouseEvent.ROLL_OUT, out1);
one_mc.removeEventListener(MouseEvent.CLICK, load1);
//add listeners you do need
one_mc.addEventListener(MouseEvent.ROLL_OVER, over1);
//turn on big rect
bigRect_mc.visible=true;
//load image
my1Loader.load(my1Request);
//add image + close to display list
addChild(my1Loader);
addChild(close1_btn);
//add event for close button click
close1_btn.addEventListener(MouseEvent.CLICK, remove1);
//define event function
function remove1(evt:MouseEvent):void {
//remove image & close button from display list
removeChild(my1Loader);
removeChild(close1_btn);
//turn off big rect
bigRect_mc.visible=false;
//reset movieClip button
one_mc.gotoAndStop(1);
//add back necessary event listenters
one_mc.addEventListener(MouseEvent.ROLL_OVER, over1);
one_mc.addEventListener(MouseEvent.CLICK, load1);
function load2(evt:MouseEvent):void {
//remove any listeners you don't need
two_mc.removeEventListener(MouseEvent.ROLL_OUT, out2);
two_mc.removeEventListener(MouseEvent.CLICK, load2);
//add listeners you do need
two_mc.addEventListener(MouseEvent.ROLL_OVER, over2);
//turn on big rect
bigRect_mc.visible=true;
//load image
my2Loader.load(my2Request);
//add image + close to display list
addChild(my2Loader);
addChild(close2_btn);
//add event for close button click
close2_btn.addEventListener(MouseEvent.CLICK, remove2);
//define event function
function remove2(evt:MouseEvent):void {
//remove image & close button from display list
removeChild(my2Loader);
removeChild(close2_btn);
//turn off big rect
bigRect_mc.visible=false;
//reset movieClip button
two_mc.gotoAndStop(1);
//add back necessary event listenters
two_mc.addEventListener(MouseEvent.ROLL_OVER, over2);
two_mc.addEventListener(MouseEvent.CLICK, load2);
function load3(evt:MouseEvent):void {
//remove any listeners you don't need
three_mc.removeEventListener(MouseEvent.ROLL_OUT, out3);
three_mc.removeEventListener(MouseEvent.CLICK, load3);
//add listeners you do need
three_mc.addEventListener(MouseEvent.ROLL_OVER, over3);
//turn on big rect
bigRect_mc.visible=true;
load image
my3Loader.load(my3Request);
add image + close to display list
addChild(my3Loader);
addChild(close3_btn);
add event for close button click
close3_btn.addEventListener(MouseEvent.CLICK, remove3);
//define event function
function remove3(evt:MouseEvent):void {
remove image & close button from display list
removeChild(my3Loader);
removeChild(close3_btn);
//turn off big rect
bigRect_mc.visible=false;
reset movieClip button
three_mc.gotoAndStop(1);
add back necessary event listenters
three_mc.addEventListener(MouseEvent.ROLL_OVER, over3);
three_mc.addEventListener(MouseEvent.CLICK, load3);
//--add other events herecopy and paste the error message after clicking file/publish settings/flash and ticking "permit debugging". specify the line of code with the error mentioned in the error message.
Maybe you are looking for
-
Oracle 10g Express Edition Limitations
hi, i want to know the limitations of Oracle 10g Express edition ,, yesterday i got a problem when reconfiguring SGA of one of our client's Oracle Express edition database. i was resizing it from 140MB to 800MB,, n got errors.. plz gimme some links w
-
IDOC output type configuration
Dear All, We are integrating with another system for warehouse management and delivery note print out will be taken from third party system once delivery is created in SAP. When delivery is created, and IDOC DESDAV will be sent to third party system
-
hi when i am executing the programe and checking in the SAP outbox then the values are not printing in correct format, values are correct but the structure SOLISTI1 over here it has 255 Char so in the sap outbox its printing the first header line the
-
Black and white printer recommendation?
I'm looking for an inexpensive workhorse printer to mainly print out text documents and such. Our old Apple Laserwriter won't network with Snow Leopard (believe me, I've tried everything) and the color cartridges for our color printer are so expensiv
-
Aperture and Time Machine - have they learnt to live together yet?
Reading through various Help web sites on Time Machine it says that if Aperture is running when Time Machine is backing up the system then Time Machine will back up the whole Aperture library instead of only the changed components. Has this situation