Hello experts,
I am a newbie to design
pattern and trying to implement it for a project scenario in Oracle ADF. The scenario is as follows:
I have a managed bean named RegionManagedBean which holds bindings of the jsff page. The regions are instantiated dynamically and the only one region has to be displayed on the page. For this purpose, the Factory design method has been chosen where we have:
IRegion : An interface which has as methods getRegion() and saveRegion()
RegionFactory: This class instantiates the region based on its name
Region1 ... Region2: For each region to be instantiated a class exists which returns the bonded region of the jsff page. This class extends the managedBean and implements the IRegion interface.
The region is well instantiated and returned on the page. Now the issue is on the region there are specific actions to be performed like clear. For each region, there are specific fields to be cleared. How to access region specific functionalities from the jsff? Is that possible?
Thank you in anticipation
Neerou