This discussion is archived
4 Replies Latest reply: Nov 24, 2012 9:09 PM by Subramanian Meyyappan RSS

editable tree node

960568 Explorer
Currently Being Moderated
Hi All,


I am working on tree.My requirment is to show a sort of form in tree node and user can able to enter values in that and commit the record.
I created in input text and value gave as node.employeename. When i entering value , and click some button i am getting some error on screen but not on the
log.

How to creare editable tree node and commit into database

I am using jdev 11.1.2.0


Regards
Vinay Kumar
  • 1. Re: editable tree node
    Frank Nimphius Employee ACE
    Currently Being Moderated
    Hi,

    have a look here: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/83-bidi-synchronization-tree-form-401841.pdf, Sample is here: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/83-bidi-synchronization-tree-form-401842.zip

    Frank
  • 2. Re: editable tree node
    Subramanian Meyyappan Expert
    Currently Being Moderated
    hi vinay, you asked me this in facebook, anyways i did it. but no problem go with this way.
    sorry for the delay. am little bit quite busy with my work. i'll catch you on social n/w
    <af:tree value="#{bindings.EmployeesView1.treeModel}" var="node"
                       selectionListener="#{bindings.EmployeesView1.treeModel.makeCurrent}"
                       rowSelection="single" id="t1"
                       partialTriggers="::cb1"
                       editingMode="clickToEdit">
                <f:facet name="nodeStamp">
                  <af:group id="g2">
                    <af:inputText value="#{node.EmployeeId}" id="it7"/>
                    <af:inputText value="#{node.FirstName}" id="it9"/>
                    <af:outputText value="#{node}" id="ot1" rendered="false"/>
                  </af:group>
                </f:facet>
              </af:tree>
  • 3. Re: editable tree node
    960568 Explorer
    Currently Being Moderated
    i did it.When i am clicking commit operation.it is nt wrking
  • 4. Re: editable tree node
    Subramanian Meyyappan Expert
    Currently Being Moderated
    sorry too delay it's working is there any error while commmiting. no such problem.
    i 'll suggest you go with above approach.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points