UIX templates

Hi All,
i'm trying to create a look and feel....
And i'm trying to 'extend' the renderer for the body node.
So far i'm trying just to slip in the new template and keep the old functionality.. however i'm doing something wrong
<?xml version="1.0" encoding="UTF-8"?>
<templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
                    xmlns:data="http://xmlns.oracle.com/uix/ui"
                    xmlns:ui="http://xmlns.oracle.com/uix/ui"
                    xmlns:html="http://www.w3.org/TR/REC-html40"
                    xmlns:uix="http://xmlns.oracle.com/uix/ui"
                    xmlns:vrom="http://xmlns.vrom.nl/laf"
                    targetNamespace="http://xmlns.vrom.nl/laf"
                    localName="vromBody">
    <!-- Define the templates parent -->
    <type base="ui:body" />
    <!-- Define the templates content -->
    <content>
        <ui:body>
            <!-- Include all parent attributes -->
            <attributeMap>
                <rootAttributeMap />
            </attributeMap>
            <!-- Include all parent named children -->
            <childMap>
                <rootChildMap />
            </childMap>
            <contents>
                <rootChild name="contents" />
            </contents>
        </ui:body>
    </content>
</templateDefinition>But i'm always getting an StackOverflowErrror when i try to use this.... i must be doing something simple wrong...
Does anybody know?
I'm using the following in my look-and-feel definition:
    <renderer name="body">
      <template name="laf/vrom/templates/body.uit"/>
    </renderer>In getting the feeling that i'm going into a loop and that the template is calling itself....
Thanks in advance...
Regards,
Robert

Hi,
This bug was already described on the forum.
Just rerun your jdev or do file->close all and then reopen what you need. It should work. I was trying to eliminate the like errors for hours :))

