How to show all columns? I have solved this, by adding one getter method to Countries TopLink entity bean:
public String getRegionName() {
return this.getRegions().getRegionName();
}
You can download sample application I have developed to solve this issue - AllColumns.zip (JDeveloper 10.1.3.1). Application description:
- As a datasource, standard HR schema is used
- Two entity objects are generated - Regions and Countries
- Getter for regionName is added into Countries TopLink entity bean
- Session Facade and Data Control are created
- To countries.jspx page, Countries Method Return is dragged and dropped from Data Control Pallete.
Data displayed on countries.jspx page:
0 comments:
Post a Comment