Main Region

Open page in new tab of same region
4 answers | 549 views

CH
Jul 21, 2015 05:36 +00:00

Hi

I have an west pane with an tree menue where i load an page with the content loader into the center pane. Now in the center pane, there is an grid. In this grid there I want to have an link to the next page which should be opened as a new tab in the same region where the content loader opend the previous page. Problem is, it alsways creates a second level of tabs. See screenshot of page 9000 in your documentation. Maybe this should explan what exactly I want.

alt text

Kind Regards, Christian

7 comments

CH
Christian86 Jul 21, 2015 11:17 +00:00 

Hello Matt

thank you very much for your great help. This is exactly what I wanted. This forum is absolutely great.

Christian

MN
Matt Nolan Jul 22, 2015 06:35 +00:00 

In the "When" section when defining the triggering element in the dynamic action listen for the "FOEX - Button - Normal Button Click" event and simply select your button.

Note: make sure your button action is set to "defined by dynamic action"

CH
Christian86 Jul 22, 2015 09:13 +00:00 

Thank you!

CH
Christian86 Oct 29, 2015 10:28 +00:00 

Is it also possible to change this Tab Text after it is opened? Maybe with an dynamic action?

MN
Matt Nolan Oct 29, 2015 10:35 +00:00 

In your link attributes add the following:

rel="Ticket: #TICKET_NR#"

You can use column name substitutions for columns that are included in the grid.

CH
Christian86 Nov 5, 2015 06:47 +00:00 

Hi, I meant, with this link I loaded an page into the #PR1_CENTER_PANE and in this Page, when I click save the Tab Name should change.

MN
Matt Nolan Nov 5, 2015 07:55 +00:00 

Please create a new question for this and include the details of your test case, workspace etc.

MN
Jul 21, 2015 09:54 +00:00

There were a number of issues with your test case

  1. You did not use a content loader dynamic action to open report links, you simply relied on a regular column link functionality which when clicked behaves like a regular hyperlink and replaces the current page
  2. You did not provide a region static ID on the center pane on the parent page which you wanted to load the content into

I have updated your test case to show you a working example. The key points are:

  1. include class="new-tab" in your report column links alt text

  2. Create a new dynamic action that listens on click and searches for the class reference added in step 1 i.e. "new-tab" alt text

  3. Edit the center pane on your parent page and set the region static ID alt text

  4. Use the content loader and set the load into context correctly and use a jQuery selector for the affected element using the same region static ID set in step 3 alt text

0 comments

MN
Jul 21, 2015 07:17 +00:00

You can use the "Load into Region Context?" setting and use either "Parent" or "Top" page. You then need to ensure that you pane?layout region on the top page has a REGION_STATIC_ID set and that you use a jQuery selector in the content loader dynamic action for the affected element e.g. #CENTER_PANE

If you have problems with the setup please create a test case on demo.tryfoexnow.com and we will assist you.

0 comments

CH
Jul 21, 2015 09:18 +00:00

Hi Matt

I created Application 356 because it does´t work. Maybe I made something wrong. alt text

You have to click on "entry1" and the click on the link in the grid. Then is opens the new tab in second level. I would like to have this one in the first level like "entry1".

Thanks Christian

0 comments

CH
Jul 22, 2015 05:50 +00:00

Is this also possible with an button? Because in an button, I couldn´t find the "Link attributes".

0 comments

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