This content has been marked as final. Show 3 replies
I tested the use case you mention and I am able to create a DataControl on a POJO using the context menu. To debug the issue, please try an alternate way of creating a datacontrol:
1) Select File->New->Other
2) From the Wizard, select 'ADF Data Control'
3) In the wizard panel, 'Bean Class', use the browse button.
You should see the POJO classes in your project. Let me know if are able to use this mechanism to create the data control.
Thanks for your reply. I tried your suggestions in a number of ways, and I have my problem solved.
1 Select EJB project as root. This was OK, not only for EJB's. but for POJO's.
2 Select Dynamic Web project as root.
The POJO that I wanted to create a Data Control of, was not selectable. I created another Java class from the wizard, and to my surprise, the context menu appeared.
I made a simple mistake of trying to create a Data Control from a POJO that had no explicit constructor.
Sorry for the hassle.