Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to extract the group name from Java ${JHS.group.current.name}

585089Jul 18 2007 — edited Jul 23 2007
Hi, 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 20 2007
Added on Jul 18 2007
1 comment
1,672 views