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.
Read-Only TopicGo
Search
Notify
Admin
New PM!
Master posted January 24, 2011 04:07 PM
Hai all
I am trying to use tab control in html composer.
I have a drop down in Tab1 and another in Tab2. In parameters tab I chained both the controls but when I run, chaining doesn't work. Is this expected? With a control in one tab, cant I filter a report across various tabs?
Thank you.
This message has been edited. Last edited by: Kerry , January 27, 2011 10:59 AM 8.1.05 HTML,PDF,EXL2K, Active, All
Platinum Member I was able to do it fine. You sure you're coding your HTML correctly?
WebFOCUS: 7702 O/S : Windows Data Migrator: 7702
Posts: 127 | Location: San Antonio | Registered: May 29, 2009
IP
Master im doing it in normal way..added two drop downs and chained both of them by dragging 1st to 2nd in parameters tab. both are getting populated with data but chaining doesn't work.!
I added same drop down from 2nd tab in 2st and chained it to 1st control..chaining works good in 1st tab.
8.1.05 HTML,PDF,EXL2K, Active, All
Platinum Member When I do it your way, I can see what you're talking about. Not sure WHY, but it seems to be in the way you manually add the list box.
1.Try adding a button or frame or however you want the report to appear and import the parameters when prompted.
2.Input them as drop-down lists and add them to your tabs.
3.Then go to the parameter tab and chain them.
That's how I got mine to work.
This will get messy, but maybe someone can enlighten us what is different in these two code pieces:
[U]
Working [/U]
<HTML>
<HEAD>
<META id=mycharsetmeta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META id=Generation content="Gen 3.0">
<SCRIPT id=IBI_RelCallBack type=text/javascript>function AdjustChildrenPosition(){
}
</SCRIPT>
<SCRIPT id=IBI_OptionsScript type=text/javascript>
var cgipath = "cgipath";
var ibirls = "ibirls3";
var rltdyncalendar = "rltdyncalendar";
var gmap = "ibigmap";
var olap="olap";
var olappanebase="olappanebase";
var olapdrill="olapdrill";
var ibixmltree="ibixmltree";
var ibiOptions = new Array(cgipath,ibirls);
</SCRIPT>
<SCRIPT id=IBI_nls src="/ibi_html/javaassist/nls.js" type=text/javascript></SCRIPT>
<SCRIPT id=IBI_nlsVars src="/ibi_html/javaassist/nlsvars.js" type=text/javascript></SCRIPT>
<SCRIPT id=IBI_ibigbl src="/ibi_html/javaassist/ibi/html/js/ibigbl.js" type=text/javascript></SCRIPT>
<SCRIPT id=IBI_ibigblloadCss type=text/javascript>
ibigblloadCss(null);
addIntlTranslatedJS("composertrans.js");
</SCRIPT>
<TITLE>HtmlPage</TITLE>
<SCRIPT id=clientEventHandlersJS type=text/javascript>
//Begin function window_onload
function window_onload() {
UpdateData();
// TODO: Add your event handler code here
//add onInitialUpdate() function to make changes before initial run of the reports
}
//End function window_onload
//Begin function button1_onclick
function button1_onclick(ctrl) {
// TODO: Add your event handler code here
OnExecute(ctrl)
}
//End function button1_onclick
</SCRIPT>
<SCRIPT for=window type=text/javascript eventname="onload">window.onload = function() { window_onload(); }</SCRIPT>
<STYLE id=ibi_defaultstyleElt type=text/css>.tabitemsclass {
BACKGROUND-COLOR: white
}
</STYLE>
<META content="MSHTML 6.00.6000.17092" name=GENERATOR></HEAD>
<BODY style="OVERFLOW: auto" nextelementuniquenumber="4" elementtype="21" edaconnectionrequired="true">
<SPAN id=tab1 style="Z-INDEX: 2; LEFT: 120px; WIDTH: 690px; POSITION: absolute; TOP: 110px; HEIGHT: 260px" tabIndex=2 elementtype="38" tabedgerounded="straight" tabitemsdefaultheight="25" tabitemsdefaultwidth="100" tablocation="top" tabitemsdefaultdist="5">
<SPAN class=tabitemsclass id=tabitem1 style="BORDER-RIGHT: teal 1px solid; BORDER-TOP: gold 3px solid; Z-INDEX: 5; LEFT: 15px; BORDER-LEFT: teal 1px solid; WIDTH: 100px; CURSOR: pointer; BORDER-BOTTOM: white thin; POSITION: absolute; TOP: 0px; WRITING-MODE: lr-tb; HEIGHT: 26px; TEXT-ALIGN: center" tabIndex=3 elementtype="39" selectedtab="true" tabbody="tabitembody1">Tab #1</SPAN>
<SPAN class=tabitemsclass id=tabitembody1 style="BORDER-RIGHT: teal 1px solid; BORDER-TOP: teal 1px solid; DISPLAY: block; Z-INDEX: 4; LEFT: 0px; BORDER-LEFT: teal 1px solid; WIDTH: 690px; BORDER-BOTTOM: teal 1px solid; POSITION: absolute; TOP: 25px; HEIGHT: 235px" tabIndex=4 elementtype="40">
<LABEL id=label1 style="Z-INDEX: 13; LEFT: 15px; WIDTH: 60px; CURSOR: default; POSITION: absolute; TOP: 30px; HEIGHT: 51px" tabIndex=12 for=combobox3 elementtype="50" name="combobox3">CITY
<SELECT id=combobox3 style="Z-INDEX: 14; LEFT: 0px; WIDTH: 60px; POSITION: absolute; TOP: 29px" tabIndex=13 size=1 defaultlocation="29,0,51,60" boundtovariable="1" persistentuniqueid="compUid_3" name="combobox3"></SELECT></LABEL></SPAN>
<SPAN class=tabitemsclass id=tabitem2 style="BORDER-RIGHT: teal 1px solid; BORDER-TOP: teal 1px solid; Z-INDEX: 3; LEFT: 120px; BORDER-LEFT: teal 1px solid; WIDTH: 100px; CURSOR: pointer; BORDER-BOTTOM: white thin; POSITION: absolute; TOP: 3px; WRITING-MODE: lr-tb; HEIGHT: 22px; TEXT-ALIGN: center" tabIndex=5 elementtype="39" selectedtab="false" tabbody="tabitembody2">Tab #2</SPAN>
<SPAN class=tabitemsclass id=tabitembody2 style="BORDER-RIGHT: teal 1px solid; BORDER-TOP: teal 1px solid; DISPLAY: none; Z-INDEX: 2; LEFT: 0px; BORDER-LEFT: teal 1px solid; WIDTH: 690px; BORDER-BOTTOM: teal 1px solid; POSITION: absolute; TOP: 25px; HEIGHT: 235px" tabIndex=6 elementtype="40">
<LABEL id=label2 style="Z-INDEX: 15; LEFT: 40px; WIDTH: 60px; CURSOR: default; POSITION: absolute; TOP: 0px; HEIGHT: 51px" tabIndex=14 for=combobox4 elementtype="50" name="combobox4">STATE</LABEL>
<SELECT id=combobox4 style="Z-INDEX: 16; LEFT: 50px; WIDTH: 220px; POSITION: absolute; TOP: 55px" tabIndex=15 size=1 defaultlocation="29,0,51,60" boundtovariable="1" persistentuniqueid="compUid_4" name="combobox4"></SELECT></SPAN></SPAN>
<INPUT language=javascript id=button1 style="Z-INDEX: 8; LEFT: 150px; WIDTH: 199px; POSITION: absolute; TOP: 450px; HEIGHT: 54px" onclick=button1_onclick(this) tabIndex=9 type=button size=61 value=Submit requests_list="0" name="button1">
<INPUT id=layoutinfo style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden tabcontrolids="tab1">
<INPUT id=IBIMR_domain style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=wellsfar/wellsfar.htm name="IBIMR_domain">
<INPUT id=IBIMR_folder style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=#testobjioyvt name="IBIMR_folder">
<INPUT id=ibif_ex style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=app/car_html.htm name="ibif_ex">
<INPUT id=ibiapp_app style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=wells ismre="1" name="ibiapp_app">
<xml id=focus_xmlelement>
<script type="text/xml">
<rootxmlnode top="20" left="719" width="150" height="130">
<variables>
<variable controltype="8" parametercreatedinreslay="0" type="unresolved" desc="CITY" name="CITY" default="" textvarname="" accept="0" select="0" create="1" top="223" left="84" width="60" height="20" inbinding="1">
<link linktype="default" from="compUid_3">
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info displayfield="CITY" datafield="CITY" datasource="" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" linktype="none"></data_info></condition></link>
<requestid id="0"></requestid></variable>
<variable controltype="8" parametercreatedinreslay="0" type="unresolved" desc="STATE" name="STATE" default="" textvarname="" accept="0" select="0" create="1" top="236" left="203" width="60" height="20" inbinding="1">
<link linktype="default" from="compUid_4">
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info displayfield="STATE" datafield="STATE" datasource="" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" linktype="none"></data_info></condition></link>
<requestid id="0"></requestid></variable></variables>
<input_controls>
<input_control bindcontrolid="compUid_3" elementtype="8" requiredfield="0" name="combobox3" id="combobox3" multiple="0" inbinding="1" unresolved="0" top="90" left="82" width="60" height="20" onetimepopulated="0" textvarname="CITY_TEXT">
<link linktype="default">
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info datatype="1" datasource="GGSTORES.mas" addalloption="1" sourcetype="typeMaster" cacheruntimedata="0" accept="0" selectedvalue="" operation="NONE" sorttype="0" displayfield="GGSTORES.STORES01.CITY" datafield="GGSTORES.STORES01.CITY" ibiapp_app="wells" IBIMR_domain="wellsfar/wellsfar.htm" IBIMR_folder="#testobjioyvt" dynalldisplayvalue="ALL" ibiformat="A22" dfformat="A22" modifiedrequest="0">
<![CDATA[TABLE FILE GGSTORES
SUM FST.GGSTORES.STORES01.CITY
BY GGSTORES.STORES01.CITY
-*insert_filters_here
ON TABLE PCHOLD FORMAT XML
END
]]></data_info></condition></link></input_control>
<input_control bindcontrolid="compUid_4" elementtype="8" requiredfield="0" name="combobox4" id="combobox4" multiple="0" inbinding="1" unresolved="0" top="80" left="203" width="60" height="20" onetimepopulated="0" textvarname="STATE_TEXT">
<link linktype="default" from="compUid_3">
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0" resolveparameterfq="CITY" resolveparameter="CITY">
<data_info datatype="1" datasource="GGSTORES.mas" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" accept="0" selectedvalue="" operation="NONE" displayfield="GGSTORES.STORES01.STATE" datafield="GGSTORES.STORES01.STATE" ibiapp_app="wells" IBIMR_domain="wellsfar/wellsfar.htm" IBIMR_folder="#testobjioyvt" dynalldisplayvalue="ALL" ibiformat="A02" dfformat="A02" modifiedrequest="0">
<![CDATA[TABLE FILE GGSTORES
SUM FST.GGSTORES.STORES01.STATE
BY GGSTORES.STORES01.STATE
-*insert_filters_here
ON TABLE PCHOLD FORMAT XML
END
]]></data_info></condition></link></input_control></input_controls>
<other_bound_objects></other_bound_objects>
<requests nextrequestsid="1">
<request requestid="0" sourcetype="typeFex" targettype="window" targetname="_blank" ibif_ex="app/sales_test.fex" IBIMR_domain="wellsfar/wellsfar.htm" IBIMR_folder="#testobjioyvt" IBIMR_sub_action="MR_STD_REPORT" activereport="0" reportcolumns="" ibiapp_app="wells"></request></requests></rootxmlnode></script>
</xml></BODY>
<SCRIPT id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>
</HTML> [U]
Not Working [/U]
<HTML>
<HEAD>
<META id=mycharsetmeta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META id=Generation content="Gen 3.0">
<SCRIPT id=IBI_RelCallBack type=text/javascript>function AdjustChildrenPosition(){
}
</SCRIPT>
<SCRIPT id=IBI_OptionsScript type=text/javascript>
var cgipath = "cgipath";
var ibirls = "ibirls3";
var rltdyncalendar = "rltdyncalendar";
var gmap = "ibigmap";
var olap="olap";
var olappanebase="olappanebase";
var olapdrill="olapdrill";
var ibixmltree="ibixmltree";
var ibiOptions = new Array(cgipath,ibirls);
</SCRIPT>
<SCRIPT id=IBI_nls src="/ibi_html/javaassist/nls.js" type=text/javascript></SCRIPT>
<SCRIPT id=IBI_nlsVars src="/ibi_html/javaassist/nlsvars.js" type=text/javascript></SCRIPT>
<SCRIPT id=IBI_ibigbl src="/ibi_html/javaassist/ibi/html/js/ibigbl.js" type=text/javascript></SCRIPT>
<SCRIPT id=IBI_ibigblloadCss type=text/javascript>
ibigblloadCss(null);
addIntlTranslatedJS("composertrans.js");
</SCRIPT>
<TITLE>HtmlPage</TITLE>
<SCRIPT id=clientEventHandlersJS type=text/javascript>
//Begin function window_onload
function window_onload() {
UpdateData();
// TODO: Add your event handler code here
//add onInitialUpdate() function to make changes before initial run of the reports
}
//End function window_onload
//Begin function button1_onclick
function button1_onclick(ctrl) {
// TODO: Add your event handler code here
OnExecute(ctrl)
}
//End function button1_onclick
</SCRIPT>
<SCRIPT for=window eventname="onload">window.onload = function() { window_onload(); }</SCRIPT>
<STYLE id=ibi_defaultstyleElt type=text/css>.tabitemsclass {
BACKGROUND-COLOR: white
}
</STYLE>
<META content="MSHTML 6.00.6000.17092" name=GENERATOR></HEAD>
<BODY style="OVERFLOW: auto" nextelementuniquenumber="3" elementtype="21" edaconnectionrequired="true">
<SPAN id=tab1 style="Z-INDEX: 2; LEFT: 60px; WIDTH: 760px; POSITION: absolute; TOP: 150px; HEIGHT: 390px" tabIndex=2 elementtype="38" tabedgerounded="straight" tabitemsdefaultheight="25" tabitemsdefaultwidth="100" tablocation="top" tabitemsdefaultdist="5">
<SPAN class=tabitemsclass id=tabitem1 style="BORDER-RIGHT: teal 1px solid; BORDER-TOP: gold 3px solid; Z-INDEX: 5; LEFT: 15px; BORDER-LEFT: teal 1px solid; WIDTH: 100px; CURSOR: pointer; BORDER-BOTTOM: white thin; POSITION: absolute; TOP: 0px; WRITING-MODE: lr-tb; HEIGHT: 26px; TEXT-ALIGN: center" tabIndex=3 elementtype="39" persistentuniqueid="compUid_3" selectedtab="true" tabbody="tabitembody1">Tab #1</SPAN>
<SPAN class=tabitemsclass id=tabitembody1 style="BORDER-RIGHT: teal 1px solid; BORDER-TOP: teal 1px solid; DISPLAY: block; Z-INDEX: 4; LEFT: 0px; BORDER-LEFT: teal 1px solid; WIDTH: 760px; BORDER-BOTTOM: teal 1px solid; POSITION: absolute; TOP: 25px; HEIGHT: 365px" tabIndex=4 elementtype="40">
<SELECT id=combobox1 style="Z-INDEX: 6; LEFT: 85px; WIDTH: 215px; POSITION: absolute; TOP: 69px" tabIndex=7 persistentuniqueid="compUid_1" name="combobox1"></SELECT></SPAN>
<SPAN class=tabitemsclass id=tabitem2 style="BORDER-RIGHT: teal 1px solid; BORDER-TOP: teal 1px solid; Z-INDEX: 3; LEFT: 120px; BORDER-LEFT: teal 1px solid; WIDTH: 100px; CURSOR: pointer; BORDER-BOTTOM: white thin; POSITION: absolute; TOP: 3px; WRITING-MODE: lr-tb; HEIGHT: 22px; TEXT-ALIGN: center" tabIndex=5 elementtype="39" selectedtab="false" tabbody="tabitembody2">Tab #2</SPAN>
<SPAN class=tabitemsclass id=tabitembody2 style="BORDER-RIGHT: teal 1px solid; BORDER-TOP: teal 1px solid; DISPLAY: none; Z-INDEX: 2; LEFT: 0px; BORDER-LEFT: teal 1px solid; WIDTH: 760px; BORDER-BOTTOM: teal 1px solid; POSITION: absolute; TOP: 25px; HEIGHT: 365px" tabIndex=6 elementtype="40">
<SELECT id=combobox2 style="Z-INDEX: 7; LEFT: 92px; WIDTH: 308px; POSITION: absolute; TOP: 74px" tabIndex=8 persistentuniqueid="compUid_2" name="combobox2"></SELECT></SPAN></SPAN>
<INPUT language=javascript id=button1 style="Z-INDEX: 8; LEFT: 188px; POSITION: absolute; TOP: 572px" onclick=button1_onclick(this) tabIndex=9 type=button value=Button requests_list="0" name="button1">
<INPUT id=layoutinfo style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden tabcontrolids="tab1">
<INPUT id=IBIMR_domain style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=wellsfar/wellsfar.htm name="IBIMR_domain">
<INPUT id=IBIMR_folder style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=#testobjioyvt name="IBIMR_folder">
<INPUT id=ibif_ex style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=app/sales_html.htm name="ibif_ex">
<INPUT id=ibiapp_app style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=wells ismre="1" name="ibiapp_app">
<xml id=focus_xmlelement>
<script type="text/xml">
<rootxmlnode top="20" left="719" width="150" height="130">
<variables>
<variable controltype="7" parametercreatedinreslay="0" type="unresolved" desc="CITY" name="CITY" default="" textvarname="" accept="0" select="0" create="0" top="236" left="147" width="60" height="20" inbinding="1">
<link linktype="default" from="compUid_1">
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info displayfield="CITY" datafield="CITY" datasource="" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" linktype="none"></data_info></condition></link>
<requestid id="0"></requestid></variable>
<variable controltype="7" parametercreatedinreslay="0" type="unresolved" desc="STATE" name="STATE" default="" textvarname="" accept="0" select="0" create="0" top="238" left="260" width="60" height="20" inbinding="1">
<link linktype="default" from="compUid_2">
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info displayfield="STATE" datafield="STATE" datasource="" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" linktype="none"></data_info></condition></link>
<requestid id="0"></requestid></variable></variables>
<input_controls>
<input_control bindcontrolid="compUid_1" elementtype="8" name="combobox1" id="combobox1" multiple="0" inbinding="1" textvarname="_TEXT" top="173" left="147" width="60" height="20" onetimepopulated="0">
<link linktype="default">
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info datatype="1" sourcetype="typeMaster" ibiapp_app="wells" datasource="GGSTORES.mas" displayfield="GGSTORES.STORES01.CITY" ibiformat="A22" dfformat="A22" datafield="GGSTORES.STORES01.CITY" modifiedrequest="0" addalloption="0" dynalldisplayvalue="ALL" selectedvalue="" accept="0" operation="NONE">
<![CDATA[TABLE FILE GGSTORES
SUM FST.GGSTORES.STORES01.CITY
BY GGSTORES.STORES01.CITY
-*insert_filters_here
ON TABLE PCHOLD FORMAT XML
END
]]></data_info></condition></link></input_control>
<input_control bindcontrolid="compUid_2" elementtype="8" name="combobox2" id="combobox2" multiple="0" inbinding="1" textvarname="_TEXT" top="171" left="260" width="60" height="20" onetimepopulated="0">
<link linktype="default" from="compUid_1">
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info datatype="1" sourcetype="typeMaster" ibiapp_app="wells" datasource="GGSTORES.mas" displayfield="GGSTORES.STORES01.STATE" ibiformat="A02" dfformat="A02" datafield="GGSTORES.STORES01.STATE" modifiedrequest="0" selectedvalue="" accept="0" addalloption="0" operation="NONE">
<![CDATA[TABLE FILE GGSTORES
SUM FST.GGSTORES.STORES01.STATE
BY GGSTORES.STORES01.STATE
-*insert_filters_here
ON TABLE PCHOLD FORMAT XML
END
]]></data_info></condition></link></input_control></input_controls>
<other_bound_objects></other_bound_objects>
<requests nextrequestsid="0">
<request requestid="0" sourcetype="typeFex" targettype="window" targetname="_blank" ibif_ex="app/sales_test.fex" IBIMR_domain="wellsfar/wellsfar.htm" IBIMR_folder="#testobjioyvt" IBIMR_sub_action="MR_STD_REPORT" activereport="0" reportcolumns="" ibiapp_app="wells"></request></requests></rootxmlnode></script>
</xml></BODY>
<SCRIPT id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>
</HTML> WebFOCUS: 7702 O/S : Windows Data Migrator: 7702
Posts: 127 | Location: San Antonio | Registered: May 29, 2009
IP
Master Im adding the controls manually, may be that's why its not working..but strange..!
8.1.05 HTML,PDF,EXL2K, Active, All
Please Wait. Your request is being processed...
Read-Only TopicCopyright © 1996-2020 Information Builders