I am using ViewCustomizer + Dynamic view control + dynamic content control. the oncolumn click event runs fine, but the client insists on the onrow click.
It is used like this: inside of dynamic content control, total 4 facets, one dynamic view control to render 30-40 views, plus three forms. Corresponding forms are supposed to be rendered when the view column is clicked.
Two approaches I have taken so far:
1. added the code which is supposed to be added to a view panel to the dynamic view control. (http://blog.innerringsolutions.com/2013/01/16/tip-custom-clickable-rows-in-xpages-viewpanels/)
code runs without exception, but the dyanmic content does not swith facet at all
- Intension is to inject a event handler under a row UIComponment (if a row UIComponent exists). inside of
public void afterCreateColumns(FacesContext context, UIDynamicViewPanel panel){
}
I recursive print out all the children component under the UIDynamicViewPanel but find no row UIComponent for it. So this approach fails
How can I add a onrow click event in this case??