Reset the filter table values in Jdev 11.1.1.7

Hi Experts,

I use Jdev 11.1.1.7

I went through this link Ashish Awasthi (Jdev/ADF) Blog: table light filter in the ADF value

I created a column and the value rowHeader as true. After you run this page, I'm not able to see the pencil icon which is reset all the values of the filter components and update the table.

I don't want to reset by program, I want to use the functionality of the ADF.

Here writing my code snippet:

< af:table value = "#{bindings." Var EmpResultReportPVO11.collectionModel}"="row ".

lines = ' #{bindings. " EmpResultReportPVO11.rangeSize}.

emptyText = "#{bindings." EmpResultReportPVO11.viewable? "{'No data to display.': 'Access Denied.'}".

fetchSize = "#{bindings." EmpResultReportPVO11.rangeSize}' rowBandingInterval = '0 '.

filterModel = "#{bindings." EmpResultReportPVO1Query.queryDescriptor}.

queryListener = ' #{bindings. " FilterVisible EmpResultReportPVO1Query.processQuery}"="true"varStatus ="vs. "

selectedRowKeys = ' #{bindings. " EmpResultReportPVO11.collectionModel.selectedRow}.

selectionListener = "#{bindings." RowSelection EmpResultReportPVO11.collectionModel.makeCurrent}' = 'single '.

ID = "res_table" >

< af:column id = 'c12' width = "14" rowHeader = "true" / >

< af:column sortProperty = "#{bindings." EmpResultReportPVO11.hints.EmpId.name}"blockable ="true"sortable ="true ".

headerText = "#{etoolviewcontrollerBundle.EMPLOYEE_ID}" id = 'c3' returned 'false' = > "

< af:outputText value = "#{rank." EmpId}"id ="ot9">

< af:convertNumber groupingUsed = 'false' pattern = ' #{bindings. " EmpResultReportPVO11.hints.EmpId.format}"/ >

< / af:outputText >

< / af:column >

< af:column sortProperty = "#{bindings." EmpResultReportPVO11.hints.Name.name}"blockable ="true"sortable ="true ".

headerText = "#{etoolviewcontrollerBundle.FIRST_NAME}" id = 'c4' = "caseInsensitive" filterFeatures > "

< af:outputText value = "#{rank." Name}"id ="ot4"/ >

< / af:column >

Please someone help me.

Thank you, ADV

Jyoti

Hi Jyoti,

I think that the rowHeader = true does not work in 11.1.1.7. You can go with the programmatic approach.

1 link table you with bean class

2. the button click event of Action the code below

private richeTableau empTable.

{} public void filterTable (ActionEvent actionEvent)
Add the code in the event here...
FilterableQueryDescriptor = queryDescriptor
(FilterableQueryDescriptor) getEmpTable () .getFilterModel ();
If (queryDescriptor! = null &)
queryDescriptor.getFilterCriteria ()! = null) {}
queryDescriptor.getFilterCriteria () .clear ();
getEmpTable () .queueEvent (new QueryEvent (getEmpTable (),
queryDescriptor));
}

Thank you

Nitesh

Tags: Java

