Focal Point
[SOLVED] How to get the parameters from a iframe created with Composer

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4027054326

August 23, 2012, 03:44 AM
ferran
[SOLVED] How to get the parameters from a iframe created with Composer
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.
August 23, 2012, 04:24 AM
Wep5622
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 :
August 23, 2012, 06:20 AM
ferran
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.