F:view causing problem in 11.1.1.4

Hi,
We are facing some problem in our application when we move to Jdev 11.1.1.4 from 11.1.1.3.
I have even developed a sample app which works fine in 11.1.1.3 but gives an error in 11.1.1.4. We use <f:view> with a phaseListener inside one of the jsff.
We get the following error when trying to launch the applcn:
Root cause of ServletException.
java.lang.IllegalStateException: <f:view> was not present on this page; tag oracle.adfinternal.view.faces.unified.taglib.output.UnifiedOutputTextTag@1d496c4encountered without an <f:view> being processed.
     at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.setProperties(UIXComponentELTag.java:108)
     at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:733)
     at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1354)
     at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:71)
     at oracle.adfinternal.view.faces.unified.taglib.output.UnifiedOutputTextTag.doStartTag(UnifiedOutputTextTag.java:50)
     at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
     at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
     at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
     at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
     at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
     at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:665)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:385)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:802)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
myTabs.jspx makes use of dynamicTabShell template..This jspx makes use of a bounded taskflow-myBoundedTFdefinition.xml which has the jsff(abc.jsff).This jsff contains the f:view tag.
Any idea why <f:view> inside the jsff is causing the problem in 11.1.1.4 but worked in 11.1.1.3??
Thanks,
Santosh
Sample code below
mytabs.jspx
<?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:form id="f1">
        <af:pageTemplate viewId="/oracle/ui/pattern/dynamicShell/dynamicTabShell.jspx"
                         value="#{bindings.pageTemplateBinding}" id="pt1">
          <f:facet name="copyright"/>
          <f:facet name="about"/>
          <f:facet name="navigation"/>
          <f:facet name="globalLinks"/>
          <f:facet name="status"/>
          <f:facet name="globalToolbar"/>
          <f:facet name="globalSearch"/>
          <f:facet name="globalTabs"/>
          <f:facet name="welcome">
            <af:region value="#{bindings.myBoundedTFdefinition1.regionModel}"
                       id="r1"/>
          </f:facet>
          <f:facet name="innerToolbar"/>
        </af:pageTemplate>
      </af:form>
    </af:document>
  </f:view>
</jsp:root>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
abc.jsff
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
          xmlns:f="http://java.sun.com/jsf/core">
  <f:view beforePhase="#{backingBeanScope.secondBean.myphaseMethod}"></f:view>
  <af:outputText value="This is from the abc jsff" id="ot1"
                 binding="#{backingBeanScope.secondBean.textop}"/>
</jsp:root>Thanks

In your abc.jsff:
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:f="http://java.sun.com/jsf/core">
<f:view beforePhase="#{backingBeanScope.secondBean.myphaseMethod}"></f:view>
<af:outputText value="This is from the abc jsff" id="ot1"
binding="#{backingBeanScope.secondBean.textop}"/>
</jsp:root>
Why is <af:output> after you've closed the <f:view>? Shouldn't it be:
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:f="http://java.sun.com/jsf/core">
<f:view beforePhase="#{backingBeanScope.secondBean.myphaseMethod}">
<af:outputText value="This is from the abc jsff" id="ot1"
binding="#{backingBeanScope.secondBean.textop}"/>
</f:view>
</jsp:root>

