Bug : af:Table af:commandButton

Hello
I ‘ve create a new application (JSF + BC).
In it I have one view object with a SQL statement of :
Select * from Employees.
There are two jsp pages “Untitled1.jsp” and “Untitled2.jsp”
Untitled1 contains a commandbutton. When this button is clicked Untitled2 is opened. (navigation rule of success)
Untitled2 contains an Adf ReadOnlyTable from the view object. When the submit button in the table is clicked Untitled1 is opened (navigation rule of success)
If I run the application, click on the command button in Untitled1, Untitled2 is displayed and the table contains the first 10 rows. I select 1 of these rows, click the submit button and Untitled1 is opened.
The problem is when I use the option Next10 or the list of values to navigate the table.
If I use either of these then I need to click the submit button twice to be returned to Untitled1. In other words: I click on the command button in Untitled1, Untitled2 is displayed and the table contains the first 10 rows. I click on Next 10 and then select 1 of the displayed rows. When I click the submit button nothing happens Untitled1 is NOT displayed. I have to re-click the submit button to return to Untitled1.
Is this a known bug ?
Can anybody else reproduce it ?
Is there a work around ?
This is a very simply application with nothing fancy – so I can’t see where the problem is.
Many thanks
Paul

Hi, even I am getting the same issue after enabling the duplicate button on the fnd:ApplicationsTable. Were you able to resolve the issue? I also noticed that apart from the fact that the extra button doesn't appear after a page refresh, it does not even occur in chrome and IE browsers.

