Update of the ADF table

Hi all

< < Jdeveloper Studio Edition Version 11.1.2.3.0 > >

I have a table with EditingMode ADF as "click to edit", so the user can change only one line at a time.

My requirement is as below

1. the table must be refreshed every 5 minutes

2. If the user is in the middle of editing a particular line and the table is updated, the values entered by the user may not be reset.

Is it possible to do so.

Thanks in advance

Best regards

bnkr

DCIteratorBinding iter = bindings.findIteratorBinding ("Iterator");
RowSetIterator rs = iter.getRowSetIterator ();
While (rs.hasNext ()) {}
Line r = rs.next ();
r.Refresh (r.REFRESH_WITH_DB_ONLY_IF_UNCHANGED);
}

You need to reset your RowSetIterator because this loop will run only for the first event of af: pool.

In addition, it is unwise to iterate by default RowSetIterator, because the user interface components are related to this iterator (you can iterate, but then you need to add the logic of the line being restored...)

Instead, try something like this:

RowSetIterator rs = iter.getViewObject () .createRowSetIterator (null);

While (rs.hasNext ()) {}

Line r = rs.next ();

r.Refresh (r.REFRESH_WITH_DB_ONLY_IF_UNCHANGED);

}

rs.closeRowSetIterator ();

Dario

Tags: Java

