This content has been marked as final. Show 7 replies
so far I am only aware of a refresh to happen for fragments that are in a popup, never for fragments on a page (which is also not what I see in my testings)
When I have 3 dynamic regions on a jspx page, where every region loads taskFlow with jsff page.
One of the pages produces the contextual event, the other receives the contextual event and the 3rd one does nothing.
Then 3rd region is not refreshed. It works correctly.
But when I place eventMap in the pageDef of the jspx page, then all regions are refreshed no matter if they receive the contextual event.
This is not the right way. Why is that? Do you have an idea?
I am using JDev 188.8.131.52.0
Edited by: Nikolay Minchev on Dec 22, 2010 2:44 AM
I have the same issue that I am running into. From a region, I send a contextual event to the parent page. The parent page enables a button only, but ALL regions contained in the parent page are re-freshed, event if the refresh type of the region is default. I don't want the regions to be refreshed at all. Any word on this?
You can add another hidden region in your page associated with a task flow. The task flow should contain page fragment and then the pageDef of the fragment should have the event map in order to subscribe for the contextual event. In this way the region that is going to be refreshed in the hidden one. Then you can execute your business logic. The problem that you may encounter is that function that will handle the contextual event will be called in the context of the task flow associated with the hidden region.
I'd like to bump this issue.
Using JDeveloper 184.108.40.206.0
Similar scenario and we've also tried both ELExpression invocation as well as programmatic invocation from a bean.
Has anyone found the solution for this one?
It's been a year since I bumped this... and still there's no solution.
Still happens in 220.127.116.11.0.
I haven't tried in 18.104.22.168 but I'll post an update when I try it later.
Simple use case.
Page with 2 regions (A,B).
Region A has a table (Employee table by HR) - selection happens here which triggers the event.
Region B has a Form showing the current row of Employee Table.
The page containing both regions listens to the event. Without additional code, it is refreshing RegionB even if RegionB is not subscribing to the event.