Similar Messages

  • Is this a bug in table operator

    I have an Oracle function that is invoked by the select statement as follow:
    select count(*)
    into i
    from table(
    select depts -- depts is a varray of dept_obj
    from table(company_package.f_getCompany(k))
    the function f_getCompany(k) gets invoked twice.
    but if I change the SQL to
    select depts
    into dept_array
    from table(company_package.f_getCompany(k));
    then function f_getCompany(k) will be invoked just once.
    Is this a bug within Oracle ? How can I get around that, I just want the function execute ONCE.
    Any help would be appricated.
    Thanks
    Here are the rest of the code
    create or replace type company_obj as object
    company_id number,
    company_name varchar2(20),
    depts dept_arr
    CREATE OR REPLACE
    type company_arr is VARRAY(10000) of company_obj;
    create or replace type dept_obj as object
    dept_id number,
    dept_name varchar2(30)
    CREATE OR REPLACE
    type dept_arr is VARRAY(10000) of dept_obj;
    create or replace package company_package is
    number_of_times int := 0;
    function f_getCompany(company_id number) return company_arr;
    end company_package;
    create or replace package body company_package is
    function f_getCompany(company_id number) return company_arr is
    comp_array company_arr;
    comp_object company_obj;
    dept_array dept_arr;
    dept_object dept_obj;
    begin
    dept_object := dept_obj(100, 'Dept 1');
    dept_array := dept_arr();
    dept_array.extend;
    dept_array(1) := dept_object;
    dept_object := dept_obj(110, 'Dept 2');
    dept_array.extend;
    dept_array(2) := dept_object;
    comp_object := company_obj(1, 'Company A', dept_array);
    comp_array := company_arr();
    comp_array.extend;
    comp_array(1) := comp_object;
    number_of_times := number_of_times + 1;
    dbms_output.put_line('number of times = ' || number_of_times);
    return comp_array;
    end;
    end company_package;
    ----------------------------------------------------------------------------------------------------

    I noticed that myself in our project.
    Our varchars2 are defined as VARCHAR2(xxx CHAR) - OWB puts the size*4
    In fact if you have special characters like umlauts (ü,ä,ö,...) it will use 4 bytes per character.
    You can try it yourself. Define a Varchar2(1 CHAR) and manually change the size of the Column in your mapping inside OWB (in filters, joins or your target table).
    Then shoot an umlaut through the mapping and will end up with a "too small" error.
    Dont mind the size*4 issue - we totally ignored it and run without error since 4 years now.

  • Bug:  HTML table row with id on design mode does not display properly

    JDeveloper studio edition version 10.1.3.3.0.4157
    Created a very simple JSP file, which has a table of 3 rows, 3 columns.
    Added id attr to second row, JDeveloper does not recognize the row in Design mode. See sample code below.
    <html>
    <head>
    <title>JDeveloper JSP Design Mode tr with ID</title>
    </head>
    <body>
    <table cellspacing="0" cellpadding="5" border="1" width="300">
    <tr><td>1</td><td>2</td><td>3</td></tr>
    <tr id="row2"><td>4</td><td>5</td><td>6</td></tr>
    <tr><td>7</td><td>8</td><td>9</td></tr>
    </table>
    </body>
    </html>

    Thanks for your quick response.
    I will post another bug. Please check.
    thanks!

  • EA1: BUG: View Table Data: Filter gets lost when switching tabs

    Hi,
    open a table, choose the data tab and enter a filter condition. The data is filtered.
    Bug is
    a) choose e.g. constraint tab for the same table and then again the data tab. Data remains filtered, but filter is not displayed
    b) pin the table, open another table, navigate back to the previous table. Data remains filtered, but filter is not displayed.
    Regards
    Stephan

    The issue was reported already and will probably be fixed in EA2...
    Regards,
    K.

  • Bug in table selection popup

    Hi,
    I'm trying to create a "report with links to form on a table". After selecting the table/view owner you can select the table/view name from a popup. This popup doesn't work. I get a 404 page not found and in the error log from the http server:
    [Fri Jun 18 08:58:07 2004] [error] [client xxx.xxx.xxx.xxx] [ecid: 1087541887:xxx.xxx.xxx.xxx:2944:2336:817,0] mod_plsql: /pls/htmldb/FLOWS_010500.wwv_flow_utilities.gen_popup_list HTTP-404
    FLOWS_010500.wwv_flow_utilities.gen_popup_list: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE:
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM: P_LOV_CHECKSUM
    This seems like a bug to me.

    "358474",
    Thanks for reporting that. You might be able to use a different browser as a workaround. Please see 1056's response to 412374 about this: Re: Bug? Getting Error 404 in Wizards
    57434

  • BUG - Offline Table Import/Reconcile Issue

    JDeveloper 10.1.3.3.0
    Windows
    After performing an offline table import on tables with indexes, the alter/manual reconcile feature will show the indexes as changed even if they have not been. Even after performing a refresh on the table, the index will still show as changed in the reconcile.

    Hi,
    Yes, this seems like a JDeveloper bug, I have filed bug 5048694 for the issue, I think the default value is too complicated for our validation to handle.
    When I tried yo recreate your issue using your column example above, I received 'ORA-01843: not a valid month' error, have you any idea what is wrong with it, or could you post your CREATE TABLE SQL for that Table.
    Regards,
    Lisa
    JDev QA

  • Preview bug regarding Table of Contents and Annotations

    I'm involved in a paperless pilot project and am having a difficult time circumventing an issue in Preview.
    I'm re-formatting material for executive meetings from WordPerfect, Word, Excel and PowerPoint into bookmarked PDF format in Adobe Acrobat Pro X. When they are opened in Preview by senior management on MacBook Airs, the Table of Contents links everywhere correctly. However, the moment they add an annotation (in this case, notes), the table of contents is thrown one page off, regardless of their place in the document. Even after removing the note, the table of contents does not revert to the proper place. I'm assuming this occurs because the annotation throws off the markers from the imported bookmarks.
    Using Acrobat Reader on the Airs isn't an option since annotations aren't possible. We are also really trying to keep production of the PDFs limited to Acrobat Pro to ensure cross-platform compatibility of the Table of Contents.
    Has anyone else encountered these issues? Is there a potential workaround?

    A lightweight alternative to Acrobat Pro for creating a TOC is PDFOutliner ($5 on the Mac App Store.) Adding annotations later to the PDF does not affect the TOC generated by PDFOutliner.
    Note: I am the developer of PDFOutliner.

  • InDesign CS5.5 to CS6 bug involving Tables

    Hello
    I am having issues when editing files that were created in InDesign CS5.5 with CS6, most specifically with Tables.
    When I open a file created in CS5.5 with CS6 some of the tables are corrupted. When I try to edit the content in the corrupt tables or even resize the text frame, the table and all content below become overset. Even adding a single character causes overset. (the text frame and table cells are large enough to accommodate the changes)
    I can edit the file in CS5.5 without any issues.
    Saving the file as .idml doesn't fix the problem. When I do this and open the .idml in CS6 the corrupted tables have already shifted and caused an overset before I make any edits.  
    I've also tried:
    - deleting all paragraph, character, and table styles
    - pasting the content into a new file
    The only way that fixed the problem was merging the table rows, but with the content we have this is definitely not ideal. The file is a multi page application form and we have more than one hundred similar files.
    Any guidance on this would be greatly appreciated.
    -kvan

    With every version there are changes to the text engine that affect composition. When you open a legacy file the changes are not made until you touch the text in some way. When you open a .idml file the changes are made at opening.

  • Bug in the table selection size

    An annoying bug in Table controls (LV 8.5/Windows XP/ MacOS 10.5)
    When dealing with whole rows/colums (click in the row/column header), the Table Selection Size is always wrong :
    when columns are selected, the overall table size is returned,
    when rows are selected, the right row number is returned, but the column number is set to 1 !..
    The attached vi shows the problem.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Table select bug.vi ‏17 KB

    Since this bug was a showstopper for my application, I spent some time trying to find a workaround...
    Found one by accident. I don't understand why it works : it should not do anything :
    Detect a mouseUp event in the row/column headers, then read the Selection start position and write it back in the... Selection start position (ie : do nothing) ! That's enough to get the right value out of the Selection size...
    The attached vi illustrate the above story.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Table select bug.vi ‏28 KB

  • PPR using af:commandButton's and af:table

    I am testing PPR functionality using an af:commandButton (setting PartialSubmit to true and giving the control an id value) to update an af:outputText (setting the PartialTriggers property to the id of the af:commandButton ) and I have no problem doing this.
    However, I am now testing the functionality by trying to use an af:commandButton that is embedded within each row of an af:table (so if my af:table has 5 rows, the af:commandButton will be displayed 5 times). My af:outputText now will not update based on my clicking the af:commandButton.
    Has any body tried to do this?
    Is what I want to do even possible?
    Any help would be appreciated.

    In case anyone wants to do this, here is the solution...
    1. Make sure the af:table containing the af:commandButton has its id set.
    2. Set the PartialSubmit property for the af:commandButton to true.
    3. Set the PartialTriggers property for the af:outputText to the following
    <table id>:<commandButton id>
    For example, if the id of the af:table is myTable and the id for the af:commandButton is myButton, then the PartialTrigger property for the af:outputText should be set to...
    myTable:myButton
    I hope that helps.

  • Lot of bugs & Crash labview 2012 SP1 in Table control

     Run applied vi.
    We see lot of bugs in Table control. I fixed some on the right table, but not all. 
    How fix other?
    Thanks in advance, Alex.
    Attachments:
    NI_BugReport_in_Table.vi ‏30 KB

    The attached modification includes a workaround for the ctrl+z bug on the Data Mixer (Not Table).  It basically keeps a history of your deleted headers and adds them back in when the user types ctrl+z.  Not the most elegant solution, but gives you an example of what you can do to work around it.
    You could clean it up by using functional globals instead of shift registers.
    www.movimed.com - Custom Imaging Solutions
    Attachments:
    NI_BugReport_in_Table (Modified).vi ‏49 KB

  • Get selected row from af:table in backing bean

    Hi Experts,
    I have an af:table and i have seelctBoolean check box in that. If the user select 'x' nos of check boxes i want to display the row data of those selected rows. Can somebody help me in getting the selected row data in backing bean?
    I am using adf faces and backing bean.
    JSF Code:
    <af:table value="#{demo.partyList}" var="row"
    rowBandingInterval="0" binding="#{demo.t1}" id="t21"
    rowSelection="multiple">
    <af:column>
    <af:selectBooleanCheckbox text="#{row.person_first_name}"
    label="Label 1" id="sbc1"
    />
    </af:column>
    <af:column>
    <af:inputText value="#{row.emirate}"/>
    </af:column>
    </af:table>
    <af:commandButton action="#{demo.print}" text="Print"/>
    BB Code:
    public void print(){
    // what code to write here
    }

    This is the code
    JSF ::
    <af:table value="#{createOpportunity.dataList}" var="row"
    rowBandingInterval="0" binding="#{demo.t1}" id="t21">
    <af:column headerText="Model">
    <af:selectBooleanCheckbox text="#{row.modelRange}"
    label="Label 1" id="sbc1" value="#{row.selected}"/>
    </af:column>
    <af:column headerText="Description">
    <af:outputText value="#{row.description}"/>
    </af:column>
    <af:column>
    <af:inputText value="#{row.quantity}"/>
    </af:column>
    </af:table>
    <af:commandButton action="#{createOpportunity.print}" text="Print"/>
    Backing bean Code::
    public void print () {
    selectedDataList = new ArrayList<ModelDescription>();
    for (ModelDescription dataItem : dataList) {
    if (dataItem.isSelected()) {
    System.out.println(dataItem.getQuantity());
    selectedDataList.add(dataItem);
    // dataItem.setSelected(false); // Reset.
    Clicking on the print button shows "We have 0 rows selected"
    Thnks for ur replies guys ..
    Edited by: Wannabe Java Guru on Mar 9, 2011 1:43 AM

  • Building table based on a pageFlowScope variable

    Hi,
    I am trying to show a page with a popup that contains a region. Within the region, I am trying to build a table using a pageFlowScope variable as
    <af:table var="row" rowBandingInterval="0" id="t4"
    value="#{pageFlowScope.expression}"
    binding="#{exprBean.expression}">
    <af:column sortable="false" headerText="col5" id="c2">
    <af:inputText value="#{row}" id="it3"/>
    </af:column>
    </af:table>
    <af:commandButton text="Add Row" id="cb1"
    partialSubmit="true"
    actionListener="#{exprBean.addRow}"/>
    Here "pageFlowScope.expression is a List<String> object.
    The pageFlowScope.expression is being passed from the parent page to the region. The value comes up on the page which i have tried to print out in the region using <af:inputText> and this comes up fine.
    I am able to get the individual items as rows. Now, I want to dynamically add a row to the list. (I initially have one row).
    So, in the backing bean for this page, I have the following code for "add row"
    public void addRow(ActionEvent actionEvent) {
    RowKeySet rkSet = expression.getSelectedRowKeys();
    if (rkSet != null) {
    System.out.println("row key="+expression.getRowKey());
    Iterator it = rkSet.iterator();
    if (it.hasNext()) {
    Object key = it.next();
    expression.setRowKey(key);
    else {
    expression.setRowKey(new Integer(0));
    List<String> newExpr = new ArrayList<String>();
    newExpr.add(expression.getRowData());
    newExpr.add(new String());
    AdfFacesContext.getCurrentInstance().getPageFlowScope().put("expression", newExpr);
    Here, I want the table to get refreshed with the new list that i put in the pageFLowScope.
    But the problem here is though this gets called, the table stops with a message "Fetching Data..."
    I tried with a simple partialSubmit for teh button as:
    <af:commandButton text="Add Row" id="cb1"
    partialSubmit="true"/>
    But even in this case, the table doesn't show up the old data. It just shows "Fetching Data..."
    Edited by: user646817 on Sep 7, 2010 10:45 PM

    Hi,
    I have tried that too. But to no avail. I still get to the same issue.
    Before long, I would like to mention that I am working with a non-bc4j component. And my jdev version is 11.1.1.3
    I also built a data control which would return a list of strings. With this I bound the table in the page and after adding i refreshed the iterator. But strangely, i am still getting the same.
    The table gets refreshed but the inner content doesn't come out.
    I only see 'Fetching Data...' for long.
    And to add more info, this page is actually a page fragment within a region that is included as a popup in another page fragment.
    And the popup is as
    <af:popup id="cb" contentDelivery="lazyUncached"
    popupFetchListener="#{backingBeanScope.formulaBuilderBackingBean2.putConditionInPFS}">
    <af:dialog id="d2">
    <af:region value="#{bindings.CBuilder1.regionModel}"
    id="r1"/>
    </af:dialog>
    <af:setPropertyListener from="#{requestScope.expression}"
    to="#{pageFlowScope.expression}"
    type="popupFetch"/>
    </af:popup>
    And the page definition for the corresponding task flow is as:
    <taskFlow id="CBuilder1"
    taskFlowId="/WEB-INF/pages/oracle/epm/calcmgr/common/cbuilder/CBuilder.xml#CBuilder"
    activation="deferred"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    Refresh="ifNeeded">
    <parameters>
    <parameter id="expression" value="#{pageFlowScope.expression}" xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
    </parameters>
    </taskFlow>
    Thanks,
    Pawan.

  • How to migrate sql server 2000 user defined function returns table

    Hi,
    How do I capture the SQL Server 200 user defined function that returns table? Is this supported in the current version of Oracle Migration Workbench? I am using the latest version - Release 9.2.0.1.0 with SQL SERVER 2000 plug-in.
    I was able to capture the SQL Server 2000 user defined function that returns string and smalldatetime but not the functions return table during the migrate data source stage.
    Thanks in Advance,
    Susan

    Susan,
    This is not currently supported. The next release of the Oracle Migration Workbench (due very soon), will do a better job of catching this mad reporting an error. We are looking into a suitable mapping and have created bug # 2355073 - TABLE DEFINITIONS NOT ACCEPTED FOR TABLE FUNCTIONS to track this issue.
    Once possible solution we are looking into is using the object type to emulate. Here is an example from the bug:
    Original table
    SQL> create table tabela (a number, b number, c number, d number);
    SQL> insert some values...
    SQL> select * from tabela;
    A B C D
    1 1 1 1
    2 2 2 2
    3 3 3 3
    4 4 4 4
    SQL Server 2000 code
    CREATE FUNCTION FUNCRETORNATABELA()
    RETURNS TABLE
    AS
    RETURN SELECT A,B,C,D FROM TABELA
    SELECT A,B,C,D
    FROM FUNCRETORNATABELA()
    ORDER BY A
    Oracle code (workaround)
    SQL> create or replace type MyObjType as object (
    2 a number, b number, c number, d number);
    3 /
    Type created.
    SQL> create or replace type MyTabType as table of MyObjType;
    2 /
    Type created.
    SQL> create or replace function teste return Mytabtype pipelined as
    2 aa MyObjType := MyObjType(null, null, null, null);
    3 cursor c1 is select a,b,c,d from tabela;
    4 begin
    5 open c1;
    6 loop
    7 fetch c1 into aa.a, aa.b, aa.c, aa.d;
    8 exit when c1%NOTFOUND;
    9 pipe row (aa);
    10 end loop;
    11 close c1;
    12 return;
    13 end;
    14 /
    Function created.
    SQL> select * from table(teste);
    A B C D
    1 1 1 1
    2 2 2 2
    3 3 3 3
    4 4 4 4
    SQL> select a, c from table(teste) order by c desc;
    A C
    4 4
    3 3
    2 2
    1 1
    Donal

  • Missing SET DEFINE OFF exporting tables

    Another minor bug exporting tables using the insert option is that no “SET DEFINE OFF” is created.
    If values in the exported tables contains *“&”* characters, the user is asked to edit values.
    Example:
    1. Create a table with such a value:
    SET DEFINE OFF;
    CREATE TABLE FOO (COMPANY VARCHAR2 (64));
    INSERT INTO FOO VALUES ('Meier & Co');
    2. Exporting this table creates:
    -- Datei erstellt -Freitag-April-15-2011
    -- DDL for Table FOO
    CREATE TABLE "FOO"
    (     "COMPANY" VARCHAR2(64)
    REM INSERTING into FOO
    Insert into FOO (COMPANY) values ('Meier & Co');
    3. Running in SQLPlus:
    SQL> @export.sql
    Tabelle wurde erstellt.
    Geben Sie einen Wert f³r co ein:
    Regards
    Marc
    Version:
    Java(TM)-Plattform     1.6.0_23
    Oracle-IDE     3.0.04.34
    Versionierungsunterstützung     3.0.04.34

    Thank you. As a new SQL Developer user, I didn't know what it should have been, but I found out I needed to edit the output before I could use it to load data.
    Skip

Maybe you are looking for