Similar Questions

  • Updating of the ADF Table strangely after delete line

    Hello

    I use ADF Table with ArrayList to the model of the collection. I do not use View object

    < af:table var = value ' row' = "#{pageFlowScope.dataBean.collectionModel}"... "

    I have a SelectOnceChoice in each row of the table and bind their values to a property of the line

    < af:selectOneChoice value = "#{row.label}"... "

    I have a command link to remove each line and the delete method:

    collectionModel.remove (idx);

    The model is correctly updated, but the table of the ADF is not. Somehow, the value of the selection of the next line is set to the value of the deleted row.

    For example: If there two select with values respectively: Foo, Bar. If I remove the line with Foo, the remaining line (initially Bar) is set to Foo.

    If I refresh (F5) the page, it appears correctly. I also tried to use addPartialTarget and partialTriggers but no help.

    Can someone help me? Thanks in advance.

    Post edited by: 2925664

    Hello

    Previously I use table binding, that's why it has that name.

    BTW, I don't know what's causing the problem. It is related to the life cycle ADF. I put the immediate = "true" for the select box and it is working fine now.

    Concerning

  • Line in the ADF Table color

    Is it possible to alternate the color of the lines of the ADF table? Do I have to use a skin?

    Code example would be much appreciated.

    Thank you, Mitch

    Read about the line of the bands here:
    http://download.Oracle.com/docs/CD/E12839_01/apirefs.1111/e12419/tagdoc/af_table.html
    Basically, you can use the rowBandingInterval attribute.

  • Lack of updating of the secondary table.

    JDeveloper 11.1.1.20.

    In a master page in detail (two ADF unalterable tables) where the detail listen to changes in the master with its partialtrigger set to the main table, I discovered a problem when I go back to the page of a RESTORE operation in another page (change).
    In doing so, sends me to the first line of the main table, which is normal.

    -The detail section says "No data to display", which is not correct.
    If I leave the first row and return to the detail section is updated.

    Any success?

    Best regards
    Erik

    What is the RefreshCondition that you have defined for the iterator?
    You can change it to ifNeeded or always and check if it helps?

    Thank you
    Nini

  • The ADF Table data validation and highlighting

    I have an ADF table, supported by a VO. Gets the data loaded from a spreadsheet file. There are some required columns marked with the required attribute. the columns do not get highlighted when loaded data are empty. How can I get auto table validated during the loading of data and WITHOUT a commit / submit to the rear end table?

    My requirement is.

    1 load the data into the table.

    2. a way to highlight the rows or columns that have no values (how?) I tried the style inline for column as #{row.bindings.invamt == null?' background-color: Red;': ' background-color: White;'}, but no luck.

    3. validate data from db.

    User, tell us your version of jdev, please!

    If the table is editable, you can add this to the inputText of the column

    contentStyle = ' #{empty row.bindings.PhoneNumber.inputValue?» "{- color: red;':"} ".

    For the PhoneNumber column. If the table is read only the cellular connection is

    973564 wrote:

    I have an ADF table, supported by a VO. Gets the data loaded from a spreadsheet file. There are some required columns marked with the required attribute. the columns do not get highlighted when loaded data are empty. How can I get auto table validated during the loading of data and WITHOUT a commit / submit to the rear end table?

    My requirement is.

    1 load the data into the table.

    2. a way to highlight the rows or columns that have no values (how?) I tried the style inline for column as #{row.bindings.invamt == null?' background-color: Red;': ' background-color: White;'}, but no luck.

    3. validate data from db.

    contentStyle = ' #{blank line.» Phone number? "{- color: red;':"} ".

    So I guess that the connection you are using is not correct.

    Timo

  • How to get the selected row in a programmatic table of the ADF (table generated from a bean)

    Hi all


    We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.


    How to get the selected line in a programmatic (using a SortableModel custom not a display object) ADF table (generated from a bean)?


    We are trying to get the selected row in a bean of a programmatic ADF table to retrieve data based on the selected line.


    Any idea?

    Well, you can use selectionListener to set the selected line to a variable of bean (but this bean must be in extended view or some superiors)

    Something like this: http://www.awasthiashish.com/2015/07/get-selected-row-singlemultiple-from.html

    Dario

  • The ADF table: filter on columns of stamp with a specific format in the indications of the user interface

    Hi all

    I have problem when filtering on af timestamp column: table.

    I have a table containing historical information (created_on and modified_on), it is mapped to an entity:

    Type = "Oracle.jbo.domain.date"

    ColumnType = "DATE".

    I've seen object mapped from this entity.

    I want to display created_on and modified_on with timestamp (hour and minute), so I add the tips of the user interface for these 2 columns:

    -Type format: Date Simple

    -Size: MM/DD/YYYY HH: mm

    I create a table based on this point of view. The table is filterable.

    The column like this:

    < af:column sortProperty = "#{bindings." View.hints.CreatedOn.name}"blockable = 'true '.

    sortable = "true" headerText = "#{bindings." View.hints.CreatedOn.label}"id ="c6">

    < f: facet = name 'filter' >

    < af:inputDate value = "#{bindings." ViewQuery.queryDescriptor.filterConjunctionCriterion.criterionMap.CreatedOn.value}.

    ID = "id2" >

    < af:convertDateTime pattern = "#{bindings." View.hints.CreatedOn.format}"/ >

    < / af:inputDate >

    < / f: facet >

    < af:outputText value = "#{rank." CreatedOn}.

    shortDesc = "#{bindings." VIew.hints.CreatedOn.tooltip}"id ="ot6">

    < af:convertDateTime pattern = "#{bindings." View.hints.CreatedOn.format} ">"

    < / af:outputText >

    < / af:column >

    When I filter on 2 columns (created_on, modified_on) I got an error: " java.lang.IllegalArgumentException: ADFv: could not convert the instance: 30/07/2014 09:51 type: class java.lang.String in class of type null oracle.jbo.domain.Date."

    Do you have an idea for me?

    Thanks in advance.

    Here is the stacktrace:

    Caused by: java.lang.IllegalArgumentException: ADFv: could not convert the instance: 30/07/2014 09:51 type: class java.lang.String in oracle.jbo.domain.Date of type null class.

    at oracle.adfinternal.view.faces.convert.DomainConverter._throw(DomainConverter.java:155)

    at oracle.adfinternal.view.faces.convert.DomainConverter.convert(DomainConverter.java:120)

    to oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$ AdfFilterAttributeCriterion.getValue (FacesCtrlSearchBinding.java:5127)

    at sun.reflect.GeneratedMethodAccessor448.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:601)

    at javax.el.BeanELResolver.getValue(BeanELResolver.java:305)

    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)

    at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)

    at com.sun.el.parser.AstValue.getValue(AstValue.java:138)

    at com.sun.el.parser.AstValue.getValue(AstValue.java:183)

    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:224)

    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)

    at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:195)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputBaseRenderer.renderContentStyleAttributes(SimpleInputBaseRenderer.java:524)

    at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.renderAllContentAttributes(FormInputRenderer.java:480)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputBaseRenderer.renderAllContentAttributes(SimpleInputBaseRenderer.java:230)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputDateRenderer.renderAllContentAttributes(SimpleInputDateRenderer.java:712)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputDateRenderer.renderElementContent(SimpleInputDateRenderer.java:592)

    at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsElement(FormInputRenderer.java:169)

    at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.encodeAll(FormElementRenderer.java:165)

    at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:1828)

    at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.renderFieldCellContents(LabeledInputRenderer.java:244)

    at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.encodeAll(LabelLayoutRenderer.java:254)

    at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.encodeAll(LabeledInputRenderer.java:231)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1085)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer$ UIXColumnFilterWrapper._encodeChild (BaseColumnRenderer.java:2486)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer$ UIXColumnFilterWrapper.encodeChildren (BaseColumnRenderer.java:2454)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)

    at oracle.adf.view.rich.render.RichRenderer.encodeChildInContext(RichRenderer.java:3251)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer._renderOrVisitFilterFacet(BaseColumnRenderer.java:1938)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderColumnFilterCell(BaseColumnRenderer.java:1324)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:168)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1085)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.access$ 2900 (BaseTableRenderer.java:78)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer$ FlattenedColumnEncoder.processComponent (BaseTableRenderer.java:3155)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer$ FlattenedColumnEncoder.processComponent (BaseTableRenderer.java:3129)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:195)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:326)

    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:291)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.encodeFlattenedColumn(BaseTableRenderer.java:2928)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderFilterRow(TableRenderer.java:2508)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderColumnHeaderTable(TableRenderer.java:2113)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderColumnHeader(TableRenderer.java:1899)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:727)

    Hello

    This is a bug in the ADF (Bug 17380741 not public) and it resolved in JDev 12.1.3.

    Kind regards

    Sébastien

  • UPDATE on the same table in the sub query

    DB version: 11.2

    We have a table called SHP_GC_TRACK, which has about 8 million records with partitions. In the below UPDATE, it updates a column based on the SELECT on the same table in a subquery.
    UPDATE shp_gc_track a
       SET f_tran_proc  = 'Y'
     WHERE last_update_date <
              (SELECT MAX (last_update_date)
                 FROM shp_gc_track b
                WHERE a.shp_trx_rowid = b.shp_trx_rowid
                  AND a.c_shp_inst = b.c_shp_inst
                  AND a.f_tran_proc  = b.f_tran_proc 
                  AND b.f_ltr_received = 'D'
                  AND f_rec_code IN ('G', 'W')
                  AND b.f_rec_status = 'B'
                  AND b.c_shp_inst = :b1
                  )
       AND a.c_shp_inst = :b1
       AND a.f_ltr_received = 'D'             -----------------> part of composite index
       AND a.f_tran_proc  = 'N'              -----------------> part of composite index
       AND a.f_rec_code IN ('G', 'W')      --------------> part of composite index  
       AND a.f_rec_status = 'B';              -----------------> part of composite index  
    This UPDATE takes a long time to run and sometimes get hung up.

    We have a composite index on four columns f_ltr_received, f_rec_code, f_rec_status and f_tran_proc. Explain the plan shows that this composite index is used.



    Any way to rewrite this query or suggestion?

    Steve_74 wrote:
    DB version: 11.2

    We have a table called SHP_GC_TRACK, which has about 8 million records with partitions. In the below UPDATE, it updates a column based on the SELECT on the same table in a subquery.

    UPDATE shp_gc_track a
    SET f_tran_proc  = 'Y'
    WHERE last_update_date <
    (SELECT MAX (last_update_date)
    FROM shp_gc_track b
    WHERE a.shp_trx_rowid = b.shp_trx_rowid
    AND a.c_shp_inst = b.c_shp_inst
    AND a.f_tran_proc  = b.f_tran_proc
    AND b.f_ltr_received = 'D'
    AND f_rec_code IN ('G', 'W')
    AND b.f_rec_status = 'B'
    AND b.c_shp_inst = :b1
    )
    AND a.c_shp_inst = :b1
    AND a.f_ltr_received = 'D'             -----------------> part of composite index
    AND a.f_tran_proc  = 'N'              -----------------> part of composite index
    AND a.f_rec_code IN ('G', 'W')      --------------> part of composite index
    AND a.f_rec_status = 'B';              -----------------> part of composite index  
    

    This UPDATE takes a long time to run and sometimes get hung up.

    We have a composite index on four columns f_ltr_received, f_rec_code, f_rec_status and f_tran_proc. Explain the plan shows that this composite index is used.

    Any way to rewrite this query or suggestion?

    Setting updates with subqueries may be difficult: (.) Unfortunately my suggestions below are of the try-it-and-see-what-happens variety - nothing of certain

    First of all, check the index. Is it bitmap or tree? If the tree to see if the more restrictive columns are listed first - this can help with effectiveness of b-tree indexes. Also if the tree a composite bitmap for columns with lots of repeat values instead could help

    Its a correlated subquery so that you cannot run just the subquery first put the result in a scalar varaiable and using the variable in the SQL instead. You can try putting the keys w/join subuqery results in a TWG first to use TWG in SQL to see if I/O is reduced together during these two operations.

    You have the license for the parallel query option? Using parallel DML (this must be activated manually) can help. Check the documentation of the ALTER SESSION command to do so. In addition, the PARALLEL_INDEX() indicator could help

    Display the SQL execution plan

  • The center of the ADF table column data

    I use JDeveloper 11.1.1.6

    I would like to be able to focus some of the attributes stored for some columns in my table of the ADF. Here are 2 of the columns in my table ADF I tried to center data. For some reason, the data remain justified left. In my skin file I am centering the header values for all columns in all tables. I don't want to do that, but with the row data. For row data, I want to selectively choose the columns that are left centered or justified. Do you have any ideas on what I'm missing.



    < af:table value = "#{bindings." Data1.collectionModel}.
    var = "row".
    lines = ' #{bindings. " Data1.rangeSize}.
    emptyText = "#{bindings." Data1.viewable? "{'No data to display.': 'Access Denied.'}".
    fetchSize = "#{bindings." Data1.rangeSize}.
    rowBandingInterval = '1 '.
    Binding = "#{backingBeanScope.backing_ui_pages_DataDispatch_Processing_update." Table"}
    ID = "myTable" columnStretching = "last".
    rowSelection = "single" displayRow = "selected".
    selectedRowKeys = ' #{bindings. " Data1.collectionModel.selectedRow}.
    selectionListener = "#{bindings." Data1.collectionModel.makeCurrent} ">"


    ...........


    < af:column sortProperty = "MyId" sortable = "false".
    headerText = "#{bindings." Data1.hints.MyID.label}.
    ID = "c1" >
    < af:outputText value = "#{rank." MyId}"id ="ot10.
    inlineStyle = "" text-align: center; "/ >"
    < / af:column >
    < af:column headerText = "#{bindings." Data1.hints.size.label}.
    ID = 'c4' width = "75" >
    < af:selectOneChoice value = "#{row.bindings.Size.inputValue} '"
    label = "#{row." Bindings.Size.label}.
    required = "#{bindings." Data1.hints.size.mandatory}.
    shortDesc = "#{bindings." Data1.hints.size.ToolTip}.
    ID = "soc3" readOnly = 'true '.
    inlineStyle = "" text-align: center; ">"
    < f: selectItems value = "#{row.bindings.Size.items} '"
    ID = "si3" / >
    < / af:selectOneChoice >
    < / af:column >


    ...........


    < / af:table >

    I'm sorry. The attribute align = 'center' is at the level of the spine.

    Try this:

    Try this:


    var = "row".
    lines = ' #{bindings. " Data1.rangeSize}.
    emptyText = "#{bindings." Data1.viewable? "{'No data to display.': 'Access Denied.'}".
    fetchSize = "#{bindings." Data1.rangeSize}.
    rowBandingInterval = '1 '.
    Binding = "#{backingBeanScope.backing_ui_pages_DataDispatch_Processing_update." Table"}
    ID = "myTable" columnStretching = "last".
    rowSelection = "single" displayRow = "selected".
    selectedRowKeys = ' #{bindings. " Data1.collectionModel.selectedRow}.
    selectionListener = "#{bindings." Data1.collectionModel.makeCurrent}">

    ...........


    headerText = "#{bindings." Data1.hints.MyID.label}.
    ID = "c1" align = "center" >



    ID = 'c4' width = "75" align = "center" >

    label = "#{row." Bindings.Size.label}.
    required = "#{bindings." Data1.hints.size.mandatory}.
    shortDesc = "#{bindings." Data1.hints.size.ToolTip}.
    ID = "soc3" readOnly = 'true '.
    >

    ID = "si3" / >

    ...........

    Thank you
    Nini

  • problem in the form of master-detail when you use the ADF table for detail

    Hello

    jdev version - 11.1.2.1.0


    I create master shape detail using datacontrol drag as ADF master shape secondary Table.


    Now when I create a new line in the detail table using the key CreateInsert a new empty row created on top of the secondary table.

    and other show line that the previous record data based on the master.

    problem is I want to when I click on the createInsert button all the line of the secondary table must be empty and what line to fill two or three user then validate.



    Thanks in advance

    Hello

    If a secondary table has data, then createInsert adds to them. If you want to hide the existing lines, create a new instance of the View object and set the option "extract database" to "No. Rows. Use an af:switcher to change the specified table when the user clicks the createInsert button. There is some coding needed to have this use case in the ADF, but its essentially declarative. Bottom line, is that there is no option automated other than to create new lines in a separate page or dialog box if you are bothered by existing lines

    Frank

  • update of the EUL5 Tables

    Hello

    I need to rename my files EUL & elements following a naming convention, I thought updating the tables of EUL5 in the following way:


    -Step 1: Create a copy of eul5_objs:
    create table eul5_objs_cpy as select * from eul5_objs ;
    -Step 2: update eul5_objs:
    update eul5_objs set obj_name = initcap (obj_name);
    -Step 3: Create a copy of eul5_expressions:
    create table eul5_expressions_cpy as select * from eul5_ expressions ;
    -Step 4: Update the eul5_ expressions:
    UPDATE eul5_expressions e
       SET e.exp_name =
           (SELECT TRIM(DECODE(INSTR(m.exp_name, ':'),
                          0,
                          LOWER(t.obj_name) || ' : ' || INITCAP(m.exp_name),
                          SUBSTR(m.exp_name, 1, INSTR(m.exp_name, ':', 1, 1) - 1) ||
                          INITCAP(SUBSTR(m.exp_name, INSTR(m.exp_name, ':', 1, 1)))))
              FROM eul5_expressions m, EUL5_OBJS t
             WHERE m.it_obj_id = t.obj_id
               AND e.exp_id = m.exp_id)
     WHERE e.it_obj_id is not null
    but I heard that EUL5 tables updated could corrupt the EUL and he'd end up unable to export/import it via the command line, then asked me to update the EUL manually by the administrator.

    For my information, could someone explein me what is the difference and how it could damage the EUL?

    Thank you.

    Mcha

    Hi mcha
    Like the previous of Tamir answer, you should be careful updating behind the scenes. According to me, these are the only paintings directly referencing the name in this case, it seems that you should be ok.

    One thing to be aware of, is that workbooks also incorporate the name and identifier of the folder within each compiled worksheet. As long as the administrator does not change the name and the identifier at the same time binders will continue to open. However, until the workbook is re-registered only the identifier will be correct and should anyone subsequently change an identifier without a workbook saved shows the name of the folder then change the workbook will open more.

    Therefore, I advise you also ask your users to open each workbook after the name change and then re-register. In this way, the new name of the folder will get embedded in spreadsheets, sort of covering all the bases.

    Best wishes
    Michael

  • ADF-how to read the value of the ADF Table column.

    Hello

    I created a table of the adf by reading the variable (CSV) file, separated by commas.
    N ° of the table columns is variable.
    The last column of the table has the input text box so that the user can enter the values in the user interface.
    I want to read these values provided by the user in my grain of support.

    Any help or pointers will be great.

    Thank you
    Lecornu

    Hello

    Have you tried to analyze the application after you have submitted the form? Just add the following code to your action method.

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Iterator;
    
    import javax.faces.FacesException;
    import javax.servlet.http.HttpServletRequest;
    
    ...
    
    FacesContext context = FacesContext.getCurrentInstance();
    HttpServletRequest request = (HttpServletRequest)context.getExternalContext().getRequest();
    Map requestParameters = request.getParameterMap();
    
    Iterator iter = requestParameters.entrySet().iterator();
    while(iter.hasNext()) {
      Entry entry = (Entry) iter.next();
      String key = (String)entry.getKey();
      String value = ((String[])entry.getValue())[0];
    
      if(key.contains(":cellInput")) {
        String yourInputTextValue = value;
        // Do something with yourInputTextValue
      }
    }
    

    Concerning

    Majo

    Edited by: DerMajo the 09.11.2009 13:05

  • Several updates on the same Table

    Hello

    I need to update the same Table (T1) but to filter for different conditions as below.
    and I have a set of filter conditions 50 and update the same table.

    Is it possible to get in the single update statement?

    BEGIN
    UPDATE T1
    SET PTA_CLM_CNT = v_PTA_CLM_CNT__77,
    PTB_CLM_CNT = v_PTB_CLM_CNT__77
    WHERE run_dt = v_in_parm_dt
    AND state_code = '77';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    null;
    WHILE OTHERS THEN
    v_error_cd: = SQLCODE;
    v_error_msg: = SUBSTR (SQLERRM, 1, 200);
    v_curr_record: = 'sum_bene_state_updt_77 ' | v_in_parm_dt;
    create_error_log ('_sum_cnts', v_error_cd, v_error_msg, v_curr_record);
    END;

    BEGIN
    UPDATE T1
    SET PTA_CLM_CNT_ = v_PTA_CLM_CNT__78,
    PTB_CLM_CNT_ = v_PTB_CLM_CNT__78
    WHERE run_dt = v_in_parm_dt
    AND state_code = '78';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    null;
    WHILE OTHERS THEN
    v_error_cd: = SQLCODE;
    v_error_msg: = SUBSTR (SQLERRM, 1, 200);
    v_curr_record: = 'sum_bene_state_updt_78 ' | v_in_parm_dt;
    create_error_log ('sum_cnts', v_error_cd, v_error_msg, v_curr_record);
    END;

    Thanks in advance

    May be trying to use DECODE

    UPDATE T1
       SET PTA_CLM_CNT = DECODE(state_code,77,v_PTA_CLM_CNT_77,78,v_PTA_CLM_CNT_78)
           PTB_CLM_CNT = DECODE(state_code,77,v_PTB_CLM_CNT_77,78,v_PTB_CLM_CNT_78)
     WHERE run_dt = v_in_parm_dt;
    
  • How to hide the ADF table during execution

    Hi all

    I use Jdeveloper - 11.1.2.4.39.64.36.1 version

    Is it possible to show only the tables with associated in the same lines and hide tables with no record.

    For ex: Let's say that at the time of the design, there are three related data tables with the diagram below.

    Table 1
    Table 2
    Table 3

    However, during execution, there is no record for 'Table 2', but the table 1 and table 3 have records associated with them.

    Is it possible to hide the table 2 and get the following provision -

    Table 1
    Table 3

    According to the schema, table 2 should hide, and table 3 should get reordered under table 1 directly.

    Best regards

    Ankit Gupta

    Hello

    You can set the property visible from the table to something like #{bindings.. estimatedRowCount gt 0}

    Arun-

  • error handling - when using 'base' no updates to the audit table

    Hello;
    We use the error handling via the shadow errors; the operating mode is set by default to the "game";
    errors are caught in the trap in the errors table, but the audit of execution messages show is no longer there was error;
    y at - missing something on the shelf upward?
    before implementation of the error, with the operation mode table ' set to the line according to fail based on ' errors were recorded in all_rt_audit_exec_messages;
    now with the switch, the errors are caught in the trap, but we warned is no longer that it was a mistake;
    ID appreciate advise on how to fix that
    THX
    Rgds

    Hello

    Mode set-based, Oracle Warehouse Builder generates a single SQL statement that treats all data and performs all operations. Although the treatment of the data as a whole improves performance, audit information available are limited. Runtime auditing is only limited to the account of the run-time error. With mode based on the game, you can not identify lines that contain errors.

    Cap 10. Understand the Performance and Advanced ETL of Oracle® Warehouse Builder of modeling, ETL and data quality Guide data
    11g Release 2 (11.2)

    See you soon

Maybe you are looking for

  • Magazine cancellation

    I was charged today for my Entertainment Weekly renewal which I cancelled, will get a refund?

  • If I encrypt my drive can my other machines still use it?

    I have a 3T Airport Extreme Base Station with a 4 t Seagate drive attached and 3 machines to these backup discs.  If I encrypt drives all three machines will be able to continue with the backup on them?  When I check encrypt the drive in Time Machine

  • Bootcamp error: windows support software could not be saved

    When he says his by downloading the windows support software, the progress bar moves, but very slowly, but for some reason, this error is displayed when reaching approximately 20-30%. MacBook pro mid 2015 15 inch mjlt2ll/a v.10.11.3 el capitan OSX

  • My Windows Server 2003 Administrator password back to the old after reboot

    Well, it's quite strange and I think it affects my antivirus management. I can change the password using ctrl alt delete and it remains until I restart. When I reboot, it starts to complain that the new password I just. I can connect on the client wi

  • Acer Aspire One model ZA3 (WIN XP) needs updated drivers

    I'm still enjoying my Acer Aspire One manufactured in 2009 running Windows XP Edition family, but am running into the faults caused by ancient drivers. A single analysis indicates that I need a driver updated GlobeTrotter MO40X but where and which? A