Tree selection listener problem

I have a JTree which uses a selection listener.
I encounter a problem when I collapse a row while a leaf has focus.
My program doesn't hang but so many error messages scroll up my prompt.
How can I resolve this problem?
Thanks!

try to capture the error messages. If you are unable to get them from standard output, try redirecting to a file like:
prompt>java samp > xwhere samp is your class file and x is the file your output is redirected to. After you collapse the leaf that has focus, close the application and open the file 'x'. Copy and paste the errors here.
I'll see what I can do!

Similar Messages

  • Can't get child node in tree selection listener

    I am making a fusion web application using JDeveloper 11G (11.1.1.2.0).
    I have created two view objects linked together. Let's call them VoDepartments and VoEmployees, linked on DepartmentId.
    I hava made a tree with a af:switcher
    <af:switcher id="s1" facetName="#{node.hierType.structureDefName}">
    <f:facet name="view.VoDepartments">
      <af:outputText value="#{node}" id="ot1"/>
    </f:facet>
    <f:facet name="view.VoEmployees">
      <af:outputText value="#{node}" id="ot2"/>
    </f:facet>
    </af:switcher>I made a selection listener based on a guide by Frank Nimphius
    RichTree tree1 = (RichTree) selectionEvent.getSource();
    RowKeySet rks2 = selectionEvent.getAddedSet();
    Iterator rksIterator = rks2.iterator();
    if (rksIterator.hasNext()){
      List key = (List)rksIterator.next();
      JUCtrlHierBinding treeBinding = null;
      treeBinding = (JUCtrlHierBinding) ((CollectionModel)tree1.getValue()).getWrappedData();
      JUCtrlHierNodeBinding nodeBinding = nodeBinding = treeBinding.findNodeByKeyPath(key);
      String nodeStuctureDefname = nodeBinding.getHierTypeBinding().getStructureDefName(); //Here is the nullpointerexception for employees
      String employees = "view.VoEmployees";
      String departments = "view.VoDepartments";
      if (nodeStuctureDefname.equalsIgnoreCase(departments)){
       String dept = (String) nodeBinding.getAttribute("Department_name");  
       System.out.println("Department = "+dept);
      else if (nodeStuctureDefname.equalsIgnoreCase(employees)){
       String emp = (String) nodeBinding.getAttribute("First_name");  
       System.out.println("Employee = "+emp);
      else{
       //what the heck did the user click on? Ask him ;-)
    }Pagedef:
    Executables:
    <iterator Binds="VoDepartments2" RangeSize="25" DataControl="AppMainDataControl" id="VoDepartments2Iterator"/>
    Bindings:
    <tree IterBinding="VoDepartments2Iterator" id="VoDepartments2">
    <nodeDefinition DefName="view.VoDepartments" Name="VoDepartments20">
      <AttrNames>
       <Item Value="DepartmentId"/>
      </AttrNames>
      <Accessors>
       <Item Value="VoEmployees"/>
      </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="view.VoEmployees2" Name="VoDepartments21">
      <AttrNames>
       <Item Value="First_name"/>
       <Item Value="Last_name"/>
      </AttrNames>
    </nodeDefinition>
    </tree>The tree works just fine and list all it should list. I can click the department and my selection listener print the departments name in the console.
    I can expand a department and list all employees. The problems is when I click an employee, I get null pointer exception.
    I have found out that the selectin listener can't find nodeBiding for employees. So nodeBinding.getHierTypeBinding().getStructureDefName(); throw NullpointerException.
    Anyone have an idea of what's wrong? Please help.
    -Thomas
    Edited by: Thomas H on Mar 22, 2010 8:21 AM

    Hi,
    if you open the tree binding editor, it has an entry "Target Data Source" for each of the node levels that you can use and point to an iterator binding representing the node. Not sure if this solves the issue, but chaces are.
    1. create an iterator for a child VO (using the not dependent child VO instance)
    2. Edit Target Data Source for the binding to e.g. ${bindings.EmployeesView1Iterator}
    Frank

  • Tree - Selection listener

    I have a af:tree on Dynamic tab shell, in that tree I have a selection listener property, Let us consider three nodes on the tree, Link1, Link2, Link3.
    When I hit the Link1 means Taskflow 1 renders on the right side, same as hitting Link2 means Taskflow2 renders.
    I can close the taskflow by using launchActivity.
    My problem is, I can hit the Link1 which renders TaskFlow1, Now i am closing the taskflow, again i am hitting Link1 without refreshing, the corresponding Taskflow is not opening.
    Once i refresh i can open the link1 again.
    Please help me to come across it.
    Thanks.
    -Arunkumar Kootharasan
    Edited by: Arunkumar Kootharasan on Oct 11, 2012 6:45 PM

    hi,
    Thanks for your reply,
    "What does this mean ? Why don't you use dynamic regions to switch between task flows in which case a task flow is closed when you switch to another one exposed in the region"
    "This is what i meant launchActivity means"- below code snippet
    private void launchActivity(String title, String taskflowId, boolean newTab)
    try
    TabContext tabContext = TabContext.getCurrentInstance();
    int tabIndex = tabContext.getSelectedTabIndex();
    System.out.println("selected :" +tabIndex);
    if (tabIndex != -1)
    System.out.println("Tab Removed");
    tabContext.removeTab(tabIndex);
    System.out.println("selected has:" +tabIndex);
    TabContext.getCurrentInstance().addOrSelectTab(title,taskflowId);
    catch (TabContext.TabOverflowException toe)
    // causes a dialog to be displayed to the user saying that there are
    // too many tabs open - the new tab will not be opened...
    toe.handleDefault();
    " Why don't you use dynamic regions to switch between task flows in which case a task flow is closed when you switch to another one exposed in the region"
    Yes i'm using Dynamic region. I forget to say this, and i also switching between one to another regions .
    "What does "without refreshing" mean? If you just exit the task flow without showing a new one then you will have to refresh the region and ensure its re-instantiating the task flow"
    Without refreshing in the sense manually refreshing the browser. If i manually refresh means its working fine.
    So, Without manually refreshing the browser, i want to refresh the region.
    How can i achieve it?
    -Arun

  • Can we call Tree Selection Listener this way..?

    Hi,
    I have written one class 'DemoTree' that implemets framework tree.In frame work tree
    We have All the listeners defined and all the listener methods have been implemented
    in 'DemoTree' class.
    Now I create one more class 'DemoTree2'.In this class I am instantiating 'DemoTree'.
    My question is.. is it possible to use listener method defined in 'DemoTree'.
    public class DemoTree implemets FrameWorkTree{
    public void selectionListener(event){
    public void mouseListener(event){
    public class DemoTree2 extend JPanel{
    private DemoTree  tree=new DemoTree();
    pubic void main(String arg[]){
    tree.selectionListener()-----> how to use/implement this feature?
    tree.mouseClicked()
    }Thanks.

    The real drivers are supplied to our OEMs by sending them an email conatining release notes for them in an encrypted Zip-file.
    They then need a password to FTP them from our FTP site.
    Any normal individual (i.e. end user) coming to ADI direct should gte a standard reply telling him to go to the Mobo manufacturer or PC supplier along with some links .
    Here is an example that I concocted as an MSWord autotext so I just type the word "sound" and this is inserted :
    Sound Cards and Modem Information
    Analog Devices does not manufacture sound or modem cards. Many sound cards use chipsets from Analog Devices in their designs.
    Drivers are often customized to work with specific PCs or motherboard platform. Please contact the manufacturer of the PC for technical assistance. For technical assistance on a specific sound card, please contact the manufacturer of the card. http://forms.analog.com/Form_Pages/soundMAX/soundMAXtechSupport.html
    may help.
    Other sources you can check:
    * You can visit the FCC's web site and use the search engine to see who manufactured the card.
    * You may also be able to locate & download drivers for these cards at the following web site: http://www.fcc.gov/oet/fccid/
    * You may want to try http://www.danworld.com/ for hotlinks to sound cards/modems
    * or   http://www.windrivers.com  .
    * http://www.driverguide.com  is extremely good  You have to register (once) but it is very useful and free. Copyright 1995- 2003 Analog Devices, Inc. All rights reserved.
    Chris Muriel, Manchester, UK  (ADI applications engineer).

  • Problem getting the Table Data with the selection listener

    Hi All,
    I am working on a tree and table components. I wrote a logic in the backing bean in such a way that when I expand a node the child nodes for the tree are getting added dynamically and also getting the data in the table for the node expanded in the tree using the same Toplink Query . I added the selection listener for the table and when I am selecting a row in the table I am getting the Null Pointer Exception as the RowKeySet Value for the row selected is coming null.
    Can any one please help me out with this problem
    I will be very thankful
    Regards,
    Madhavi.

    Hi All,
    I am working on a tree and table components. I wrote a logic in the backing bean in such a way that when I expand a node the child nodes for the tree are getting added dynamically and also getting the data in the table for the node expanded in the tree using the same Toplink Query . I added the selection listener for the table and when I am selecting a row in the table I am getting the Null Pointer Exception as the RowKeySet Value for the row selected is coming null.
    Can any one please help me out with this problem
    I will be very thankful
    Regards,
    Madhavi.

  • Howto: display dynamic form on tree selection (jdev 11gR1)

    Heya,
    another question by myself, hoping for an advice.
    I finally made a tree including different types of "objects" into one tree (based on ADF BC). Simple example use case used in this post: displaying employee hierarchy PLUS assigned projects per employee.
    So my current problem is: what is the "way to go" to change the form in the "content" facet (made a simple splitter layout with tree in left facet and "content" in right facet) AND binding the data to it? Clicking on an employee would open the employee form and load data for selected employee into it, but clicking on a project would open the project form and loading data for selected project into it. I have all data available in the tree application module and the decision "what to display" is based on one of the attributes.
    All tutorials I found so far for master/detail are kinda "static" (linking employee tree to employee form) and I can't figure out how to do want I want to do.
    Is this possible going the declarative way? If yes, how? Or do I have to code something? If yes, how? No need for actual code, just need a hint what to look for.. feeling lost atm.
    Any help is highly appreciated. :)

    Hi,
    here's how you do it
    1. Create a iterator binding for the project ViewObject (choose a ViewObject instance that is not dependent to the employees ViewObject you use as the tree top level)
    2. In the binding editor, expand the Data Source entry (below the rule attribute configuration) and create an EL expression that references the iterator bindingyou created
    This ensures that selecting an emplloyee is synchronized with the Employee iterator used to build the top level nodes and the selected project is synchronized with the project iterator node.
    3. Add a switcher component to switch between the employee and the project edit form
    4. Create a facet in the af:switcher that has the name of the full employee view object e.g. adf.mysample.EmployeesView
    5. Create a facet in the af:switcher for the full name of the Project VO
    6. Drag and drop the EmployeeView entry from the data Controls palette as a form into the Employees facet
    7. Do the same for the Projects (make sure you use the Projects VO that is not depedent)
    Set the default value of the switcher too point to the facet that should be shown by default. The value of the switcher set to an EL that points to a managed bean method or memory attribute. Upon selecting a node (you can use the tree node selection listener) you access the selected tree node. The selection listener code woud look as shown below
      //tree reference can be obtained from the selectionListener event (Source) or from a JSF component binding property reference
      //example uses the latter
      RichTree tree = this.getTree1();
      //get selected row keys. This could be a single entry or
      //multiple entries dependent on whether the tree is
      //configured for multi row selection or single row selection
      RowKeySet rks = tree.getSelectedRowKeys();
      Iterator rksIterator = rks.iterator();
      //assuming single select use case. Otherwise, this is where you
      //need to add iteration over the entries in the multi select use case
      if (rksIterator.hasNext()){
        //a key is a list object that containe the node path information for the
        //selected node
        List key = (List)rksIterator.next();
        //determine the selected node. Note that the tree binding is an instance of
        //JUCtrlHierBinding
        JUCtrlHierBinding treeBinding = null;
        //We can get the binding information without using EL in our Java, which you always should
        //try to do. Using EL in Java is good to use, but only second best as a solution
        treeBinding = (JUCtrlHierBinding) ((CollectionModel)tree.getValue()).getWrappedData();
        //the row data is represented by the JUCtrlHierNodeBinding class at runtime. We get the node value
        //from the tree binding at runtime     
        JUCtrlHierNodeBinding nodeBinding = treeBinding.findNodeByKeyPath(key);
            //the JUCtrlHierNodeBinding object allows you to access the row data, so if all you want is to
        //get the selected row data, then you are done already. However, in many cases you need to further
        //distinguish the node, which is what we can do using the HierTypeBinding
        String nodeStuctureDefname = nodeBinding.getHierTypeBinding().getStructureDefName();
       //determine the selected node by the ViewObject name and package
       String employeesDef = "adf.mysample.EmployeesView";
       String projectDef = "adf.mysample.ProjectsView";
      if (nodeStuctureDefname.equalsIgnoreCase(empoyeesDef)){
         // change value reference used in af:switcher and partially refresh the af:switcher component to show the edit form
         // e.g. change the value of the refrenced memory attribute or managed bean variable
       else if (nodeStuctureDefname.equalsIgnoreCase(projectDefDef)){
         // change value reference used in af:switcher and partially refresh the af:switcher component to show the edit form
         // e.g. change the value of the refrenced memory attribute or managed bean variable
       else{
        //what the heck did the user click on? Ask him ;-)
       }Frank

  • Creating a generic selection listener for af:table

    Hi,
    I'm using JDeveloper 11.1.1.5.0, and I have a simple requirement to set up a custom selection listener for an af:table component.
    So far, I was doing this by using a custom function to invoke the EL to perform the makeCurrent operation. However, I came across Frank Nimphius' PDF on how to build a generic selection listener, and this seemed like a better way to go about it. The problem is, the CollectionModel class used in the sample code is now deprecated. Is anyone aware of the currently supported way to implement a generic selection listener?
    Thanks,
    Gill

    this snap shot of the code i write it to get the current employee id whcich is selected
        public void select(SelectionEvent selectionEvent) {
            // Add event code here...
             RichTable  _table = (RichTable)selectionEvent.getSource();
             CollectionModel _tableModel = (CollectionModel)((RichTable)selectionEvent.getSource()).getValue();
            JUCtrlHierBinding _adfTableBinding = (JUCtrlHierBinding)_tableModel.getWrappedData();
            DCIteratorBinding _tableIteratorBinding = _adfTableBinding.getDCIteratorBinding();
            //Acess the ADF iterator binding that is used with ADF table binding
            Object _selectedRowData = _table.getSelectedRowData();
            JUCtrlHierNodeBinding _nodeBinding =
                (JUCtrlHierNodeBinding)_selectedRowData; //get the row key from the node binding and set it //as the current row in the iterator
              Key _rwKey = _nodeBinding.getRowKey();
              _tableIteratorBinding.setCurrentRowWithKey( _rwKey.toStringFormat(true));
            DCIteratorBinding it = _adfTableBinding.getDCIteratorBinding();
           System.out.println( it.getCurrentRow().getAttribute("EmployeeId"));
        }this code i written 11.1.2

  • Tree selection event in jtree

    hi
    i'm using a jtree in my gui but im facing a problem
    jTree1.addTreeSelectionListener(new TreeSelectionListener() {
                   public void valueChanged(TreeSelectionEvent e)
                        jTree1_valueChange(e);
    as you can see that whenever i click on a particular node in the tree the tree selection event occurs which calls the valuechanged method and it does as required but if i click again on the same selection as before the tree selection event does not occur and it does not call the method so say that the node i'm selecting is supposed to be dynamic and has to be refreshed if i click on it again it will not update itself through the value changed method. can somebody please tell me a way to be able to get the valuechanged method even if i click on the same selection.
    im a bot new to java swing programing so please if you could be a little more explanatory it could help
    thanks

    You problem is talked about (and a solution proposed) in the JavaDoc.
    See the code sample in the doc header from http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JTree.html

  • Tree selection bug?

    Hi,
    I don't know if this is a bug or not. When using XML as the
    data provider for the Tree component and multiple nodes have the
    same label, selecting anyone of the nodes will cause all of them to
    be selected. The problem stems from the fact that XML comparison is
    done by value. The comparison is dibe at line 6345 of ListBase. Is
    this a bug? If not, is there a known workaround?
    I attached code that reproduces the problem. Selecting the
    first node, selects the first, second and last node because, by
    value, they are all the same.
    Thanks!
    JPB

    Switch to using a strongly typed object that implements IUID,
    or just make
    sure your XML has other identifying information to it. It's
    not really that
    helpful to have 19 "foos" in your list unless there is
    something else
    different about them.
    So, something like
    <mx:XMLList id="treeData">
    <node label="Test entry 1" id="1"/>
    <node label="Test entry 1" id="2"/>
    <node label="Test entry 2" id="3"/>
    <node label="Test entry 1" id="4"/>
    </mx:XMLList>
    HTH;
    Amy
    "jpbouchard" <[email protected]> wrote in
    message
    news:g941f3$1u8$[email protected]..
    > Hi,
    >
    > I don't know if this is a bug or not. When using XML as
    the data provider
    > for
    > the Tree component and multiple nodes have the same
    label, selecting
    > anyone of
    > the nodes will cause all of them to be selected. The
    problem stems from
    > the
    > fact that XML comparison is done by value. The
    comparison is dibe at line
    > 6345
    > of ListBase. Is this a bug? If not, is there a known
    workaround?
    >
    > I attached code that reproduces the problem. Selecting
    the first node,
    > selects
    > the first, second and last node because, by value, they
    are all the same.
    >
    > Thanks!
    > JPB
    >
    > <?xml version="1.0" encoding="utf-8"?>
    > <mx:VBox xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="100%"
    > height="100%">
    > <mx:Script>
    > <![CDATA[
    > import mx.controls.Tree;
    >
    > private function selectFirst(): void {
    > myTree.selectedItem = treeData[0];
    > }
    >
    > ]]>
    > </mx:Script>
    >
    > <mx:XMLList id="treeData">
    > <node label="Test entry 1"/>
    > <node label="Test entry 1"/>
    > <node label="Test entry 2"/>
    > <node label="Test entry 1"/>
    > </mx:XMLList>
    >
    > <mx:Panel title="Tree Selection Bug" height="100%"
    width="100%"
    > paddingTop="10" paddingLeft="10" paddingRight="10"
    paddingBottom="10">
    > <mx:Button label="Select First"
    click="selectFirst()"/>
    > <mx:Tree id="myTree" width="100%" height="100%"
    labelField="@label"
    > showRoot="true" dataProvider="{treeData}"/>
    > </mx:Panel>
    >
    > </mx:VBox>
    >

  • TreeTable Selection Listener Issue

    I have a treeTable and i have used custom selection Listener instead of using bindings.<viewObject>.treeModel.makeCurrent. since i had to do more than just makeCurrent on selection, i choose this approach. Everything is working except, when i refresh the treeTable after create, the activeRow will be first row but selection shows on where i have last selected.
    My custom selectionListener is working very fine but i have noticed that when i refresh treeTable selectionListener is never called. but only called when i make selection... Is there anyway i can get my custom selectionListener be called on refresh of treetable or is there any other way i can control selection on fresh of treeTable.
    It will be highly appreciated if you can suggest me way.
    Thanks

    Thanks Timo for the reply. I have a customization to select the second row of the tree table by default. I am customizing the 'selectedRowKeys' value to achieve this default selection. It works fine for the first time.
    In the below scenario it's is not working,
    1. Select a row other than default selected
    2. After some action i am refreshing the table, now the focus(highlight) is on the previous selected row but actually the selectedkey is second row(Scenario1)
    This my tree table structure,
    Revision 0
    - - - - Scenario1
    - - - - Scenario2
    - - - - Scenario3
    Revision 1
    - - - - Scenario 4
    - - - - Scenario 5
    - - - - Scenario 6
    Thanks,
    Nagesh

  • Tree selection by user or programmatically

    Hallow All!
    How can I know if tree selection mode by user or programmatically?
    I want to listen - tree selection and do some operation only if the selection made by user (mouse or keyboard) and do nothing if the selection made programmtically!
    I tried to use isFocusOwner methos:
    addTreeSelectionListener(new TreeSelectionListener() {
                   public void valueChanged(TreeSelectionEvent e) {
                        if(!TopologyTree.this.isFocusOwner()){
                             return;
    }but is doesn't work, if some text field in another panel has the focus then the tree gain the focus only after the tree selection event performed
    any help will be most appreciated!
    Eran.

    Create a substitution rule in which user name from the header is substituted to any of the fields in vendor line item. (assignment, text etc). After this you can use this for APP.
    Tarun

  • A function for generate a actual tree select

    hi,
    i tried to write a function that generate a actual tree select and i think this is very helpful
    Create Or Replace Function Generate_Tree_Fun(p_Path Varchar2,
    p_Delimiter Varchar2,
    p_Level Integer,
    p_Tbl_Name Varchar2,
    p_Parent_Field Varchar2,
    p_Child_Filed Varchar2)
    Return Varchar2 Is
    v_Txt Varchar2(5000) := '';
    v_Row_Num Number;
    v_Max_Count Number;
    v_Child Varchar2(100);
    v_Parent Varchar2(100);
    v_Level Number := p_Level;
    Begin
    If (v_Level = 1) Then
    Return '';
    End If;
    If (v_Level > 1) Then
    v_Txt := '|' || Lpad('_', 6, '_');
    End If;
    If (v_Level > 2) Then
    For i In 1 .. p_Level - 2 Loop
    v_Level := v_Level - 1;
    v_Child := Ltrim(Regexp_Replace(p_Path,
    Ltrim(Replace(p_Path,
    p_Delimiter,
    ')(' || p_Delimiter) || ')',
    '\' || v_Level),
    p_Delimiter);
    Execute Immediate 'Select t.' || p_Parent_Field || '
    From ' || p_Tbl_Name || ' t
    Where t.' || p_Child_Filed || ' = :1'
    Into v_Parent
    Using v_Child;
    Execute Immediate 'Select a, b From (Select Row_Number() Over(Order By t.' ||
    p_Child_Filed ||
    ') a,Count(1) Over(Partition By t.' ||
    p_Parent_Field || ') b,t.' || p_Child_Filed ||
    ',t.' || p_Parent_Field || ' From ' || p_Tbl_Name ||
    ' t Where t.' || p_Parent_Field ||
    ' = :1 Order By t.' || p_Child_Filed || ') Where ' ||
    p_Child_Filed || ' = :2 '
    Into v_Row_Num, v_Max_Count
    Using v_Parent, v_Child;
    If (v_Row_Num <> v_Max_Count) Then
    v_Txt := Rpad('|', 20, ' ') || v_Txt;
    Else
    v_Txt := Rpad(' ', 20, ' ') || v_Txt;
    End If;
    End Loop;
    End If;
    Return v_Txt;
    End;
    select Generate_Tree_Fun(sys_connect_by_path(e.empno,','),',',level,'emp','mgr','empno') || e.ename
    from emp e
    start with mgr is null
    connect by e.mgr=prior e.empno
    enjoy it

    Arash wrote:
    hi,
    i tried to write a function that generate a actual tree select and i think this is very helpful
    We are so proud of you!

  • Issue with Selection Listener when the table has only one row

    Hi All ,
    I have developed a table in which I am using Selection Listener to perform some task when any row is selected.
    It is working fine when I have more than 1 row in the table, but when I have only one row in the table , the selection listener do not call the corresponding method in bean.
    I understand that selection event will be raised only when the row is changed, but in the use case when only one row is there, what should be done to make the selection listener work ?
    In the selection listener I have written code to make the selected row as current row , and perform the required task.
    Please suggest a way out for this situation.
    Thanks in advance.

    Hi,
    try removing this attr from table
    selectedRowKeys="#{bindings.xxx_VO1.collectionModel.selectedRow}"

  • Custom Selection Listener not getting fired

    I am using JDeveloper 11.1.1.4 and have been trying to follow the advice given in the ADF Code Corner example 68. The only difference in my application/project, is that I am trying to develop the master table on a page fragment with a task flow attached for the JSFF containing the detail table. My master table on the primary JSFF has a custom selection listener on it. When testing the deployed package--putting the primary task flow on a JSPX page, the tables are showing, but when I select a different row on the master table, the new row is highlighted but nothing happens to execute the custom listener. I am sure of this because I've added a System.out.println as the very first line in it and it doesn't put the message out. I am getting no errors on the weblogic logs. I looked on the client side's html output and can't see anything that would trigger that a change occurred to send back to the server. Any ideas (outside of upgrading to another version of Jdeveloper) would be greatly appreciated. I am not sure if providing any of my code would be of any help in this issue.

    Thanks to all who responded. I have multiple rows showing in my master table and when I select a different row, I get no event that executes my method. I tried adding the "binding.itterator." to the EL for the SelectionListener and that didn't work either. Besides both the examples in the ADF Code Corner 23 and 68 show it just as "class.method" as I have it. A small snippet from my table is below:
              <af:table value="#{bindings.HOT_trans_sumVO1.collectionModel}"
                        var="row" rows="#{bindings.HOT_trans_sumVO1.rangeSize}"
                        emptyText="#{bindings.HOT_trans_sumVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
                        fetchSize="#{bindings.HOT_trans_sumVO1.rangeSize}"
                        rowBandingInterval="0"
                        selectedRowKeys="#{bindings.HOT_trans_sumVO1.collectionModel.selectedRow}"
                        *selectionListener="#{HotTransSummBean.onTxnSummTblRowSelect}"*                   
                        rowSelection="single" id="txnsummtbl"
                        columnStretching="last" width="100%" autoHeightRows="5"
                        contentDelivery="whenAvailable" immediate="true"
                        clientComponent="true" first="0">Also note that I have this backing bean defined on the task flow as a requestScope as it is in the example 68--example 23 does not state a scope level. Again, my method starts out with an output statement that never gets executed:
        public void onTxnSummTblRowSelect(SelectionEvent selectionEvent) {
          System.out.println("Entered onTxnSummTblRowSelect method.");

  • Selection listener

    i have written a bean in the selection listener of an af:table... but this does not get called on pageload
    I am refreshing a region which contains child records... based on the selection of a particular record in the af:table
    How to call this one on pageload. after pageload when i select the master records it works well... but on pageload my method doesnt get called and all records are coming

    Hi,
    you can queue a SelectionListener from Java
    SelectionListener selListener = new SelectionListener(...,...,...);
    selListener.queue();So if you find a method that is invoked on page load (e.g. phaseListener on f:view) then this can be used
    Frank

Maybe you are looking for

  • RefreshValidValues() is not working in BPM 10GR3

    refreshValidValues() stopped working after I made changes to my BPM 10GR3 presentation. Any reasons why? Is it because I added extra buttons to the ppt or is it because I added two hyperlinks to the ppt?

  • Password hint required in password reset through console

    We are using OID to handle our user database. One of the problems we are having is that the forgot password feature through the Oracle Identity Management Provisioning Console doesn't really enforce required fields for password reset. I currently hav

  • Right click function in Java applet...

    Hello, how's it going? I'm currently working on getting a pocket pc to load java applets through a web browser. I am currently using Netfront 3.0 for my browser and it contains JV-Lite 2 as its JVM. The applet loads and is functional. However, I am h

  • Xfa.host.exportData and Reader

    I've created a dynamic xml PDF form in Adobe LiveCycle designer. Inside the form I placed a button and on the click event I call xfa.host.exportData("",0); Then opened the file in Acrobat Professional, clicked the button and it works Yay! Then I Save

  • Compensation planing iView- hide "show selected in analytics" button

    Hello, We recntly installed EHP5 and with it the new version of Enterprise Compensation Management (ECM). the new iViews are in Webdynpro ABAP. Via the Portal content adminitration we were able to hide most of the buttons that we do not need. However