Uix image

Hi,
how can set a background image in an uix page ?
thank for help
Andrea

You can try using css and setting the styleClass attribute.
http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background-image

Similar Messages

  • UIX Images not displaying - JDev 9.0.3

    I'm using JDeveloper 9.0.3. Any uix tag that has an image (i.e. button, dateField, etc) is not displaying the image. Any ideas as to why this is happening?
    -Thanks
    -Teri

    Teri-
    Are the images not showing up while you are running inside JDev on Windows? Or are they not showing up in an application running from a Unix or Linux server? The most common cause of this problem is the lack of a display server on Unix or Linux, which gets fixed (finally) in JDK 1.4.
    If this problem is happening on a Unix or Linux server, you should read the UIX Developer's Guide chapter on the X Server, which will explain it in detail and how to work around it.
    If the problem is happening in a UIX app (or in JDev) running on Windows, then there is likely a configuration problem that means JDev can't find the generated images.
    Thanks,
    Brian

  • UIX: how to get dynamic image generation working on ias10G?

    Hi,
    Anybody got UIX Dynamic Image Generation working on ias10G, on unix? My Images do not get generated (the page only shows the plain links)
    My env:
    - ias10G
    - AIX Version 5
    - java version: unknown, do not know what version ias10G is using
    On earlier versions (OC4J 903) we had to make sure an XServer was running and pointed our DISPLAY variable to that server. When the XServer was down, we got a nice error message in the application logs. However on ias10G I cannot figure out where to set this variable and I cannot find any error messages.
    Can anybody please help me out a bit?
    Cheers,
    Martijn

    Hi Andy,
    Thanks for your reply. However, I have not yet been able to get it working.
    I have verified that the java version is indeed (this is what the oc4j logfile shows when I supply the -showversion parameter)
    java version "1.4.1"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
    Classic VM (build 1.4.1, J2RE 1.4.1 IBM AIX build ca1411-20030930 (JIT enabled: jitc))The relevant fragment of the opmn.xml:
              <process-type id="oc4j_cif_mh" module-id="OC4J">
                   <module-data>
                      <category id="start-parameters">
                         <data id="java-options" value="-Djava.security.policy=/oracbd/j2ee/oc4j_cif_mh/config/java2.policy -
    Djava.awt.headless=true -Xmx75m -Xms75m -showversion"/>
                         <data id="oc4j-options" value="-properties"/>
                      </category>
                      <category id="stop-parameters">
                         <data id="java-options" value="-Djava.security.policy=/oracbd/j2ee/oc4j_cif_mh/config/java2.policy -
    Djava.awt.headless=true"/>
                      </category>
                   </module-data>
                   <start timeout="900" retry="2"/>
                   <stop timeout="120"/>
                   <restart timeout="720" retry="2"/>
                   <port id="ajp" range="3301-3400"/>
                   <port id="rmi" range="3201-3300"/>
                   <port id="jms" range="3701-3800"/>
                   <process-set id="default_island" numprocs="1"/>
                </process-type>Finally, your JSP passes the test. I can access it. But still no uix image generation. Are there any logfiles I can check for error messages on the failing image generation? May it be a web cache problem?
    Thanks in advance

  • How to Include a HTML file in a UIX Page

    I have an old .html file (content.html) which contains some infomation and now I want to present that information inside a Uix Page! Is it possible to do so if then how.
    I tried using uix include tag but no luck.
    Any help is greatly appreciated.
    Thanks
    Kolluru

    Here is the .jsp file and the serverinclude tag is written in the 4th line from last.
    <uix:servletInclude source="layout.html" />
    I want the content of the layout.html in the main content pane but instead it is getting added on to the top or to the SideNav.
    Thanks for the help anyway.
    ====================================================
    <%@ page errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule id="MyBC4JModule" definition="MyUIX.MyBC4JModule" releasemode="Stateful" />
    <jbo:DataSource id="ds1" appid="MyBC4JModule" viewobject="EmpView1" rangesize="4" />
    <%-- user interface begins here --%>
    <HTML>
    <HEAD>
    <TITLE>Oracle Migration Maps </TITLE>
    <uix:styleSheet/>
    </HEAD>
    <BODY>
    <uix:pageLayout>
    <uix:pageHeader>
    <uix:globalHeader selectedIndex="0">
    <uix:contents>
    <uix:link text="Migration Maps" destination="uixpage1.jsp" />
    <uix:link text="Migration Checklist" destination="http://www.oracle.com" />
    <uix:link text="Templates" destination="http://www.oracle.com" />
    <uix:link text="Scripts" destination="http://mtg.ie.oracle.com" />
    <uix:link text="Release" destination="http://www.oracle.com/" disabled="true" />
    </uix:contents>
    </uix:globalHeader>
    </uix:pageHeader>
    <uix:productBranding>
    <uix:image source="productBrand.gif" shortDesc="product" />
    </uix:productBranding>
    <uix:cobranding>
    <uix:image source="cobrand.gif" shortDesc="brand" />
    </uix:cobranding>
    <uix:copyright>
    <uix:flowLayout>
    <uix:contents>
    <uix:image source="images/info.gif" />
    <uix:link text=" @Copyright 2003, Oracle Corp. " destination="http://www.oracle.com" />
    </uix:contents>
    </uix:flowLayout>
    </uix:copyright>
    <uix:privacy>
    <uix:flowLayout>
    <uix:contents>
    <uix:image source="images/info.gif" />
    <uix:link text="privacy statement" destination="http://www.oracle.com" />
    </uix:contents>
    </uix:flowLayout>
    </uix:privacy>
    <uix:globalButtons>
    <uix:globalButtonBar>
    <uix:contents>
    <uix:globalButton icon="images/returntoportal.gif" text="Home"
    destination="uixpage1.jsp"/>
    <uix:globalButton icon="images/logout.gif" text="Logout"
    destination="http://www.oracle.com"/>
    <uix:globalButton icon="images/preferences.gif" text="Preferences"
    destination="http://www.oracle.com"/>
    <uix:globalButton icon="images/help.gif" text="Help"
    destination="http://www.oracle.com" targetFrame="_blank"/>
    </uix:contents>
    </uix:globalButtonBar>
    </uix:globalButtons>
    <uix:breadCrumbs>
    <uix:contents>
    <uix:link text="Home" destination="uixpage1.jsp" />
    <uix:link text="Qualification" destination="qualification.jsp" />
    <uix:link text="Customer Survey" destination="customersurvey.jsp" />
    </uix:contents>
    </uix:breadCrumbs>
    <uix:quickSearch>
    <uix:messageTextInput prompt="Search" name="QSearch" text="Cabo">
    <uix:end>
    <uix:submitButton accessKey="g" text="Go" />
    </uix:end>
    </uix:messageTextInput>
    </uix:quickSearch>
    <uix:start>
    <uix:sideNav>
    <uix:link text="Home" destination="uixpage1.jsp" />
    <uix:link text="Help" destination="/site1/PageTemplate.jsp" />
    <uix:link text="Migration Process Guide" destination="http://pta.us.oracle.com:9999/" />
    <uix:link text="MSMS v1.1" destination="http://amgdev1.ie.oracle.com/mtg/" />
    <uix:link text="Knowledge Base" destination="http://webiv.oraclecorp.com" />
    <uix:link text="Factory Infrastructure" destination="http://webiv.oraclecorp.com" />
    <uix:link text="BugDB" destination="http://bug.us.oracle.com" />
    <uix:link text="Oracle Migration Workbench " destination="http://webiv.oraclecorp.com" />
    <uix:link text="Application SQL Tools" destination="http://webiv.oraclecorp.com" />
    <uix:link text="Support" destination="http://webiv.oraclecorp.com" />
    <uix:link text="Migration Technology Centre" destination="http://otn.oracle.com/tech/migration/content.html" />
    <uix:link text="Migration Technology Group" destination="http://mtg.ie.oracle.com" />
    </uix:sideNav>
    </uix:start>
    <uix:end>
    <uix:contentContainer text="Related Maps" background="light" icon="testInfo.gif" width="100%">
    <uix:link text="Customer Surveys" destination="http://www.oracle.com" />
    <uix:link text="Survey Request" destination="http://www.oracle.com" />
    <uix:link text="Customer Analysis" destination="http://www.oracle.com" />
    </uix:contentContainer>
    </uix:end>
    <%-- Main page contents go here --%>
    <uix:contents>
    <uix:header styleClass="OraLightHeader" text="Qualification Stage" />
    <uix:styledText styleClass="OraHeaderSubSub" text="" />
    <uix:spacer width="10" height="15" />
    <uix:styledText styleClass="OraDarkHeaderSubSub" text="Qualifying the Customer - Receiving Customer Surveys" />
    <uix:spacer width="10" height="10" />
    <bc4juix:TableDetail></bc4juix:TableDetail>
    <uix:styledText styleClass="OraInstructionText" text="Prospective customers
    are identified by a variety of sources, such as sales consultants and
    Oracle Direct. These customers are asked to complete a customer survey and
    the results are automatically sent to the Migration Factory. The table below
    lists the location of the customer surveys once they are released on the
    Oracle eMarketing system." />
    <uix:spacer width="10" height="20" />
    <uix:servletInclude source="layout.html" />
    </uix:contents>
    </uix:pageLayout>
    </BODY>

  • BC4J UIX How To set the cursor in a field

    Hi,
    when i display an bc4j uix edit form, i would like to set the cursor in a field and highlight the entry.
    how con i do that
    Thanks
    Achim

    Hi Adam,
    sorry but ist is not working. i get an errormessage "Object doesn't support this property or method".
    What is wrong?
    here my sourcecode
    <HTML>
    <HEAD>
    <TITLE>MBO Signon Page</TITLE>
    <uix:styleSheet/>
    </HEAD>
    <BODY onload="form1.username.focus(); form1.username.select()">
    <uix:pageLayout>
    <%-- some code here --%>
    <%-- Main page contents go here --%>
    <uix:contents>
    <uix:header text="Login to Mentoring Back Office" >
    <uix:styledText text="Enter your user name and your password to login." />
    </uix:header>
    <uix:spacer width="20" height="10" ></uix:spacer>
    <uix:form name="form1" method="POST" destination="login.jsp">
         <uix:image source="/webapp/blaf/requiredicon_status.gif" />
         <uix:styledText text="Indicates Required Field" />
         <uix:spacer width="1" height="20" ></uix:spacer>
         <uix:tableLayout cellSpacing="5" cellPadding="5" >
         <uix:rowLayout hAlign="left" >
         <uix:spacer width="40" height="1" ></uix:spacer>
         <uix:styledText text="User Name:" />
              <uix:textInput
    id="username"
    name="username"
    text="jonte"
    required="yes" >
    </uix:textInput>
         <uix:formValue name="username" valueBinding="username" />
    <uix:image source="/webapp/blaf/requiredicon_status.gif" />
    </uix:rowLayout>
         <uix:rowLayout hAlign="left" width="25">
         <uix:spacer width="40" height="1" ></uix:spacer>
         <uix:styledText text="Password:" />
              <uix:textInput
    name="password"
    text="jonte"
    required="yes"
    columns="20"
    secret="true" >
    </uix:textInput>
         <uix:formValue name="password" valueBinding="password" />
         <uix:image source="/webapp/blaf/requiredicon_status.gif" />
    </uix:rowLayout>
         <uix:rowLayout hAlign="center">
         <uix:spacer width="40" height="1" ></uix:spacer>
         <uix:submitButton name="Login" text="Login" formName="form1" />
         <uix:resetButton text="Cancel" formName="from1" />
         </uix:rowLayout>
         </uix:tableLayout>
    </uix:form>
    </uix:contents>
    </uix:pageLayout>
    </BODY>
    </HTML>
    <jbo:ReleasePageResources releasemode="Stateful" />
    Thanks
    Achim

  • Problems with image renderer

    I get somtimes following strange error message, when i use the <uix:image>-tag
    prepareAuxObj:java.io.StreamCorruptedException: Type code out of range, is 10
    Has anybody an explanation for this?
    Marc

    The UIX team image technology expert tells me that it's not Tecate/X server related though - since we don't use UIX's image technology for static images. This is probably a JSP question that the JDev team would be better able to answer.

  • Adf image error

    We're using Oracle ADF with MyFaces and are continuously getting exceptions in the catalina.log. Appears to be one exception for each image on the page, though everything seems to work correctly. Is anyone else seeing this?
    oracle.adfinternal.view.faces.image.cache.FileSystemImageCache _getImageFromFileSystem
    WARNING: null
    oracle.adfinternal.view.faces.image.cache.CacheException: Could not decode image metadata from /mnt/disk1/ptc.dhf/tomcatng/work/Catalina/localhost/WindchillNG/adf/images/cache/en/bUndokW0B-7.imx
    at oracle.adfinternal.view.faces.image.cache.FileSystemImageCache._error(FileSystemImageCache.java:1667)
    at oracle.adfinternal.view.faces.image.cache.FileSystemImageCache._loadImage(FileSystemImageCache.java:723)
    at oracle.adfinternal.view.faces.image.cache.FileSystemImageCache._getImageFromFileSystem(FileSystemImageCache.java:507)
    at oracle.adfinternal.view.faces.image.cache.FileSystemImageCache.getImage(FileSystemImageCache.java:240)
    at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.ButtonRenderer._getImage(ButtonRenderer.java:503)
    The file it is trying to decode is there, and contains valid looking xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <ImageMetadata version="2.0" xmlns="http://xmlns.oracle.com/uix/image">
    <button textAntialias="false" disabled="true" width="106" height="18" direction="ltr" startRounded="true" version="040503" endRounded="true">
    <foreground red="159" green="165" blue="125"/>
    <background red="247" green="247" blue="231"/>
    <font>
    <name>Dialog</name>
    <size>12</size>
    <style>plain</style>
    </font>
    <text>Undo CheckOut</text>
    <borderColor red="210" green="216" blue="176"/>
    </button>
    </ImageMetadata>

    updated image to show departments and employees, not the customer schema. thanks for catching this.

  • UIX, Struts comparision?

    Can anybody give me some comparision between UIX and Struts? and UIX is open source? Can we find the UIX source code in JDeveloper9i ?
    Thanks in advance
    Jack

    Struts is comparable to the UIX Controller portion of UIX.
    There's a bunch of terminology differences, but in functionality
    the major differences would be: UIX Controller is better
    integrated with UIX XML, and Struts supports an XML file
    format for defining an entire application's flow. UIX
    also hasn't been open-sourced.
    The rest of UIX - especially UIX Components, but also UIX Styles
    and UIX Images - are a large class of functionality that simply
    doesn't exist in Struts. But we've designed UIX so that you
    can pick and choose the pieces you want. So you can use UIX with
    Struts (excepting, of course, the UIX Controller).

  • 9.2.0.3 Patching Woes

    All,
    Couple of patching problems with 9.2.0.3 integrated patchset on AIX 5L
    1. The patch was successfully applied to the Infrastructure. After the patch, however, the DAS UIX images where all *$%@ up. EmWebsite did not have that problem. I checked the DISPLAY variable and it was set.
    2. When I applied the patch to the middle-tier (it is on the same box as the infra), it did not ask me for the Portal, or sys password. The log says patch was successfully applied. But, when I try to login to Portal, it says the the partner application has expired.
    I cannot find any notes or tips on Metalink or Forums.
    Please help !!

    I've never done an upgrade on a multi-master setup, but I would be pretty confident that an usual upgrade (with the replication stopped) should work, especially if the new features introduced and bugs fixed don't touch replication (which I suspect is the case from 9.2.0.3 to 9.2.0.8, but this should be verified). The replication could be restarted after the upgrade. Do you have an environment to test this out?
    Daniel

  • Bc4juix:table and Columns with links  (Jsp tags)

    I'm tring to create a table with an image link that will pass the values of other columns on the url. The problem is I can't get the attribute values from the table. Here is a sample of my code:
    <bc4juix:Table datasource="ds1" width="100%" >
    <uix:column>
    <uix:columnHeader>
    <uix:sortableHeader text="Orc" value="Orc"
    sortable="no" />
    </uix:columnHeader>
    <uix:contents>
    <uix:image destination="<%=url%>" source="new.gif" />
    </uix:contents>
    </uix:column>
    </bc4juix:Table>
    Please help me!!!
    Jeff

    Urgent problem please help.

  • How to view blob/image in uix?

    Version: JDev 9.0.5.2
    Goal: To view an image that is coming from a database table.
    Set Up:
    In the database: I have a database table with a blob data type. The blob data type contains a pointer to the image in a database directory.
    In JDev.model: I have an Entity Object and View Object that contains the column attribute with a blob/blob domain data type.
    Question: How do I build a uix page that allows me to pull in the blob (image)?
    Thanks for the assistance.
    --Connie                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Take a look at this, hope it helps.
    http://download-east.oracle.com/otn_hosted_doc/jdeveloper/904preview/creating_html_clients/uix_pimagewintermediatags.html

  • Storing Images in Database using ADF/UIX

    Hello,
    Please let me know of any exmaples or tutorials on how to use Oracle Intermedia to store Images in Database and retrieve the images and display them on UIX.
    I tried using declarative approach of using ADF input form for the table which contains a blob column.
    In the entity object, i changed the blob column type to OrDImageDomain. I changed the Form settings to POST and UsesFileUpload attribute to True.
    I got an error "Incompatible Types" when trying to insert a row in the database table.
    Please provide suggestions/comments
    Thanks a lot.

    Now I'm using OrdFileUploadManager and i'm getting an error message as,
    VB_Pbefore (The system cannot find the file specified. )
    Pbefore is the attribute name of the view object.
    The form that i'm using to insert the row in the database is,
    <labeledFieldLayout>
    <contents>
    <messageChoice model="${bindings.Pid1}">
    <contents childData="${bindings.Pid1.displayData}">
    <option model="${uix.current}"/>
    </contents>
    </messageChoice>
    <messageChoice model="${bindings.Rno1}">
    <contents childData="${bindings.Rno1.displayData}">
    <option model="${uix.current}"/>
    </contents>
    </messageChoice>
    <messageFileUpload model="${bindings.Pbefore}">
    <end>
    <media model="${ctrl:createMediaModel(bindings.Pbefore,'ReoAppModuleLocal')}"/>
    </end>
    </messageFileUpload>
    <messageFileUpload model="${bindings.Pafter}">
    <end>
    <media model="${ctrl:createMediaModel(bindings.Pafter,'ReoAppModuleLocal')}"/>
    </end>
    </messageFileUpload>
    <messageStyledText/>
    <submitButton text="Submit"/>
    <submitButton text="Confirm Repair Photos" model="${bindings.Commit}" id="Commit2" event="action"/>
    </contents>
    </labeledFieldLayout>

  • Localization of image in UIX

    Hi, I have a problem with showing the right image depending on selected language.
    I followed instructions in document Developing Multilangual J2EE Web Applications using Oracle JDeveloper 10g. I've successfully created ApplicationResources.properties files and traslated some text in my uix files.
    Now the problem is:
    I have one template file (template.uit) on which all other uix files are based. I can translate text in that file without a problem:
    <messageStyledText styleClass="Red" vAlign="bottom" text="${nls['template.Label1']}" destination="something.do"/> ,
    but I also have an image which should be translated (e.g. logo.jpg) I can prepare another image (e.g. translated_logo.jpg). Link to this picture is not direct, it's through xxx-laf.xml file, so it looks like this:
    <icon name="sample:xxx_logo"/>
    and in xxx.laf.xml file:
    <icon name="sample:xxx_logo">
    <context-image uri="pictures/logo.jpg"/>
    </icon>
    Now the question is.. how to show the right picture depending on selected language. I tried:
    <icon name="${nls['template.logo']}">
    with template.logo=sample:xxx_logo defined in applicationResources.properties file defined, but it doesn't work.
    What should I do? Thnx for help.

    Is it in the web viewer, applet (desktop) viewer or PDF?
    Question marks indicate a character encoding issue.
    Which version of the JRC are you using?
    Sincerely,
    Ted Ueda

  • Jdeveloper 10.1.2, UIX , Intermedia , unknown error causes image corruption

    Dear Sirs...
    i wrote an application using jdeveloper 10.1.2, and uix. the database version is 10g release 2.
    i created an intermedia field in the db of type ORDVIDEO.
    the problem as follows:
    i have ONE JPG picture that get corrupted when it is uploaded into the system.
    if i use other picture the problem never happens,
    if i open the picture that gets corrupted in MS Paint and save it again as jpg it will be uploaded correctly.
    if i modify the picture a little or change its dimentions it will be saved correctly.
    just to make sure i created a new web application that only uploads this ordvideo field. and i uploaded the original picture and the problem rises again.
    so i am sure 100% that the problem is not in my program at all.
    Is the problem in the ORDVIDEODOMAIN?
    Is it in the database intermedia?
    i never modified anything at all.
    i think the problem might be related to the db intermedia. can i disable data processing of the intermedia field?
    please if any one know anything about this please post it here. if any one has a similar problem please tell me.
    thanks

    hello there... just to make sure, i reinstalled oracle database 10g standard edition 10.1.2.0.1 on a different computer, created a table like this
    create table t(n number primary key, d ordsys.ordvideo);
    insert into t values (1,null);
    commit;
    now created a uix page with inputform without navigation, and the form property uses upload = true. run the page and selet that same image and the image is corrupted. this means there is a bug in the db.
    can any one solve this please? is there a patch for this? is the problem in the ordvideo domain or in the db itself?
    please help me in this
    if any one from oracle wants to check this please send me email at [email protected] and i will gladly send you the image that causes the problem.
    best regards

  • UIX Templates and images source

    My project structure is this:
    HTML sources
    images (folder)
    templates (folder)
    page.uix
    page.uix uses a template in the templates folder, which uses some of the images in the images folder. In the template, under <corporateBranding> I have an image with the source attribute set to "images/logo.jpg". In <globalButtons> I am databinding to a DataObjectList (albeit <inline>) and my source attributes for the buttons are set to "/images/imageName.gif" (note the leading "/"). I don't understand why these two attributes have to have different settings for the source as they're both getting their images from the same location. When I try the alternative source syntax the images aren't rendered. Anyone help?
    Thanks
    Ian

    The <image> inside <coporateBranding> is not processed any further and is
    converted directly into an HTML <img src=".."> tag.
    However, the source attribute of a <globalButton> indicates an image on the local file system that needs further processing. The image is colorized
    (depending on whether the globalButton is selected/disabled) and a border is
    drawn around it.
    Because of this difference, the relative root of the source of the globalButton is the servlet root, and not the current URL path.
    If the icon you want to use (as your globalButton) is already fully processed and does not need to be colorized (as described above), you may use the "icon" attribute (of globalButton) instead of the "source" attribute. The "icon" attribute is rooted exactly the same as the "source" attribute of an <image> tag.

Maybe you are looking for