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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Identify a panel on another page

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Identify a panel on another page
 Login/Join
 
Member
posted
I am trying to identify if an object is a valid object. The code getting and setting work when the objects are there. When I add the code to get getElementById, it never finds it. What am I missing?

var vp = window.frames[1].document.getElementById("comboboxFrom");
// var vp = parent.frames[1].IbComposer_getComponentById("Panel_1_19");
if(vp){
alert("Hi2");
var From= parent.frames[1].IbComposer_getCurrentSelection('comboboxFrom');
IbComposer_setCurrentSelection('comboboxFrom', From, false);
var To = parent.frames[1].IbComposer_getCurrentSelection('comboboxTo');
IbComposer_setCurrentSelection('comboboxTo', To, false);
var CD = parent.frames[1].IbComposer_getCurrentSelection('comboboxCD');
IbComposer_setCurrentSelection('comboboxCD', CD, false);
var PSE = parent.frames[1].IbComposer_getCurrentSelection('comboboxPSE');
IbComposer_setCurrentSelection('comboboxPSE', PSE, false);
var CM = parent.frames[1].IbComposer_getCurrentSelection('comboboxCM');
IbComposer_setCurrentSelection('comboboxCM', CM, false);
var SUPPLIER = parent.frames[1].IbComposer_getCurrentSelection('comboboxSupplier');
IbComposer_setCurrentSelection('comboboxSupplier', SUPPLIER, false);
}else{
alert("Hi3");
}

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.2.01M
Windows, All Outputs
 
Posts: 14 | Registered: July 20, 2017Report This Post
Virtuoso
posted Hide Post
Hawk

I suggest you open a case with techsupport for this since no one has been able to provide any guidance.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report 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     [CLOSED] Identify a panel on another page

Copyright © 1996-2020 Information Builders