How to extract the group name from Java ${JHS.group.current.name}
585089Jul 18 2007 — edited Jul 23 2007Hi, I have an application which is generated based on JHS.When user clicks on Save button, I would like to capture my group name and view object name.Here 10 pages have same kind of processing except some beans might be missing in some pages.
I would like to dynamically capture group name, fields associated to that and capture the data and send them to corresponding table.
I know we can have different commit method for each page, But I would like to centralize all pages processing so that future pages might use same logic to process them.
I also went through developer documentation,I found Application XSD have the facility of ${JHS.group.current.name}. I am processing my logic in Java layer, Went through java docs but could not find any helper class to extract this data.
I also have to capture the page beans and corresponding values dynamically.
appreciate your thoughts and suggestions to extract my group name and field values corresponding to that.
Thanks.