Dynamic Regions
- by raghu.yadav
In this blog you can see simple usecase to display employees, departments tables using dynamic region component. However first bunch of thanks to andre blogging examples related to dynamic regions and you can find more related examples in andre blog andre-examples. Here is the simple dynamic region sample screen shots.
Here is the impl steps.
dep.jsff with dep table in it
emp.jsff with emp table in it
dep.xml ( dep taskflow )
emp.xml ( emp taskflow )
main.jspx ( with pannelsplitter first component having 2 commandmenuItems or commandlinks (emp and dep ) with action set to there respective taskflows (emp.xml and dep.xml) and second component having dynamic region component of department taskflow (default render).
DynamicRegionBacking Bean - add department and employee taskflow code as shown in screen shot.
set PartialTriggers on region in main.jspx to emp and dep commandmenuitems or links.
that's it.