There's only two way you could be getting the wrong data:
1. your Java logic in your DAO is actually fetching Countries instead of Languages. If so, you'll in the RPC tab that there is a request with a DataSource ID of "Languages" but the response data is for Countries
2. you're calling setEditorType() on the DataSourceField or in some other way explicitly specifying that the optionDataSource to use is Countries rather than Languages. This could also explain a SelectItem not being used automatically, which is the default
Also check the Developer Console for errors or warnings.
1. your Java logic in your DAO is actually fetching Countries instead of Languages. If so, you'll in the RPC tab that there is a request with a DataSource ID of "Languages" but the response data is for Countries
2. you're calling setEditorType() on the DataSourceField or in some other way explicitly specifying that the optionDataSource to use is Countries rather than Languages. This could also explain a SelectItem not being used automatically, which is the default
Also check the Developer Console for errors or warnings.
Comment