Main Region

Foex Menu button query using page items not refreshing
3 answers | 311 views

LS
Dec 13, 2013 11:35 +00:00

Hi, I have a FOEX button - type as Menu Button. My menu Query is something like this:-

    SELECT 1 id,
       NULL pid,
       'OPTIONS AVAILABLE' text,
       NULL url,
       1 display_seq,
       NULL css_class,
       NULL info,
       0 disabled_flag,
       NULL custom
  FROM DUAL
UNION ALL
SELECT 2 id,
       1 pid,
       'EDIT' text,
       NULL url,
       3 display_seq,
       NULL css_class,
       NULL info,
       2 disabled_flag,
       NULL custom
  FROM DUAL
 WHERE :P4_IS_EDITABLE = 'Y'
UNION ALL
SELECT 3 id,
       1 pid,
       'VIEW' text,
       NULL url,
       3 display_seq,
       NULL css_class,
       NULL info,
       0 disabled_flag,
       NULL custom
  FROM DUAL
 WHERE :P4_IS_EDITABLE = 'N'

When I land to the page first time, It shows me correct Menu. On click of "Edit" Menu, I Have a Dynamic action which changes P4_IS_EDITABLE to 'N' and after that refreshes the button.

When I checked the session, it is having the updated value of page item.

But my menu is still same. It is still showing "Edit" whereas it should show "View" option now.

Is there any way to make it work...

Thanks in advance..

7 comments

LS
Lata S Dec 13, 2013 12:15 +00:00 

I tried that too but didn't work out.

MN
Matt Nolan Jan 13, 2014 10:06 +00:00 

This is fixed in development and will be included in the next patch release due out soon.

LS
Lata S Feb 1, 2014 07:37 +00:00 

Hi Matt, Just want to check if patch is released having this request??

MN
Matt Nolan Feb 1, 2014 07:51 +00:00 

Yes I previously stated that it would be. The patch is due out very soon.

MN
Matt Nolan Feb 10, 2014 10:24 +00:00 

Can you please create a test case on demo.tryfoexnow.com which reproduces the problem.

LS
Lata S Feb 10, 2014 11:26 +00:00 

I tried creating a rep case but its working fine on demo.tryfoexnow.com

MN
Matt Nolan Feb 10, 2014 12:57 +00:00 

I would suggest that your check your upgrade. Please have a look at the page source and search for the foex javascript and check the version in use.

PR
Dec 13, 2013 12:13 +00:00

Buttons currently don't support the refresh dynamic action.

You can try and refresh the container-region, maybe that helps.

0 comments

MN
Dec 16, 2013 01:19 +00:00

We have logged an enhancement request to make the FOEX Button menu refreshable as per your requirement.

0 comments

LS
Feb 10, 2014 10:20 +00:00

Hi Matt, As per mentioned in V1.2.2 CHANGE LOG- improvements:- FXP-827 Support refreshing a FOEX menu/split/cycle button

I tried refresh action using affected Elements as Item and choosed my Foex Menu button but still I am not seeing it refreshing. Can you please let me know if any other changes required .

0 comments

You must log in or sign up to post questions and answers.