ADF selectBooleanCheckbox lost values

I created a simple page with selectBooleanCheckbox in a table:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
  <jsp:directive.page contentType="text/html;charset=UTF-8"/>
  <f:view>
    <af:document id="d1">
      <af:messages id="m1"/>
      <af:form id="f1">
        <af:panelStretchLayout id="psl1">
          <f:facet name="center">
            <af:panelGroupLayout id="pgl1">
              <af:panelGroupLayout id="pgl2"  styleClass="AFStretchWidth"
                                   binding="#{backingBeanScope.DeptBean.tablePGL}">
                <af:table value="#{bindings.DeptWithFlagView1.collectionModel}"
                          var="row" styleClass="AFStretchWidth"
                          rows="#{bindings.DeptWithFlagView1.rangeSize}"
                          emptyText="#{bindings.DeptWithFlagView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.DeptWithFlagView1.rangeSize}"
                          rowBandingInterval="0"
                          selectedRowKeys="#{bindings.DeptWithFlagView1.collectionModel.selectedRow}"
                          selectionListener="#{bindings.DeptWithFlagView1.collectionModel.makeCurrent}"
                          rowSelection="single" id="t1">
                  <af:column sortProperty="Deptno" sortable="false"
                             headerText="#{bindings.DeptWithFlagView1.hints.Deptno.label}"
                             id="c2">
                    <af:inputText value="#{row.bindings.Deptno.inputValue}"
                                  label="#{bindings.DeptWithFlagView1.hints.Deptno.label}"
                                  required="#{bindings.DeptWithFlagView1.hints.Deptno.mandatory}"
                                  columns="#{bindings.DeptWithFlagView1.hints.Deptno.displayWidth}"
                                  maximumLength="#{bindings.DeptWithFlagView1.hints.Deptno.precision}"
                                  shortDesc="#{bindings.DeptWithFlagView1.hints.Deptno.tooltip}"
                                  id="it2">
                      <f:validator binding="#{row.bindings.Deptno.validator}"/>
                      <af:convertNumber groupingUsed="false"
                                        pattern="#{bindings.DeptWithFlagView1.hints.Deptno.format}"/>
                    </af:inputText>
                  </af:column>
                  <af:column sortProperty="Dname" sortable="false"
                             headerText="#{bindings.DeptWithFlagView1.hints.Dname.label}"
                             id="c4">
                    <af:inputText value="#{row.bindings.Dname.inputValue}"
                                  label="#{bindings.DeptWithFlagView1.hints.Dname.label}"
                                  required="#{bindings.DeptWithFlagView1.hints.Dname.mandatory}"
                                  columns="#{bindings.DeptWithFlagView1.hints.Dname.displayWidth}"
                                  maximumLength="#{bindings.DeptWithFlagView1.hints.Dname.precision}"
                                  shortDesc="#{bindings.DeptWithFlagView1.hints.Dname.tooltip}"
                                  id="it4">
                      <f:validator binding="#{row.bindings.Dname.validator}"/>
                    </af:inputText>
                  </af:column>
                  <af:column sortProperty="Loc" sortable="false"
                             headerText="#{bindings.DeptWithFlagView1.hints.Loc.label}"
                             id="c3">
                    <af:inputText value="#{row.bindings.Loc.inputValue}"
                                  label="#{bindings.DeptWithFlagView1.hints.Loc.label}"
                                  required="#{bindings.DeptWithFlagView1.hints.Loc.mandatory}"
                                  columns="#{bindings.DeptWithFlagView1.hints.Loc.displayWidth}"
                                  maximumLength="#{bindings.DeptWithFlagView1.hints.Loc.precision}"
                                  shortDesc="#{bindings.DeptWithFlagView1.hints.Loc.tooltip}"
                                  id="it5">
                      <f:validator binding="#{row.bindings.Loc.validator}"/>
                    </af:inputText>
                  </af:column>
                  <af:column sortProperty="Flag" sortable="false"
                             headerText="#{bindings.DeptWithFlagView1.hints.Flag.label}"
                             id="c1">
                    <af:selectBooleanCheckbox value="#{row.bindings.Flag.inputValue}"
                                              required="#{bindings.DeptWithFlagView1.hints.Flag.mandatory}"
                                              shortDesc="#{bindings.DeptWithFlagView1.hints.Flag.tooltip}"
                                              id="it1">
                    </af:selectBooleanCheckbox>
                  </af:column>
                  <af:column sortProperty="Flag" sortable="false"
                             headerText="#{bindings.DeptWithFlagView1.hints.Flag.label}"
                             id="c6">
                    <af:outputText value="#{row.bindings.Flag.inputValue}"
                                   shortDesc="#{bindings.DeptWithFlagView1.hints.Flag.tooltip}"
                                   id="ot1"/>
                  </af:column>
                  <af:column sortProperty="TranFlag" sortable="false"
                             headerText="#{bindings.DeptWithFlagView1.hints.TranFlag.label}"
                             id="c5">
                    <af:selectBooleanCheckbox value="#{row.bindings.TranFlag.inputValue}"
                                              required="#{bindings.DeptWithFlagView1.hints.TranFlag.mandatory}"
                                              shortDesc="#{bindings.DeptWithFlagView1.hints.TranFlag.tooltip}"
                                              id="it3">
                    </af:selectBooleanCheckbox>
                  </af:column>
                  <af:column sortProperty="TranFlag" sortable="false"
                             headerText="#{bindings.DeptWithFlagView1.hints.TranFlag.label}"
                             id="c7">
                    <af:outputText value="#{row.bindings.TranFlag.inputValue}"
                                   shortDesc="#{bindings.DeptWithFlagView1.hints.TranFlag.tooltip}"
                                   id="ot3"/>
                  </af:column>
                </af:table>
              </af:panelGroupLayout>
              <af:panelGroupLayout id="pgl3" visible="false"  styleClass="AFStretchWidth"
                                   binding="#{backingBeanScope.DeptBean.hidePGL}">
                <af:outputText value="Hidden" id="ot2"/>
              </af:panelGroupLayout>
            </af:panelGroupLayout>
            <!-- id="af_one_column_stretched"   -->
          </f:facet>
          <f:facet name="top">
            <af:commandButton text="Show/Hide" id="cb1"
                              action="#{backingBeanScope.DeptBean.onSHowHideClicked}"/>
          </f:facet>
        </af:panelStretchLayout>
      </af:form>
    </af:document>
  </f:view>
