Navigation in UIX Sites (Search From, Master Detail ...) should be left

Hello there ...
I have a Problem, like everyone here g
I have some UIX Sites, shown many Data, from Database, so that the width of the site is very great an i can't see the navigation tree. Is there a possibility to get the navigation left, next to the button?! I have this problems in all Lists. I always must scroll to the right end of the page to go to the next results of the shown data from Database.
Look at this picture to see what i mean, ne navigation right, should e next to the "aktualisieren" Button. How can i do this, the element ist not directly in the source code of the page.
http://img206.imageshack.us/img206/3989/navigation6oa.jpg

Hi,
If you have two different regions in your page for master and details and you want to refresh the child table based on your master row selection then you can use the contextual actions. Raise an event whenever you select a row and send your master-table id as the payload. Have a handler method at the detail page and execute some logic to get the rows for the selected master record.
I hope it helps you.
Thanks,
Lakshman

Similar Messages

  • Data Export from Master detail

    Hi All,
    How to export data from master detail region.
    Thanks in advance.
    Regards
    MS

    Hi MS,
    Please use following code
    OAExportBean expBean =(OAExportBean)webBean.findChildRecursive("Export");
    // set the exportDetails for this Master/Detail region.
    expBean.setExportDetails(oaPageContext,"masterRegionName","detailRegionName", "masterVuName", " detailVuName");
    Regards,
    Reetesh Sharma

  • Search on Master Detail form/report

    Hi,
    I noticed that when I created a new application in Apex 4.01 basing the intial page on a Master Detail form/report, I was able to add a search item to the initial page. When I go to add another page with a different Master detail form/report, I did not have any option for adding a search item to the report page. Seems like an oversight?
    I would appreciate any hints as to how to add same search item to my 2nd Master/Detail form/report.
    Thanks,
    Pat

    Me too facing the some problem can some one pls help

  • Download data as excel from master-detail form.

    Hi All,
    I have created master-detail form with two tables(i.e orders and items). how can i import data of specific order into excel using single button click. Can any one help me.
    I am using apex 4.1 version
    Regards,
    Vijay. J

    I have created master detail form. when i click on the button then the would downloaded to excel like below format. when we open the order and click the download button it fetch the line items of that order and display in below format (This like normal invoice form).
    CompanyName
    Bill to Address Shift to address
    Item code qty item price
    1 1 2000
    2 1 3000
    total 50000
    -------------------------------------------------------------------------------------------

  • Connect from master/detail to the oracle workflow diagram viewer possible?

    Hello we are using apex 4 and we have a master/detail form.
    Now we want if you click on the detail on item_key or item_type to redirect to the corresponding diagram in oracle workflow.
    Is this possible if so could you point us in the right direction.
    Thank you.

    Hi Frank,
    Thanks for your reply. In the application I used weblogic JDBC driver for Sybase when it was developed in 11.1.1.1.0 version.
    The following are the extries in bc4j.xcfg file:
    jbo.sql92.JdbcDriverClass="weblogic.jdbc.sybase.SybaseDriver"
    jbo.TypeMapEntries="Java"
    jbo.SQLBuilder="SQL92"
    Now I have changed the JDBC to Sybase jConnect (jconn4.jar) and driver class is com.sybase.jdbc4.jdbc.SybXADataSource and other entries remains the same as it was before.
    Thanks
    Jalil

  • How to disable a button in a uix site dependence from hits of a query?

    I have an uix site based on a query. When this query had no hits i want to disable the edit button. How i can do that in uix?

    Hi,
    I think that ExpressionLanguage would be he way to go.
    Frank

  • Search Page -- master/detail or hide/show??

    Hi Gurus,
    I have a search page, i am doin manual search ie i m passing query criteria dynamically. I have a result table which shows the result.
    Now the requirement is Some orders hvae Notes[ this notes information to be display below the corrosponding order row with some colspan properties ( i mean the notes is stored on multiple column in database)]
    right now i am using table to displaying the result. I am confused how to go forword to implement notes as described above.
    Can anybody pls guide me what exactly i hvae to do next?
    Regards,
    Ram

    Thanks Sumit,
    but the problem is whatever the order have Notes. should be displayed below that order row automatically without user interaction.
    Regardsm
    Ram

  • Master-detail report, hide detail on new search

    Hi, I'm newbie, so I need help. I have Master-detail report on same page. Master is interactive report, detail is SQL report which use hidden item as condition.
    For display detail data I use edit link. But I have problem when I make new search on master, detail still shows the old data.
    Can somebody tell me, how can I hide details , when I make new search on master? Or set hidden item to null, when I make new search?
    Example you can see in http://htmldb.oracle.com/pls/otn/f?p=51834:4 . Login : demo/demo
    Thanks
    Igor
    PS: Sorry on my broken English

    Hi,
    This can be achieved by doing something like the following:
    Have a single SQL statement that joins the two tables together. eg,
    select p.project_title,
    d.project_detail1,
    d.project_detail2,
    etc
    from projects p
    inner join details d on d.project_id = p.project_id
    This will provide a flat table with the project title in the first column for all records.
    Then, in the Report Attributes, you need to switch on Column Breaks:
    In the Break Formatting section, set Breaks to "First Column"
    In the When displaying a break column use this format, enter #project_title#
    In the Identify how you would like your breaks to be displayed, select "Repeat headings on break"
    Finally, clear the "Show" tick for the project_title column
    There's probably something you could do to improve formatting etc, but this should give you a start.
    Regards
    Andy

  • Detail-Disclosure problem with Master- Detail VO

    Hi,
    I have UIX pages based on Master - Detail VO, detail data being shown when you press Detail button on the left, detail data display in the BC4J Table correctly, but I am able to update only the last record of the rowset. when I click on the first master detail and press update button i get Null Pointer Exeception error and other problem is that my detail data has sorted headers, when i click on the sorted column header, it close the Detail portion on the Table.
    Here is UIX page listing, please any one review the code and let me what is wrong
    Thanks
    View Page
    <?xml version="1.0" encoding="windows-1252" ?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns:viewpage="http://www.example.org/siriusbilling/templates">
    <ctrl:head xmlns="http://www.w3.org/TR/REC-html40">
    <title>View Properties</title>
    </ctrl:head>
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="templates/SiriusBilling.uit"/>
    </templates>
    <bc4j:registryDef>
    <bc4j:rootAppModuleDef name="PropertiesForeignKeyLink1AppModule"
    definition="siriusbilling.SiriusBCModule"
    releaseMode="stateful" >
    <bc4j:viewObjectDef name="PropertyTypesMasterView"
    rangeSize="2" />
    <bc4j:viewObjectDef name="PropertiesDetailView"
    rangeSize="5" />
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <ctrl:content xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <viewpage:siriusPageLayout>
    <pageHeader>
    <globalHeader selectedIndex="0">
    <contents>
    <link text="View Properties" />
    </contents>
    </globalHeader >
    </pageHeader>
    <contents>
    <try xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui" >
    <catch>
    <displayException />
    </catch>
    <contents>
    <!-- this will contain any validation errors after form
    submission -->
    <messageBox automatic="true" />
    <bc4j:rootAppModuleScope name="PropertiesForeignKeyLink1AppModule" >
    <contents>
    <header text="Properties Search" >
    <contents>
    <form name="search" method="POST" >
    <contents>
    <inlineMessage prompt="Search by:" vAlign="middle" >
    <contents>
    <bc4j:viewObjectScope name="PropertiesDetailView" >
    <contents>
    <flowLayout>
    <contents>
    <choice name="attrName"
    data:selectedValue="attrName@ctrl:page"
    shortDesc="Search Column">
    <contents>
    <option text="Property Id" value="PropertyId" />
    <option text="Property Name" value="PropertyName" />
    <option text="Property Description" value="PropertyDescription" />
    <option text="Unit Of Measure" value="UnitOfMeasure" />
    </contents>
    </choice>
    <textInput prompt="Criteria" name="attrValue" columns="20"
    data:text="attrValue@ctrl:page"
    shortDesc="Search Criteria for Propeties"/>
    </contents>
    </flowLayout>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    <end>
    <submitButton text="Go" ctrl:event="search" />
    </end>
    </inlineMessage>
    </contents>
    </form>
    </contents>
    </header>
    <spacer width="10"/>
    <separator />
    <header text="Property Types" >
    <contents>
    <form name="viewForm" method="POST" >
    <contents>
    <bc4j:viewObjectScope name="PropertyTypesMasterView" >
    <contents>
    <bc4j:table name="viewPropertyTypeTable" automatic="false"
    width="100%" alternateText="No rows found"
    formSubmitted="true"
    partialRenderMode="self"
    data:detailDisclosure="tableDetails@ctrl:eventResult">
    <!-- the key identifying the current row in the table -->
    <bc4j:keyStamp>
    <bc4j:rowKey name="key" />
    </bc4j:keyStamp>
    <contents>
    <!-- placing the region in automatic mode will cause the key
    named child to be rendered, followed by each attribute
    in the ViewObject using the attrStamp named child. -->
    <!-- A bc4j:column element is added for each attribute
    in the ViewObject. -->
    <bc4j:column attrName="PropertyType">
    <columnHeader>
    <bc4j:sortableHeader text="Property Type"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="TableName">
    <columnHeader>
    <bc4j:sortableHeader text="Table Name"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="Comments" >
    <columnHeader>
    Comments
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    </contents>
    <detail>
    <flowLayout>
    <contents>
    <header text="Properties Detail">
    <contents>
    <spacer width="10"/>
    <bc4j:viewObjectScope name="PropertiesDetailView" >
    <contents>
    <!-- placing the table in automatic mode will cause the table
    to contain the keyStamp named child followed by the
    columnStamp named child for each attribute in the
    ViewObject. -->
    <bc4j:table name="viewTable" automatic="false"
    width="100%" alternateText="No rows found"
    formSubmitted="true"
    partialRenderMode="self">
    <tableSelection>
    <!-- single selection for each row in the table -->
    <singleSelection selectedIndex="0" text="Select Row and ...">
    <contents>
    <submitButton text="Create" ctrl:event="create" />
    <!-- the update button causes the currently selected
    row to be sent to the update page -->
    <submitButton text="Update"
    ctrl:event="update" />
    <!-- the delete button causes the currently selected
    row to be removed -->
    <submitButton text="Delete"
    ctrl:event="delete" />
    </contents>
    </singleSelection>
    </tableSelection>
    <!-- the key identifying the current row in the table -->
    <bc4j:keyStamp>
    <bc4j:rowKey name="key" />
    </bc4j:keyStamp>
    <contents>
    <!-- A bc4j:column element is added for each attribute
    in the ViewObject. -->
    <bc4j:column attrName="PropertyId">
    <columnHeader>
    <bc4j:sortableHeader text="Property Id"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="PropertyName">
    <columnHeader>
    <bc4j:sortableHeader text="Property Name"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="PropertyDescription">
    <columnHeader>
    <bc4j:sortableHeader text="Property Description"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="UnitOfMeasure">
    <columnHeader>
    <bc4j:sortableHeader text="Unit of Measure"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    </contents>
    </bc4j:table>
    </contents>
    </bc4j:viewObjectScope>
    <formValue name="disclosed" value="true" />
    </contents>
    </header>
    </contents>
    </flowLayout>
    </detail>
    </bc4j:table>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    </form>
    </contents>
    </header>
    </contents>
    </bc4j:rootAppModuleScope>
    </contents>
    </try>
    </contents>
    </viewpage:siriusPageLayout>
    </ctrl:content>
    <handlers>
    <event name="search" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- search for the view criteria -->
    <bc4j:findByExample>
    <bc4j:exampleRow ignoreCase="true" >
    <bc4j:exampleAttribute>
    <bc4j:nameBinding><bc4j:parameter name="attrName" /></bc4j:nameBinding>
    <bc4j:valueBinding><bc4j:parameter name="attrValue" /></bc4j:valueBinding>
    </bc4j:exampleAttribute>
    </bc4j:exampleRow>
    </bc4j:findByExample>
    <bc4j:executeQuery/>
    <!-- store the current search criteria as page properties -->
    <bc4j:setPageProperty name="attrName" >
    <bc4j:parameter name="attrName" />
    </bc4j:setPageProperty>
    <bc4j:setPageProperty name="attrValue" >
    <bc4j:parameter name="attrValue" />
    </bc4j:setPageProperty>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="first" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the first department -->
    <bc4j:first/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="previous" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the previous department -->
    <bc4j:previous/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="next" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the next department -->
    <bc4j:next/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="last" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the last department -->
    <bc4j:last/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="sort" source="viewTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- sort by the submitted attribute name -->
    <bc4j:sort/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="sort" source="viewPropertyTypeTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- sort by the submitted attribute name -->
    <bc4j:sort/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="goto" source="viewPropertyTypeTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the submitted range -->
    <bc4j:goto/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="goto" source="viewTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- navigate to the submitted range -->
    <bc4j:goto/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="create" >
    <!-- forward to the create page -->
    <ctrl:go name="InsertProperties" redirect="true" />
    </event>
    <event name="update" >
    <!-- forward to the update page, passing the selected key
    as a page property -->
    <ctrl:go name="UpdateProperties" redirect="true" >
    <ctrl:property name="key" >
    <ctrl:selection name="viewTable" key="key" />
    </ctrl:property>
    </ctrl:go>
    </event>
    <event name="delete" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- find the selected Row -->
    <bc4j:findRowByKey>
    <bc4j:keyBinding>
    <bc4j:selectionKey name="viewTable" key="key" />
    </bc4j:keyBinding>
    <bc4j:handlers>
    <!-- remove the selected ViewObject row -->
    <bc4j:removeRow />
    <!-- execute the query to eliminate dead row access -->
    <bc4j:executeQuery/>
    </bc4j:handlers>
    </bc4j:findRowByKey>
    </bc4j:findViewObject>
    <!-- commit the transaction, forwards to self automatically -->
    <bc4j:commit/>
    </bc4j:findRootAppModule>
    </event>
    <event name="show">
    <method class="servlet.showDetails" method="doHideShowEvent" />
    </event>
    <event name="hide">
    <method class="servlet.showDetails" method="doHideShowEvent" />
    </event>
    </handlers>
    </page>
    Update View
    <?xml version="1.0" encoding="windows-1252" ?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns:updatepage="http://www.example.org/siriusbilling/templates">
    <ctrl:head xmlns="http://www.w3.org/TR/REC-html40">
    <title>Update Properties</title>
    </ctrl:head>
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="templates/SiriusBilling.uit"/>
    </templates>
    <bc4j:registryDef>
    <bc4j:rootAppModuleDef name="PropertiesForeignKeyLink1AppModule"
    definition="siriusbilling.SiriusBCModule"
    releaseMode="stateful" >
    <bc4j:viewObjectDef name="PropertiesDetailView" >
    <bc4j:rowDef name="UpdatePropertiesDetailView" autoCreate="false" usesCurrency="true">
    <bc4j:propertyKey name="key" />
    </bc4j:rowDef>
    </bc4j:viewObjectDef>
    <!-- Display only 20 rows -->
    <bc4j:viewObjectDef name="PropertyTypesView" rangeSize="20" >
    <bc4j:rowDef name="UpdatePropertyTypesView" autoCreate="false">
    <bc4j:propertyKey name="key" />
    </bc4j:rowDef>
    </bc4j:viewObjectDef>
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <ctrl:content xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <updatepage:siriusPageLayout>
    <pageHeader>
    <globalHeader selectedIndex="0">
    <contents>
    <link text="Update Property" />
    </contents>
    </globalHeader >
    </pageHeader>
    <contents>
    <try xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui" >
    <catch>
    <displayException />
    </catch>
    <contents>
    <switcher childName="default">
    <boundAttribute name="childName">
    <if>
    <comparison type="equals">
    <dataObject select="key" source="ctrl:page"/>
    <dataObject source="ui:null"/>
    </comparison>
    <fixed text="error"/>
    </if>
    </boundAttribute>
    <case name="error">
    <header text="Required page property 'Property Type' missing. Cannot display page."/>
    </case>
    <case name="default">
    <flowLayout>
    <contents>
    <!-- this will contain any validation errors after form
    submission -->
    <messageBox automatic="true" />
    <script>
    <contents>
    function UOMLovCallBack(lovwin, event)
    var value = lovwin.returnUOMValue;
    if (value!=(void 0))
    document.updateForm.UnitOfMeasure.value = lovwin.returnUOMValue;
    </contents>
    </script>
    <form name="updateForm" method="POST" >
    <contents>
    <!-- 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" />
    <!-- layout the fields in two columns -->
    <spacer width="10"/>
    <tableLayout width="80%"
    cellPadding="2"
    hAlign="center">
    <contents>
    <bc4j:rootAppModuleScope name="PropertiesForeignKeyLink1AppModule" >
    <contents>
    <bc4j:viewObjectScope name="PropertiesDetailView" >
    <contents>
    <bc4j:rowScope name="UpdatePropertiesDetailView" >
    <contents>
    <bc4j:messageChoice prompt="Property Type" attrName="PropertyType" name="PropertyType">
    <contents>
    <bc4j:optionList voName="PropertyTypesView" attrName="PropertyType" textAttributeName="PropertyType" size="30"/>
    </contents>
    </bc4j:messageChoice>
    <bc4j:messageInput prompt="Property Id" vAlign="left" attrName="PropertyId" size="30"/>
    <bc4j:messageInput prompt="Property Name" attrName="PropertyName" size="30"/>
    <bc4j:messageInput prompt="Property Description" attrName="PropertyDescription" size="30" />
    <bc4j:messageLovField prompt="Unit Of Measure"
    attrName="UnitOfMeasure"
    name="UnitOfMeasure"
    onClick="openWindow(window,
    'UOMLov.uix',
    'lovwin',
    {width:480, height:300},
    true,
    'dialog',
    UOMLovCallBack);
    return false;" />
    </contents>
    </bc4j:rowScope>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    </bc4j:rootAppModuleScope>
    </contents>
    </tableLayout>
    </contents>
    </form>
    </contents>
    <contents>
    <contentFooter>
    <contents>
    <html:center>
    <!-- place a row of buttons below the content -->
    <pageButtonBar>
    <contents>
    <!-- the cancel button performs a transaction rollback -->
    <button text="Cancel" ctrl:event="cancel" />
    <!-- the update button submits the user-entered
    form data -->
    <submitButton text="Update" formName="updateForm"
    ctrl:event="apply" />
    </contents>
    </pageButtonBar>
    </html:center>
    </contents>
    </contentFooter>
    </contents>
    </flowLayout>
    </case>
    </switcher>
    </contents>
    </try>
    </contents>
    </updatepage:siriusPageLayout>
    </ctrl:content>
    <handlers>
    <event name="cancel" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- rollback the current transaction -->
    <bc4j:rollback/>
    <!-- forward to the summary page -->
    <ctrl:go name="ViewProperties" redirect="true" />
    </bc4j:findRootAppModule>
    </event>
    <event name="apply" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- find the row by key, falling back on a new default
    row if the key is not found -->
    <bc4j:findRow name="UpdatePropertiesDetailView" >
    <!-- set each attribute explicitly -->
    <bc4j:setAttribute name="PropertyId" />
    <bc4j:setAttribute name="PropertyType" />
    <bc4j:setAttribute name="PropertyName" />
    <bc4j:setAttribute name="PropertyDescription" />
    <bc4j:setAttribute name="UnitOfMeasure" />
    <!-- commit the transaction -->
    <bc4j:commit/>
    <bc4j:executeQuery/>
    <!-- forward to the summary page -->
    <ctrl:go name="ViewProperties" redirect="true" />
    </bc4j:findRow>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    </handlers>
    </page>

    I think the detailDisclosure state needs to be saved and retrieved from the session.
    I'm not sure using a table with singleSelection inside a detail disclosure is supported. Are you doing master-detail inside of detail disclosure? Detail disclosure is not really meant for that. In jdev 10g preview we make hooking up a master-detail easy. Here's a link to some doc about it.
    http://otn.oracle.com/products/jdev/collateral/tutorials/9050/adfuix_tut.html#Create%20a%20Master-Detail%20page

  • Master - detail

    Hi all,
    I did search for master detail posts, but didn't find what I was looking for. So if you feel that this has been answered a long time ago...don't hesitate to point me to those posts :-)
    This is for a home-project so...no pressure, but I can't get it working so .... here is it :
    In a web application (JSF 1.2) (visual java server faces)
    I have a table with master data :
    content.jsp
    <webuijsf:table augmentTitle="false" binding="#{content.content_tb}" id="content_tb" style="left: 24px; top: 96px; position: absolute; width: 0px" title="Table" width="1100">
        <webuijsf:tableRowGroup binding="#{content.content_rg}" id="content_rg" rows="10" sourceData="#{content.contentDataProvider}" sourceVar="currentRow">
            <webuijsf:tableColumn headerText="id" id="tableColumn1" sort="content.id" width="100">
                <webuijsf:hyperlink actionExpression="#{content.content_id_hl_action}" id="content_id_hl" text="#{currentRow.value['content.id']}"/>
            </webuijsf:tableColumn>
            <webuijsf:tableColumn headerText="naam" id="tableColumn2" sort="content.naam" width="100">
                <webuijsf:textField id="textField1" text="#{currentRow.value['content.naam']}"/>
            </webuijsf:tableColumn>
            <webuijsf:tableColumn headerText="categories" id="tableColumn3" width="100">
                <webuijsf:dropDown binding="#{content.dropDown1}" converter="#{content.dropDown1Converter}" id="dropDown1" items="#{content.categoriesDataProvider.options['categories.id,categories.naam']}" selected="#{currentRow.value['content.categories_id']}"/>
            </webuijsf:tableColumn>
    ...As you can see the first column in this table is the ID column which is a hyperlink.
    This hyperlink links to a detail page in which one can do updating to the content.
    The better part of this detail page is :
    Update.jsp
    <webuijsf:form id="form1">
        <webuijsf:hyperlink actionExpression="#{update_content.comasy_admin_hl_action}" id="comasy_admin_hl" style="left: 24px; top: 24px; position: absolute" text="Comasy_admin"/>
        <webuijsf:hyperlink actionExpression="#{update_content.content_hl_action}" id="content_hl" style="left: 120px; top: 24px; position: absolute" text="Content"/>
        <webuijsf:label id="label1" style="left: 24px; top: 0px; position: absolute" text="Comasy-admin"/>
        <webuijsf:button id="apply_bt" style="left: 23px; top: 48px; position: absolute" text="Apply"/>
        <webuijsf:label id="label2" style="left: 24px; top: 72px; position: absolute" text="Title"/>
        <webuijsf:textField id="title_tf" style="left: 120px; top: 72px; position: absolute" text="???????????????????????"/>
        <webuijsf:messageGroup id="messageGroup1" style="left: 408px; top: 24px; position: absolute"/>
    </webuijsf:form>
    ...My problem is now at the place where the ???? are.
    I want the textfield (title_tf) to be populated with the value which is in the cachedrowsetdataprovider for the particular row I clicked the hyperlink on.
    Do you have any idea what value expression I should use?
    I was thinking myself something like :
    "#{content.contentDataProvider.????????????}"
    Can someone point me into the rigth direction
    Best regards
    Martijn

    I solved the problem myself YIHAAA.
    Probably not the smartest way to solve it, but hey..it works and...I've got to learn somehow.
    In the end I didn't use value expressions (which I still think would be a more beautifull solution).
    When clicking the command_link I fill a proporty of the sessionbean whith the rowkey of the selected row. When JSF has navigated me to the detailpage I retrieve the value from the sessionbean. With the retrieved rowkey I can fill the other neccesary fileds in the detailpage in the _init() from the backing bean of the detail page:
    Master page conatains the following (action for the command_link):
    public String content_id_hl_action() {
            getSessionBean1().setContent4update(content_rg.getRowKey());
            return "case3";
        }detail page contains:
    private void _init() throws Exception {
            crsdp.setCachedRowSet((javax.sql.rowset.CachedRowSet) getValue("#{SessionBean1.contentRowSet}"));
            title_tf.setValue(crsdp.getValue("naam", getSessionBean1().getContent4update()));
            body_ta.setText(crsdp.getValue("body", getSessionBean1().getContent4update()));
        }thanx for thinking with me
    Regards Martijn

  • Master/detail issue

    I have a tricky if convoluted implementation issue and hope you can assist with resolution.
    I have a form with a master/detail relationship.
    The master block has a primary key called master_id and the detail block has three foreign keys (caller_id, requested_id and responder_id) that the primary key master_id must map to.
    master table (master block)
    master_id varchar2(4);
    detail table (detail block)
    caller_id varchar2(4)
    constraint fk_callnum foreign key (caller_id) references master(master_id),
    requested_id varchar2(4)
    constraint fk_reqnum foreign key (requested_id) references master(master_id),
    caller_id varchar2(4)
    constraint fk_resnum foreign key (responder_id) references master(master_id)
    I know it is poorly designed. They do not want to redesign.
    This is the process flow.
    A physician calls our office to speak with another physician in our office, an operator searches the master block with the caller's(physician's) name and area he/she is calling from. If information about that caller exists on the master block, it is displayed on the master block.
    The operator then takes the master_id of the caller and enters in it on the caller_id box of the detail block.
    The operator then goes back to the master block and does a search of the name of the person the caller wants to speak to. If information about the requested physician exists, his/her id is entered on the requested_id box in the detail block. If contact is made with that physician, or with someone from his/her office, then the requested_id also becomes the responder_id. If the physician being asked for is not available and no one in his/her office is available to take the call, then the call is redirected to another office. In this case, the responder_id is different from the requested_id. Again, information about the office the call was redirected to will have to be searched for in the master block.
    Now if I have not already confused you, here is where problem comes in for us.
    The client has complained that they are duplicating their efforts. They want the information displayed on the master block whether it matches caller_id, or requested_id or responder_id of the detail block to be automatically be populated on the detail block. They only want to type the info on the master block and have their result be displayed on both blocks.
    They have therefore asked us to do two things:
    1, once you do a search for a caller, if there is information available about that caller, display that information not only on the master block but also populate the caller_id row in the detail block with information relevant ONLY to the caller_id automatically.
    If you do a search about requested_id, display that information on both the master block and detail block; same with responder_id.
    How can this be implemented. If possible, sample syntax.
    I grappled with this syntax:
    select col1..coln
    into :detail.col1..:detail.coln
    from master, detail
    where ( master.master_id = detail.caller_id -- the physician that called
    or master.master_id = detail.requested_id -- the person being asked for
    or master.master_id = detail.responder_id) -- the person who responded to the call
    and master.master_id = :master.master_id;
    As you can see, this can only display records in the detail block only. I need records
    displayed on both blocks. Any help/suggestions will be greatly appreciated.
    I can clarify further if need be.

    Ok, I'm not sure if this syntax will work but it might give you an idea to build on. I'm assuming that each of the ids are stored in different base tables.
    Get rid of the master detail relationship.
    Give the master_id field a LOV to enable searching.
    The basic functionality to populate the detail section would be:
    IF caller_id IS NULL AND request_id IS NULL AND respond_id IS NULL THEN
    :detail.caller_id := :master.master_id;
    execute_query;
    IF caller_id IS NOT NULL AND request_id IS NULL AND respond_id IS NULL THEN
    :detail.request_id := :master.master_id;
    execute_query;
    IF caller_id IS NOT NULL AND request_id IS NOT NULL AND respond_id IS NULL THEN
    :detail.respond_id := :master.master_id;
    execute_query;
    END IF;
    You may have to put each of the 3 detail fields in their own data block to get this to work. Something to work from anyway.

  • Sql in master detail form

    I am interested in the sql used by masterdetail oracle forms.
    Suppose you don't have any crietriea then we can do just
    masterblock=select * from master
    detailblock=select * from detail
    if there are crietrieas then
    how does it uses the sql in detail query
    like below or not
    masterblock=select * from master where ..=..
    detailblock=select detail.* from master,detail where master.fld=detail.fld and master..=..

    If you look at the Copy Value from Item property of the items or items in the detail block that are specified in the join condition of the relation, you'll see that the value is copied from the master block. This creates the where condition in the query.
    If you look at :system.last_query (you can programatically message it out or display it in a text item), you'll see something like:
    SELECT ROWID,ORDER_ID,LINE_ITEM_ID,PRODUCT_ID,UNIT_PRICE,QUANTITY FROM order_items WHERE (ORDER_ID=2354) order by line_item_id
    In this particular case, the "(ORDER_ID=2354)" came from the Copy Value from Item property for the ORDER_ID item in the ORDER_ITEMS (detail) block, and the "order by line_item_id" came from the ORDER BY Clause property for the ORDER_ITEMS block.

  • Master/Detail Viewer Application in Web Dynpro ABAP

    Hello @ll,
    i search a Master/Detail Viewer Application in Web Dynpro ABAP like this in WEB Dynpro Java (show below).
    http://help.sap.com/saphelp_nw04/helpdata/en/84/8bc1a36a38da41a46517b114ca0974/frameset.htm
    Have anyone a tutorial or can help how i config the event "onLeadSelect".
    I create a master- and detail table done all context mapping.
    Thanks in advance
    regards
    armin

    Hi Armin,
    Please go through
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7a89b067-0801-0010-8192-a9896a60938e?quicklink=index&overridelayout=true
    Thanks,
    Prahsant

  • Master Detail FK Problem

    I have created a Master/Detail set of pages. Using just the wizard. This is the option that creates 3 pages:
    1-Master Page
    2-Master Page detail, show a summary of the detail page
    3-Form for detail
    The data is being added to the database but the Master Page foreign key (master table fk) is not populating at all. I can see the data in the table, but the FK that points back to the Master table is blank.
    Having a real problem with this, please advise.

    Steve,
    Firstly, good luck for Gustav, keep your head down and hope it doesn't hit too hard. I was just in New Orleans for ODTUG and obviously would hate to see you guys go through something like that again.
    Secondly, I was just looking through the patch notes for Apex 3.1.2, and spotted these bugs had been fixed -
    6999393 - Master Detail Wizard creates processes with incorrect sequence
    7013435 - MRU process in Create Application Wizard-generated master detail not working correctly
    7016267 - 3 page Master Detail should not allow edit of Foreign Key Field on Detail PageI'm not sure if any of them directly related to your problem, but it could be worth looking them up in Metalink (those are the Bug numbers) to see if they are, or alternatively do the upgrade and see if it fixes your problem.
    John.
    http://jes.blogs.shellprompt.net
    http://www.apex-evangelists.com

  • UIX Master-Detail search criteria

    When dropping a data control, Drag and Drop As Master-Detail, into a UIX page it wires up search inputs for Master data attributes only. Is it possible to include or define search inputs for detail data attributes? If so, please can you show me how to do it and provide an example if possible?

    what do you mean by
    " it wires up search inputs for Master data attributes only"?
    No search form inputs are created by default when you drag'n'drop a master-detail widget.

Maybe you are looking for