ADF UIX: page in a subdirectory.

I have created page in the project which is in subdirectory. Then has added in page the Read-Only Table from Data Controls. At start of page, write "No records found" !
If the same page to start from the root directory then records are displayed.
1. /subdir/ViewTable.uix - don't work. "No Records Found"
2. /Viewtable.uix - work !
WHY so works?
It is a bug or..?
thanks.

This is a bug. If you use struts you shouldn't have a problem.
Otherwise the workaround is to put:
/subdir/subdir_ViewTable.uix
I know, it's.....interesting. We're working on fixing it.
Thanks,
Gabrielle

Similar Messages

  • Creating Oracle ADF uix Pages Tutorial

    In going through the "Creating Oracle ADF UIX Pages" Tutorial
    Step 5:Adding a Table - I'm running into problems:
    - In item 2, I can not find Provider in Design Structure window (I find it in XML Structure Window)
    - In item 3, I can not find datacomponent in General Component Palette
    - In item 5 I can not find inline component in General Component Palette
    Does this tutorial work or am I missing something?

    I'm having the same problem. I looked over the recommended tutorial and it didn't cover how to mock up data in xml for prototyping. I think this tutorial is for JDeveloper 9i and not 10g. How is this done in JDev 10g?
    I entered this from the xml editor: I also tried:
    without a data tag
    with a data tag and with an inline tag
    with an inline tag
    nothing seems to work...
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    <data>
    <book cover=""
    title=""
    author=""
    price=""/>
    </data>
    </provider>
    I get this message when I switch to design mode:
    The document is not in a valid state. Please edit this file in the code editor to resolve syntax problems and then return to the visual editor.
    It doesn't like the xml code. Any ideas in how to do this? I would like to prototype an applications without connecting to real data sources...
    Thanks in advance
    Keith...

  • Populate Primary Key with DBSequence in ADF UIX page

    I have a table with a trigger, so that the primary key is populated by DBSequence. My problem is, I open a ADF UIX Input Page to create a row for my table. The field of the primary key is populated by any number but not with the logical sequence number. This number appears later, when I look at a row list. So the correct number is in the database but how can this already appear on my input page???

    You have to drop the trigger.
    Then make sure you have the Id field of your entity of type Sequence.
    Then go to your entity class and override the Create method.
      protected void create(AttributeList attributeList)
        super.create(attributeList);
        SequenceImpl s = new SequenceImpl("YOUR_DB_SEQUENCE_NAME", getDBTransaction());
        Number sVal = s.getSequenceNumber(); 
        setId(new DBSequence(sVal));

  • LOV /ADF UIX pages does not work on the older version od UIX page

    Hi
    I have recently migrated UIX project from the Jdeveoper 9i to Jdev10g version 1.0.1.2, everything work without any issue, however when I try to create a LOV or any component that are ADF-UIX based, but it does not work I don't even get any error, it just does not work based on the ADF-UIX (Expression base component),
    Any help to resolve this issue will be greatly appericated
    Thanks

    I too have problems with LOVs in UIX pages. I have
    some that you have to run twice to get back a value.To solve this problem,
    1) open your UIX page where you create a new row
    2) in the Structure window, click third tab "UI Model"
    3) double-click the control action binding corresponding to Create
    4) select CreateInsert from the list
    The problem is related to the fix we introduced for the "Blank Row Issue" (see http://www.oracle.com/technology/products/jdev/tips/muench/blankrow/index.html).
    If you have access to MetaLink, please refer to Note 299860.1 and Bug 4201020.
    Regards,
    Didier.

  • ADF UIX page displays data which is not in database

    Using JDeveloper 10.1.2, I created an ADF UIX browse page. It worked correctly, showing all 200 rows that were in the database table. I then used JDev SQLWorksheet to delete 190 rows, so 10 rows remain. Now when I test the browse page, it still shows all 200 rows rather than the 10 rows which are in the table. I exited and restarted the application but the problem persists. Help.

    Did you perform commit command from SQLWorksheet?
    If not, perform it!

  • ADF UIX page

    I am using the Jdeveloper 10g version 10.1.3.1.0. I am tring to create UIX page. but i can not find the where allow me to create UIX page.
    Please teach me about this. Thanks a lot!!!

    Hi,
    if you at the beginning of a project. consier JSF and ADF Faces. UIX is deprecated and will not have a future
    Frank

  • Searching using a combination of MessageChoice & TextInput in ADF UIX  Page

    Hello,
    I'm trying to create a page in ADF UIX which implements search operation using a combination of "Message Choice" & "Text Input". I refered to the OTN How to's Document for "Building a list of Values (LOV) with ADF UIX". It's been mentioned in the document to create an LovInput component & when you do that an UIX page LovWindow0.uix is created by default along with two handler's "LovFilter" and "LovSelect".
    when I try to implement this concept in the simple UIX page with out creating a LOV Input field.... i.e; I tried to implement this concept by just using the List of values component.... I'm not able to associate a handler to the go button present in the default list of files component.
    Consider the scenario where I'm using the Departments View.. In the list I'm displaying the filter Choice & in the Text Input specifying the where condition...
    Can anyone please help me out on this...I'm new to this concept...
    Thanks & Regards,
    Arun
    Message was edited by:
    sam_1328

    Hi Sam,
    i think this link should have part of ur solution.
    http://www.oracle.com/technology/products/jdev/tips/shmeltzer/setwhereclause/uix.html
    There you need to make slight modifications to the codes so as to suite ur scenario of search(having a message choice to choose filter and a textinput for the search value)
    The new method that you add by reading the page can be modified.
    Origional method mentioned is
    public void setCondition (String p_cond)
    ViewObject empvo = findViewObject("EmployeesView1");
         //Creating a Where clause for the query
    String whereclause = "LAST_NAME like '%"+ p_cond +"%'";
    empvo.setWhereClause(whereclause);
    empvo.executeQuery();
    replace this with the new method
    public void setCondition (String p_filter,String p_value)
    ViewObject empvo = findViewObject("EmployeesView1");
         //Creating a Where clause for the query
    String whereclause = p_filter+" = "+p_value ;
    empvo.setWhereClause(whereclause);
    empvo.executeQuery();
    But if u have a filter which is suppposed to be charechter field den the code should be
    public final void setMoreConditions(String p_field, String p_value)
    ViewObject empvo = findViewObject("EmployeesView1");
    if (p_field.equalsIgnoreCase("last_name")||p_field.equalsIgnoreCase("first_name"))
    String whereclause = p_field+" LIKE '%"+p_value+"%'";
    empvo.setWhereClause(whereclause);
    else
    if (p_field.equalsIgnoreCase("manager_id")||p_field.equalsIgnoreCase("department_id") )
    String whereclause = p_field+" = '"+p_value+"'";
    empvo.setWhereClause(whereclause);
    else
    String whereclause = "";
    empvo.setWhereClause(whereclause);
    empvo.executeQuery();
    In the above code include all the charechter field names in the first if condition.
    I think that should solve ur purpose.
    Try it and let me know if ur having any problems.
    Regards,
    Vineet

  • Display requestScope attributes within ADF UIX page

    In jsp I can do the following to display all attributes available in the current requestScope by
          < c:forEach var='parameter' items='${requestScope}'>
             < ul>
                < li>< b>< c:out value='${parameter.key} : ${parameter.value}'/></b>:</li>
             < /ul>
          < /c:forEach>How to do the same in ADF UIX (without using servletInclude)?

    Please provide an example
    This works
    <styledText text="parameterMap ${uix.bajaContext.servletRequest.parameterMap}"/>But this does not work.
    <stackLayout>
      <contents childData="${uix.bajaContext.servletRequest.parameterMap}">
             <styledText text="text: ${uix.current.key}"/>
       </contents>
    </stackLayout>How to use ${uix.bajaContext.servletRequest.attributeNames} for instance since this returns a java.util.Enumeration type?

  • Insert Record in Master-Detail by UIX Pages

    I am using Jdeverloper10g v10.1.2 ,ADF,UIX Pages
    My problem is :
    How i can insert a record by UIX Page , Because when i try to inserted a record by click on Create Button there is no action happen .
    So , is there any document can help me in Master_Detail_By_UIX
    with regards
    Naif

    Hi Leo,
    I know that but my application is already set up and I have all the reports and forms in place. However I do not know how to enter an update/insert statement when calling my form. I only can have update or insert.
    for update is working correctly and the reports/forms affected are quite complex I do not want to change anything on it but enter a detail recordset for each record in master table only containing foreign key id and id. then the update statement will work. At the moment I have to save the form (detail table) once to create th primary id and after that I can store values... but that is not feasible for end users...
    Tino

  • Binding Editors not present in ADF UIX

    Hi
    I have been having some trouble with accessing both the Boolean Binding Editor and the LOV Editor from the structure window, when in design mode of an ADF UIX page.
    My bindings are present, but when I 'Edit' the binding, the only option available to me is to select the Iterator and the attribute.
    The documentation keeps telling me to select different tabs, but there aren't any!
    Anyone had this problem????
    I'm on;
    Oracle IDE     9.0.5.16.27
    Business Components Version     9.0.5.16.0
    UML Modelers Version     9.0.5.14.78
    Versioning Support     9.0.5.14.78
    WebDAV Support Version     9.0.5.14.78
    Struts Modeler Version     9.0.5.4.22
    Designer Generators Framework     9.0.5.5.71
    ADF UIX     2.2.8
    java.version     1.4.2
    java.home     C:\j2sdk1.4.2_04\jre
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     1.4.2-b28
    user.language     en
    user.region     <no value assigned>
    user.name     chris.bell
    user.home     C:\Documents and Settings\chris.bell
    user.dir     C:\Software\Oracle\jdev9052\jdev\bin
    os.name     Windows XP
    os.version     5.1
    os.arch     x86
    http.proxyHost     <no value assigned>
    http.proxyPort     <no value assigned>
    http.nonProxyHosts     <no value assigned>
    ide.patches     
    Thanks in advance
    Chris

    the primaryclient action should pass the rowkey of the current row (${uix.current.rowKeyStr}) as a parameter. This way the server can find the corresponding row on the server in an event handler.
    see
    http://www.oracle.com/technology/products/jdev/tips/jacobi/edittable/tip_adfuixtable_edit.html

  • ADF UIX Tab Switching and 404 Error

    I have an ADF UIX page that has a couple of tabs. When switching from one to the other, some of the links to data pages give me 404 error whereas they work if I run each page seperately. How do you maintain state when switching on tabbed pages?
    Thanks!
    Ray

    We need more detailed information to help with your scenario.
    Is there any difference between the URL seen in the browser address location when you run individual tab pages versus clicking on the links?
    Kind Regards.

  • Detecting validation errors in ADF UIX

    Dear sirs...
    how can i detect validation errors in an adf uix page using DataActionContext?
    thanks for any help

    dear sirs...
    i found how it works. it is simple, bust call this.hasErrors(ctx). this would return true if an error occurs, otherwise it returns false.
    best regards

  • ADF UIX Partial page rendering

    Hi
    I am facing a mysterious problem with partial page rendering in ADF UIX.
    My page contains a <header> H1 and inside this there are two headers(H2 and H3).
    The partial page rendering is in the header H2 and is working fine.
    When i remove the below header H3 the partial page rendering ceases to work and get stuck.
    Pasting the full code below. Please suggest.
    <?xml version="1.0" encoding="windows-1252"?>
    <!-- $Header: registration.uix 115.4.51.4 2009/12/14 13:10:05 kcthirum noship $ -->
    <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:myTemplate="http://xmlns.oracle.com/xhub"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
    xmlns:data="http://xmlns.oracle.com/cabo/marlin" expressionLanguage="el">
    <!--This UIX page is used as a tutorial page for new developers, which is why it has a lot of comments-->
    <!--This section describes the ApplicationModule used by this page, and any View Objects that are used to display UI components or are used in any of the event handlers-->
    <bc4j:registryDef>
    <!-- XhubRegAM is the application module used by the entire Registration flow. defFullName is just the class. configName is the Configuration, which always has the pattern <AM name>Local -->
    <bc4j:rootAppModuleDef name="XhubRegAM"
    defFullName="oracle.apps.snw.tpadmin.server.XhubRegAM"
    configName="XhubRegAMLocal" releaseMode="stateful">
    <bc4j:viewObjectDef name="TpProfilesRegVO" rangeSize="1" autoCreate="false"/>
    <bc4j:viewObjectDef name="UsersRegVO" rangeSize="1" autoCreate="false"/>
    <!--IdentifierDomainsView drives the dropdown list of Identifier Types-->
    <bc4j:viewObjectDef name="IdentifierDomainsView" rangeSize="20"/>
    <!--XhubTerritoriesTlView drives the dropdown list of Countries-->
    <bc4j:viewObjectDef name="XhubTerritoriesTlView" rangeSize="300"/>
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <!--We import the template file xhub.uit, which has code to display the tabs, subtabs, global buttons, etc., appropriately-->
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="xhubtpadmin.uit"/>
    </templates>
    <content>
    <!--in this section we define all of the methods and ResourceBundle classes that we want to reference as data sources in our page-->
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!--We use the TextProvider class to display ANY text to the user. All text is controlled in the database and cached on the middle tier. This allows for translation and for customization of text-->
    <data name="textSource">
    <bundle class="oracle.apps.snw.uicommon.TextProvider"/>
    </data>
    <!--This method provides information about the hub-->
    <data name="adminInfo">
    <method class="oracle.apps.snw.tpadmin.webui.AdminInfo"
    method="getAdminInfo"/>
    </data>
    </provider>
    <contents>
    <document>
    <!--This section defines the html metadata, usually just the page title-->
    <metaContainer>
    <head title="${textSource.REGISTRATION}"/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <!--This next tag indicates that everything inside of it should be encapsulated in the "rootChild" node of the template page-->
    <myTemplate:xhubTpAdminPageLayout selectedTab="1">
    <contents>
    <!-- this will contain any validation errors after form submission -->
    <messageBox automatic="true"/>
    <!--The form tag is necessary for any kind of form handling. This particular form performs some javascript validation before submitting-->
    <form name="reg" method="POST">
    <contents>
    <!--The javascript that is executed on form submission-->
    <!-- we cannot implicitly determine that events will be triggered because submit buttons are outside the form scope, so add the placeholder explicitly -->
    <formParameter name="event"/>
    <!-- define the bc4j scope of all child elements-->
    <bc4j:rootAppModuleScope name="XhubRegAM">
    <contents>
    <!-- a top-level header -->
    <header text="${textSource.REGISTRATION}">
    <contents>
    <!-- always used OraInstructionText, not <tip>, for explanation messages-->
    <styledText styleClass="OraInstructionText"
    text="${textSource.REG_PAGE_EXPLAIN}"/>
    <!-- a second-level header -->
    <header text="${textSource.REG_COMPANY_INFO}">
    <contents>
    <stackLayout>
    <contents>
    <!-- the labeledFieldLayout is the correct layout for vertically-stacked labeled fields-->
    <labeledFieldLayout id="TpPartialDetails" width="80%"
    labelWidth="40%">
    <contents>
    <messageChoice name="OracleAppsCustFlag"
    prompt="Oracle Apps Customer"
    required="yes" statePreserved="true"
    selectedValue="${ui:defaulting(uix.pageProp.OracleAppsCustFlag, 'select')}">
    <primaryClientAction>
    <firePartialAction event="buyorsup"
    targets="TpPartialDetails"
    formSubmitted="true"
    unvalidated="true"/>
    </primaryClientAction>
    <contents>
    <option text="-select-" value=""/>
    <option text="${textSource.YES}" value="Y"/>
    <option text="${textSource.NO}" value="N"/>
    </contents>
    </messageChoice>
    <messageTextInput prompt="${textSource.ORACLE_CSI_Q}"
    name="OracleCsi"
    text="${uix.pageProp.OracleCsi}"
    rendered="${ui:defaulting(uix.pageProp.OracleCsiRender, 'false')}"/>
    <messageTextInput prompt="${textSource.YOUR_TP_NAME}"
    name="TpName"
    tip="${textSource.YOUR_TP_NAME_TIP}"
    required="no"
    text="${uix.pageProp.TpName}"
    rendered="${ui:defaulting(uix.pageProp.TradeswithTPRender, 'false')}"/>
    <messageTextInput prompt="${textSource.YOUR_TP_ALIAS}"
    name="TpAlias"
    tip="${textSource.YOUR_TP_ALIAS_TIP}"
    required="no"
    text="${uix.pageProp.TpAlias}"
    rendered="${ui:defaulting(uix.pageProp.TradeswithTPAliasRender, 'false')}"/>
    </contents>
    </labeledFieldLayout>
    </contents>
    </stackLayout>
    </contents>
    </header>
    <!--level-2 header-->
    <header text="${textSource.TP_DEFAULT_CONTACT_INFO}">
    <contents>
    <labeledFieldLayout width="80%" labelWidth="40%">
    <contents>
    <!--all of these fields default to the corresponding ctrl:page value if the user has entered a value. These values are set up in the register() handler-->
    <messageTextInput prompt="${textSource.PASSWORD_PROMPT}"
    name="Password" id="Password"
    required="yes" secret="true"
    maximumLength="32"
    text="${uix.pageProp.Password}"/>
    <messageTextInput prompt="${textSource.PASSWORD_CONFIRM_PROMPT}"
    name="PasswordConfirm"
    id="PasswordConfirm" required="yes"
    secret="true" maximumLength="32"
    text="${uix.pageProp.PasswordConfirm}"/>
    </contents>
    </labeledFieldLayout>
    </contents>
    </header>
    </contents>
    </header>
    </contents>
    </bc4j:rootAppModuleScope>
    <spacer height="10"/>
    <!--message indicating how we indicate required fields-->
    <inlineMessage required="yes"
    prompt="${textSource.REQUIRED_FIELD}"/>
    </contents>
    </form>
    </contents>
    <!--the contents of this tag will appear below the page-->
    </myTemplate:xhubTpAdminPageLayout>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <!--event handlers-->
    <handlers>
    <!--This event is called by pressing the submit button-->
    <event name="continue">
    <bc4j:findRootAppModule name="XhubRegAM">
    <method class="oracle.apps.snw.tpadmin.webui.RegistrationHandlers"
    method="register"/>
    </bc4j:findRootAppModule>
    </event>
    <!--This event is called by pressing the Cancel button-->
    <event name="cancel">
    <!-- finding the ApplicationModule causes it to be checked out from the ApplicationPool. It is released after rendering completes. -->
    <bc4j:findRootAppModule name="XhubRegAM">
    <!-- rollback the current transaction -->
    <bc4j:rollback/>
    <!-- forward to the summary page -->
    <go name="main"/>
    </bc4j:findRootAppModule>
    </event>
    <!--the * event is called whenever the page is accessed and no other event is called-->
    <event name="buyorsup">
    <bc4j:findRootAppModule name="XhubRegAM">
    <!--This method sets the context of the page, namely the scope of the country dropdown view object-->
    <method class="oracle.apps.snw.tpadmin.webui.RegistrationHandlers"
    method="isBuyerorSupplier"/>
    </bc4j:findRootAppModule>
    </event>
    <event name="*">
    <bc4j:findRootAppModule name="XhubRegAM">
    <!--This method sets the context of the page, namely the scope of the country dropdown view object-->
    <method class="oracle.apps.snw.tpadmin.webui.RegistrationHandlers"
    method="setContext"/>
    </bc4j:findRootAppModule>
    </event>
    </handlers>
    </page>
    Please suggest if you know of any documentation on ADF UIX partial page rendering.
    ADF UIX has very little documentation online and finding it hard to debug this issue.
    It ll be of great help.
    Thanks
    Kamal

    Hi Jason,
    As of EA9, all rendered components support a partialTriggers attribute. This attribute takes a list of master component IDs. If any of the master components are updated via a partial event, the dependent component will be rerendered in the partial update.
    If you are on an earlier release, you should upgrade.
    Thanks,
    Jeanne

  • ADF-UIX... How to make a page expire

    Dear sirs...
    is it possible to make every page in ADF UIX application expire?
    meaning when i am in page A and go to page B, if i click the browser Back button i would like to get the page expire warning.
    is this possible in JDeveloper 10.1.2.1???
    thanks in advance
    best regards

    Dear sirs...
    is it possible to make every page in ADF UIX application expire?
    meaning when i am in page A and go to page B, if i click the browser Back button i would like to get the page expire warning.
    is this possible in JDeveloper 10.1.2.1???
    thanks in advance
    best regards

  • ADF UIX Messagechoice element with databinding in Search Page

    How can we use the Messagechoice element with databinding in a ADF UIX search page? The Messagechoice element needs both target and destination dataSources and returns the selectedIndex (0,1,2,3....) and not the actual value. Is there a way of retrieving the actual value from the dropdown Messagechoice list in a search page without using the selectedIndex?

    Arvind -
    You can use databinding by using the "childData" attribute in the contents tag. This will stamp out the data bound to childData as the options in the message choice. For example,
    <messageChoice name="myChoice" prompt="Choose a Language">
    <contents childData="${uix.data.data1.lang}">
    <option text="${uix.current.text}"/>
    </contents>
    </messageChoice>
    Matt Lee
    UIX Team

Maybe you are looking for

  • Advice on upgrading to SSD for Mac Pro (optimized for AfterEffects & Photoshop)

    Hello, I'm an animator (I use AfterEffects CS5, but will be upgrading to CC soon) and I'm going to start work on a new AE project in a few months for an animated film that will be very demanding (lots of different shots -- meaning multiple projects,

  • Is it that underpowered?

    I just bought this computer. My old pavillion was giving me fits and the budget was tight, so I chose a bottom of the line machine. I do Microsoft Office, Quickbooks, Family Tree Maker, etc. I don't do any gaming or anything that would require a part

  • Whats the best way to check table before form deletion or update ?

    Hi, I have a func_staff table made up of a composite key - func_no and staff_id. I have a form where the datablock references this table. I need to be able to check that before a func_no and staff_id combination on the form are written to the databas

  • How do I connect a savin C3224 to Mac Book Pro?

    I just purchased a MacBook Pro 10.7.2 this weekend. I am trying to connect it to a Savin C3224 printer. I have downloaded the information from the Savin website but my mac still doesn't show the printer anywhere.  I am usually pretty computer savvy b

  • Clicking the "Preview" checkbox doesn't Auto-Update

    Hello, Been searching for a few days and haven't found anything on this subject.  When using any of the Transform functions and clicking the "preview" checkbox at the bottom to see what your change would look like doesn't auto-update itself.  You hav