</jsp:root>
I have Show/Hide button to show / hide the table, the action method is below:
    public void onSHowHideClicked() {
        if(tablePGL.isVisible()){
            tablePGL.setVisible(false);
            hidePGL.setVisible(true);
        } else {
            tablePGL.setVisible(true);
            hidePGL.setVisible(false);
        refreshComponent(tablePGL);
        refreshComponent(hidePGL);
    private RichPanelGroupLayout tablePGL;
    private RichPanelGroupLayout hidePGL;
After hide -> show, all checked checkbox lost their value (unchecked).
This is constantly reproducable issue for adf selectBooleanCheckbox.
Can anyone please provide solution for this issue? If this is a known issue, any workaround? I can provide this simple code for analysis if needed.
Thanks

tried with
<af:selectBooleanCheckbox value="#{row.TranFlag}" 
</af:selectBooleanCheckbox>
Also, take a look at pageDef, you should to have something like this:
<tree...>
<Item Value="TranFlag" Binds="TranFlag"/>
</tree>
<buttonid="TranFlag"
>
<AttrNames>
<Item Value="TranFlag"/>
</AttrNames>
<ValueList>
<Item Value="true"/>
<Item Value="false"/>
</ValueList>
</button>
this code formater driving me crazy, I am unable to handle it at all :-(

Similar Messages

  • How can Filter ADF BC LOV values in ADF Faces UI?

    How can Filter ADF BC LOV values in ADF Faces UI?
    Hi i am bit struggle with filtering LOV values in ADF Faces UI.
    I have table In UI ,that is from ADF BC .Now i am Filtering that table data using Select one choice in same page.That SOC is named Type App:  ,So according to selection of Type in SOC table have to display.This portion is done.But my requirement is ,when i got perticular result table ,i want to add one more row related to that type only,so for that i had take popup and drag datacontrol as a form.In that form first column is Select one choice ,select Items will come from BC table.So here i want to filter those LOV values according selection in Type SOC.Suppose Type SOC contain Type1,Type2 values,then when i am selectin Type1,Type1 related date willl diplay on table,now click on ADD button popup will open and in that Type SOC will Dispaly only Type1 related values not Type 2 type values.Type1,Type2 values come from same Table.
    Here i am asking every one,please do help.

    fyi
    The HR schema I used to build the example application had some modifications in the context of https://tuhra2.samplecode.oracle.com/ .
    So after running "demo/schema/mksample" as documented in "Resetting Sample Schemas" ...
    at http://download.oracle.com/docs/cd/E11882_01/server.112/e10831/installation.htm#I6236
    ... I got "java.sql.SQLSyntaxErrorException: ORA-00904: "EMPLOYEES"."MODIFIED_DATE": invalid identifier ", using the example application in BindVarDefaultsInUIApp-v0.02.zip .
    So, I have updated the example application to match the reset HR schema:
    - see http://www.consideringred.com/files/oracle/2010/BindVarDefaultsInUIApp-v0.03.zip
    - see screencast at http://screencast.com/t/gd6zKn63j
    Because Re: af:table filter date format : task-flow navigation issue to get feedback, I created service request 3-2193340441 using My Oracle Support about (q1) and (q2).
    regards
    Jan

  • Lost value of a constant

    In the spec part of a package I define
    c_GTCON50_S CONSTANT VARCHAR2(1):='S';
    In a procedure in the body part I do:
    INSERT INTO IGIC_DECE_400_11_INCIDENCIAS
    ( ID_DECE_INCI, ID_DECE_400, COD_DECE_INCI,
    COD_DECE_NIVI, ACTIVA_INCIDENCIA,
    FECHA_INICIO_SIT_TRIB, FECHA_FIN_SIT_TRIB )
    VALUES
    ( GTSEQU_INCI.nextval, p_id_DECE400, p_incidencia,
    p_codDeceNivi, c_GTCON50_S, NULL, NULL );
    Do you see? I INSERT that constant... But when I inspect what I have in the table, I can see that record but the field corresponding to the constant IS NULL ??????
    Why?
    What's the reason for that "lost value" of a constant?
    This procedure of the package with that INSERT is executed by another package..
    I don't know if it is a clue...
    Edited by: pacoKAS on 31-mar-2010 14:13

    pacoKAS wrote:
    Thank you for your interest...
    But my CONSTANT is ONLY defined in the specification section of the package.... The "invoking" package has not defined a CONSTANT with the same name....A constant cannot be changed.
    SQL> create or replace package MyLibrary is
      2
      3          MY_CONSTANT     constant varchar2(5) := 'fixed';
      4
      5  end;
      6  /
    Package created.
    SQL>
    SQL>
    SQL> -- cannot change its value
    SQL> exec MyLibrary.MY_CONSTANT := 'gotya';
    BEGIN MyLibrary.MY_CONSTANT := 'gotya'; END;
    ERROR at line 1:
    ORA-06550: line 1, column 17:
    PLS-00363: expression 'MYLIBRARY.MY_CONSTANT' cannot be used as an assignment target
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    SQL>
    There is a reason for the "loss of value" of the constant...
    But I don't know that reason....It cannot loose the value. Not possible. As shown above, you cannot change the variable's value - the reserve word "+constant+" does not allow it.
    The only other explanation is scope - you think you are referring to that constant, but within the current code unit's scope, the reference is to another variable. And that's the value that you see.
    This is of course assuming that you are diagnosing the problem correctly. A trigger could be responsible for changing the row's column value set by that constant via the INSERT statement. There could be an error (constraint violation for example) that is suppressed - so it seems that a row with that constant value is inserted, when it is not the case. Etc.

  • ADF  Get selected values from Dynamic Lists

    Hi,
    I have a created a dropdown list box where the list gets value through a managed bean. On commit I want the selected value to be saved into the CardiacV1EchoSched column of the Entity object (database). The source looks like this.
    <af:selectOneChoice value="#{bindings.CardiacV1EchoSched.inputValue}"
    label="#{bindings.CardiacV1EchoSched.label}"
    valuePassThru="true">
    <f:selectItems value="#{TTrack.carScheList}"/>
    </af:selectOneChoice>
    The problem is that getCardiacV1EchoSched() in the entity object class is null. The selected value does not get passed into #{bindings.CardiacV1EchoSched.inputValue} at all. If I bind the value to a variable in managed bean I get the selected value.
    Thanks in advance,

    Hi,
    not sure which business service you use to update the database, but if you use ADF Business Components then you need to call the commit operation
    Frank

  • How to set ADF table cell value in managed bean

    Hi all,
    I have an ADF table on my page, let's assume with three columns with Input text box: col A, col B and col C where column C is hidden, when I click on Submit is possible to set in managed bean the value of column C for each rows?
    Thk in advance.
    L-

    Hi,
    you can create a button with an ActionListener. In the ActionListener you can iterate over the rows (using the iterator) and set the value on the attribute. If you need to save the changes you can call the commit operation binding.
    Linda

  • How to get ADF UI Component value in managed bean

    JDev version 11.1.1.1.3.0
    I have written a managed bean method and calling that method on valueChangeEvent of a Select boolean Checkbox ADF Component.
    I want to retreive the value of some other component located in the same page as the checkbox. I need the value of the component into the manged bean. I know how to get the value of the checkbox eg:
    public void selectCheckBoxListener(ValueChangeEvent evt){ 
    boolean selectedValue = (Boolean)evt.getNewValue();
    String oldvalue = (String)evt.getOldValue();
    How can I access the value of an input text component in the above managed bean ? Can someone help on this?

    Hi Sackam,
    String selectedRowId = (String)(evt.getComponent().findComponent("rowId")).getAttributes().get("value");
    The above coding will work fine
    but wht u have specified rowId???? whether the "value" field is inside a af:table????? if so i have doubt on the above code's working.....
    Regards,
    Suganth.G

  • ADF UIX: Get value in LOV messageList.

    I have a messageList that bind to a vo but when I call getTxtCodeCat method from the Struts form bean in Action Class, it does always return me a list index (0,1,2...).
    <struts:messageList model="${data.protecteddoc_GN_GnCodeSetupUIModel.CodeDescription}" name="txtCodeCat" prompt="[Code Category]" styleClass="DropdownMedium" required="yes" size="1">
    <contents childData="${data.protecteddoc_GN_GnCodeSetupUIModel.CodeDescription.displayData}">
    <option model="${uix.current}"/>
    </contents>
    </struts:messageList>
    Please advice how do I retrieve the value instead of index from the LOV?

    This thread is a duplicate. Direct all followups to:
    Urgent! ADF UIX:LOV messageList returned index no. during runtime.

  • Oracle ADF VO old value problem.

    I have a web application developed Oracle ADF and Jdev 11.1.2.3.0. I have a button in my page which name is "Complaint". When user click the button, it invokes a method on ApplicationModuleImpl via a ManagedBean.
    public void clearAndExecute(){
    getCardView1().clearCache();
    getUser1View1().clearCache();
    getReplyView1().clearCache();
    getCardView1().executeQuery();
    getUser1View1().executeQuery();
    getReplyView1().executeQuery();
    public void increaseComplaint(BigDecimal cardID) {
    clearAndExecute();
    ViewObjectImpl vo = getCardView1();
    Integer complaintCount;
    BigDecimal userID=null;
    Row[] rows = vo.findByKey(new Key(new Object[] { cardID }),1);
    if (rows != null && rows.length > 0) {
    Row row = rows[0];
    complaintCount = (Integer) row.getAttribute("CardComplaintcount");
    ++complaintCount;
    userID=(BigDecimal) row.getAttribute("UserUserid");
    row.setAttribute("CardComplaintcount", complaintCount);
    clearAndExecute();
    this.getDBTransaction().commit();
    clearAndExecute();
    This method gets the "CardComplaintcount" column value in CardView1 and increase +1 it. and commit Transaction. My method runs normally but i have an issue.
    For example scenerio ; Initially, In column "CardComplaintcount" value is 5. And i open two web page different browser. Then, i clicked "Complaint button" 3 times. I looked at the mysql db, its value 8 it is OK. And then, i turn to other opened browser and clicked "Complaint" button one time and looked at the mysql db, and size is 6. it must be 8+1=9. It is likely refresh problem or not, How can handle this problem.
    Edited by: ramonypp on 27.Kas.2012 18:29

    Kdario, i know that, i can do a jdbcl call and get last result from DB. But, What is here ADF business components, Entities and View Objects, Rows. More jdbc call can make our application performance down. Due to this reason, i'm trying to solve this problem with entity objects or view objects.
    I did some news. Overriding the my entity object's lock method like below;
    try {
    super.lock();
    catch (RowInconsistentException ex) {
    this.refresh(REFRESH_WITH_DB_FORGET_CHANGES | REFRESH_CONTAINEES);
    super.lock();
    When it encounter with Optimistic lock exception (RowInconsistentException ) fetchs the new results from db, and refresh the entity. But i have only problem too. When i invoke the "ComplaintCount" button in other page, first click it retrives last value from DB, and second click, it counts complaintcount +1. I dont know Why first time id doesnt count +1,

  • Lost values in DropDown List

    Hello Experts!
    I created a dynamic interactive form with a dynamic table. This table has two buttons. One to add a new row and one to delete
    the selected row. The row has field called EAN. This field is formatted as dropdown list. I created i the interface of the form a table and bind the table to this dropdown list field. With my print program i fill the table, generate my form and download it on my pc.
    Now my problem. After download, i open my form and the first row of my table has the first value as content in the field.
    Every thing is right. But if a create a new row, the field is empty. This is also correct. But if i will select a new value from my dropdown list, one value is missing and i got two new blank values in my dropdown list. This runs so on if i create a new row.
    I don´t understand why i lost my values in the dropdown list, when i create a new row.
    I hope anybody of you knows the solution for that.
    For your information, here is my coding to add the new row:
    data.#subform[0].FORM.DATA.DATA_ITEMS.I_DATA.STRUC.Teilformular1.Schaltfläche1::click - (JavaScript, client)
    // xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
    var anInstanceManager = this.parent.parent.instanceManager;
    var newInstance = anInstanceManager.addInstance(1);
    var aToIndex = this.parent.parent.index + 1;
    var aFromIndex = newInstance.index;
        anInstanceManager.moveInstance(aFromIndex, aToIndex);}
    Regards
    Barney

    Hi Sanoosh!
    Thanks for your advice!
    I already bound the field for the dropdown list to a different node than the datatable.
    So that is also a fact that i don´t understand. When i have a different data node, why
    is it possible to fill or overwrite data from a different data node!
    Regards!
    Barney

  • Adf - decrypt the value from dbms_obfuscation_toolkit.md5

    Currently we store a string value in the DB using dbms_obfuscation_toolkit.md5(input_string=>'124').
    How do I decrypt this value back so that I can display in the adf application please?

    btw, md5 is secure hash algorithm so you can't decrypt value.
    Dario

  • Programmatically getting ADF Tree node value(Version 11.1.2.0.0)

    Hi Forum,
    My Jdeveloper version 11.1.2.0.0
    and i am using Fusion Web Application (ADF) Template.
    In my .jspx page i have added ADF Tree.
    Now i want to get node value from backing bean.
    My java code is
    public void selectevent(SelectionEvent evt) {
    RichTree tree = (RichTree)evt.getSource();
    TreeModel model = (TreeModel)tree.getValue();
    RowKeySet rowKeySet = evt.getAddedSet();
    Object key = rowKeySet.iterator().next();
    model.setRowKey(key);
    JUCtrlValueBinding nodeBinding = (JUCtrlValueBinding)model.getRowData();
    if(model.getDepth()==1){
    int empid = (Integer)nodeBinding.getAttribute("EmployeeId");
    when i click on second node the following error occured.
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
    javax.el.ELException: java.lang.NullPointerException
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1579)
         at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:237)
         at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:305)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:157)
         at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:244)
         at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:305)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
         at tree.view.clsTreeTest.selectevent(clsTreeTest.java:23)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         ... 48 more
    <RegistrationConfigurator> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.el.ELException: java.lang.NullPointerException
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1579)
         at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:237)
         at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:305)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:157)
         at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:244)
         at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:305)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
         at tree.view.clsTreeTest.selectevent(clsTreeTest.java:23)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         ... 48 more
    Please any solution to get node value programmatically.
    Thanks

    Thanks
    After applying new code when i click on first node it is working fine but click on second node it produced error like below
    <FacesCtrlHierBinding$FacesModel> <makeCurrent> ADFv: No row found for rowKey: [oracle.jbo.Key[], oracle.jbo.Key[]].
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
    javax.el.ELException: java.lang.NullPointerException
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1579)
         at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:237)
         at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:305)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:157)
         at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:244)
         at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:305)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
         at tree.view.clsTreeTest.selectevent(clsTreeTest.java:69)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         ... 48 more
    <RegistrationConfigurator> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.el.ELException: java.lang.NullPointerException
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1579)
         at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:237)
         at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:305)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:157)
         at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:244)
         at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:305)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
         at tree.view.clsTreeTest.selectevent(clsTreeTest.java:69)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         ... 48 more

  • SelectBooleanCheckbox default value

    Hi,
    I can't resolve this task, which initially seemed easy.
    I have selectBooleanCheckBox and a panelHeader. When checkbox is selected, panelHeader is hidden and it is shown, when checbox is not selected.
    Additionally, this checkbox is bound to db column (varchar2(1), Y and N values). How can I achieve the following behavior?
    Initially, the checkbox is checked and panelHeader is not shown.
    A user unchecks the checkbox and submits the page. When another user opens the page with the same row data, he should see that the checkbox is not checked and the panelHeader is shown.
    Currectly we can't have it working, either the checkbox becomes readonly (when we put a condition into the selected field) or it is always checked.
    JDev is 11.1.1.6.
    Thanks in advance for any help!

    Hi,
    since it is mapped to a DB column, why not exposing an attribute on the VO and then following
    https://blogs.oracle.com/smuenchadf/resource/examples#163
    for mapping Y / N to a boolean value?
    Frank

  • ADF UI is not reflect the ADF view updated values.

    Hi Expert,
    I have a ADF fusion web application using the ADF-BC. In that one of the View is created using the SQL query (refer the database base view in the back ground). I have some operation in the model layer. The operation updated the records so the view reeds be refresh to get the new values. Unfortunately the values are not refreshed even i ppr the view UI table. I checked in the model by adding some log and the values are correct in the model. So how can i push back the updated values to the UI.
    Please guide me on this.
    - t

    Hi,
    if you change the data through ADF then a PPR refresh will do. If you change the data underneath (which sounds like you are doing), you will need to re-execute the iterator (just use the Execute operationof the view Object in the data control), wich can be done programmatically and declaratively
    Frank

  • Dragging ADF FACES DVT Values

    Hi,
    Does ADF DVT bar graph support dragging its data?
    Use Case:
    I would show a user a bar chart displaying his current values for certain products.
    User can choose to drag the value up and down to increase/decrease its current value.
    Is this possible?
    It is some sort of dynamically changing the bar chart value on the fly using the DVT UI..
    JDEV 11G PS3

    Shay Shmeltzer wrote:
    Yes you can - see the code in the ADF Faces components demo:
    http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/graph/dragAndDrop.jspx
    Code:
    http://www.oracle.com/technetwork/developer-tools/adf/documentation/adf-faces-rc-demo-083799.html
    Hi Shay, thanks for the info...
    I tried to read at the documentation, I only see drag and drop functionality for the Scatter/Bubble/Gannt Chart from the Web User Interface Guide.
    How about the bar chart and line chart? Does this support this also?
    I mean, you can drag the value of the bar chart up and down and not dragging and dropping it on the other part of the graph which is done by the scatter or bubble graph.
    Of course, I would add some logic to save this data in my managed bean.

  • ADF UIX Passing values from one Data Control to another

    How to transfer value of any column in the selected row of the table (one data control) to the messageTextInput, based on another Data Control?
    It may be on a single UIX-page or on different pages.
    Thank you.

    HI Prithviraj,
    The problem screen shot is as follows:
    The First Applicant is coming from one sub report and the second applicant is coming from another sub report. It is working fine from Crystal reports. But in the Crystal report viewer i am unable to get the out come as 1,2,3.
    If you need any additional information please let me know.
    Thanks
    Penchal

Maybe you are looking for