We have a content loader that needs to access specific tabs on our master page. In previous versions of FOEX, we would specify something like "tabId":"SHARE1" in the "custom" column of the grid context query and then use a set items DA with a javascript expression like

this.data.menuItem.tabId

to transfer the value to a page item, which would go into the Shared Id part of the Content Loader, ie

#P5000_SHARED_TAB_NAME#

with the overall content loader setup like so:

alt text

The latest version of FOEX does no longer allow that. It seems this is due to the introduction of the fxTitle functionality - when we tested the contents of the data

alert(JSON.stringify(this.data.menuItem));

"custom" only showed data when the key was "fxTitle", otherwise "custom" would not be shown at all as part of this.data.menuItem.

What is the correct way to handle this? We can't use fxTitle, as this overrides the triggering element text, which we like as a heading for our new tab. We've also tried group_id as mentioned in the grid documentation; however this also did not show up in this.data.menuItem, nor did it have a difference on being able to hit the correct tab. What's the correct way of dealing with this?

asked 23 Dec '16, 21:16

Alex's gravatar image

Alex
3092833
accept rate: 19%

edited 02 Jan, 09:06

FOEX-SUPPORT's gravatar image

FOEX-SUPPORT
3.7k15


It seems that you have uncovered a problem that the group_id defined in the context menu query is not being used correctly.

The behaviour should be: when using "group_id" in your context menu query you do not need to set the "Share/Reuse Tab/Panel/Slice" and "Shared ID" settings. The tab will be automatically opened in a shared/group tab.

We will be supplying a fix in the next hot fix release due out soon.

Note: with the supplied fix you will also still be able to use your design as above, but it just adds more overhead when you can simply use the menu SQL group_id column to define the groups.

link

answered 02 Jan, 09:05

FOEX-SUPPORT's gravatar image

FOEX-SUPPORT
3.7k15
accept rate: 32%

We had strange behaviour with the old method after trying to hit the same tab a second time, the page got caught in a small iframe. The group_id method however worked fine.

(01 Feb, 06:50) Alex Alex's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×523
×35
×29
×2
×2

Asked: 23 Dec '16, 21:16

Seen: 326 times

Last updated: 01 Feb, 06:50

FOEX Links