Question about dynamically changing image source

hi, this might be a stupid question that i've simply never
seen, but i have a picture on a page that, when the user clicks a
link below, needs to change to an altered picture. probably very
simple, i just need code that will change the image source of a
named image by clicking a link. thanks for any help you can give
me.

You can use a remote rollover technique that uses css
(nesting one or more elements inside an anchor link) and absolute
positioning, or JavaScript.
Here is a quick JavaScript to achieve this effect:
xhtml code
<head>
<script src="external.js" language = "javascript" type =
"text/javascript"></script>
</head>
<body>
<p><a href="new_page.html" id="arrow"> New
Page</a></p>
<img src="images/image1_off.gif" width="100" height="20"
id="arrowImg" alt="arrow" />
</body>
external JavaScript file
window.onLoad = rolloverInit;
function rolloverInit() {
for (var i=0; i<document.links.length; i++)
var linkObj = document.links
if (linkObj.id) {
var imgObj = document.getElementById(linkObj.id + "Img");
if (imgObj) {
setupRollover(linkObj, imgObj);
function setupRollover(thisLink, thisImage) [
this.Link.imgToChange = thisImage;
this.Link.onmouseout = rollOut;
this.Link.onmouseover = rollOver;
thisLink.outImage = new Image();
this.Link.outImage.src = this.Image.src;
thisLink.overImage = new Image();
thisLink.overImage.src = "images/" + thisLink.id +
"_on.gif";
function rollOver() {
this.imgToChange.src = this.overImage.src;
function rollOut() {
this.imageToChange.src = this.outImage.src;
There is a lot going on here but if you know a little
JavaScript it will be failry easy to work it out. The important
thing is to note the file layout, naming conventions and image
constructs. Make sure the ids, etc are matched in the functions and
html code.
This technique shows the user what the image will become if
they click the text when they mouse over the text link. This is
handy for showing a preview of an image. You can alter the script
to change the image without a preview if you don't want that
effect.
regards
Nick Barling
www.barkingweb.com

Similar Messages

  • Change image source distorts new image

    Is there any easy way, once I change image source in Edge Animate, to get it to at least be proportionally correct? When I change an image source with a different size, it comes in distorted.

    If you change the source it will fill the boundaries of the original source image automatically. If the size is different, it is probably better to delete the original image and drop the new one.
    If you are talking about loading an image dynamically and changing them dynamically, use css background image with no-repeat and have you div be the size of the largest image used unless you code the image size when they change.

  • Displaying dynamically changing image: a problem with JLabel.

    Hello! I use NetBeans 5.5 and I develop my GUI with Matisse. I'm rather a beginner in developing GUIs with this editor...
    I'd like to display a dynamically changing image. The idea is: GUI shows the image, that is modified as some computations run in a different thread. App will be run on a single machine.
    I'm trying to display the image as a label's icon. The problem is that my app's frame can be resized - and when it is, the label also resizes. When the label is resized, the image should also be resized - the image should always be of the same size as the label. The problem? I noticed, that it works only when I make my app's bigger. When I try to lower its dimensions, the label's dimensions remain the same. Why the label don't make its size smaller?
    My code works as follows: when app's main frame is resize, the panel (the one, that the label is placed in) is also resized. And, since the label is in the panel, it (should) also be resized. So I wrote all the resize-events handlers (therefore I know that the resize event is sent when my app's frame is resized, and when the panel is resized - but the label is resized only when it grows bigger). In this methods I modify the image displayed in the label (I resize the image).
    Or, perhaps, there is some other way to show a (dynamically changing) image with Swing... I chose JLabel, because I didn't want to write my own JComponent. JLabel can display image and that is all I need. The problem is: when the label grows bigger, I create a new, bigger image (icon). Why my label don't get smaller (the resize event isn't even sent)?

    There is no component that dynamically resizes an image. You need to create your own. Something like this:
    JComponent component = new JComponent()
         protected void paintComponent(Graphics g)
              //  Scale image to size of component
              g.drawImage(yourImage, 0, 0, getWidth(), getHeight(), null);
    };

  • Question on Dynamic Query Data Source and Form Folders in Oracle Forms 6i

    Hi there -
    I have one interesting requirement in Oracle Forms.
    This is what I wanted to do.
    1. Have a LOV and Go button on Form.
    2. From LOV, I will select a pre-defined custom table and click Go.
    3. Based on the selected custom table, I have to populate the Block (Tabular Format).
    4. User should be able to do update, delete, insert on this block.
    5. User should be able to use the Oracle Form folders functionality (select only necessary column and save views etc. Std folder functionality).
    6. If user selects a different custom table name in the LOV on top, I need to refresh the data from the block based on this new table. Remaining functionality should be as it is (steps 3 to 5).
    You can see here, I am going to have dynamic query data source (Table Name as well as column mapping) on the block. I do not know before hand how many columns the user selected table has!
    This is what I have planned for this so far but I have some major questions before I can move on with this design:
    1. I am going to create a table structure with fixed number of column in form (40 cols assuming that the custom table will not have more that 40 cols). (Kind of limitation but it's okay as of now).
    2. Dynamically populate the block based on the table name selected by the user from LOV. Dynamically change the table column names based on the table selected etc.
    3. Perform insert, update, delete using PL/SQL package.
    So far it looks okay.
    Now my real question is,
    Can user still be able to user "Folders" functionality here? I have never done this kind of development before and I doubt the dynamic column naming, dynamic column data source will really work for "folders"!
    Also, I am not really sure whether user will be able to save these "folder" queries?
    Okay so form experts, can you ppl suggest me if this is really going to work? Are there any better ways to do this?
    Initially I tried to do this in OA Framework but I got stuck at because as per OAF developer guide "I cannot user OAF personalization for dynamic items, regions etc".
    For more info on that thread see this link...
    Re: setUserCustomizable issue!
    Thanks in advance for the help.

    Any suggestion anyone?

  • How to change Image source file name

    Hi,
    I have a logo image on my report that I want to change based on value of my query item. Can someone help me .....how can I change the source of my image item dynamically.
    Thanks
    Aali

    Hello,
    You can use a Formula Column and the property "Read From File" :
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwcontxt/props/pi_col_read_from_file.htm
    Regards

  • Question about ZEN 4 imaging

    We are using ZENWorks 4 imaging (with IR5) and have been using the documents about automating the imaging process. The question that I have is when the workstation it reimaged and reboots, ZENWorks agent comes up with the windows that indicates that it is making changes to the computer and states not to log in till the machine reboots. I believe it is taking the ZIS information and putting this information back into the workstation. (workstation name etc). On windows 2000 the machine reboots without any problems when this process is complete. With Windows XP the machine does not seem to reboot. If the workstation is manually rebooted everything works fine. I have found that if the workstation is left for about 10 minutes, it will actually reboot on its own. Is there a way to have this reboot occur more quickly?

    Didn't know that this could be done. Where do I make those changes.
    Thanks.
    Brian
    >>> Marcus Breiden<[email protected]> 03-Aug-05 8:30:24 AM >>>
    On Wed, 03 Aug 2005 10:53:30 GMT, Brian wrote:
    > Is there a way to have this reboot occur more quickly?
    yes... you could disable the feature that you are directly able to login
    without pressing ctrl-alt-del
    on the other side I just had wks this week who rebooted itself without this
    directly...
    Marcus Breiden
    Please change -- to - to mail me.
    The content of this mail is my private and personal opinion.
    http://www.edu-magic.net

  • Changing Image Source programmatically

    Hi
    I've got a problem changing my image source based on a value in a variable.
    The following function gets kicked off, but I get a TypeError: Error #1009: Cannot access a property or method of a null object reference. error.
    I've tried embedding, and the solution you see below (which i found here - as I am chaning it at run time http://forums.adobe.com/message/116979#116979), but no luck
    I am certain its how I'm mapping the png, but I can't be sure..... any suggestions?  I've been banging my head against my desk for ages on this!
    function (note - the trace proves that the value to change the image is correct)
    public function LeversComplete():void{
        if(PodContentBase._ProjectDetail.getItemAt(0).IndustryLeadingMastery == "N")
              trace("Value" + PodContentBase._ProjectDetail.getItemAt(0).IndustryLeadingMastery)
                imgIndustry.source = "/assets/bigcheese.png";
         else {imgIndustry.source = "assets/Nocheese.png"} 
    Image (note - this is set as a defualt - and defaults in fine)
           <mx:Image id="imgIndustryleadingtechnicalmastery"
                                  source="assets/bigcheese.png"/>
    Picture of Directory Structure:

    Hi - all done - dead right - The image didnt exisit and i'm trying to stuff things in it - what a divvy -
    Anyways, this worked -    I check if the image exists before I try and change it.            
    public function LeversComplete():void{
              if (imgIndustryleadingtechnicalmastery){
                   if(PodContentBase._ProjectDetail.getItemAt(0).IndustryLeadingMastery == "N") {imgIndustryleadingtechnicalmastery.source="assets/nocheese.png"}
                   else {imgIndustryleadingtechnicalmastery.source = "assets/bigcheese.png"} 

  • Dynamically change the source flv video in flv play back...

    Dear Friends,
    Iam trying to load flv files in flash using flvplayerback components. iam using the following code. Initially iam loadign video1.flv. Then i want to load video2.flv when i press next button. It is loading video2 only when i press next button after finishing the full loaded video1. i want change the source anytime please tell the right way.
    import fl.video.VideoProgressEvent;
    import fl.video.VideoEvent;
    plr.source = "video1.flv";
    plr.addEventListener(VideoProgressEvent.PROGRESS,showmsg);
    function showmsg(event:ProgressEvent) {
    if (plr.bytesTotal == plr.bytesLoaded) {
      trace("Loaded");
    loaderpic.visible = false;
    plr.addEventListener(VideoEvent.COMPLETE, comple);
    function comple(event:VideoEvent) {
    trace("Movie Finished");
    nxt.addEventListener(MouseEvent.CLICK, nxtclick);
    function nxtclick(event:MouseEvent) {
    plr.stop();
    plr.source = "video2.flv";
    plr.play();
    Thanks in Advance,
    Syed Abdul Rahim

    The code you show works fine for me when I set things up to match.  When the button is clicked the first video is stopped and the second one replaces it.  Maybe you have some other code that is interfering.

  • Question about printing an image/control Using Report Generator

    The attached VI is an example of creating a report from a control or image. My problem is that when the control (xy graph) gets too large in the vertical direction it clips the image but, the horizontal is scaled to the width of the report. 
    First question is why does it scale in the horizontal and not the vertical? See the Test.pdf for what I am talking about. 
    Second, is it possible to control this behavior (edit/create an alternate for the Append Control Image to report or the Report VI's)?
    I have found many work around but ultimately it comes back to; why automatically scale one direction but not the other?
    For this application I don't mind that the graph is scaled down in the horizontal I just wish it would do the same thing in the vertical axis (I don't even want it to be a 1 to 1 zoom ratio, just fill the avalible report space).
    Thoughts?
    Attachments:
    Print XY Graph TEST.vi ‏55 KB
    Test.pdf ‏217 KB

    I agree all of the workarounds have limitations. One workaround, that I'm not sure if you have tried yet is change the numeric constant from 50 to 20 (I attached a picture showing which constant I am talking about). This seems to fix the issue just because the image never becomes larger than the report page itself.
    Let me know if that option creates any problems for you as well.
    Kevin S
    Applications Engineer
    National Instruments
    Attachments:
    Block Diagram.PNG ‏29 KB

  • Question about Dynamic Linking from Premier Pro

    I have a number of sequences created in Premier Pro CS5.5 that I have linked into a project in Encore CS 5.1 via the "Dynamic Link" feature. My question is - if I make any adjustments or changes to those sequences in Premier Pro, will those changes be automatically transferred to the corresponding timelines in Encore? If not, how do I make that happen?

    Jeff's answer applies to each dynamic linked sequence you transcoded after in Encore. For any sequence not already transcoded, changes will be automatic.
    The exception is markers. If you change markers, including markers that shifted on the Premiere timeline because you deleted or added clips, changed duration, etc, you must select the sequence's timeline and select Edit -> Update Markers From Source (replaces all markers).

  • Question about adjusting an image to compensate for an alpha black overlay

    I don't know how accurate that title/question is but please hear me out and I'l explain it as best I can.
    There is a touchscreen monitor in my car.
    It allows custom background wallpapers to be loaded via USB.
    The touchscreen automatically adds what would appear to be about a 25% alpha black layer in FRONT of the image so the touchscreen controls and icons are clearly visible.
    The problem is, I don't know what values I'm supposed to adjust on my image in order to get it to look the same way it does on my computer screen.
    Would you adjust the brightness?  Contrast?  Tint?  A combination of all of them?
    Or is this simply not possible because the ~25% alpha black tint is placed OVER the wallpaper?
    I'd really appreciate some advice.  I don't mind tinkering with the values and using trial and error but I don't want to waste my time if this simply isn't possible.

    Just so it's clear, you're not going to be able to "brighten it up" so it looks just like the original - at least not completely so.  An image can only be as bright as bright white.  If that has been reduced by an overlay, you're not going to be able to make the original image "brighter than white" so as to compensate.  Maybe someday, when HDR image formats are common...
    The car is darkening the image on purpose in order to make the locations of the controls more obvious.  I can't imagine why you'd want such a busy image as a background, since it makes the actual controls difficult to find.
    I read an article today that says that testing has shown that automotive touch screens distract drivers as much as a 0.08 blood alcohol level.  And you're wanting to make it more difficult to find those controls.
    Whatever you do, please be careful.
    -Noel

  • Dynamically changing image of personalized item

    Hi,
    I personalized a StackLayout region in a seeded page and added an image item in it. But I want to programatically change the image.
    In the PFR of the controller, I am trying to do the following:
    OAImageBean img = (OAImageBean)webBean.findChildRecursive("BarCodeImage");
    System.out.println(" Image "+img.getSource());
    But I get a NPE error:
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2662)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1665)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.apps.ap.oie.webui.xxfnPPCO.processFormRequest(xxfnPPCO.java:55)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:804)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.beans.OAFlexibleContentBean.processFormRequest(OAFlexibleContentBean.java:372)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.beans.layout.OAFlexibleLayoutBean.processFormRequest(OAFlexibleLayoutBean.java:376)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.nav.OAPageButtonBarBean.processFormRequest(OAPageButtonBarBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1015)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1156)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2658)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1665)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
         at oracle.apps.ap.oie.webui.xxfnPPCO.processFormRequest(xxfnPPCO.java:55)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:804)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.beans.OAFlexibleContentBean.processFormRequest(OAFlexibleContentBean.java:372)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.beans.layout.OAFlexibleLayoutBean.processFormRequest(OAFlexibleLayoutBean.java:376)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.nav.OAPageButtonBarBean.processFormRequest(OAPageButtonBarBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1015)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1156)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2658)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1665)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    Is it not the correct way of getting a handle of the image bean?
    The Personalization structure is :
    Page Layout > Flow Layout: Confirmation Page >
    Stack Layout: (OIEConfirmPage.ConfirmationPgStackLayout)
    BarCodeImage (image item).

    Hi,
    I extended the page level controller in my custom controller, and substituted the page level controller with my custom controller.
    But i see that the same event is called twice, the first time I get a handle of all the beans I need, but not the second time.
    For example, the controller code is:
    public class xxfnPPCO extends oracle.apps.ap.oie.entry.summary.webui.ConfirmationPageCO
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    System.out.println("xxfnPPCO -> In PR");
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    System.out.println("xxfnPPCO -> In PFR");
    if (pageContext.getParameter("xxfnPrintablePageButton") != null)
    System.out.println("xxfnPrintablePageButton is NOT NULL");
    OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean);
    System.out.println(" AM -> "+am);
    System.out.println(" RepoerHeaderId "+
    pageContext.getDecryptedParameter("ReportHeaderId") );
    OAFlowLayoutBean flw = (OAFlowLayoutBean)webBean.findChildRecursive("OIEConfirmPage");
    System.out.println(" Flw Lay "+flw);
    OAStackLayoutBean stk = (OAStackLayoutBean)webBean.findChildRecursive("ConfirmationPgStackLayout");
    System.out.println(" Stck Lay "+stk);
    OAImageBean img = (OAImageBean)webBean.findIndexedChildRecursive("Image1");
    if (img != null)
    System.out.println(" Bean Found "+img+" Source = "+img.getSource());
    else
    System.out.println(" Bean NOT Found");
    //System.out.println(" Image "+img);
    else
    System.out.println("xxfnPrintablePageButton is NULL");
    The log messages are:
    xxfnPPCO -> In PFR
    xxfnPrintablePageButton is NOT NULL
    AM -> oracle.apps.ap.oie.server.WebExpensesAMImpl@b173c3
    RepoerHeaderId 12725
    Flw Lay OAFlowLayoutBean, localName='flowLayout'
    Stck Lay OAStackLayoutBean, localName='stackLayout'
    Bean FoundOAImageBean, localName='image'
    >> In processFormRequest null
    xxfnPPCO -> In PFR
    xxfnPrintablePageButton is NOT NULL
    AM -> oracle.apps.ap.oie.server.WebExpensesAMImpl@e1ed5b
    RepoerHeaderId 12725
    Flw Lay null
    Stck Lay null
    Bean NOT Found
    Not sure why the PFR is firing for the second time.
    Any Idea how to debug this?

  • Question about animated GIF image

    I am working on a new site. My client (using Safari 1.x with
    OS10.3x) tells
    me that this ani GIF doesn't load properly. I see it fine in
    10.4x, with
    both Safari 2x and FF1.5x, and on the PC. Whazzup wit dat?
    http://www.murraytestsite.com/nni/n_default.shtml
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================

    Could this be a problem?
    2 different background images defined for the same container?
    #wrapper #topContent {
    background-image: url(Images/Anim.gif);
    and...
    #topContent {
    background-repeat: no-repeat;
    background-image: url(../images/Index.jpg);
    height: 208px;
    Just a thought..........
    John Malone
    ==============
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    | That's it, John. Thanks.... It makes sense now that Joe
    pointed out to
    me
    | the background image-ness of that! I had just copied and
    pasted from a
    page
    | that I didn't create....
    |
    | --
    | Murray --- ICQ 71997575
    | Adobe Community Expert
    | (If you *MUST* email me, don't LAUGH when you do so!)
    | ==================
    |
    http://www.dreamweavermx-templates.com
    - Template Triage!
    |
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    |
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    |
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    | ==================
    |
    |
    | "John Malone" <[email protected]> wrote in
    message
    | news:[email protected]...
    | > Container not big enough....
    | >
    | > #wrapper #topContent {
    | > height: 167px;}
    | >
    | > Change to
    | >
    | > #wrapper #topContent {
    | > height: 208px;}
    | >
    | > That will do it I think...
    | > --
    | > John Malone
    | > ==============
    | > "Murray *ACE*" <[email protected]>
    wrote in message
    | > news:[email protected]...
    | > | John:
    | > |
    | > | Thanks. You are right - I had missed that. Why would
    that be? Any
    | > idea?
    | > |
    | > | --
    | > | Murray --- ICQ 71997575
    | > | Adobe Community Expert
    | > | (If you *MUST* email me, don't LAUGH when you do
    so!)
    | > | ==================
    | > |
    http://www.dreamweavermx-templates.com
    - Template Triage!
    | > |
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    | > |
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    | > |
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    | > | ==================
    | > |
    | > |
    | > | "John Malone" <[email protected]> wrote in
    message
    | > | news:[email protected]...
    | > | > Murray,
    | > | > The ani is cool BUT using FF & IE6 The ani
    does not show the last
    | > frame.
    | > | > Loaded and reloaded in both but still no last
    frame..
    | > | > (the one that has the saying "Where Ideas...."
    on the bottom).
    | > | > Just wanted you to know
    | > | > --
    | > | > John Malone
    | > | > ==============
    | > | > "Murray *ACE*"
    <[email protected]> wrote in message
    | > | > news:[email protected]...
    | > | > |I am working on a new site. My client (using
    Safari 1.x with
    | > OS10.3x)
    | > | > tells
    | > | > | me that this ani GIF doesn't load properly. I
    see it fine in
    10.4x,
    | > | > with
    | > | > | both Safari 2x and FF1.5x, and on the PC.
    Whazzup wit dat?
    | > | > |
    | > | > |
    http://www.murraytestsite.com/nni/n_default.shtml
    | > | > |
    | > | > |
    | > | > | --
    | > | > | Murray --- ICQ 71997575
    | > | > | Adobe Community Expert
    | > | > | (If you *MUST* email me, don't LAUGH when you
    do so!)
    | > | > | ==================
    | > | > |
    http://www.dreamweavermx-templates.com
    - Template Triage!
    | > | > |
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    | > | > |
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    | > | > |
    http://www.macromedia.com/support/search/
    - Macromedia (MM)
    | > Technotes
    | > | > | ==================
    | > | > |
    | > | > |
    | > | > |
    | > | >
    | > | >
    | > |
    | > |
    | >
    | >
    |
    |

  • Question about displaying an image among columns in a report

    Hi folks,
    I've looked at examples that I've come across, but I guess I'm missing something. I have a PL/SQL procedure which returns a sql statement for a report. I want to display an image between two of the columns. I already have the images stored in APEX. Can someone please point me at what I'm doing wrong here?
    SELECT id INTO file_id FROM APEX_APPLICATION_FILES
    WHERE filename = 'Blue box.jpg';
    q:=' select ';
    q:=q||'current_status_cd,';
    q:=q||'APEX_UTIL.GET_FILE(p_file_id => file_id,p_mime_type => ''image/jpeg'',p_inline => ''YES'') M,';
    q:=q||'userid,';
    q:=q||'usernum,';
    q:=q||'lastname,';
    q:=q||'firstname';
    q:=q||' from some_table ';
    return q;
    Thanks very much,
    -Adam
    Edited by: avonnieda on Nov 11, 2008 12:28 PM

    Hi Varad, thanks for your reply.
    Since posting I tried that too, here is the code I'm using. It always results in a
    failed to parse SQL query:
    ORA-00936: missing expression
    whenever I run the page. Any ideas? Here's the current code. If I remove the line that we're talking about, it runs fine.
    q:=' select ';
    q:=q||'current_status_cd,';
    q:=q||'<img src="#APP_IMAGES#Bluebox.jpg"> image,';
    q:=q||'userid,';
    q:=q||'usernum,';
    q:=q||'lastname,';
    q:=q||'firstname';
    q:=q||' from some_table ';
    Thanks very much,
    -Adam

  • NVIDIA driver doesn't dynamically change power source

    I'm using the NVIDIA driver on an MSI laptop, and I've noticed that it doesn't dynamically detect my power source.  The result of this is that if I boot the computer on battery power, then plug it in, the video card will continue to perform at less-than-maximum performance until I reload the driver with modprobe (of course, this is annoying because I have to exit from X11 first, then restart X11 after).  This goes the other way, as well; that is, I can boot the machine on AC power, then unplug it and the video card will continue to run as if it were still on AC power.  I have the "PowerMizer" configured to "Adaptive" in the settings.
    Has anyone else experienced this issue?  Any ideas on how to solve it?
    Thanks.
    Arch x86_64
    NVIDIA 195.36.15
    MSI MS-1651 laptop
    NVIDIA GeForce 9600M GT

    Took me a bit to work out why my nvidia card wouldn't behave the way I wanted it to on battery / AC.
    I've just achieved the behaviour you're describing working on my Dell laptop (I wanted adaptive on battery, full performance on AC in X).
    What works for me is:
    Option    "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x3322; PowerMizerDefaultAC=0x1"
    ... in xorg.conf and making sure you have installed acpid and starting it at boot.
    It seems the nvidia driver uses acpid to detect if the cable has been pulled or not -- if you don't have acpid running it will always stay at max performance with my xorg.conf device settings listed above.
    All I did was install acpid, started it at boot in rc.conf, no acpid configuration at all (i.e. I didn't touch a file except for rc.conf after I installed it), then I found the nvidia driver was able to detect the AC state.
    If you want to tweak the settings for an on boot scenario (e.g. runlevel 3, no X), I'm pretty sure you can pass module parameters to get what you want -- however I haven't bothered with that as I'm always in X anyway.
    Hope this helps, cheers.
    References:
    http://tutanhamon.com.ua/technovodstvo/ … IX-driver/
    http://wiki.archlinux.org/index.php/Acpid
    Last edited by pezz (2010-06-02 16:35:28)

Maybe you are looking for

  • Error message & warning message while creating PO

    Hi, I have one requirement like when user create PO with 'critical material',while saving PO,user should get message "critical material". For this ,in the enhancement MM06E005,EXIT_SAPMM06E_012(functional module), I have written piece of code *critic

  • How to find out all available disks on RHEL?

    Hello, I notice that all sd device files are created under /dev/directory in advance.But I want to discover all actual available hard disk on my system and their status.I know I can get those information by using ioscan -fnCdisk on HP-UX and format o

  • Launchd, Startup Item **** - -what am I doing wrong?

    So, I have a startup item which works when I type sudo SystemStarter start MayaFlexlm Works great. Spawns flexlm, a daemon that listens for incoming connections for licensing. Trouble is, it does not automatically start on reboot. I always have to ty

  • ODI:importing an xml into anothr project

    Hi, please tell me as to how i can import an exported XML file in another project? Thanks, Jayant

  • Generation of a glossary of functions used in a Labview project

    Hello I am writing a report which must include screen shots of every VI and sub VI in a labview project that i have created. I am looking for a way to generate a glossary of functions that were used in the project. I need this so people who are not f