Similar Questions

  • Use case: initial value in the filter Table

    Hello world

    I've been struggling with this problem and I'm about to give up! :-(

    My requirement is to have a table with filters, which must have an initial value, which must be visible by users as soon as it connects, then it can be default value for the filter change or deleted.

    I use Jdev 12 c and jspx pages and unlimited workflow.


    Please help me with all of the recommendations.

    Kind regards

    Jose.

    Hello

    Finally, I crushed filterModel of the table in this way, and it works!

    public FilterableQueryDescriptor getFilterModel() {}

    Map httpSessionMap = ADFContext.getCurrent () .getSessionScope ();

    String freshLogin = (String) httpSessionMap.get ("freshLogin");

    FacesCtrlSearchBinding = sbinding

    (FacesCtrlSearchBinding) JSFUtils.resolveExpression ("#{bindings.}");

    QPF FilterableQueryDescriptor = sbinding.getQueryDescriptor ((FilterableQueryDescriptor));

    If (freshLogin == null) {}

    Get the initial value

    BindingContext bctx = BindingContext.getCurrent ();

    BindingContainer links = bctx.getCurrentBindingsEntry ();

    AttributeBinding attBinding = (AttributeBinding) bindings.get ("");

    String userEntity = (String) attBinding.getInputValue ();

    Assing as a criterion

    Map fcMap = fqd.getFilterCriteria ();

    fcMap.put ("", userEntity);

    Run the query

    sbinding.processQuery (new QueryEvent (getProjectsTable (), QPF));

    Avoid the next run

    httpSessionMap.put ("freshLogin", "false");

    }

    return the QPF;

    }

    Thank you very much for you help!

  • Special characters in the filter table

    Hello

    JDev 11.1.2.4

    I have a filter table displayed in the selectOneChoice form. The entrance is the character *. If I select this element in the LOV and run filtering, the * is retired (I checked the generated SQL code). I don't have the issue of another 'normal' value such as EN, (SQL CODE generated a where CLAUSE with the value selected as well as the '%' character. Is it possible to use * as a filter?

    Thank you

    Got what you have to escape the social characters of qbe. However, it requires little code. You can watch https://tompeez.wordpress.com/2013/02/16/jdeveloper-11-1-1-6-0-escape-qbe-operators-in-filterable-tables/

    When I introduced the technique.

    Timo

  • Reset the filter prompt when you navigate to the dashboard Page

    Hello world! Came across this bizarre situation when navigating from a source of report a target and then dashboard page topic to another page of dashboard. It seems that the prompt value filters are enabled on each succeeding because of this dashboard page.

    Scenario as follows:

    I have a report from the source

    Item ID * State * Contact
    12345 * open * SomePerson

    If I click on SomePerson (value Navigation Drill-Down), it takes me to a dashboard Page that has Contact = SomePerson applied filter, which works as expected.

    But now, when I go to all the other pages of the dashboard, both the status = open and Contact = SomePerson are applied to all views. Is there in such a way that by clicking on the dashboard Page tab would also default reset all filter values prompted since the guests?

    Thank you! I learn a lot here. Any help would be appreciated.

    Hello

    What is there in the other pages of your quick dashboard...
    According to my understanding of your question...
    you make the scope of the dashboard page guest

    OR

    You can turn off the guests before selecting anything...
    Follow this... http://obiee101.blogspot.com/2008/08/obiee-making-clear-button.html

    Thank you & best regards
    Kishore Guggilla

  • The adjacent table values

    What would the most effective way in labview to explore an array of 1 d 0 and 1 and store indexes side 1 is as a new line in a 2d array? For example, I have an array of 0 0 0 0 1 1 1 0 1 1 0, resulting 2d table will look like this:

    4 5 6

    8 9

    where these numbers represent the index of the adjacent 1.

    Help with this is appreciated.

    A few problems.

    Change your meter and line numbering of dual representation, I32 or another type of integer.  This is probably why you stuck in a loop of the search for zero.  Rounding errors in double can lead to inequalities between the numbers you might otherwise consider the same thing.

    You have localitite.  You have a condition of critical competition for the number of lines in the real case of the structure of the case.  You want the number of rows, incremented by 1, or at the first 2 - D array index page?  As it is now, there is no control over which no comes first.  Eliminate all local variables.  Replace them with wires and start using shift registers to manage values between iterations of the loop.

    Another problem is your loop stops when your account equals the number of items in the table.   Your count begins as zero.  It seems that the number is incremented at each iteration of the loop.  Finally, your account will equal the number of items in the table and the loop exits.  But all the other codes in this iteration will still occur.  If you have a table of 5 elements, your indices range from 0 to 4.  But your account is now 5.  The loop stops when the iteration has been completed, but now you are trying to index the element 5 (which doesn't exist) and also item 6 (5 + 1) that does not also exist.  In fact, you will have the problem in the previous iteration because there is no element 5 (4 + 1).

    Another problem is the way in which you are using insert into the table.  If you start with an empty table and try to insert into a table in a different row or column outside 0, you get nothing.  Or if you have 4 lines and you try to insert in line 5 or higher, nothing is added.  Insertion in the table is the wrong function to use probably 95% of the time.  You should use table to build.

    Why do you have a business structure in the false case puts a real, and in the real deal puts a fake?  It's a Rube Goldberg.  It doesn't cause a problem, but it's just useless code.  Just wire the comparison to stop and put on a NOT operator.  If you change the status of the loop continues if it is true, you can eliminate the not! as well.  In addition, rather than add a 1 to a number, there are a + 1 increment operator in the digital palette.  (A little less code means a little cleaner diagram).  In addition, you don't need two separate functions of the Index table.  You can use one and resize it down.  If wire you the County in the top, the bottom (that you just added in developing the service) will give you the index after counting.)

    I don't have your global variable.  (Where are the data coming from?) VI another?)  If you can replace this world with a constant matrix with some typical data, it would give us something to work with.

  • The binding of the method to the &lt; af:table value = "" was run several times "

    I have create a new jsf page in a Web of Fusion project.

    Defined a table as follows:
    < af:table value = "#{pageFlowScope.taskListBean.tasks}" var = 'row' "
    rowBandingInterval = "0" id = "t2" width = "689".
    rowSelection = "single" summary = "show the task list.
    partialTriggers =": cmi1: cmi2: cmi3: cmi4: soc2: soc1" > "
    < af:column sortable = "false" headerText = 'Number' align = 'end' id = "c1" rowHeader = "true" >
    < af:outputText value = "#{row.number}" id = "ot5" / > "
    < / af:column >
    < af:column sortable = "false" headerText = "Id" align = "DΘmarrer" id = 'c3' >
    < af:outputText value = "#{row.id}" id = "ot2" / > "
    < / af:column >
    < af:column sortable = "false" headerText = "Title" align = "DΘmarrer" id = "c2" >
    < af:outputText value = "#{row.title}" id = "ot4" / > "
    < / af:column >
    < af:column sortable = "false" headerText = "State" align = "DΘmarrer" id = "c5" >
    < af:outputText value = "#{row.state}" id = "ot3" / > "
    < / af:column >
    < af:column sortable = "false" headerText = 'Result' align = 'start '.
    ID = 'c4' >
    < af:outputText value = "#{row.outcome}" id = "ot1" / > "
    < / af:column >
    < af:column sortable = "false" headerText = "PrioritΘ" align = 'end' id = 'c6' >
    < af:outputText value = "#{row.priority}" id = "ot6" / > "
    < / af:column >
    < / af:table >

    When I look in the log, I found that the method getTasks() in the taskListBean has been performed several times? There is a performance problem. Can someone tell me why? How to fix?

    http://StackOverflow.com/questions/2090033/why-JSF-calls-getters-multiple-times

  • How to customize the Filter Table ADF Faces?

    How to customize the filter ADF Faces Table

    I want to filter column == > add filter select only one option

    http://img192.imageshack.us/img192/994/unledixd.PNG | http://img192.imageshack.us/img192/994/unledixd.PNG


    What about Ninja

    Published by: Ninja on August 29, 2011 12:42 AM

    Published by: Ninja on August 29, 2011 12:47 AM

    Check [url: http://hasamali.blogspot.com/2010/10/custom-adf-table-filter-with-drop-down.html] this blog.

    Jean Lou

  • How can I reset the filter 'Radial '?

    As soon as I start the tool a mark the point I want to change, the place becomes both more dark grey/beige. Question, is not how much I want to work with, so if the filter is running inside or outside. The next point, is that I can't change just the inside or outside of the marked circle. The two parts are modified, the not activated a little less than the other.

    Hope so, I'd explain it, if not, ask at your

    Select the radial filter and click twice on the effect of the speech.

    Here's a video tutorial:

    http://TV.Adobe.com/watch/whats-new-in-Lightroom-5/Lightroom-5-radial-filter/

  • Plugin data: determine the string table values ranging

    Hello, once again

    I have always fought with a use composed of data from the separate tab

    When I read a line via

    sMyLine = file.getnextline

    and try to extract the values with

    aMyValues = split (sMyLine, vbTab etc.)

    the returned array is Variant.

    Now I try to assign values of this array of different channels, for example

    for i = 1 to Ubound (aMyValues)

    ... root channelgroups (j). Channels (i). Values (k) = aMyValues (i)

    next

    This results in an error message "this channel has been generated with e64 Type, values to fill must not be of type VT_BSTR" or what would be the translation into English.

    So I have to turn the table variant to a R64-table. However cdbl (aMyValues (1)) will not work.

    Workaround heavy:

    When reading data with

    root... channelgroups (1). Channels (1). Values (1) = file. GetNextStringValue (e64)

    the value is of the appropriate type. But this translates many read-only operations.

    Is there a way to read in one line and add the values of channels? File.GetStringBlock in the examples is especially used with DirectAccessChannels.Add. But I don't want the new n-channel, but rather add to already existing ones.

    Thank you for your support.

    Michael

    Hello

    I think that there are several ways to reach your goal.

    If you want to assign the values in your table variant of a digital channel, you can use the File.Formatter.ParseString () method. Please make sure you that trainers for your numeric values are defined according to the needs, for example, File.Formatter.DecimalPoint, etc.

    File.Formatter.DecimalPoint = «»
    ...
    for i = 1 to Ubound (aMyValues)
    ... root channelgroups (j). Channels (i). Values (k) = File.Formatter.ParseString (aMyValues (i), eR64)
    next

    The best way is to use the StringBlock object. If you do not want to create a new channel for each DirectAccessChannel, you can use ProcessedChannel to add multiple DirectAccessChannels, for example

    Dim processedChn: Set processedChn = channelGroup.Channels.AddProcessedChannel ("ChannelName", eR64, eConcatProcessor)
    ...
    processedChn.Channels.Add (DirectAccessChannel)

    I hope this helps.

  • How do I remove the filter from column of table without QueryEvent

    Hi all

    With the help of JDev 12.1.3.

    I have a table that contains a list of customers and suppliers like so.  Auto Repair Bob is a client.  Chips R Us is a seller.

    Name                | TypeKey (foreign key to the Table of Type) | Unique ID

    Auto repair Bob C 1

    Quickie Mart C 2

    R chips us V 3

    Let's say that I filter on 'V' through the user interface by selecting a choice selection of the column in the table.  Now only chips R Us opens.

    Name                | MasterTypeKey | Unique ID

    R chips us V 3

    Now, let's say that I want to remove my filter I can do another business process programmatically.  How to do that without requiring a QueryEvent and so to refresh a page?  I have been searching the various view classes of being variable Manager and have located the variable I need to remove it, but I'm not sure how to let him go.

            // get the query in it's current state
            String lQuery = bpIterator.getViewObject().getQuery();
            //get Valriables
            VariableValueManager lEnsureVariableManager = bpIterator.getViewObject().ensureVariableManager();
            Variable[] lVariables = lEnsureVariableManager.getVariables();
            int lCount = lEnsureVariableManager.getVariableCount();
            // Dump query
            System.out.println("---query--- " + lQuery);
            // if variables found dump them
            if (lCount > 0){
                System.out.println("---Variables:");
                for (int ii = 0; ii < lCount; ii++){
                    Object lObject = lEnsureVariableManager.getVariableValue(lVariables[ii]);
                    System.out.println("  --- Name: " + lVariables[ii].getName() + " Value: " +
                                       (lObject != null ?  lObject.toString() : "null"));
                }
            }  
    

    Makes me

    ---query--- SELECT BusinessPartners.COMPANY_ACCOUNT_ID,       BusinessPartners.MASTER_TYPE_KEY,         BusinessPartners.NAME,         BusinessPartners.BUSINESS_PARTNER_REF_KEY,      FROM BUSINESS_PARTNERS BusinessPartners WHERE ( ( ( (UPPER(BusinessPartners.MASTER_TYPE_KEY) = UPPER(:vc_temp_1) ) ) ) ) AND BusinessPartners.COMPANY_ACCOUNT_ID = :Bind_CompanyAccountId ORDER BY BusinessPartners.NAME
    ---Variables:
      --- Name: vc_temp_1 Value: C
      --- Name: pCompanyAccountId Value: null
    

    I am trying to get vc_temp_1 is deleted or to accept any value, but when I write what follows I get an error message "missing parameter IN or OUT."

    lEnsureVariableManager.removeVariable("vc_temp_1");
    

    Any ideas on how I can remove the filter on my view object?

    It cannot work without running the query again. As you see that the filter is running a query make the vo is not all data.even if you delete the variable filter, that you do not get the data from the database you need to show.

    You can reset the filter (see https://tompeez.wordpress.com/2013/08/06/jdev-12c-how-to-reset-a-filter-on-an-aftable-the-12c-way/) but you must run the query again to the corresponding data.

    Timo

  • How to reset the filters in the table in 12 c?

    Hi all

    According to the 12 c compiler, the getFilterCriteria() method is obsolete. I used this method in 11g to clear the filters in the table.

    So the question is:

    What is the new way to reset the filters in the table in 12 c?

    Jhon

    jdev 12 c

    Jhon,

    Jup, they change, they changed the filter a bit of handling.

    Try this code to reset the filter:

    public void resetTableFilter (ActionEvent actionEvent)

    {

    FilterableQueryDescriptor = queryDescriptor

    GetEmpTable () .getFilterModel () (FilterableQueryDescriptor);

    If (queryDescriptor! = null & queryDescriptor.getFilterConjunctionCriterion ()! = null)

    {

    ConjunctionCriterion cc = queryDescriptor.getFilterConjunctionCriterion ();

    The list of lc = cc.getCriterionList ();

    for (criterion c: lc) {}

    AttributeCriterion ac = c (AttributeCriterion);

    ac.setValue (null);

    }

    getEmpTable () .queueEvent (new QueryEvent (getEmpTable (), queryDescriptor));

    }

    }

    I'll write the long explanation in a blog tomorrow.

    Timo

  • Manually reset the VMID values

    I use ESXi 5.5.0 update 1, but in general it is relevant for all versions of ESXi.  My question is, how can you redefine the VMID value for a virtual machine or reset the counter so that new virtual machines will then leave to a lower number?  When you run:

    [root@esxcore01]:~-> vim - cmd vmsvc/getallvms]

    You get a list of virtual machines on the host and they all have a VMID associated with them.  Generally starting at 1 and counting upwards.  Whenever you delete a virtual computer and re-create, there is just the next value in the list.  In my case where I throw a large number of virtual machines for a short period of time and then delete them when I'm actually, numbers VMID can easily stand up hundreds or thousands very quickly.  What I would do without a CD re - install the host is to reset the VMID table.  The steps I would like to follow is something like:

    (1) delete all the virtual machines on the host or de-register all the virtual machines on the host.

    (2) change the right configuration file to reset the counter

    (3) create a new virtual machine or re - save a virtual machine and have it start the VMID 1.

    Has anyone understand what configuration files must be modified to make this happen?

    What I found is: [root@esxcore01]: /etc/vmware/hostd/vmInventory.xml contains a list of all the VMS registered on the host computer, but he calls VMID < objID >.  The < objID > is also at: [root@esxcore01]: /etc/vmware/hostd/pools.xml

    There is no other reference to that in the configuration of the system.  So unless there is a database file that is in there, I don't know where to look. Y at - it a command that can reset the value?

    I found a way to reset the counter that is currently used.  For example, say you have 4 guests:

    Server 1 = VMID 1

    Server 2 = VMID 2

    Server 3 = VMID 11

    Server 4 = VMID 20

    If you remove the 3 and 4 of your inventory server, shut down the server 1 and 2 and then restart the ESX Server, the VMID table resets.  So once the ESX Server host / back to the top, you can add the 3 and 4 to the inventory server and they will VMID 3 and 4 VMID respectfully.

  • What is the other possible way to reset the new hash in 12 c value

    What is the other possible way to reset the new hash value in 12 c (edit user < username > identified by the values < "Hash" >;  ?

    Thank you

    Suman

    Thanks for all the help.

    Problem has been resolved. There was little extra space (undesirable character in file) which has been provided by the user. Monday, I created a test user and manually run reset password and has worked well:

    SQL > select banner version of v$.

    BANNER

    --------------------------------------------------------------------------------

    Database Oracle 12 c Enterprise Edition Release 12.1.0.2.0 - 64 bit Production

    PL/SQL Release 12.1.0.2.0 - Production

    CORE Production 12.1.0.2.0

    AMT for Linux: Version 12.1.0.2.0 - Production

    NLSRTL Version 12.1.0.2.0 - Production

    SQL > alter the test user identified by test2;

    Modified user.

    SQL > select name, password of the user$ where name = 'TEST ';

    NAME PASSWORD

    ---------- --------------------

    TEST A43C4E7D0745AB7D

    SQL > alter user identified by the values "A43C4E7D0745AB7D" test

    Modified user.

    My apologies without testing on my side I asked a question here.

    Thank you.

    Suman

  • 12 c: queryListener custom af:table component - how to get the filter values?

    Hello

    in a queryListener custom on an element of af: table, I am trying to print the values of the filter fields (for example to do a validation)

    public void onQuery(QueryEvent pQueryEvent)
     {
     RichTable vRt = (RichTable)pQueryEvent.getComponent();
     CollectionModel vModel = (CollectionModel)vRt.getValue();
     JUCtrlHierBinding vData = (JUCtrlHierBinding)vModel.getWrappedData();
    
     ConjunctionCriterion vCc =
     pQueryEvent.getDescriptor().getConjunctionCriterion();
     for (Criterion vCriterion: vCc.getCriterionList())
     {
     if (vCriterion instanceof AttributeCriterion)
     {
     AttributeCriterion vAttCriterion =
     (AttributeCriterion)vCriterion;
     AttributeDescriptor vAttDescriptor =
     vAttCriterion.getAttribute();
     System.out.println("Type: " + vAttDescriptor.getType());
     System.out.println("Name: " + vAttDescriptor.getName());
      System.out.println("Value: " + vAttCriterion.getValue());
     
     }
     }
    
     JSFUtil.invokeMethodExpression("#{bindings." +
     vData.getIteratorBinding().getName().replace("Iterator",
     "Query") + ".processQuery}", Object.class,
     QueryEvent.class, pQueryEvent);
     }
    
    
    

    However... the value of the filterfield (System.out.println ("Value:" + vAttCriterion.getValue ());) is always null after the seizure of a filter value and pressing on enter the af: table.

    The table is the filter properly.

    How can I get the values of the filter fields in the queryListener?

    Kind regards

    Koen Verhulst

    Keon, in my blog JDev 12 c: how to reset a filter on an af:table channel 12 c | JDev & amp; ADF Goodies that I use

    /**

    * method to reset filter attributes on an af:table

    * @param actionEvent event which triggers the method

    */

    publicvoidresetTableFilter(ActionEvent actionEvent) {

       FilterableQueryDescriptor queryDescriptor = (FilterableQueryDescriptor) getEmpTable().getFilterModel();

       if(queryDescriptor != null&& queryDescriptor.getFilterConjunctionCriterion() !=null) {

           ConjunctionCriterion cc = queryDescriptor.getFilterConjunctionCriterion();

           List lc = cc.getCriterionList();

           for(Criterion c : lc) {

               if(cinstanceofAttributeCriterion) {

                   AttributeCriterion ac = (AttributeCriterion) c;

                   ac.setValue(null);

               }

           }

           getEmpTable().queueEvent(newQueryEvent(getEmpTable(), queryDescriptor));

       }

    }

    to reset the values. You should be able to get the values of the same way.and print the values to set them to null instead.

    Timo

  • How to reset the value of selectOneChoice when it is af:table

    12.1.3 Jdev

    I need to reset the selectOneChoice of the first empty value when you click a Refresh"" button.  The selectOneChoice is located in one of the columns of af: table.  I tried to reset by getting the selectOneChoice component and set the value to «»   Please see the snipplet of code for more details. However if the selectOneChoice is not within the af: table, then using the same way to reset works!

    in jspx

    "< af:commandToolbarButton id ="ctb15"icon="/images/refresh_qualifier.png "shortDesc ="Refresh"action =" #{viewScope.backing_requestOverview.onRefresh} "partialSubmit ="false"> < / af:commandToolbarButton >"

    < af:table value = "#{bindings." ItasTaskAssigneesListVO1.collectionModel}.

    var = "row".

    lines = ' #{bindings. " ItasTaskAssigneesListVO1.rangeSize}.

    emptyText = "#{bindings." ItasTaskAssigneesListVO1.viewable? "{'No data to display.': 'Access Denied.'}".

    fetchSize = "#{bindings." ItasTaskAssigneesListVO1.rangeSize}.

    rowBandingInterval = '1' id = 't4 '.

    styleClass = "AFStretchWidth."

    columnStretching = "column: c1.

    rowSelection = 'single '.

    selectionListener = "#{bindings." ItasTaskAssigneesListVO1.collectionModel.makeCurrent}.

    selectedRowKeys = ' #{bindings. " ItasTaskAssigneesListVO1.collectionModel.selectedRow} ">"

    < af:column id = "c6" headerText = "Action".

    rendering = "#{bindings." EventLevelTypeCode.inputValue! ' = ' 10 G ' & amp; & amp;! viewScope.backing_requestOverview.isReadOnly} ">"

    < af:selectOneChoice id = "soc2".

    autoSubmit = 'true '.

    valueChangeListener = "#{viewScope.backing_requestOverview.onChangeMyPendingAction} '"

    Disabled = "#{!}" line. TaskActionEnabled} ">"

    < f: selectItems value = "#{backing_requestOverview.actionsMap [row." StatusUid]} ".

    ID = "si3" / >

    < / af:selectOneChoice >

    < / af:column >

    < / af:table >

    < af:selectOneChoice id = "soc222" >

    < af:selectItem label = "Complete"

    value = "COMPLETE"

    ID = "si4" / >

    < af:selectItem label = "Assign".

    value = "ASSIGN".

    ID = "si555" / >

    < / af:selectOneChoice >

    Java bean:

    public String onRefresh() {}

    RichSelectOneChoice actionDropdown = (RichSelectOneChoice) JSFUtils.findComponentInRoot ("soc2");

    actionDropdown.setValue("");

    RichSelectOneChoice actionDropdown2 = (RichSelectOneChoice) JSFUtils.findComponentInRoot ("soc222");

    actionDropdown.setValue("");

    If (actionDropdown! = null) {}

    AdfFacesContext.getCurrentInstance () .addPartialTarget (actionDropdown);

    }

    If (actionDropdown2! = null) {}

    AdfFacesContext.getCurrentInstance () .addPartialTarget (actionDropdown2);

    }

    }

    Please notify.

    Thank you

    -Mina

    The root of the problem remains the same. As long as you don't set a value for each of SPC property that you use, you cannot reset them without running into trouble.

    An soc within a table must be stored too, you must provide the form of attribute value each of them. If you only use a soc, to distinguish the action to take, it belongs in the table.

    Timo

Maybe you are looking for