UIX servletinclude issue

Hello,
we are trying to import a jsp data page into uix page with servletinclude tag.
JSP page contains read-only form data control which is bound to app module, we've defined in model project.
JSP page works fine as standalone, but when we try to import it into UIX page, using servletinclude tag, we don't see any data.
What are we doing wrong?
Please help
Thanks

Any help, please!
Thnks

Similar Messages

  • UIX Commit Issues

    I am following the Creating UIX Browse and Insert Forms tutorial ( in the JDeveloper 10g Help), and when I finish it, my commit buttons do not seem to work. If I go to my browse page after doing a commit, the item is there, but if the browser session is ended, the item is gone. I essentially have everything set up like the tutorial says, but it doesnt work correctly.
    So, the commit is not actually happening. Any ideas what the issue is?

    I followed the Tutorial as listed above, and went through it exactly, IE:
    I created
    (DataPage) /browserPage
    (DataPage) /createEmpPage
    (DataAction) /cancelAction
    (DataAction) /createEmpAction
    Page Links go from /createEmpPage to /cancelAction, from /browserPage to /createEmpAction and from /createEmpPage to /browserPage. Page forwards go from /cancelAction to /browserPage(success) and /createEmpAction to /createEmpPage(success) and /createEmpPage to /browserPage (empPage)
    /createEmpAction has a create action attached to it for the table in question.
    there have been rollback and commit actions dragged as buttons onto createEmpPage, but the commit does not work. Rollback does. The commit button simply adds it to what appears to be the current transaction, but the current transaction doesnt get commited.

  • Jdev 903 postgresql UIX browser issue (Jdev. Team)

    Hello
    The following strange problem:
    My BC4J-UIX application i developed on debian-linux using postgresql database.
    The entity primary keys are filled automatically via the create method. This works in test also. But in my uix application when i want to create a row via "bc4j:rowdef autoCreate="true" this doesn't work in my browser on linux (opera, netscape, mozilla ...all tested); in konqueror the right value for the primary key is filled in. It also works on Windows Internet Explorer. Does anybody have an explanation for the strange behaviour.
    Furthermore i tested the same application against oracle 8.1.7. I create the primary key for an entity also in the create-method, but now i use instead of a dedicated jdbc-Statement the predefined oracle.jbo.server.SequenceImpl. And you wonder...this time it works also in opera, mozilla etc.!
    What differs the SequenceImpl from doing
    Statement stmt = ...
    Resultset rs = stmt.executeQuery("select nextval('dept_seq')");
    ...setDeptno(selDeptno);
    Using the SequenceImpl it works on all platforms; the second way via self-defined jdbc-select the application works only on some browsers!
    Please help!
    Thanks is advance

    I don't know if this is of any importance, but here's some additional info:
    Yesterday I was messing with some custom implementations of a ViewRowImpl sub-class. At a certain point, a NullPointerException was thrown in my code and the infamouos empty error dialog came up again. (At first I didn't know the exception and that it was my custom code in the ViewRowImpl sub-class that was giving the problem.)
    So, I put a try-catch around the code block to display the exact error through a JOptionPane.showMessage() call. However, just like the default error dialog, this dialog remained empty and could not be dismissed (except for killing the process in the run manager).
    Hope this helps :)

  • UIX dateFormat issue

    Can some explain why the following works:
    <messageDateField model="${bindings.LastPaymentDateTran}" readOnly="true">
    <onSubmitValidater>
    <date pattern="yyyy-MM-dd"/>
    </onSubmitValidater>
    </messageDateField>
    But the following gives an error:
    <dateFormat pattern="yyyy-MM-dd">
    <dataObject source="${bindings.LastPaymentDateTran}"/>
    </dateFormat>
    java.lang.IllegalArgumentException: Cannot format given Object as a Date
         at java.text.DateFormat.format(DateFormat.java:279)
         at java.text.Format.format(Format.java)
         at oracle.cabo.ui.validate.DateValidater.formatObject(Unknown Source)
         at oracle.cabo.ui.data.bind.FormattingBoundValue.getValue(Unknown Source)
         at oracle.cabo.ui.data.bind.ConcatBoundValue.getValue(Unknown Source)
         at oracle.cabo.ui.data.bind.DefaultingBoundValue.getWrappedValue(Unknown Source)
         at oracle.cabo.ui.data.bind.DefaultingBoundValue.getValue(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)

    The model attribute has an EL expression that references the ADFm binding, which contains both the value and other metadata like whether or not the value is readonly.
    The dataObject source needs to point to an actual Date object, not the binding itself.
    The error happens because it is attempting to treat the binding as a Date to format it as a string.
    The expression ${bindings.LastPaymentDateTran.attributeValue} should give you the underlying oracle.jbo.domain.Date object, from which you can get the java.util.Date value.
    However, if you are using Java type map in your business components instead of Oracle type map, then the expression ${bindings.LastPaymentDateTran.attributeValue} will give you the underlying Java domain object of java.sql.Date which is an instance of java.util.Date.
    If you just want to change the date pattern, then add the corresponding attribute hint information to the ViewObject and modify the onsubmit validater date pattern to match.
    Kind Regards.

  • 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 Customizations/I18N. Hm.....

    Hi guys,
    ... meaning Adam and Andrew:
    Re: Feature: UIX resource localization (BLAFBundle)
    In this Post (above), that is now over two years old, you sort of state that UIX I18N-issues would be addressed "shortly":
    Re: Feature: UIX resource localization (BLAFBundle)
    Just a quote from aforementioned post:
    "Quick update - looks like we will be able to fix the translation problem for 9.0.4 after all. Thanks again for reporting this!"
    However I have not yet seen any fix for the reported translation errors. Ie in Dutch "Terug" (back) is not the oposite of "Volgende" (next). It should read "Vorige" (previous). Furthermore in Dutch it is not always conventional to start these words with a capital.
    Can you give an indication when this:
    - will be fixed
    - or better still: the resource bundles will be made .property files that a developer can edit
    Thanks for your consideration.

    You are mixing your data-binding syntax. You are using the the older data-binding syntax (promptBinding="kernel_processdate@nls") and EL data-binding syntax on the same page (value="${bindings.TodayDate}"), which you can't do. (you might be able to do this with JSP2.0)
    You don't have EL set on your page, so it can't resolve what "${bindings.TodayDate}" means. The simplest solution is for you to change value="${bindings.TodayDate}" to
    valueBinding = TodayDate@bindings
    You can read about the expression language, data-binding, and jsps in the UIX Developer's Guides at
    http://helponline.oracle.com/jdeveloper/help?topic=uixdg_toc_html
    Jeanne

  • Check User Events in EO

    I have a requirement that a page has two submit buttons, Save and Validate
    Both do some validations.
    We have written the validation code in validateEntity() method of the page EO
    Question : How can we determine inside validateEntity method that which of these buttons was clicked ?
    Pseudo Code...
    public void validateEntity()
    IF Save ?
    then......
    if Validate
    then.....
    Message was edited by:
    user577698
    Message was edited by:
    user577698

    I think it is not possible as "UIX performs issues the POST request only if this validation succeeds."
    Avaneesh

  • Oracle eBusiness HARDWARE ARCHITECTURE

    Hi,
    I am trying to setup Oracle 11i eBusiness Suite using mixed HPUX and Win2K as follow:
    Oracle DB server on HPUX environment,
    Application Server on Win2K environment
    Web Server in Win2K environment
    Can anyone advise if this arrangement would work ? & what's potential problem ?
    Cheers

    Hi -
    We (Uthe IX Team) cannot advise you on your E-Business Suite deployment - this forum is limited to UIX framework issues. You might want to try one of the E-Business Suite forums instead:
    http://forums.oracle.com/forums/index.jsp?cat=3
    Andy

  • Issue with UIX Editable Table

    Hi,
    I have created a Master-Detail-Detail page using UIX. I want to make the last detail table editable. I have tried the tip mentioned in the following page to make the table editable.
    http://www.oracle.com/technology/products/jdev/tips/jacobi/edittable/tip_adfuixtable_edit.html
    But, the condition in switcher ${uix.current.EmployeeId.inputValue == bindings.EmployeeId.inputValue is always returning false. This is because, the ${bindings.xxxxx} is returning null for all columns.
    Could anyone help me in resolve this issue Please?
    Here is the uix file I am using:
    <?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"
    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=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <pageLayout>
    <about/>
    <copyright/>
    <corporateBranding/>
    <end/>
    <globalButtons/>
    <pageButtons/>
    <pageHeader/>
    <privacy/>
    <productBranding/>
    <start/>
    <tabs/>
    <contents>
    <stackLayout>
    <contents>
    <header text="Master">
    <contents>
    <table model="${bindings.SyPohdrAckView1}" id="SyPohdrAckView17" partialRenderMode="multiple" partialTargets="_uixState">
    <contents>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'OfdaFileId')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.OfdaFileId}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgmentNumber')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgmentNumber}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'PoNumber')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.PoNumber}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat cellNoWrapFormat="true"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'PlannedDeliveryDate')}"/>
    </columnHeader>
    <contents>
    <dateField model="${uix.current.PlannedDeliveryDate}" readOnly="true">
    <onSubmitValidater>
    <date pattern="yyyy-MM-dd"/>
    </onSubmitValidater>
    </dateField>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'PoOrdTotal')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.PoOrdTotal}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgeStatus')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgeStatus}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgeInfo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgeInfo}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat cellNoWrapFormat="true"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgeDate')}"/>
    </columnHeader>
    <contents>
    <dateField model="${uix.current.AcknowledgeDate}" readOnly="true">
    <onSubmitValidater>
    <date pattern="yyyy-MM-dd"/>
    </onSubmitValidater>
    </dateField>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgeByCtIdNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgeByCtIdNo}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    </contents>
    <tableSelection>
    <singleSelection model="${bindings.SyPohdrAckView1Iterator}" text="Select and ">
    <primaryClientAction>
    <firePartialAction targets="detail6 detail12 _uixState" source="SyPohdrAckView17" event="select"/>
    </primaryClientAction>
    </singleSelection>
    </tableSelection>
    </table>
    </contents>
    </header>
    <header text="Detail" id="detail6">
    <contents>
    <table model="${bindings.SyPolineAckView2}" id="SyPolineAckView28" partialRenderMode="multiple" partialTargets="_uixState">
    <contents>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'OfdaFileId')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.OfdaFileId}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgmentNumber')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgmentNumber}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'PoNumber')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.PoNumber}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'LineItemNumber')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.LineItemNumber}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'SpecItemNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.SpecItemNo}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'Quantity')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.Quantity}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'Cost')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.Cost}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnFormat cellNoWrapFormat="true"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'PlannedDeliveryDate')}"/>
    </columnHeader>
    <contents>
    <dateField model="${uix.current.PlannedDeliveryDate}" readOnly="true">
    <onSubmitValidater>
    <date pattern="yyyy-MM-dd"/>
    </onSubmitValidater>
    </dateField>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgeStatus')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgeStatus}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgeInfo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgeInfo}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat cellNoWrapFormat="true"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgeDate')}"/>
    </columnHeader>
    <contents>
    <dateField model="${uix.current.AcknowledgeDate}" readOnly="true">
    <onSubmitValidater>
    <date pattern="yyyy-MM-dd"/>
    </onSubmitValidater>
    </dateField>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgeByCtIdNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgeByCtIdNo}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'RowID')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.RowID}" columns="10" readOnly="true"/>
    </contents>
    </column>
    </contents>
    <tableSelection>
    <singleSelection model="${bindings.SyPolineAckView2Iterator}" text="Select and ">
    <primaryClientAction>
    <firePartialAction targets="detail12 _uixState" source="SyPolineAckView28" event="select"/>
    </primaryClientAction>
    </singleSelection>
    </tableSelection>
    </table>
    </contents>
    </header>
    </contents>
    </stackLayout>
    <stackLayout>
    <contents>
    <header text="Detail" id="detail12">
    <contents>
    <table nameTransformed="false" model="${bindings.PoLineView2}" id="PoLineView214" partialRenderMode="multiple" partialTargets="_uixState" formSubmitted="true">
    <contents>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'PoNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.PoNo}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'LineNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.LineNo}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'ItemNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.ItemNo}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'ItemStyle')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.ItemStyle}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'VendorNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.VendorNo}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'VendorItemNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.VendorItemNo}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'QtyOrd')}"/>
    </columnHeader>
    <contents>
    <switcher childName="${uix.current.PoNo.inputValue == bindings.PoNo.inputValue ? 'selected' : 'notselected'}">
    <case name="selected">
    <textInput model="${bindings.QtyOrd}" columns="10" readOnly="false">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </case>
    <case name="notselected">
    <textInput model="${uix.current.QtyOrd}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </case>
    </switcher>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'UnitPrice')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.UnitPrice}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'LineAmt')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.LineAmt}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnFormat cellNoWrapFormat="true"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'DateCreated')}"/>
    </columnHeader>
    <contents>
    <dateField model="${uix.current.DateCreated}" readOnly="true">
    <onSubmitValidater>
    <date pattern="yyyy-MM-dd"/>
    </onSubmitValidater>
    </dateField>
    </contents>
    </column>
    <column>
    <columnFormat cellNoWrapFormat="true"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'DueDate')}"/>
    </columnHeader>
    <contents>
    <dateField model="${uix.current.DueDate}" readOnly="true">
    <onSubmitValidater>
    <date pattern="yyyy-MM-dd"/>
    </onSubmitValidater>
    </dateField>
    </contents>
    </column>
    <column>
    <contents>
    <submitButton text="Commit" model="${bindings.Commit}" id="Commit15" event="action" disabled="false"/>
    </contents>
    </column>
    </contents>
    <tableSelection>
    <singleSelection model="${bindings.PoLineView2Iterator}" text="Select and ">
    <primaryClientAction>
    <firePartialAction targets="_uixState PoLineView214" source="PoLineView214" event="select" formSubmitted="true"/>
    </primaryClientAction>
    </singleSelection>
    </tableSelection>
    </table>
    </contents>
    </header>
    </contents>
    </stackLayout>
    </contents>
    </pageLayout>
    <formValue name="${bindings.statetokenid}" value="${bindings.statetoken}" id="_uixState"/>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    <event name="goto sort" source="SyPohdrAckView17">
    <invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
    <parameters>
    <parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.SyPohdrAckView1Iterator}"/>
    <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
    </parameters>
    </invoke>
    </event>
    <event name="select" source="SyPohdrAckView17">
    <set target="${bindings.SyPohdrAckView1Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'SyPohdrAckView17')}"/>
    </event>
    <event name="goto sort" source="SyPolineAckView28">
    <invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
    <parameters>
    <parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.SyPolineAckView2Iterator}"/>
    <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
    </parameters>
    </invoke>
    </event>
    <event name="select" source="SyPolineAckView28">
    <set target="${bindings.SyPolineAckView2Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'SyPolineAckView28')}"/>
    </event>
    <event name="goto sort" source="SyPolineAckView213">
    <invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
    <parameters>
    <parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.SyPolineAckView2Iterator}"/>
    <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
    </parameters>
    </invoke>
    </event>
    <event name="select" source="SyPolineAckView213">
    <set target="${bindings.SyPolineAckView2Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'SyPolineAckView213')}"/>
    </event>
    <event name="goto sort" source="PoLineView214">
    <invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
    <parameters>
    <parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.PoLineView2Iterator}"/>
    <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
    </parameters>
    </invoke>
    </event>
    <event name="select" source="PoLineView214">
    <set target="${bindings.PoLineView2Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'PoLineView214')}"/>
    </event>
    <event name="action" source="Commit15">
    <invoke method="doIt" javaType="oracle.jbo.uicli.binding.JUCtrlActionBinding" instance="${bindings.Commit}"/>
    </event>
    </handlers>
    </page>

    hi all,
        it looks this where clause not filter with 'N'  data ,Please help me ,how to solve this or help me on this

  • Issues upgrading a Jhs 10.1.2 UIX BC application to Jhs 10.1.3 JSPX BC

    Greetings,
    I'm trying to upgrade a JHeadstart 10.1.2 UIX and Business Components (BC) application to 10.1.3 ADF BC - JSPX (Using Jdev 10.1.3)
    After reading and following the Jheadstart Release Notes upgrade guide and after a couple of issues, I managed to get it compiled without errors.
    Now, when I try to run it, it wont run :|... It shows the initial screen (a table) without data and the following error 5 times: Missing IN or OUT parameter at index:: 1
    My first screen has as data source a VO/Data Collection which has several bind parameters (:1,:2,...,:5).
    In version 10.1.2, I think, passing values to a VO was done ONLY (is this correct?) by the Struts-config.xml using a iterator.
    something like this:
    <action path="/S2EpisodiosTable" input="/WEB-INF/page/S2EpisodiosTable.uix" type="..." className="..." parameter="/WEB-INF/page/S2EpisodiosTable.uix" name="DataForm">
    <set-property property="bindParams" value="${bindings.S2EpisodiosId_Processo},${bindings.S2EpisodiosId_Processo},${bindings.S2EpisodiosId},${bindings.S2EpisodiosId},${bindings.S2EpisodiosId_Processo};newLookupConcelhoIterator=${bindings.S2EpisodiosDcfDistrito};"/>
    </action>
    a) Is this correct ?
    Now, after the upgrade, all the view objects bind parameters are missing.
    If I set them in the App. Definition Editor - Query Bind Parameters statically, for example to "0,0,0,0,0", it will run but not with the correct values.
    b) How do I "migrate" <set-property property="bindParams" value="${bindings.S2EpisodiosId_Processo}... to AFD BC bindings ?
    c) If query values are set statically, when selecting a first level menu entry, along the application, I get this errors:
    c.1 )
    500 Internal Server Error
    java.lang.ClassCastException: oracle.jbo.domain.Number
         at oracle.adfinternal.view.faces.renderkit.uix.SelectItemSupport._addUIXSelectItem(SelectItemSupport.java:349)
         at oracle.adfinternal.view.faces.renderkit.uix.SelectItemSupport.getSelectItems(SelectItemSupport.java:88)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer.encodeAllAsElement(SimpleSelectOneRenderer.java:235)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.FormElementRenderer.encodeAll(FormElementRenderer.java:48)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:271)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.renderFieldCellContents(InputLabelAndMessageRenderer.java:115)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer._renderFieldCell(LabelAndMessageRenderer.java:293)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll(LabelAndMessageRenderer.java:163)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.encodeAll(InputLabelAndMessageRenderer.java:94)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
    and this other one
    c.2 )
    500 Internal Server Error
    javax.faces.el.ReferenceSyntaxException: bindings.S2SitSocioProfissionais2newLookupSituaçãoProfissional.rangeSet
         at com.sun.faces.application.ApplicationImpl.checkSyntax(ApplicationImpl.java:749)
         at com.sun.faces.application.ApplicationImpl.createValueBinding(ApplicationImpl.java:291)
         at oracle.adfinternal.view.faces.taglib.ForEachTag.createValueBinding(ForEachTag.java:311)
         at oracle.adfinternal.view.faces.taglib.ForEachTag._resolveObject(ForEachTag.java:479)
         at oracle.adfinternal.view.faces.taglib.ForEachTag.doStartTag(ForEachTag.java:102)
         at _web_2d_inf._page._S2SitSocioProfissionais2_jspx._jspService(_S2SitSocioProfissionais2_jspx.java:687)
         [WEB-INF/page/S2SitSocioProfissionais2.jspx]
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    Could you please give me some directions on how to solve this issues ?
    Thanks,
    Best regards

    Buondi,
    Can you please post separate threads for each issue?
    Lets's keep this thread for your first issue: You can generate query bind params in 10.1.3, by setting the Query Bind Parameters property against your group in the APplication Definition Editor. This property already existed in 10.1.2, and is migrated as well, so it looks like in 10.1.2 the struts action was modified post-generation.
    Anyway, you can enter the comma-delimited list of bind params in the group-property Query Bind Parameters, you only need to replace "${" with "#{" to get JSF EL expressions.
    Can you also upgrade to JHeadstart Service Update 1? This fixes a bug that caused MISSING IN OR OUT PARAMETER error.
    Steven Davelaar,
    JHeadstart Team.

  • DATE issue in UIX page

    Dear All,
    I am having a weird date related issue while loading a date value. We show date values in Uix pages, all the Oracle.sql.Date (which in turn convered to java.sql.Data)are displayed a day less in the UIX. The dates are shown in <textInput> or <messageTextInput> or <formattedText> fields. For ex: if the DB date is 05/11/2004, it is shown as 04/11/2004 in the screens. The dates stored and the retreived in the java middle tier are same, but the value printed in the UIX is a day less. The server time maintained is EST and this application is used by the clients in US.
    The things work fine when run on the local machines pointing to the same database. But, when a server is accessed from the same client machine the problem is simulated.
    This is a production issue which needs to be addressed immediately.
    Please send your inputs on this.
    Thanking in advance.
    Girish S C

    There were a couple of bugs related to the date lag problem that you reported. These should have been fixed in latest releases of UIX (The last such bug identified has been fixed in version 2.2.12, the latest as of date being 2.2.16). You would have to wait until this is publicly available and upgrade to this version.

  • From JHeadstart 1012 UIX to JHeadstart 1013 JSF : bc4j.xcfg issue

    Greetings
    After doing all the procedures announced in the JHeadstart 10.1.3 release notes (the project compiles successively). When running the application this error emerges :
    500 Internal Server Error
    oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /myApp/model/common/bc4j.xcfg in the classpath
    at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:367)     at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:284)     at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:539)     at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165) .... etc... etc...
    The bc4j.xcfg is in place.
    I've also added the bc4j.xcfg path to the list of 'resources' paths in Model (Project Properties > Project Content > Resources).
    When trying to edit the file (Application Module > right click > configurations) all goes well. It actually saves data correctly into it.
    Any suggestion ?
    Thanks
    Best regards,

    Buondi,
    You are running into an embedded oc4j bug which causes oc4j to crash randomly when pages get too big. See this post for a possible work around:
    Issues with table size [JHS 10.1.3]
    Steven Davelaar,
    JHeadstart Team.

  • Datefield Issue in UIX

    Hello,
    I am using JDev 10.1.2 to build an ADF UIX web application, and I am having trouble formatting a datefield. Basically, I am using an LOV to populate a datefield, which will (onSubmit) be placed into a bean for later use. Another team member is using a Java date object to store the value, but the problem is that Java does not seem to like the default date format of "yyyy-MM-dd" that the LOV uses.
    I tried editing the datefield to change the display with this:
    <dateField model="${uix.current.SubmitDt}" readOnly="true" name="pattern">
    <onSubmitValidater>
    <date pattern="DD-MON-YYYY"/>
    </onSubmitValidater>
    </dateField>
    Unfortunately, neither this nor any other pattern/dateStyle had any effect on the date output. I also tried editing the SQL query manually to have it output the date in my preferred format. It worked fine using the application module test, but if I do this, the dates will not display on the page at all. Even if I change the <dateField> tag to a normal <textInput> tag. Any ideas? Any help? Thanks so much in advance.
    John Repsher

    Okay, I think I have found a work around. Thanks anyways guys!
    Regards,
    John

  • ADF/UIX - How NOT to loose currentRow? Iterator issue?

    Hi All,
    I'm having a bit of a problem in keeping maintaining the state of a couple of views across pages; I'm hoping I'm just doing this wrong and someone can point me in the right direction.
    Environment: ADF/UIX
    1) From the first page the views (used in dropdowns) are manipulated and the current row set appropriately (I traced the app module and rows are indeed pointing where they should)
    2) In an event handler <go name="Page2"/> is executed
    3) Page2 references the views from the datacontrol used in Page1 (note that identical bindings are used) but the current row is lost. Tracing through the app module confirms that the current row is set to the first row.
    Q1) Is there a way to keep iterators from being reset?
    if not...
    Q2) If not, is there a method on the AppModule on Views that can be overloaded to set the current row BEFORE the page displays?
    Thanks in advance!
    /SFL

    Thanks for the prompt reply Gabrielle!
    I did a bit more testing and in fact it's one view which was causing the problem. A new row is created (and commited) for this view through the AppModule like this:
    ViewXRowImpl row = vo.createRow();
    row.setX( "...");
    row.setY( "...");
    vo.insertRow(row);
    vo.setCurrentRow(row);
    try{
       this.getTransaction().commit();
      }catch(Exception e)
        e.printStackTrace();
      }I hadn't realized that the iterator would get reset after a commit. Fetching the key before the commit and doing a findbykey afterwards solved the problem.
    I think I'll implement a base view class that uses beforeCommit and afterCommit to set the iterator back to the desired location. I'm a bit surprised that it isn't the default behaviour though...
    Thanks again for the help!

  • UIX issue

    I have been changing stylesheets using custom.xss in order to change the colour of the border in the application. This is working fine, however there are some occasions when
    the topmenubar is not displayed and instead you get a blue band again across the top. This tends to be when an error bean is being displayed.
    Using firebug in firefox it looks like this is an inline style being set in a javascript.
    element.style { 
        background-color: #1466B2; 
        margin-bottom: 0;
        min-height: 31px;
    div { 
    I am struggling to find where this is set firstly and then would like to change that background color afterwards - any tips????

    Bumping this to see if I can get any response. Some more info below
    Looking to change colours around the edge of OAF pages in 12.2.3 (skyros)
    I've managed to do this with custom.xss and modifying the background-color for .skyrosFooter and .globalHeaderStyle1 (sides and footer)
    For the top I have change OAFSlideoutMenu_skyros.css directly for now and modified the color in #topmenubar
    I have one issue where I am unable to find the element to change. This is when an error bean is displayed across the top. In this case there is a table displayed for the error bean and above that there is a table that has the background color as the default (blue 1466b2)
    Using debugger on the page it seems that this color is being set before any css, possibly as a style in javascript i.e.
    element.style {
        background-color: #1466B2;
        margin-bottom: 0;
        min-height: 31px;
    This I want to change. Any pointers as how best to do this? I can't see any javascript or css that is doing this.
    The html on this page is as follows for this area
    <span id="PageLayoutRN">
    <table class="x6w" width="100%" cellspacing="0" cellpadding="0" border="0">
    <tbody>
    <tr>
    <tr>
    <tr>
    <tr>
    <td>
    <table class="x9f" width="100%" cellspacing="0" cellpadding="0" border="0">
    <tbody>
    <tr>
    <td>
    <div style="min-height: 31px; margin-bottom: 0px; background-color: rgb(20, 102, 178);"></div>
    </td>
    </tr>
    </tbody>
    </table>   
    </td>
    </tr>
    </tbody>
    </table>

Maybe you are looking for

  • Data load from DSO to cube

    Hi gurus We have a typical problem, we have to combined 2 records into one when they reach to DSO. One source is flat file and the other is R3. so few fields I am geting from flat file and few from R3 . They are creating one record when they loaded t

  • Multiple Image/Photo Galleries for Website Development

    Hi All, I am just getting into web dev and working on first production site. One of the requirements is to implement a Photo Gallery which has multiple albums, but is also able to be managed by an end-user (rather than web team update). Site is curre

  • Can a hacked website hack my iMac?

    Hi, Yesterday I visited a website I've visited a number of times that appears to be run from India. However, when I went on yesterday instead of the usual homepage the page was black and had the words "HACKED BY PREDATOR" and then two boxes came up w

  • /dev/lom missing

    Hi, Even though our SUN Netra 210 does have ALOM working fine, /dev/lom is not present on Solaris 9. I already tried to install SUNWlomr, SUNWlomu and SUNWlomm, but the problem remains. Does any know why /dev/lom is not showing up? Is it possible to

  • High Level Bin Search, before Storage Type Search

    Hi, Can anyone help me to guide, which user Exit/Badi, be used for searching Empty bins, before storage type search. I come to know from one of colleague below message. "" if you want to check the quantities on a higher level (before storage type sea