Discussion
HCL
IN
Last activity: 11 Nov 2015 3:08 EST
Onclick Event on a Tabbed layout
Hi,
I am using Pega 7.1.7
I have a tabbed layout and I am trying to set a property onclick of the tab using the add actions option for the tab control. But the event is triggering only when i click on the "section" within the tab and the event doesnt get fired if i click the tab header.
My intension is to identify the active tab in the section. Please let me know if there is a way to intialize a property on click of the tab header or any OOTB param/property to identify the active tab
Thanks
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Coforge DPA
GB
Hi ,
The one way you can do this is set the Property using the Data-Transform on the Pre-Action of the Flowaction you are displaying when you click on teh Tab.
So whenever you click on the tab , the data transform gets called and the property is set.
Regards
Bhavya
HCL
IN
Hi bhavya,
Thanks for your reply. But my scenario is not a screen flow so I can't use a flow action. It is a ruleform , kind of a standalone harness which contains a section which in turn holds the tabbed layout
Cisco Systems
US
We have similar requirement instead of click, we are looking for mouse hover to see the next level sub tabs.
In the below example if I mouse hover "App Management" tab I should see what's under that Tab i.e., "Bulk upload"-Tab2.1, "Manage Rules"-Tab2.3 etc.
e.g Menu structure is as follows
- About (Tab1)
- App Management(Tab2) this in turn has 'Bulk upload' (Tab 2.1), 'Manage Rules' (Tab 2.2) etc.,
- Reports(Tab3)
- Help (Tab4)
Appreciate if anyone can give pointers.
Capgemini
CA
Is this issue resolved for you any one. Can you please share the resolution steps here.
Thanks
Optus
AU
you can check the "Refresh when active" check box so that defer load contents activity will be loaded for each time when you click on the tab header. Further pocessing can be done in the defered load activity.
Morgan Stanley
IN
How to refresh the tab in layout groups?
IT-Huset i Norden AB
SE
One way to deal with this is to refer a Section on the Tab layout properties. And then inside the section we can have a dynamic container. On the layout properties of this dynamic container, we can specify which harness, we want to display and what datatransform we would like to run. Hope this helps.