Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How to get the parameters from a iframe created with Composer

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] How to get the parameters from a iframe created with Composer
 Login/Join
 
Member
posted
Hi all,

I have made a Dashboard with the composer tool, wich shows four graphs (fex procedures) whose outcome varies depending on the parameters selected by the user.

Well, I need to get the complete url of each iframe from the parent element (the page made with the composer tool). I take a look at the iframe properties and objects, and I can't find where are the parameters placed. I've seen that the src property has "http://localhost:8080/ibi_html/javaassist/composerloading.html" value, and both contentWindow.location.href and contentDocument.location.href has "http://localhost:8080/ibi_apps/WFServlet" values.

Any suggestions?.

Thanks in advice,

This message has been edited. Last edited by: Kerry,


WF 7.7.03,Win XP Pro.
HTML, PDF, EXCEL, AHTML, FLEX, APDF.
SQL Server, MySQL, DB2, FOCUS.
 
Posts: 19 | Registered: February 04, 2011Report This Post
Virtuoso
posted Hide Post
Those contentWindow URL's are probably part of a POST request.

If you have Firefox with Firebug installed, then you can look at what the actual HTTP request was that got sent to each frame. It's possible that the developer tool (under F12) in recent IE can show you the same.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Member
posted Hide Post
Hi Wep5622,

As you mentioned, it's a POST petition. Finally, I have done what I want getting the fex names and the parameters values with javascript. Luckily there are few parameters on the web page.

Thank's


WF 7.7.03,Win XP Pro.
HTML, PDF, EXCEL, AHTML, FLEX, APDF.
SQL Server, MySQL, DB2, FOCUS.
 
Posts: 19 | Registered: February 04, 2011Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How to get the parameters from a iframe created with Composer

Copyright © 1996-2020 Information Builders