UIX 2.1.11: submitButton destination ignored in singleSelection?

When i try to set the destination of a submit button in a tableselection, i get a oracle.cabo.servlet.event.UnhandledEventException.
e.g. SourcePage.uix
<tableSelection>
<singleSelection selectedIndex="0">
<contents>
<formValue name="key"
data:value="key@ctrl:page"/>
<submitButton textAndAccessKey="Destination Page"
destination="DestinationPage.uix"
ctrl:event="aEventInDestinationPage"
/>
</contents>
</singleSelection>
</tableSelection>
Seems so that eventhandlers for handling table selection events have to be located in the same page as the table?
If so, perhaps the UIX "compiler" could write a warning?
Thanks, Markus

hm, there has to be something like a UIX compiler, because e.g. if i use a not existing class or method name in a method eventhandler, i get a "compiler warning" on make or rebuild.
Perhaps the schema could be changed so that the destination is not displayed with code insight in such cases? Or, perhaps easier, a note in the manual.
Thanks, Markus

Similar Messages

  • 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>

  • UIX/XML: sideNav  layout problem

    We're using UIXPages with a sideNav. The page itself contains a number of headers.
    Whenever a header is rendered below the sidenav the entire header is on the left margin of the screen. However I think it looks better if all the headers are justified equally.
    So the layout I get now is:
    SSS HHHHH
    SSS HHHHH
    HHHH
    HHHH
    and what I want is:
    SSS HHH
    SSS HHH
    ___ HHH
    ___ HHH
    where S is the sideNav and H is a header with all its data.
    I tried putting all the headers in a tableLayout but that just didn't work, I always got the same layout.
    Is there any way to do that?
    Thanks,
    Guido

    Hm, tyour testcase works fine even when I added multiple levels of subheaders, but try my file.
    It has one header with a number of subHeaders and the last subHeader is not indented correctly.
    ok, the uix code is ugly but its supposed to work anyway - right?
    Thanks,
    Guido
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller">
    <content>
    <pageLayout xmlns="http://xmlns.oracle.com/uix/ui">
    <start>
    <sideNav>
    <contents>
    <link text="Markets" destination="../common/markets.uix">
    </link>
    <link text="Characteristics" destination="../common/characteristics.uix">
    </link>
    </contents>
    </sideNav>
    </start>
    <contents>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui" xmlns:fti="http://www.ftisoft.com">
    <provider>
    </provider>
    <contents>
    <form method="POST" name="mainForm">
    <contents>
    <header text="issueaction">
    <contents>
    <tableLayout>
    <contents>
    <rowLayout vAlign="top">
    <contents>
    <tableLayout>
    <contents>
    <header text="issueactiondeclaration" >
    <contents>
    <tableLayout>
    <contents>
    <rowLayout vAlign="top">
    <contents>
    <tableLayout>
    <contents>
    </contents>
    </tableLayout>
    </contents>
    </rowLayout>
    </contents>
    </tableLayout>
    </contents>
    </header>
    <header text="issueactionoptions" >
    <contents>
    <tableLayout>
    <contents>
    <rowLayout vAlign="top">
    <contents>
    <tableLayout>
    <contents>
    <header text="issueactionoption" >
    <contents>
    <tableLayout>
    <contents>
    <rowLayout vAlign="top">
    <contents>
    <tableLayout>
    <contents>
    <header text="issueactionprocedure" >
    <contents>
    <tableLayout>
    <contents>
    <rowLayout vAlign="top">
    <contents>
    <tableLayout>
    <contents>
    </contents>
    </tableLayout>
    </contents>
    </rowLayout>
    </contents>
    </tableLayout>
    </contents>
    </header>
    <header text="issueactionparticipants" >
    <contents>
    <tableLayout>
    <contents>
    <rowLayout vAlign="top">
    <contents>
    <tableLayout>
    <contents>
    <header text="issueactionparticipant" >
    <contents>
    <tableLayout>
    <contents>
    <rowLayout vAlign="top">
    <contents>
    <tableLayout>
    <contents>
    <header text="issueactionparticipantdef" >
    <contents>
    <tableLayout>
    <contents>
    <rowLayout vAlign="top">
    <contents>
    <tableLayout>
    <contents>
    </contents>
    </tableLayout>
    </contents>
    </rowLayout>
    </contents>
    </tableLayout>
    </contents>
    </header>
    <header text="generalcomment" >
    <contents>
    <tableLayout>
    <contents>
    <rowLayout vAlign="top">
    <contents>
    <tableLayout>
    <contents>
    </contents>
    </tableLayout>
    </contents>
    </rowLayout>
    </contents>
    </tableLayout>
    </contents>
    </header>
    </contents>
    </tableLayout>
    </contents>
    </rowLayout>
    </contents>
    </tableLayout>
    </contents>
    </header>
    </contents>
    </tableLayout>
    </contents>
    </rowLayout>
    </contents>
    </tableLayout>
    </contents>
    </header>
    </contents>
    </tableLayout>
    </contents>
    </rowLayout>
    </contents>
    </tableLayout>
    </contents>
    </header>
    </contents>
    </tableLayout>
    </contents>
    </rowLayout>
    </contents>
    </tableLayout>
    </contents>
    </header>
    <header text="issueactionentitlementdates" >
    <contents>
    <tableLayout>
    <contents>
    <rowLayout vAlign="top">
    <contents>
    <tableLayout>
    <contents>
    <header text="issueactionentitlementdate" >
    <contents>
    <tableLayout>
    <contents>
    <rowLayout vAlign="top">
    <contents>
    <tableLayout>
    <contents>
    </contents>
    </tableLayout>
    </contents>
    </rowLayout>
    </contents>
    </tableLayout>
    </contents>
    </header>
    </contents>
    </tableLayout>
    </contents>
    </rowLayout>
    </contents>
    </tableLayout>
    </contents>
    </header>
    </contents>
    </tableLayout>
    </contents>
    </rowLayout>
    </contents>
    </tableLayout>
    </contents>
    </header>
    </contents>
    </form>
    </contents>
    </dataScope>
    </contents>
    </pageLayout>
    </content>
    </page>

  • Insufficient content for edit, four point editing, ignore out point on source

    Hello folks,
    I'm a long time FCP 7 and Avid editor currently using 8.2 for two short form museum films and have been running into all sort of questions.  This one comes up multiple times a day.  I tried to search for this here but didn't find my exact issue or answers. 
    I am trying to do a four point edit and I keep getting the "Insufficient Content for Edit" error.  My source is marked in and out for 5 sec and my timeline in and out is marked for 8 sec.  Four points total.  I have already checked the Ignore Source Out point in the Fit Clip window and have checked the "Remember" box as well.  My source definitely have enough footage to fill the marked 8 sec in the timeline.  So why isn't PP ignoring the source out point when I commit the edit?  Of course, I works properly if I go to the Source window and remove the out point manually but that's a pain and shouldn't be the way.  Is PP not capable of this? or Am I doing something wrong?  What is the point of the "Ignore Source Out Point" if it doesn't apply to this very common situation?
    Thanks for any help you folks can offer.
    CHL

    I think I know what the issue is.
    When the Fit Clip dialog opens for me and the source is shorter than the destination, "Ignore Source In Point" and "Ignore Source Out Point" are grayed out. In other words, when the source is shorter than the destination, my only option is to ignore sequence in or out points.
    If my source is longer than my destination then it allows me to check ignore source in or out. However, if I have Premiere remember this choice, when I try to insert a source clip that is shorter than the destination, I get the error that you get.
    It's obviously a terrible setup and shouldn't be like this, but that's why it's happening.

  • Uix event handling problem

    hi,
    I use Jdeveloper 9.0.5.1 and I want to handle an event of an UIX page.
    when I add the method onMyEvent(DataActionContext ctx){...} to make some task, the link with the next page is not called.
    If I don't catch the event, the next page comes well.
    thanks you for any help

    Hello,
    I tried this on 9.0.5.1 Production and it worked. This is what I did...
    I create a Web Application. On the struts-config palette I put two DataPages and a Forward link between them that I named foo. DataPage2.uix I added <styledText text="Hello!"/>, and on DataPage1.uix I added a submitButton with event="foo".
    Then I clicked on DataPage2 and clicked on "Go to Code", and I added an onFoo method:
    public class DataPage1Action extends DataForwardAction
      // To handle an event named "yourname" add a method:
      // public void onYourname(DataActionContext ctx)
      public void onFoo(DataActionContext ctx)
        System.out.println("hello, I'm in onFoo!");
      // To override a method of the lifecycle, go to
      // the main menu "Tools/Override Methods...".
    }Then I ran DataPage1 from the struts-config palette, and this worked.
    If this doesn't work for you, consider getting the very latest JDeveloper.
    Thanks,
    Jeanne

  • Move Action links to the Top on Disco viewer

    Hi all !
    I customized the viewer worksheet through worksheet.uix file using one of the documents from metalink. I moved the Action links from the left side of the worksheet to the top and replace the links with images.
    It looks awesome !!
    But what i don't like is that the worksheet links were moved at the bottom of the page. Can you help me and tell me what should i modified in the worksheet.uix file in order to bring the worksheet links back to the left side ?
    Any idea is appreciated !
    Many thanks,
    Dani

    I came with an answer since i found how you can do it. :))
    So, in order to leave the worksheet links on the left side while the actions links are on the top right corner, you have to keep the following line
    <html:noscript>
    <styledText styleClass="OraInstructionText" text="${uix.data.nls['text.noscript']}" />
    </html:noscript>
    <rowLayout width="100%">
    <contents>
    <cellFormat width="15%" vAlign="top">
    <contents>
    <spacer width="0" height="8" />
    <contentContainer width="100%" rendered="${uix.eventResult.worksheetsRendered}" text="${uix.data.nls['worksheet.text.worksheets']}">
    <contents>
    <form id="WorkbookListForm" name="WorkbookListForm" method="POST">
    <contents>
    <tableLayout summary="">
    <contents childData="${uix.eventResult.worksheets}">
    <rowLayout>
    <contents>
    <cellFormat wrappingDisabled="true">
    <contents>
    <styledText shortDesc="${uix.current.overlayText}" styleClass="OraInstructionText" rendered="${uix.current.currWorksheet}" text="${uix.current.text}"/>
    <link shortDesc="${uix.current.overlayText}" rendered="${uix.current.currWorksheet ne 'true'}" destination="${uix.current.destination}" text="${uix.current.text}"/>
    </contents>
    </cellFormat>
    </contents>
    </rowLayout>
    </contents>
    </tableLayout>
    <formValue id="stateStrID3" name="${uix.data.constants.STATE_STRING_PARAM}" rendered="${uix.eventResult.stateExists}" value="${uix.eventResult.stateStr}"/>
    <formValue id="stateID3" name="${uix.data.constants.STATE_STORE_ID_PARAM}" rendered="${uix.eventResult.stateIDExists}" value="${uix.eventResult.stateID}"/>
    </contents>
    </form>
    </contents>
    </contentContainer>
    </contents>
    </cellFormat>
    <cellFormat width="75%" vAlign="top">
    <contents>
    in the worksheet.uix file.
    If one of you will not succeed to make the customization, please let me know and i'll send you my worksheet.uix file customized.
    Also please take a look at Abhinav's blog
    http://oraclebi.blogspot.com/search/label/UIX
    Good luck,
    Dani

  • ctrl: tags in template files.

    Hi,
    I tried adding the following in the tabBar.uit.
    <tabBar selectedIndex="${ui:defaulting(uix.pageProp.tab, '0')}">
    <contents childData="${source.rows}">
    <link text="${uix.current.firstName}" >
    <boundAttribute name="destination">
    <ctrl:pageURL name="${uix.current.url}">
    <ctrl:properties>
    <ctrl:property key="tab" value="${uix.current.tabIndex}"/>
    </ctrl:properties>
    </ctrl:pageURL>
    </boundAttribute>
    </link>
    </contents>
    </tabBar>
    <subTabBar>
    <contents>
    <switcher childName="${ui:defaulting(uix.pageProp.tab, '0')}">
    <case name="0">
    <link text="sub1" onMouseOver="LoadMenus()"/>
    </case>
    <case name="1">
    <link text="sub2"/>
    </case>
    </switcher>
    </contents>
    </subTabBar>
    But there are warnings when the page is compiled because of the
    <ctrl: tags. Is it not possible to incude <ctrl: tags in templates?
    Regards,
    Rekha.

    Here are seven common mistakes that will result in changes
    not propagating
    from Template to child -
    1. Rename the Templates folder
    2. Move the Templates folder to some other folder level in
    the site other
    than root level
    3. Move a template out of the Templates folder.
    4. Make changes to an editable region of the template (which
    will not
    propagate)
    5. Assume that template changes can be uploaded to the server
    without also
    uploading the changed local files
    6. Corrupt the site cache so that the link between template
    and child page
    is broken
    7, Improperly create your child pages by simply opening the
    template,
    adding page specific content, and resaving the template with
    an *.html
    extension rather that its *.dwt extension. (you can tell if
    this is the case
    by looking at the code on a child page - if you see anything
    like <!--
    TemplateBeginEditable... then this is what you have done). If
    you *have
    done this*, then recreate the child pages (in DWCS3) using
    FILE | New > Page
    from Template, select the template and click CREATE.
    The 6th problem can be repaired by using SITE | Advanced >
    Recreate Site
    Cache, and the six others can be fixed by just not doing
    them. Have you
    done any of those?
    Or, read this -
    http://www.adobe.com/go/dd83ba8b
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "dksoccer" <[email protected]> wrote in
    message
    news:g2h91f$o94$[email protected]..
    >I probably misstated that...it isn't the cahe,
    dreamweaver itself is still
    >pointing to the old page, is there another place that I
    need to update
    >besides in the template?

  • TabBar Highlighting

    Hello ADF Gurus,
    I'm using JDev 10.1.2 with ADF.I'm trying to render a page with different Tabs like Home,Search,Profiles etc., I'm having a template header file (x1.uit) which renders the tabs and i have built a x2.uix file
    which uses x1.uit to render the tabs. When i run the x2.uix it renders the page with default highlighting of Home tab which is the first one among the list of tabs.But when i try to click on other tabs
    like Search,Profiles the other tabs are not getting highlighted.
    Now pls.suggest me how do i make other tabs also get highlighted when i click on them.Do i have to control it programatically or i have to set some property.
    My data is static for tabs but they render different .uix files when clicked. I tried Ctrl+C and Ctrl+V from one the forum answers but it didn't work out. The following code snippet i used in .uix file atleast to check out whether it works or not as follows:
    <provider><data name="tabData">
    <inline>
    <tabInfo text="Home" url="HomePG.uix" tabIndex="0"/>
    <tabInfo text="Search" url="SearchPG.uix" tabIndex="1"/>
    </inline>
    </data>
    </provider>
    <tabs>
    <tabBar selectedIndex="${ui:defaulting(uix.pageProp.tab, '0')}">
    <contents childData="${uix.data.tabData.tabInfo}">
    <link text="${uix.current.text}">
    <boundAttribute name="destination">
    <ctrl:pageURL name="${uix.current.url}">
    <ctrl:properties>
    <ctrl:property key="tab" value="${uix.current.tabIndex}"/>
    </ctrl:properties>
    </ctrl:pageURL>
    </boundAttribute>
    </link>
    </contents>
    </tabBar>
    </tabs>
    When i run this page, it open the page with Home tab getting highlighted. When i try to click on next link "Search" it gives me "Page Not Found Error". Can anybody suggest me the following:
    1)What i'm missing out here in the code?
    2)I can put <provider> code in .uix file but i have the tabs rendered in .uit (template) file.How do i get this fix done in template file.
    If anybody can suggest the answer for my queries that would be great. Thanks in advance.
    Regards
    Arvind

    In Pages v5.2.2, taking Baskerville Regular 12 pt, and double-spacing it with character fill color does produce a nasty effect. With View > Show Rulers, I looked where the lines of text lined up on the vertical scale.
    Then I changed the Spacing selector from Lines to Between. Now, just the text had the character fill color, but the line height had increased visually downward. With the between setting, line height is changed to points, and indicates 27 pt. If you adjust this value to 16 pt, the second line of double-spacing will realign with where it was before the between change, while retaining discrete line character fill color.
    Before: Spacing set to Lines, and 2.0 - Double.
    After: Spacing set to Between, and 16 pt

  • Hgrid - Selection Problem

    Hi,
    I have some problems using the hGrid component.
    I already can display an hGrid based on ADF components (that is working perfectly)
    However, now I need to add some buttons in order to fulfill additional requirements, by example:
    Edit the selected row on the hGrid or add a new row, etc.
    I know that I need to use a tableSelection and set the proper parameters. I already add the next code:
          <provider>
            <!-- Add DataProviders (<data> elements) here -->
            <data name="treeData">
              <method class="view.TreeUtils" method="getTreeData"/>
            </data>       
          </provider>
    ….
    <hGrid proxy="${sessionScope.hGridProxy}"
          treeData="${uix.data.treeData[bindings.DCTree.rootNodeBinding]}" id="EmployeesView10" partialRenderMode="self" partialTargets="_uixState">
    <tableSelection>
                                <singleSelection model="${uix.data.treeData[bindings.DCTree.rootNodeBinding]}" text="Select and ..." >
                                  <primaryClientAction>
                                    <firePartialAction targets="_uixState" source="EmployeesView10" event="select"/>
                                  </primaryClientAction>
                                  <contents>
                                    <submitButton text="Edit" event="edit"/>
                                  </contents>
                                </singleSelection>
                              </tableSelection>    
    …I am quite sure that the answer is simple, but I don’t know how to solve this problem.
    Any tip will be greatly appreciated!!
    Gerardo

    Here is an example:
          <hGrid id="hg1" treeData="${uix.data.treeData.nodes}">
           <nodeStamp>
            <column>
             <columnHeader>
              Color
             </columnHeader>
             <contents>       
              <html:nobr>
               <image source="../images/data_trees/info.gif"/>
               <text text="${uix.current.text}"/>
              </html:nobr>
             </contents>
            </column>
           </nodeStamp>
           <tableSelection>
            <singleSelection text="Select and ..." selected="${uix.current.selected}">
             <contents>
              <button text="Copy"/>
             </contents>
            </singleSelection>
           </tableSelection>
           <columnHeaderData>
            <col text="Red Code"/>
            <col text="Green Code"/>
            <col text="Blue Code"/>
           </columnHeaderData>
           <columnHeaderStamp>
            <text text="${uix.current.text}"/>
           </columnHeaderStamp>
           <columnFormats>
            <columnFormat columnDataFormat="numberFormat"/>
            <columnFormat columnDataFormat="numberFormat"/>
            <columnFormat columnDataFormat="numberFormat"/>
           </columnFormats>
           <contents>
            <text text="${uix.current.r}"/>
            <text text="${uix.current.g}"/>
            <text text="${uix.current.b}"/>
           </contents>
          </hGrid>...
          <data name="treeData">
           <inline>
            <nodes text="Primary Colors" expandable="expanded" selected="false">
             <nodes text="Red" r="Any" g="00" b="00" selected="false"/>
             <nodes text="Green" r="00" g="Any" b="00" expandable="expanded" selected="false">
              <nodes text="Light" r="00" g="FF" b="00" selected="false"/>
              <nodes text="Dark" r="00" g="88" b="00" selected="true"/>
             </nodes>
             <nodes text="Blue" r="00" g="00" b="Any" selected="false"/>
            </nodes>
           </inline>
          </data>- Jeanne

  • Help with navigation step by step, handlers and train

    HI, im trying to use a train with a navigationbar, to make a relationship between 3 pages in a step by step process, but I can`t configure the links in the next and previous buttons, if it`s posible, could any body help me ?
    to relate this
    <uix:train selectedIndex="1">
    <uix:contents>
    <uix:link text="Conceptos Cobros"
    destination="cobros1.jsp"/>
    <uix:link text="Formas de Pago"
    destination="cobros2.jsp"/>
    <uix:link text="Impresisn"
    destination="cobros3.jsp"/>
    </uix:contents>
    </uix:train>
    and this
    <uix:pageButtonBar>
    <uix:contents>
    <uix:navigationBar minValue="1" maxValue="3" value="2" />
    </uix:contents>
    </uix:pageButtonBar>
    and change between the asp pages.

    Navigation bars do not let you set the destination for previous and next
    separately. Rather, they deliver an event to the specified destination
    (or to the destination on the form, if you're using formSubmitted).
    See the navigationBar documentation for the details on the
    parameters of this event.

  • Whe I can't navigate between two uix page through submitbutton ?

    Hi,
    I study adf uix develop step by step according
    http://www.oracle.com/technology/obe/obe9051jdev/uixTutorial/lesson_UIX.htm,in struts-config.xml added a forward from browseDeptEmp to formEmp,the link's name is formEmpLink,then added a submitbutton in the page browseDeptEmp.uix from form component just over employees table,then changed the button text--Edit,event-goEdit
    then add a event -goEdit in the structure window,at "Insert go" page,I set the name from list as "formEmpLink ",then I make and run the page browseDeptEmp,select a employee ,press Edit button,http 404 error occurred,but on the left bottom coner,I found a button "formEmpLink.do",and it worked just what i want,
    but why,what's wrong with me,who can help me?
    the source of the browseDeptEmp.uix is as bellows:
    <?xml version = '1.0' encoding = 'GBK'?>
    <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" expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title="Human Resources"/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <pageLayout title="Human Resources">
    <corporateBranding>
    <image source="images/exlibris.gif" destination=""/>
    </corporateBranding>
    <productBranding>
    <image source="images/product.gif" destination=""/>
    </productBranding>
    <tabs>
    <tabBar selectedIndex="1">
    <contents>
    <link text="Browse Depts Emps" destination="#"/>
    <link text="Modify Employees" destination="#"/>
    <link text="Search Employees" destination="#"/>
    </contents>
    </tabBar>
    </tabs>
    <pageHeader>
    <globalHeader selectedIndex="0">
    <contents>
    <link text="Browse Employees by Department"
    destination="#"/>
    </contents>
    </globalHeader>
    </pageHeader>
    <globalButtons>
    <globalButtonBar>
    <contents>
    <globalButton source="images/cart.gif" text="Cart"
    destination="#"/>
    <globalButton source="images/help.gif" text="Help"
    destination="#"/>
    <globalButton source="images/login.gif" text="Login"
    destination="#"/>
    </contents>
    </globalButtonBar>
    </globalButtons>
    <copyright>
    <styledText text="Copyright Three Gorges Hi-Tech information Co,Ltd"
    styleClass="OraCopyright"/>
    </copyright>
    <privacy>
    <link text="" destination="www.tgpms.com.cn"/>
    </privacy>
    <contents>
    <stackLayout>
    <contents>
    <header text="Department">
    <contents>
    <table model="${bindings.DepartmentsView1}" id="DepartmentsView11" partialRenderMode="multiple" partialTargets="_uixState">
    <contents>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.DepartmentsView1,'DepartmentId')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.DepartmentId}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.DepartmentsView1,'DepartmentName')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.DepartmentName}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.DepartmentsView1,'ManagerId')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.ManagerId}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.DepartmentsView1,'LocationId')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.LocationId}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    </contents>
    <tableSelection>
    <singleSelection model="${bindings.DepartmentsView1Iterator}" text="Select and ">
    <primaryClientAction>
    <firePartialAction targets="detail0 _uixState" source="DepartmentsView11" event="select"/>
    </primaryClientAction>
    </singleSelection>
    </tableSelection>
    </table>
    </contents>
    </header>
    <header text="Employees" id="detail0">
    <contents>
    <submitButton text="Edit" event="goEdit" name="formEmpLink"/>
    <table model="${bindings.EmployeesView3}" id="EmployeesView32" partialRenderMode="multiple" partialTargets="_uixState">
    <contents>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.EmployeesView3,'EmployeeId')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.EmployeeId}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.EmployeesView3,'FirstName')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.FirstName}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.EmployeesView3,'LastName')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.LastName}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.EmployeesView3,'Email')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.Email}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat cellNoWrapFormat="true"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.EmployeesView3,'HireDate')}"/>
    </columnHeader>
    <contents>
    <dateField model="${uix.current.HireDate}" readOnly="true">
    <onSubmitValidater>
    <date pattern="yyyy-MM-dd"/>
    </onSubmitValidater>
    </dateField>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.EmployeesView3,'JobId')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.JobId}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.EmployeesView3,'Salary')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.Salary}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    </contents>
    <tableSelection>
    <flowLayout>
    <contents>
    <singleSelection model="${bindings.EmployeesView3Iterator}" text="Select and ">
    <primaryClientAction>
    <firePartialAction targets="_uixState" source="EmployeesView32" event="select"/>
    </primaryClientAction>
    <contents/>
    </singleSelection>
    </contents>
    </flowLayout>
    </tableSelection>
    </table>
    </contents>
    </header>
    </contents>
    </stackLayout>
    </contents>
    <pageButtons/>
    <start/>
    <end/>
    <about/>
    </pageLayout>
    <formValue name="${bindings.statetokenid}" value="${bindings.statetoken}" id="_uixState"/>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    <button destination="formEmp.do" text="formEmp.do"/>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    <event name="goto sort" source="DepartmentsView11">
    <invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
    <parameters>
    <parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.DepartmentsView1Iterator}"/>
    <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
    </parameters>
    </invoke>
    </event>
    <event name="select" source="DepartmentsView11">
    <set target="${bindings.DepartmentsView1Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'DepartmentsView11')}"/>
    </event>
    <event name="goto sort" source="EmployeesView32">
    <invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
    <parameters>
    <parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.EmployeesView3Iterator}"/>
    <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
    </parameters>
    </invoke>
    </event>
    <event name="select" source="EmployeesView32">
    <set target="${bindings.EmployeesView3Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'EmployeesView32')}"/>
    </event>
    <event name="goEdit">
    <go name="formEmpLink"/>
    </event>
    </handlers>
    </page>
    thank you very much
    lixinzhu
    2004.10.14

    This is the same problem I was having, the reply I got was a link to this:
    http://helponline.oracle.com/jdeveloper/help/topics/jdeveloper/developing_mvc_applications/adf_pviewcustommethod.html
    I can't get that example to work either though. All I wanted to do was to get the event to fire Go:"StrutsForward", which is a forward to a data action, which on success forwards to another page.

  • Should I use the .do or .uix file as the destination attribute on a link?

    Good Morning all,
    What is the difference in using the .do action file or the .uix file as the destination attribute on a link? Is one preferred over the other? Any clairification would be helpful.
    Thank you

    I've spent considerable time on this myself but from the perspective of a GO vs. a link. Why the difference and what do we gain?
    You really need to understand Struts. I am just beginning to. The stuff that comes with 10g on Struts is the tip of the iceberg. I picked up an O'Reilly book (Jakarta Struts) which actually addresses why one should use an action reference vs a direct link to a page (UIX JSP or otherwise). There are many other useful discussions on the MVC and Struts' place in it.
    Briefly, a link to a UIX page bypasses the controller aspect of Struts and you forfeit the opportunity for extensions/customizations etc and basically violate the MVC blueprint (See sun.com).
    My issue was why do I have to do a DataAction and a forward (as all the Oracle collateral would have you do)when I just need to go directly to a page?
    Struts has a class (org.apache.struts.actions.forwardAction) that allows you to do just that without violating the MVC rules and without having to create all the extra actions and forwards when you just want to go to a page without a DataAction.
    Get the book, well worth the $ vs the frustration.
    Hope this helps somewhat.
    Tom

  • UIX form destination attribute dropping URL parameters

    I have a uix form with destination being a url with parameters. When this uix form tag is resolved and the form is rendered on the client browser, the parameters are not included in the action attribute of the form tag.
    For example, if the uix form tag is
    <uix:form destination="http://<host>:<port>/ctx/abc.jsp?remote_user=tuser" name="frm_sample" onSubmit="frm_submit()" >
    it gets resolved to
    <form name="frm_sample" id="frm_sample" method="GET" action="http://<host>:<port>/ctx/abc.jsp">
    In the resolved form tag, the url parameter remote_user is missing. Can anybody tell me why is this happening?
    I have tried encoding the url with response.encodeURL(), but to no avail.
    Any pointers in resolving this will be highly helpful.
    Shashi

    I have a uix form with destination being a url with parameters. When this uix form tag is resolved and the form is rendered on the client browser, the parameters are not included in the action attribute of the form tag.
    For example, if the uix form tag is
    <uix:form destination="http://<host>:<port>/ctx/abc.jsp?remote_user=tuser" name="frm_sample" onSubmit="frm_submit()" >
    it gets resolved to
    <form name="frm_sample" id="frm_sample" method="GET" action="http://<host>:<port>/ctx/abc.jsp">
    In the resolved form tag, the url parameter remote_user is missing. Can anybody tell me why is this happening?
    I have tried encoding the url with response.encodeURL(), but to no avail.
    Any pointers in resolving this will be highly helpful.
    Shashi

  • Ignore pop-up in RFC destination

    Hi all
    In ruining  program with RFC destination when the program comes to the RFC i get a pop-up
    that ask for user and password ,how can i avoid that ,i want to ignore the pop-up and run the program until the end .
    when i put the user and pass the RFC bring the data that i want.
    BR
    Nina

    Hi,
       When you create the RFC destination in SM59, you have to define your target system as TRUSTED system(One checkbox will be there). Then you will not get the pop up.
    Regards,
    Ravi Kanth Talagana

  • Batch action in CS6 ignoring my destination folder!

    I have an action I have been using once every year for several years in a batch automation process in Photoshop. Its purpose is to resize all the images in a specified folder and save the new versions (using the same filename) in another folder. Both folders are specified in the Batch dialogue, which is also set to override any Action 'Save As' commands. This procedure worked without any difficulties using CS4. Today, I tried running it for the first time under CS6 and it failed on the very first image.
    The problem is that it is triggering a request for my permission to save the image as a copy. The reason is that it is trying to save the modified file in the source folder and ignoring my specified (different) destination folder.
    Can anyone offer some guidance on how to fix this?
    David

    What operating system are you using?
    Did you try rewriting (recording) the action using photoshop cs6?
    Have you updated photoshop cs6 with the latest updates using Help>Updates from within photoshop cs6?
    You might post a screenshot of the action with all the steps open and maybe someone will spot something?

Maybe you are looking for