Similar Messages

  • Keyboard viewer causing lock ups

    Keyboard viewer is causing me some headaches. I have a handicapped user who can better use a mouse than a keyboard, and needs to use keyboard viewer. However, after enabling keyboard viewer, if they user logs out of the computer, and logs in again later he gets constant pinwheels. The keyboard viewer does not show up, but if I look at the international menu it gives me the "hide keyboard viewer" option.
    If I open up a terminal and run top, I see that every time I click on something, move a window, or interact with anything the kernal_task jumps from 1% cpu to 8% for 15-30 seconds, and beachballs. Then kernal_task will drop back down to normal levels and the system begins responding again until something else is done.
    If I go to the international menu and hide the keyboard viewer before logging out, and then log back in, I am able to turn it on and use it just fine. The problem only occurs when keyboard viewer is left showing, and the user logs out. So there is a work around, but sometimes he'll forget to hide it and logs out, causing problems next time he logs in.
    This only occurs when using mobile accounts. If set up a local account on the computer, it isn't a problem. If I remove the computer/account from all management and synchronization it still happens. It will occur on any computer the user logs into if they enable keyboard viewer.
    Any thoughts?

    Thanks for that BDAqua,
    I will take a look at that software. I am little reluctant to go third party in that I am a student and can't dictate which Apple mac I am using at my college. They frown on installing third party software. So I am really looking for a solution that is already on the OSX. I tried sticky keys but I can't seem to make it work on the Keyboard Viewer. (I am also surprised that the caps lock does not work normally on Keyboard viewer). I can't believe I am the only one that has only mouse input of text!
    So my question remains, will modifier keys be operable with a single click on Keyboard Viewer, and will a macro key be operable /definable for specifically modifier keys in keyboard viewer?
    TIA

  • If I install the update to Adobe Reader 10, will that cause problems with Acrobat Pro 9?

    Firefox (version 15.0.1) is telling me I need to install an update to Adobe Acrobat 9.4 in order to view pdf files in my browser. I use Acrobat Pro 9. The update is actually Adobe Reader 10, and I am wondering if I install this, will it cause problems with my version of Acrobat Pro?
    Because I am not sure if this is so, I have temporarily disabled the plug-in and now pdf files download automatically rather than display in my browser. I would prefer they open in my browser but do not want to upgrade to Acrobat X.
    My OS is Windows Vista. I did not include the "troubleshooting information" file because I'm not sure what specific info is being requested.
    Thanks for any help.

    Hi WMdotcom
    did you try to view pdf with your acrobat pro 9 ?
    see
    [https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file Change what Firefox does when you click on or download a file]
    [https://support.mozilla.org/en-US/kb/set-how-firefox-handles-different-file-types
    Set how Firefox handles different types of files]
    thank you

  • Reduce folders in Windows 7 for pictures without causeing problems with PSE11

    I want to simplify  my Windows 7 folders and reduce the number of the folders. Can you please advise me on the best way to do this so as not to cause problems with PSE11 finding the pictures? Thank you.

    19441965 wrote:
    I want to simplify  my Windows 7 folders and reduce the number of the folders. Can you please advise me on the best way to do this so as not to cause problems with PSE11 finding the pictures? Thank you.
    The only way to move files or folders/subfolders without causing problems, that is not creating 'missing files' is to do this from within the Organizer, not the OS (Win/Mac).
    You can create folders and move pictures from the Organizer.
    Note that if you are moving the files of several subfolders into a single one, you run the risk of wanting to move files with the same filename into the same folder ; your OS won't allow that. So the Organizer will rename pictures if needed.
    If you want to do such a big reorganizing task, absolutely do a full backup before. There is no advantage  for such a reorganizing from an Organizer point of view, but if you need it for some reason, it has to be done from within the organizer.

  • Quotation and Purchasing Requisition causing problem

    Dear all,
    I need to seek your advise.
    It is causing problems in the supply chain that quatations and purchace requisitions is causing production order creation in the workshop at the distribution center and in the SAP factories.
    We would really want these two order types/demands isn't valid for the production planning as it is often result in production where orders never are converted.
    Questions:
    1 - Is it advisable to exclude these two demands (i.e. Quotation/PR) from production point of views? if no, why, what's the reason?
    2 - Either Yes or no on question 1,  would it be possible to exclude these as demands for production so that only actual orders causes production order creation from the system config?
    3 - If question no.1 is "Not advisable", what is the alternative solution to solve our problem (i.e. it is often result in production where orders never are converted).
    Thanks.

    1) I would like to ensure that our Quotation (MM/SD)/ PR (SD derived PR example drop ship, and MM derived PR, example STO PR) to be excluded as demand during MRP run. And the best way is to use the BADI - MD_CHANGE_MRP_DATA. Is that correct?
    Yes the BADI is provided as the exclusion of these demands in planning is not considered as standard & hence the enhancement.
    2) Does this BADI- MD_CHANGE_MRP_DATA work for exclusion of Quotation as demand as well?
    I have written code in this BADI to exclude Stock Transfer PR, but not for quotation so cant speak from experience on that. But I am sure one of the methods in that BADI should cover that. Discuss with your abaper & he / she will let you know which method will cover this need
    3) Any other way?
    To the best of what I know usage of BADI is the only option to prevent planning of demands coming from STO's. But the other way would be, to work with PO - SO kind of concept i.e. the plant which requires a part from another plant will raise a PO, this will then have to manually entered in the other plant as a SO (But note, creating sales order for plants within same company code will violate some norms in Finance, so check with your FI-CO colleagues)

  • Upgrading to 10.5 causes problem with Entourage

    I have a problem which I believe to be a Mac OS problem even though it affects Entourage v.X. After upgrading the OS from 10.4 Tiger to 10.5.8 on a PowerPC Mac, Entourage crashes when opening mail that contains complex html. This only happens with the main user account and never happened before the upgrade. Email that only contains text and URL links opens OK. Logging out and back in to a new User, I am able to open and view the same emails that caused problems with the main user. 

    Generally when an application crashes in one account but it does in another account that indicates that something in the account where the application crashes is corrupt.
    You have two choices then. You can either find out where the corruption is located and repair it or if that is too bit of job you can switch accounts.
    Allan

  • Null values from DB2 cause problems

    Hi,
    I have another problem with database link to DB2 using IBM iSeries Access for Linux on 64 bit OEL5 with Oracle Database gateway and unixODBC 2.2.14.
    DB link works. However, null values from DB2 cause problems. Date columns that are null on db2 return a date '30.11.0002', and character columns that are null return an error ORA-28528: Heterogeneous Services datatype conversion error.
    isql returns correct results.
    How can i fix this? Perhaps set some parameters for data conversion on the gateway?
    Thank you.

    If the driver is not fully ODBC level 3 compliant and misses functions, we're lost. But sometimes the drivers are ODBC level 3 compliant but miss the correct 64bit implementation. In those cases we can tell the gateway to use the 32bit ODBC level 3 standard by setting in the gateway init file:
    HS_FDS_SQLLEN_INTERPRETATION=32

  • I want to uninstall ReloadEvery as I think it is causing problems however it is not in my list of Extensions or Plugins yet it is clearly installed, I tried reinstalling FF but it was still there! How can I get rid of it?

    I installed ReloadEvery a while ago and it seemed to be working fine however I am now having problems with FF crashing and weird things like pages not reloading and not being able to use the back button etc
    I have already tried uninstalling and reinstalling FF and upgrading to FF 4.
    When I upgraded to FF 4 I was still having problems even though I didn't have any Extensions installed at all, or so I thought. I noticed that ReloadEvery was still installed. I was rather puzzled as I had done a clean install of FF 4. I want to remove ReloadEvery to see if it will solve my problems.
    I have also tried following the help on the FF Troubleshooting about manually uninstalling Extensions but again ReloadEvery not listed there yet I am still able to use it in FF!
    I want to get rid of it!! I really need some help please.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.
    *http://kb.mozillazine.org/Cookies

  • FF 3.6 AND 5 on same Mac, 1 profile - can I uninstall 5 without causing problems running 3.6 or with the profile?

    I upgraded from 3.6.16 to 5, but don't like how 5 handles tabs (auto reloading 'problem loading' tabs when internet connection is reestablished). So I installed 3.6 in a separate folder, e.g. both versions are on this computer. I went back to using 3.6, and let it upgrade to either 3.6.18 or 19 (don't recall which & it's not open right now). I'm having problems with it using too much CPU & Memory, and not sure if that's a difference between 3.6.16 & 3.6.18/19, or if having 5 on the same computer even if closed could be causing the problem.
    Can I uninstall 5 without causing problems with the 3.6 version and the single profile?

    If you haven't tried this, give it a try. It worked for me, hopefully it will work for you. In your version 3 firefox, disable all extensions, I had two plugins (doubletwist and joost, disable those if you have them). Then install firefox 5 by overwriting your version 3 firefox. It should work fine after that. I tried everything before, I gave that a last ditch shot. Oh yeah, before you install firefox 5, clear your cache of everything just to be sure.
    Hopefully that helps.

  • I have two Iphones with different email addresses sharing one Apple ID. Will that cause problems with using messaging and FaceTime?

    I have two Iphones 5 with different email addresses sharing one Apple ID account.Both are using IOS 8.
    I would like to set up a new Apple Id for one of the phones and remove it from the old account.
    If I do that, can I move all of the purchased apps and songs to the new Apple account?
    Also, will sharing one Apple ID account with two devices cause problems with using messaging and FaceTime?

    Sharing an iCloud account between two devices can be done without causing issues with iMessage and FaceTime, just go into Settings for each of these functions and designate separate points of contact (i.e. phone number only, or phone number and unique email address).  While that works, you'll then face the problem where a phone call to one iPhone will ring both if on the same Wi-Fi network -- but again, that can be avoided by changing each phone's settings.
    Rather than do all that, don't fight it -- use separate IDs for iCloud.  You can still use a common ID for iTunes purchases (the ID for purchases and iCloud do not have to be the same) or you can use Family Sharing to share purchases from a primary Apple account.

  • I just updated my latest java but the update is causing problems with some externale devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device

    i just updated my latest java but the update is causing problems with some external devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device.
    Is this possible and how do i do that?
    Anyone who responds thanks for that!
    Juko
    I am running
    Hardware Overview:
      Model Name:          Mac Pro
      Model Identifier:          MacPro1,1
      Processor Name:          Dual-Core Intel Xeon
      Processor Speed:          2,66 GHz
      Number of Processors:          2
      Total Number of Cores:          4
      L2 Cache (per Processor):          4 MB
      Memory:          6 GB
      Bus Speed:          1,33 GHz
      Boot ROM Version:          MP11.005D.B00
      SMC Version (system):          1.7f10
      Serial Number (system):          CK7XXXXXXGP
      Hardware UUID:          00000000-0000-1000-8000-0017F20F82F0
    System Software Overview:
      System Version:          Mac OS X 10.7.5 (11G63)
      Kernel Version:          Darwin 11.4.2
      Boot Volume:          Macintosh HD(2)
      Boot Mode:          Normal
      Computer Name:          Mac Pro van Juko de Vries
      User Name:          Juko de Vries (jukodevries)
      Secure Virtual Memory:          Enabled
      64-bit Kernel and Extensions:          No
      Time since boot:          11 days 20:39
    Message was edited by Host

    Java 6 you can't as Apple maintains it, and Java 7 you could if you uninstall it and Oracle provides the earlier version which they likely won't his last update fixed 37 remote exploits.
    Java broken some software here and there, all you'll have to do is wait for a update from the other parties.

  • TS3579 I found this useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data.  I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up

    I found this  (TS3579: If the wrong date or time is displayed in some apps on your Mac Learn about If the wrong date or time is displayed in some apps on your Mac) useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data.  I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up in Finder. 

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • I replaced my hard drive and used time machine to boot from but it installedthe unrepaired disk permissions of the faulty previous drive would this cause problems on my new drive?

    I replaced my hard drive on macbook pro and used time machine to boot from but it also installed the unrepaired disk permmissions of the other drive, would this cause problems to my new drive?

    Can you remember what the permissions problem was that you had before? You may need to reinstall OS X from scratch and not reinstall anything from your Time Machine backups. To be on the safe side you should reinstall all third-party applications from scratch, as well. Then only restore from your backup your document/data files.

  • I deleted the 4oD app from my iPad but it still appears in the list in Settings. How do I get rid of that? It is causing problems when they issue updates as it apparently thinks I still have it when I don't.

    Can any one help me get rid of a deleted app 4oD that still appears in the Settings list. I deleted it from the home screen and Spotlight search confirms it has gone. It is causing problems because I get notified of updates and I cannot get rid of them either. I have tried re-downloading via my MacBook because there isn't a download option from the iPad (App Store clearly think I still have it when I don't) then deleting again but the listing in Settings remains.
    It is really irritating me.
    Thanks.

    Have you tried deleting the App within the Settings menu (rather than from the Home Screen)?
    Settings>General>Usage>
    From the Apps list, find the App (press "Show all Apps" if the app is not in the immediately shown list), tap on the app you wish to delete, then tap "Delete App"

  • JTree + FK with same value causing problems

    Hi
    I can't figure this out. If I create biz components for 2 tables having a parent-child relationship and a jTree with appropriate rules, things are ok only if the parent's id are of different values than the child. When parent.id and child.id have the same values the jTree seems to recursively fire valueChanged() at strange times.
    Example:
    CREATE TABLE PARENT
    PARENT_ID NUMBER CONSTRAINT PARENT_ID_NN NOT NULL,
    PARENT_NAME VARCHAR2(40 BYTE),
    CONSTRAINT PARENT_C_ID_PK
    PRIMARY KEY
    (PARENT_ID)
    CREATE TABLE CHILD
    CHILD_ID NUMBER CONSTRAINT CHILD_ID_NN NOT NULL,
    CHILD_NAME VARCHAR2(40 BYTE),
    PARENT_ID NUMBER,
    CONSTRAINT CHILD_C_ID_PK
    PRIMARY KEY
    (CHILD_ID)
    ALTER TABLE CHILD ADD (
    CONSTRAINT PARENT_FK
    FOREIGN KEY (PARENT_ID)
    REFERENCES PARENT (PARENT_ID));
    INSERT INTO PARENT VALUES (1, 'Parent 1');
    INSERT INTO PARENT VALUES (2, 'Parent 2');
    INSERT INTO PARENT VALUES (3, 'Parent 3');
    INSERT INTO CHILD VALUES (100, 'Child A', 1);
    INSERT INTO CHILD VALUES (200, 'Child B', 2);
    INSERT INTO CHILD VALUES (300, 'Child C', 3);
    I use the JDev 10.1.2 wizard to create biz components and test the AppMod to make sure the link works. Now I create a blank panel and drag over the ParentView data control. Using the jTree tree binding editor I create two rules:
    1) DataCollectionDef.ParentView - DisplayAttribute.ParentName - BranchRuleAccessor.ChildView
    2) DataCollectionDef.ChildView - DisplayAttribute.ChildName
    Now I add a tree selection listener:
    jTree1.addTreeSelectionListener(new TreeSelectionListener()
    public void valueChanged(TreeSelectionEvent e)
    DefaultMutableTreeNode selectedNode = (DefaultMutableTreeNode)jTree1.getLastSelectedPathComponent();
    if (selectedNode != null)
    System.out.println(selectedNode.getUserObject().toString());
    When I run my panel and watch in JDev everything is fine, i.e. nothing is printed to the screen when it first loads and when I click a node, the correct UserObject prints.
    Here's the rub, now I close the panel and update my child table as follows:
    UPDATE pdssuser.child SET child_id = 1 WHERE child_id = 100;
    UPDATE pdssuser.child SET child_id = 2 WHERE child_id = 200;
    UPDATE pdssuser.child SET child_id = 3 WHERE child_id = 300;
    This time, when I run my panel, the console shows that valueChanged() has been fired 3 times on load:
    Parent 1
    Parent 2
    Parent 3
    This behavior is causing problems with my real tree.
    I haven't had any luck finding threads about this. Any ideas?
    Thanks
    John

    ok, last one (i hope)
    The same issue occurs with 10.1.2.1
    ...but changing the location where I add the treeSelectionListener to after setBindingContext() seems to fix the problem.
    The second call to panelBinding.refreshControl() in setBindingContext() (the one after the call to jbinit()) is what fires the valueChanged events. Somewhere in there, DCBindingContainer.java or DCIteratorBinding.java, the treeSelectionListener is hearing that a value changed (maybe due to a query execution?). I guess the jTree1.setModel(...) call in jbinit() simply sets up the tree but the VO queries described in the Branch Rule accessors are executed on the refreshControl.....i'm out of my comfort zone here and may be confusing you with my "troubleshooting" so I'll just tell you my work-around.
    So to fix it I add the treeSelectionListener in my main method (not jbinit()) after the setBindingContext() has been called.
    I still have no idea why the FK triggers this behavior...but at least it's working.
    * the main method
    public static void main(String [] args)
    try
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    catch(Exception exemp)
    exemp.printStackTrace();
    Panel1 panel = new Panel1();
    panel.setBindingContext(JUTestFrame.startTestFrame("DataBindings.cpx", "null", panel, panel.getPanelBinding(), new Dimension(400, 300)));
    panel.revalidate();
    // Now add the treeSelectionListener
    panel.addSelectionListener();
    * the JbInit method
    public void jbInit() throws Exception
    this.setLayout(borderLayout1);
    this.add(jTree1, BorderLayout.CENTER);
    jTree1.setModel((TreeModel)panelBinding.bindUIControl("ParentView1", jTree1));
    // DON'T ADD treeSelectionListener here
    * Add the selection listener to the tree
    public void addSelectionListener()
    jTree1.addTreeSelectionListener(new TreeSelectionListener()
    public void valueChanged(TreeSelectionEvent e)
    DefaultMutableTreeNode selectedNode = (DefaultMutableTreeNode)jTree1.getLastSelectedPathComponent();
    if (selectedNode != null)
    System.out.println(selectedNode.getUserObject().toString());
    }

Maybe you are looking for