Similar Messages

  • Accesskey used in uix templates not working when page is rendered

    Hi,
    I have a uix template that contains a few links. These links have accesskeys set in them.
    However when rendering a uix page that extends the uix template the accesskeys dont work. Any ideas as to whether this is a vaild way of doing accesskeys?
    Cheers,
    S

    Here it is.
    <?xml version="1.0" encoding="windows-1252"?>
    <!-- Template definition file. Add any needed namespaces,
    and specify the required "targetNamespace" and "localName" attributes -->
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    targetNamespace="http://www.company.com/pocpolicytabs"
    localName="POCApplicationTabs"
    expressionLanguage="el">
    <!-- Optional section: import any needed templates
    <templates>
    <templateImport source=""/>
    </templates>
    -->
    <!-- Type section: Define a "base" attribute if needed -->
    <type base="ui:pageLayout">
    <!-- Add any needed named children -->
    <!-- Add any needed attributes -->
    <attribute name="pocSelectedTab" javaType="int"/>
    </type>
    <!-- Content section: define the content of the template -->
    <content>
    <!-- Add UINode content here to make your template valid -->
    <pageLayout quickLinksShown="false">
    <!-- now, the content of the pageLayout -->
    <contents>
    <rootChild name="contents"/>
    </contents>
    <tabs>
    <tabBar selectedIndex="${uix.rootAttr.pocSelectedTab}">
    <contents>
    <link text="Policy Details" name="policydetails" accessKey="P">
    <primaryClientAction>
    <fireAction formSubmitted="true"/>
    </primaryClientAction>
    Cheers,
    S

  • Using a UIX Template as a Base for a JSP

    We are looking to use a UIX template to create our "look and feel" across the application, but we have some pages that just need to be written as JSP's. Is there a way to use a UIX template as a base for JSP pages? or do we have to have a different look and feel for JSP and UIX?

    I have a similar problem. I <servletInclude> a data bound JSP and it doesn't render unless I refresh the page. Is this a bug?

  • UIX template with an attribute

    I have a uix template with an attribute selectedTab that looks like this:
    <type base="ui:pageLayout">
    <attribute name="selectedTab" javaType="int"/>
    </type>
    My question is:
    How do I set the attribute value from the uix page that is based on that template?

    Jasmina,
    I suppose you created your template by selecting "UIX XML Template (UIT) with Header, Footer, and Navigation".
    You are asked there to fill in the values for your different tabs.
    Now when creating a new page, you should select option "UIX XML Page Based on Existing UIX XML Template (UIT)".
    There you are asked to enter an 'Attribute Value' for your page.
    You should type "0" (zero) when creating the page displayed on the first tab;
    "1" when creating the page displayed on the second tab;
    etc...
    Your pages will include the following:
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="myTabBar.uit"/>
    </templates>
    <myTemplate:myTabBar title="All Departments" selectedTab="0">
    </myTemplate:myTabBar>
    Your template should include the following:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <templateDefinition ... localName="myTabBar" ...>
    <type base="ui:pageLayout">
    <attribute name="selectedTab" javaType="int"/>
    </type>
    <content>
    <pageLayout>
    <attributeMap>
    <rootAttributeMap/>
    </attributeMap>
    <childMap>
    <rootChildMap/>
    </childMap>
    <tabs>
    <tabBar selectedIndex="${uix.rootAttr.selectedTab}">
    <contents>
    <link text="Departments" destination="Dept.uix"/>
    <link text="Employees" destination="Emp.uix"/>
    </contents>
    </tabBar>
    </tabs>
    Hope this helps,
    Didier

  • ADF Faces: What is similar to UIX templates?

    Hi,
    could someone point me in the right direction? We used UIX templates (mainly for the PageLayout node) to set some named children and attributes to set values (as a main value for the version, a main menu, etc). I cannot seem to find something equivalent for JSF .
    I'm probably just looking in the wrong place but can somebody point me in the right direction?
    Thanks in advance.
    Regards,
    Robert

    One key difference between ADF Faces regions and the JSP custom tag feature is that the ADF Faces regions are data-binding aware and that databinding can be parameterized. Unfortunately we ran out of time in the 10.1.3 release to finish/polish the design time for the ADF Faces version of regions, but if you check out example # 91 from my blog, you can see an example that exploits the ADF Swing incarnation of regions, whose design time support did make it in time for the 10.1.3.x release "train".
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#91
    In that example, you'll notice the use of a "region binding" in the "Executables" section of the page that includes a region, and also notice the use of region parameters to pass desired data control and data collection references into the region. The ADF Model data binding for regions is the same regardless of client.

  • Errors of using uix template?

    I just copied the example from the Help Documentation "UIX Includes and templating" for a test. But I always get two error message:
    I wonder what has caused these two errors?
    <?xml version="1.0" encoding="UTF-8"?>
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
              xmlns:ui="http://xmlns.oracle.com/uix/ui"
              xmlns:data="http://xmlns.oracle.com/uix/ui"
              targetNamespace="http://www.example.org/demo/templates"
              localName="demoPageLayout">
    <!-- define the template's type information -->
    <type base="ui:pageLayout">
       <namedChild name="topHead"/>
       <attribute name="selectedTab" javaType="int"/>
    </type>
    <!-- define the content of the page -->
    <content>
       <pageLayout>
         <!-- magic incantation to be explained below -->
         <attributeMap><rootAttributeMap/></attributeMap>
         <!-- another magic incantation -->
         <childMap><rootChildMap/></childMap>
         <!-- set up a default set of tabs -->
         <tabs>
           <tabBar data:selectedIndex="selectedTab@ui:rootAttr">
             <contents>
               <link text="Tab 1"/>
               <link text="Tab 2"/>
               <link text="Tab 3"/>
               <link text="Tab 4"/>
               <link text="Tab 5"/>
             </contents>
           </tabBar>
         </tabs>
         <!-- set up a default set of global buttons -->
         <globalButtons>
           <globalButtonBar><!-- ... --></globalButtonBar>
         </globalButtons>
         <!-- now, the content of the pageLayout -->
         <contents>
           <!-- Start with the "topHead" child at the top -->
           <rootChild name="topHead"/>
           <!-- Then add the indexed children -->
           <rootChild name="contents"/>
         </contents>
       </pageLayout>
    </content>
    </templateDefinition>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
               xmlns:demoTmps="http://www.example.org/demo/templates">
        <templates xmlns="http://xmlns.oracle.com/uix/ui">
          <templateImport source="demo_PageLayout.uit"/>
        </templates>
        <content>
          <demoTmps:demoPageLayout xmlns="http://xmlns.oracle.com/uix/ui"
                                       selectedTab="3">
            <start>
              <sideNav></sideNav>
            </start>
            <demoTmps:topHead>
              <header text="A first header">
              </header>
            </demoTmps:topHead>
            <contents>
              <header text="A second header">
              </header>
            </contents>
          </demoTmps:demoPageLayout>
        </content>
    </page>
    ===>
    1. Error(9,52): <Line 9, Column 52>: XSD-2034: (Error) Element 'demoPageLayout' not expected.
    2. Error(26,15): <Line 26, Column 15>: XSD-2021: (Error) Element not completed: 'content'.Best Regards
    Yong

    please do not cross post on the UIX and JDeveloper
    forums. I will reply as soon as I can on the UIX
    forum:
    Error of using UIX Template?

  • ' Include ... ' tag in a page which use UIX template is not work! Help!

    I've used JDev9.0.4 and UIX.
    I want to use include and template at the same time.
    So I've put a 'globalHeader' and a 'tabBar' in 'Test.uit'.
    And I've made 'TestUIT.uix' which used 'Test.uit' as a template include 'Table.uix'.
    But 'Table.uix' included by 'TestUIT.uix' has been ignored and has not worked!!
    Is this problem oriented from my fault or a bug of jdev904?
    My codes like this.
    -->
    Test.uit
    <?xml version="1.0" encoding="windows-949"?>
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    targetNamespace="http://www.example.org/demo/templates"
    localName="oplBaseLayout">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    </provider>
    <contents>
    <pageLayout>
    <tabs>
    <include node="../Component/MenuBar/TabBar.uix"/>
    </tabs>
    <pageHeader>
    <include node="../Component/MenuBar/GlobalHeader.uix"/>
    </pageHeader>
    <contents>
    </contents>
    </pageLayout>
    </contents>
    </dataScope>
    </content>
    </templateDefinition>
    TestUIT.uix
    <?xml version="1.0" encoding="windows-949"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
    xmlns:myTemplate="http://www.example.org/demo/templates">
    <bc4j:registryDef>
    <bc4j:rootAppModuleDef name="OligoAppModule" definition="View.OplModule"
    releaseMode="stateful">
    <bc4j:viewObjectDef name="Oligo" rangeSize="3"/>
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="Test.uit"/>
    </templates>
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider/>
    <contents>
    <document>
    <metaContainer>
    <head title="UITTest"/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <myTemplate:oplBaseLayout title="UITTest">
    <contents>
    <bc4j:viewObjectScope name="Oligo">
    <contents>
    <include node="Table.uix"/> </contents>
    </bc4j:viewObjectScope>
    </contents>
    </myTemplate:oplBaseLayout>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers/>
    </page>

    Hi -
    But 'Table.uix' included by 'TestUIT.uix' has been
    ignored and has not worked!!So is the problem that you don't see the contents of Table.uix? Are any error messages logged? Do you see the contents of the GlobalHeader.uix and TabBar.uix includes?
    It would be very helpful if you could put together a minimal testcase which reproduces the problem (no BC4J tags) that we could use to test the problem out over here.
    Andy

  • Error of using UIX Template?

    I just copied the example from the Help Documentation "UIX Includes and templating" for a test. But I always get two error messages:
    I wonder what has caused these two errors?
    <?xml version="1.0" encoding="UTF-8"?>
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
              xmlns:ui="http://xmlns.oracle.com/uix/ui"
              xmlns:data="http://xmlns.oracle.com/uix/ui"
              targetNamespace="http://www.example.org/demo/templates"
              localName="demoPageLayout">
    <!-- define the template's type information -->
    <type base="ui:pageLayout">
       <namedChild name="topHead"/>
       <attribute name="selectedTab" javaType="int"/>
    </type>
    <!-- define the content of the page -->
    <content>
       <pageLayout>
         <!-- magic incantation to be explained below -->
         <attributeMap><rootAttributeMap/></attributeMap>
         <!-- another magic incantation -->
         <childMap><rootChildMap/></childMap>
         <!-- set up a default set of tabs -->
         <tabs>
           <tabBar data:selectedIndex="selectedTab@ui:rootAttr">
             <contents>
               <link text="Tab 1"/>
               <link text="Tab 2"/>
               <link text="Tab 3"/>
               <link text="Tab 4"/>
               <link text="Tab 5"/>
             </contents>
           </tabBar>
         </tabs>
         <!-- set up a default set of global buttons -->
         <globalButtons>
           <globalButtonBar><!-- ... --></globalButtonBar>
         </globalButtons>
         <!-- now, the content of the pageLayout -->
         <contents>
           <!-- Start with the "topHead" child at the top -->
           <rootChild name="topHead"/>
           <!-- Then add the indexed children -->
           <rootChild name="contents"/>
         </contents>
       </pageLayout>
    </content>
    </templateDefinition>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
               xmlns:demoTmps="http://www.example.org/demo/templates">
        <templates xmlns="http://xmlns.oracle.com/uix/ui">
          <templateImport source="demo_PageLayout.uit"/>
        </templates>
        <content>
          <demoTmps:demoPageLayout xmlns="http://xmlns.oracle.com/uix/ui"
                                       selectedTab="3">
            <start>
              <sideNav></sideNav>
            </start>
            <demoTmps:topHead>
              <header text="A first header">
              </header>
            </demoTmps:topHead>
            <contents>
              <header text="A second header">
              </header>
            </contents>
          </demoTmps:demoPageLayout>
        </content>
    </page>
    ===>
    1. Error(9,52): <Line 9, Column 52>: XSD-2034: (Error) Element 'demoPageLayout' not expected.
    2. Error(26,15): <Line 26, Column 15>: XSD-2021: (Error) Element not completed: 'content'.Best Regards
    Yong

    You are probably getting those errors on Validate XML
    correct? If so you can safely ignore those. They
    are known issues with XML Validation with UIX. Use
    make/build on UIX files instead.

  • Where can i find uix "template inheritance" examples?

    I have learnt Jdev10g documentions about "templates inheritance" ---- "14. Includes and Templating in ADF UIX". But i wonder how to use this powerful features of Jdev10g.
    Anybody know the details, or anybody know where can i find "template inheritance" examples? Tell me please.
    Thanks in advance
    Shucheng Ma

    Chapter 14. Includes and Templating in ADF UIX in the developers guide takes the reader through the process of creating a template step-by-step.
    Once completed, the template can be considered as just another UIX component that happens to have been defined declaratively.
    With template inheritance, where one template extends another template, but the syntax is identical so the steps described in the devguide are identical.
    If you have specific questions, please post them to the forum. However, it is strongly recommended that you go back to the devguide and actually work through the example to gain a better understanding of this feature.
    Kind 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.

  • UIX Templates and JSF

    What is the templating mechanism in JSF. So far I can't find any native suport and have been advised to use Facelets.
    Does anyone have an opinion on this.
    Thanks
    Pat

    We also had the same problem.
    We used the panel page, for enclosing all our UI components. We removed all the menu, header, branding tags from the page.
    We thaen used a txt file having....
    <f:facet name="menu1">
    <af:menuTabs>
    <af:commandMenuItem text="Cases"
    action="#{backing_view_dockets_docketsEdit.onCasesMenuClick}"
    immediate="true"/>
    <af:commandMenuItem text="Parties" immediate="true"
    action="#{backing_view_parties_partiesEdit.onPartiesMenuClick}"/>
    <af:commandMenuItem text="General Documents" immediate="true"
    action="#{backing_view_genDocs_genDocsEdit.onGDMenuClick}"/>
    <af:commandMenuItem text="RTS Events"/>
    <af:commandMenuItem text="Global Search" onclick="globalSearch()"/>
    <af:commandMenuItem text="Content Browse" onclick="htree()"/>
    <af:commandMenuItem text="Log Out" action="logout"/>
    </af:menuTabs>
    </f:facet>
    <f:facet name="menuGlobal"/>
    <f:facet name="branding">
    <af:objectImage height="62" width="456" source="../../images/atmos_logo_wb.gif"/>
    </f:facet>
    <f:facet name="brandingApp"/>
    <f:facet name="appCopyright"/>
    <f:facet name="appPrivacy"/>
    <f:facet name="appAbout"/>
    Then we included this file in the jspx file....
    <jsp:directive.include file="/view/commons/template.txt"/>
    Thanks
    -Gana

  • Error Message in UIX Editor when using a custom parameter to a template

    In my UIX template, I have a custom attribute "selectedTab", as advised in the documentation:
    <type base="ui:pageLayout">
    <!-- define the template's type information -->
    <namedChild name="topHead"/>
    <attribute name="selectedTab" javaType="int"/>
    </type>
    I use it in the UIX file, again as advised by the doc:
    <myTemplate:SalmonTrap title="SalmonTrap - Live Accounts" xmlns:myTemplate="salmontrap" selectedTab="0">
    It works but I get the following message when I compile or try to GUI edit:
    Error(0,0): Attribute selectedTab not defined on element myTemplate:SalmonTrap
    What do I do wrong?

    Eric,
    That should work and not show the usage of selectedTab as an error. (You may need to restart JDev after creating the template for it to work right.) In fact, when you select the SalmonTrap component in the structure pane, the property inspector should actually show you that selectedTab is an attribute you can set. I can make this work.
    One other thing to check: is the UIT in the same project as the UIX file? I'm not positive this is required for the design-time to work, but it may be.
    -brian
    Team JDeveloper/UIX

  • Event handlers in a template file in uix

    Is it possible to define event handlers in a uix template file. I would like to define a global button kind of like the following code:
    <globalButton source="toolbar_icon_prefs.gif" text="My Profile"
    destination="UsersMyProfile_View.uix" event="event1" />
    I would probably remove the destination field and let the java program called by the event decide the destination.
    The event handler would need to not interfer with event handlers defined on individual pages.
    Thanks, Steve

    Sorry, Steve, but event handlers are not supported in templates.
    - Ryan

  • UIX XML & BC4J Templates

    I've tried to create an "appModuleScope" UIX template, to embed a bc4j:table and the wrapping viewObjectScope and appModuleScope.
    But when i'm trying to build the .uit page the compiler says:
    "Warning(19,44): listTemplate.uit: Parsing error, line 19, column 44: <appModuleScope> is not an understood child element.
    Check the syntax of its parent element!"
    Is it possible to use bc4j uix tags in UIX templates? If yes, what is the correct way to accomplish the task?
    The "bc4j:registryDef" section must be in the UIX template or in the UIX page?
    This is the source of listTemplate.uit:
    <?xml version="1.0" encoding="windows-1252"?>
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
              xmlns:ui="http://xmlns.oracle.com/uix/ui"
              xmlns:data="http://xmlns.oracle.com/uix/ui"
              xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
              xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
              xmlns:html="http://www.w3.org/TR/REC-html40"
              targetNamespace="http://www.example.com/uix/templates"
              localName="listTemplate">
         <type base="bc4j:appModuleScope">
         </type>
         <content>
              <bc4j:appModuleScope name="QPMAppModule">
                   <contents>
                        <!-- this is a simple html
                        tag to print something on
                        the scope of appModule -->
                        <html:hr></html:hr>
                   </contents>
              </bc4j:appModuleScope>
         </content>
    </templateDefinition>
    And this is the source of a uix page using the template:
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
              xmlns:ui="http://xmlns.oracle.com/uix/ui"
              xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
              xmlns:html="http://www.w3.org/TR/REC-html40"
              xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
              xmlns:myTemplate="http://www.example.com/uix/templates">
         <templates xmlns="http://xmlns.oracle.com/uix/ui">
              <templateImport source="listTemplate.uit"/>
         </templates>
         <bc4j:registryDef>
              <bc4j:rootAppModuleDef name="QPMAppModule"
                        defFullName="com.example.QPMAppModule"
                        configName="QPMAppModuleLocal"
                        releaseMode="stateful">
                   <bc4j:viewObjectDef name="CommittenteView" rangeSize="10"/>
              </bc4j:rootAppModuleDef>
         </bc4j:registryDef>
         <content>
              <pageLayout xmlns="http://xmlns.oracle.com/uix/ui"
                        xmlns:data="http://xmlns.oracle.com/uix/ui"
                        title="BC4J Template Test">
                   <contents>
                        <myTemplate:listTemplate>
                        </myTemplate:listTemplate>
                   </contents>
              </pageLayout>
         </content>
    </page>

    I think the BC4J UIExtensions are correctly registered.
    This is the servlet element of my web.xml file (that has never been touched):
         <servlet>
    <servlet-name>uix</servlet-name>
    <servlet-class>oracle.cabo.servlet.BajaServlet</servlet-class>
    <init-param>
    <param-name>oracle.cabo.servlet.loggedInKey</param-name>
    <param-value>LoginHandler.isLoggedIn</param-value>
    </init-param>
    <init-param>
    <param-name>oracle.cabo.servlet.loginPage</param-name>
    <param-value>Login</param-value>
    </init-param>
    <init-param>
    <param-name>oracle.cabo.servlet.pageBroker</param-name>
    <param-value>oracle.cabo.servlet.xml.UIXPageBroker</param-value>
    </init-param>
    <init-param>
    <param-name>oracle.cabo.ui.UIExtensions</param-name>
    <param-value>oracle.cabo.data.jbo.ui.JboUIExtension</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>

  • Problem with displaying flash file in UIX page

    Hi everybody
    I would like to use a flash file (.swf file) above all my UIX pages.
    I want to put falsh file in the UIX template file (.uit file) so that
    when I create pages based on template, it will be shown on the top of all pages .
    Does anybody know if there is a solution for doing this ?
    Which UIX tags can be used ?
    Best Regards
    Navid

    Add tht html namespace like
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui" xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:html="http://www.w3.org/TR/REC-html40"
    targetNamespace="http://www.example.org"
    Then you can add you flash contents at appropriate place.
    Like
    <html:OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    WIDTH="100%" HEIGHT="100%">
    <html:PARAM NAME="movie" VALUE="TLT-intro4.swf"></html:PARAM>
    <html:PARAM NAME="quality" VALUE="medium"></html:PARAM>
    <html:PARAM NAME="bgcolor" VALUE="#000000"> </html:PARAM>
    <html:EMBED src="TLT-intro4.swf" quality="medium"
    bgcolor="#000000" WIDTH="100"
    HEIGHT="100"
    TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </html:EMBED>
    </html:OBJECT>
    So you should get your flash working that way. Rest everything is same as getting it work in html.
    Regards,
    Vijay V

Maybe you are looking for