Focal Point
[SOLVED]Combobox value not getting set dinamically when Listbox populated dinamically

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

August 29, 2014, 09:40 AM
Kalyan
[SOLVED]Combobox value not getting set dinamically when Listbox populated dinamically
I am trying to set the combobox value dinamically in window_onload() function. where happens here is doBeforeLoad() function executes first, then window_onload() function executes. By the time data populates in all the 3 listboxes, the dinamically set combobox values sets to default(i.e. CS) in the below code. So this is not allowing me to set combobox value dinamically using javascript. I even tried with 'selectedvalue="EORE"' near elementtype="8" in the code below.

Request people to share your views.


 

<HTML>
<HEAD>
<META id=mycharsetmeta content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META id=Generation content="Created in release 7703, Generation 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 type=text/javascript src="/ibi_html/javaassist/nls.js"></SCRIPT>

<script id=IBI_nlsVars type=text/javascript src="/ibi_html/javaassist/nlsvars.js"></SCRIPT>

<script id=IBI_ibigbl type=text/javascript src="/ibi_html/javaassist/ibi/html/js/ibigbl.js"></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() {

document.getElementById("combobox1").value = "EORE";
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

//Begin function button1_onclick
function button1_onclick(ctrl) {
// TODO: Add your event handler code here
OnExecute(ctrl)
}
//End function button1_onclick

//Begin function button3_onclick
function button3_onclick(ctrl) {
window.document.getElementById("combobox1").value = "CS";
window.document.getElementById("textarea1").value = "";
window.document.getElementById("listbox1").value = "All Grades";
window.document.getElementById("listbox1").selected = true;
window.document.getElementById("listbox2").value = "All Series";
window.document.getElementById("listbox2").selected = true;
window.document.getElementById("listbox3").value = "All Pay Plans";
window.document.getElementById("listbox3").selected = true;
window.document.getElementById("radio1").value = "SSN";
}
//End function button3_onclick

//Begin function button2_onclick
function button2_onclick(ctrl) {
// TODO: Add your event handler code here
OnExecute(ctrl)
}
//End function button2_onclick
</SCRIPT>

<script for=window type=text/javascript eventname="onload">window.onload = function() { window_onload(); }</SCRIPT>
</HEAD>
<BODY style="OVERFLOW: auto" language=java_script edaconnectionrequired="true" nextelementuniquenumber="15" thumbnailscale="4" elementtype="21">
<FORM style="Z-INDEX: 177; POSITION: absolute; BACKGROUND-COLOR: #ffffff; WIDTH: 1100px; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: no-repeat; BACKGROUND-POSITION: 75% 40%; HEIGHT: 690px; TOP: 0px; LEFT: 10px" id=form1 onsubmit="OnExecute[this);return false;" method=post requests_list="3" form_newline_chain="1" default_slider_type="4" form_type="1" form_prompt_location="1" form_number_of_visible_rows="4" form_number_of_columns="4" vert_dist_between_controls="10" form_hor_dist_between_controls="10" form_dist_between_desc_and_input="10" name="form1">
<SPAN style="BACKGROUND-IMAGE: url[app/flag.jpg); Z-INDEX: 178; POSITION: absolute; WIDTH: 700px; HEIGHT: 460px; TOP: 50px; LEFT: 40px" id=panel1 tabIndex=1 elementtype="34">
<INPUT style="Z-INDEX: 79; POSITION: absolute; WIDTH: 110px; FONT-FAMILY: 'Times New Roman'; HEIGHT: 30px; FONT-SIZE: 12pt; FONT-WEIGHT: bold; TOP: 430px; LEFT: 270px" id=button1 language=java_script tabIndex=2 onclick=button1_onclick[this) value="Run Report" size=44 type=button requests_list="3" autoExecute="false" name="button1"> 
<INPUT style="Z-INDEX: 79; POSITION: absolute; WIDTH: 90px; FONT-FAMILY: 'Times New Roman'; HEIGHT: 30px; FONT-SIZE: 12pt; FONT-WEIGHT: bold; TOP: 430px; LEFT: 80px" id=button2 language=java_script tabIndex=3 onclick=button2_onclick[this) value="Main Menu" type=button requests_list="2" autoExecute="true" name="button2"> 
<INPUT style="Z-INDEX: 79; POSITION: absolute; WIDTH: 100px; FONT-FAMILY: 'Times New Roman'; HEIGHT: 30px; FONT-SIZE: 12pt; FONT-WEIGHT: bold; TOP: 430px; LEFT: 490px" id=button3 language=java_script tabIndex=4 onclick=button3_onclick[this) value="Clear Values" type=button name="button3"> 
<SPAN style="Z-INDEX: 204; POSITION: absolute; WIDTH: 690px; HEIGHT: 420px; TOP: 0px; LEFT: 10px" id=panel2 tabIndex=26 elementtype="34" persistentuniqueid="compUid_12">
<LABEL style="Z-INDEX: 185; POSITION: absolute; WIDTH: 100px; DISPLAY: none; HEIGHT: 19px; CURSOR: default; TOP: 20px; LEFT: 140px" id=label1 tabIndex=7 for=combobox1 persistentuniqueid="compUid_11" name="combobox1">SACDRPDWN</LABEL> 
<SELECT style="Z-INDEX: 186; POSITION: absolute; OVERFLOW-Y: visible; WIDTH: 310px; OVERFLOW: visible; TOP: 40px; LEFT: 170px" id=combobox1 tabIndex=8 size=1 persistentuniqueid="compUid_1" defaultselection="0" defaultlocation="0,0,22,30" boundtovariable="1" requiredfield="1" name="combobox1"> 
<OPTION selected value=CS noinput="0" displaytext="#01 - Current Status">#01 - Current Status</OPTION> 
<OPTION value=ERSI noinput="0" displaytext="#13 - Employee Record Summary Information">#13 - Employee Record Summary Information</OPTION> 
<OPTION value=EORE noinput="0" displaytext="#35a - Early-Out Retirement Eligibility">#35a - Early-Out Retirement Eligibility</OPTION> 
<OPTION value=ORE noinput="0" displaytext="#35b - Optional Retirement Eligibility">#35b - Optional Retirement Eligibility</OPTION></SELECT> 
<LABEL style="Z-INDEX: 187; POSITION: absolute; WIDTH: 240px; HEIGHT: 30px; CURSOR: default; TOP: 100px; LEFT: 100px" id=label2 tabIndex=9 for=textarea1 name="textarea1">
<FONT style="FONT-FAMILY: Times New Roman; FONT-SIZE: 14pt">Standard Administrative Code :</FONT></LABEL> 
<INPUT style="POSITION: absolute; WIDTH: 180px; HEIGHT: 22px; TOP: 100px; LEFT: 340px" id=textarea1 tabIndex=10 size=24 persistentuniqueid="compUid_2" defaultselection="1" defaultlocation="0,0,70,120" boundtovariable="1" requiredfield="1" rows="2" cols="20" wrap="soft" name="textarea1"> 
<LABEL style="Z-INDEX: 189; POSITION: absolute; WIDTH: 84px; DISPLAY: none; HEIGHT: 19px; CURSOR: default; TOP: 130px; LEFT: 140px" id=label3 tabIndex=11 for=listbox1 name="listbox1">SACGRADE</LABEL> 
<SELECT style="Z-INDEX: 190; POSITION: absolute; OVERFLOW-Y: visible; WIDTH: 97px; HEIGHT: 90px; OVERFLOW: visible; TOP: 140px; LEFT: 110px" id=listbox1 tabIndex=12 multiple size=3 persistentuniqueid="compUid_3" defaultselection="1" defaultlocation="0,0,54,47" boundtovariable="1" requiredfield="1" addquotes="yes" operation="OR" name="listbox1"></SELECT> 
<LABEL style="Z-INDEX: 191; POSITION: absolute; WIDTH: 68px; DISPLAY: none; HEIGHT: 19px; CURSOR: default; TOP: 130px; LEFT: 300px" id=label4 tabIndex=13 for=listbox2 name="listbox2">SACSTEP</LABEL> 
<SELECT style="Z-INDEX: 192; POSITION: absolute; OVERFLOW-Y: visible; WIDTH: 100px; HEIGHT: 90px; OVERFLOW: visible; TOP: 140px; LEFT: 280px" id=listbox2 tabIndex=14 multiple size=3 persistentuniqueid="compUid_4" defaultselection="1" defaultlocation="0,0,54,47" boundtovariable="1" requiredfield="1" addquotes="yes" operation="OR" name="listbox2"></SELECT> 
<LABEL style="Z-INDEX: 193; POSITION: absolute; WIDTH: 104px; DISPLAY: none; HEIGHT: 19px; CURSOR: default; TOP: 120px; LEFT: 460px" id=label5 tabIndex=15 for=listbox3 name="listbox3">SACPAYPLAN</LABEL> 
<SELECT style="Z-INDEX: 194; POSITION: absolute; OVERFLOW-Y: visible; WIDTH: 110px; HEIGHT: 90px; OVERFLOW: visible; TOP: 140px; LEFT: 450px" id=listbox3 tabIndex=16 multiple size=3 persistentuniqueid="compUid_5" defaultselection="1" defaultlocation="0,0,54,47" boundtovariable="1" requiredfield="1" addquotes="yes" operation="OR" name="listbox3"></SELECT> 
<INPUT style="Z-INDEX: 195; POSITION: absolute; OVERFLOW-Y: visible; WIDTH: 195px; HEIGHT: 22px; OVERFLOW: visible; TOP: -10000px; LEFT: -10000px" id=inputhidden1 tabIndex=17 hspace=0 value=!IBI.AMP.DRPDWN; type=hidden persistentuniqueid="compUid_6" defaultlocation="-10000,-10000,-9978,-9825" boundtovariable="1" requiredfield="1" name="inputhidden1"> 
<LABEL style="Z-INDEX: 196; POSITION: absolute; WIDTH: 100px; HEIGHT: 40px; CURSOR: default; TOP: 240px; LEFT: 90px" id=label6 tabIndex=18 for=edit1 name="edit1">Bignning Date : 


<FONT style="FONT-FAMILY: Times New Roman; FONT-SIZE: 10pt">(mm/dd/yyyy)</FONT></LABEL> 
<INPUT style="Z-INDEX: 197; POSITION: absolute; OVERFLOW-Y: visible; WIDTH: 120px; HEIGHT: 22px; OVERFLOW: visible; TOP: 240px; LEFT: 190px" id=edit1 disabled tabIndex=19 hspace=0 value=" " size=12 persistentuniqueid="compUid_7" defaultselection="1" defaultlocation="0,0,22,155" boundtovariable="1" requiredfield="1" name="edit1"> 
<LABEL style="Z-INDEX: 198; POSITION: absolute; WIDTH: 90px; HEIGHT: 40px; CURSOR: default; TOP: 240px; LEFT: 350px" id=label7 tabIndex=20 for=edit2 name="edit2">Ending Date : 


<FONT style="FONT-FAMILY: Times New Roman; FONT-SIZE: 10pt">(mm/dd/yyyy)</FONT></LABEL> 
<INPUT style="Z-INDEX: 199; POSITION: absolute; OVERFLOW-Y: visible; WIDTH: 120px; HEIGHT: 22px; OVERFLOW: visible; TOP: 240px; LEFT: 440px" id=edit2 disabled tabIndex=21 hspace=0 value=" " size=12 persistentuniqueid="compUid_8" defaultselection="1" defaultlocation="0,0,22,155" boundtovariable="1" requiredfield="1" name="edit2"> 
<LABEL style="Z-INDEX: 200; POSITION: absolute; WIDTH: 99px; DISPLAY: none; HEIGHT: 19px; CURSOR: default; TOP: 260px; LEFT: 410px" id=label8 tabIndex=22 for=radio1 name>SSNRADIOBT</LABEL> 
<SPAN style="Z-INDEX: 165; BORDER-BOTTOM: thin solid; POSITION: absolute; BORDER-LEFT: thin solid; OVERFLOW-Y: visible; WIDTH: 190px; FONT-FAMILY: 'Times New Roman'; HEIGHT: 100px; FONT-SIZE: 12pt; OVERFLOW: visible; BORDER-TOP: thin solid; FONT-WEIGHT: bold; BORDER-RIGHT: thin solid; TOP: 300px; LEFT: 90px" id=radio1 tabIndex=23 contentEditable=false elementtype="12" persistentuniqueid="compUid_9" defaultselection="1" defaultlocation="0,0,20,170" boundtovariable="1" requiredfield="1" groupChildren="1" columns="1">
<TABLE style="WIDTH: 100%; HEIGHT: 100%; FONT-SIZE: 12pt; FONT-WEIGHT: bold" contentEditable=false cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD noWrap>
<LABEL style="CURSOR: default" id=radio1_LABEL_0 for=radio1_0>
<INPUT id=radio1_0 tabIndex=23 value=SSN CHECKED type=radio noinput="0" displaytext="Sort by SSN" name="radio1">Sort by SSN</LABEL></TD></TR>
<TR>
<TD noWrap>
<LABEL style="CURSOR: default" id=radio1_LABEL_1 for=radio1_1>
<INPUT id=radio1_1 tabIndex=23 value=NM type=radio noinput="0" displaytext="Sort by Name" name="radio1">Sort by Name</LABEL></TD></TR></TBODY></TABLE></SPAN>
<LABEL style="Z-INDEX: 202; POSITION: absolute; WIDTH: 100px; DISPLAY: none; HEIGHT: 19px; CURSOR: default; TOP: 260px; LEFT: 80px" id=label10 tabIndex=24 for=radio2 name>APARADIOBT</LABEL> 
<SPAN style="Z-INDEX: 165; BORDER-BOTTOM: thin solid; POSITION: absolute; BORDER-LEFT: thin solid; OVERFLOW-Y: visible; WIDTH: 221px; FONT-FAMILY: 'Times New Roman'; HEIGHT: 100px; FONT-SIZE: 12pt; OVERFLOW: visible; BORDER-TOP: thin solid; FONT-WEIGHT: bold; BORDER-RIGHT: thin solid; TOP: 300px; LEFT: 360px" id=radio2 tabIndex=25 contentEditable=false elementtype="12" persistentuniqueid="compUid_10" defaultselection="1" defaultlocation="0,0,20,170" boundtovariable="1" requiredfield="0" groupChildren="1" columns="1" tempatt_lastelement_ofline="1">
<TABLE style="WIDTH: 100%; HEIGHT: 100%; FONT-SIZE: 12pt; FONT-WEIGHT: bold" contentEditable=false cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD noWrap>
<LABEL style="CURSOR: default" id=radio2_LABEL_0 for=radio2_0>
<INPUT id=radio2_0 disabled tabIndex=25 value=APA type=radio noinput="0" displaytext="All Personnel Actions" name="radio2">All Personnel Actions</LABEL></TD></TR>
<TR>
<TD noWrap>
<LABEL style="CURSOR: default" id=radio2_LABEL_1 for=radio2_1>
<INPUT id=radio2_1 disabled tabIndex=25 value=SPA type=radio noinput="0" displaytext="Selected Personnel Actions" name="radio2">Selected Personnel Actions</LABEL></TD></TR></TBODY></TABLE></SPAN>
<SPAN style="Z-INDEX: 76; BORDER-BOTTOM: thin solid; POSITION: absolute; TEXT-ALIGN: center; BORDER-LEFT: thin solid; WIDTH: 539px; FONT-FAMILY: Times New Roman; HEIGHT: 80px; FONT-SIZE: 24pt; BORDER-TOP: thin solid; BORDER-RIGHT: thin solid; TOP: 0px; LEFT: 50px" id=text1 tabIndex=27>Human Resource Report</SPAN></SPAN></SPAN> </FORM>       
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=layoutinfo type=hidden resourcectrlids="panel1">
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=ibiapp_app value="hrods baseapp" type=hidden ismre="1" name="ibiapp_app">
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=ibif_ex value=app/sac_main.htm type=hidden name="ibif_ex">
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=IBIMR_domain value=hrodsxcc/hrodsxcc.htm type=hidden name="IBIMR_domain">
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=IBIMR_folder value=#devi12ggv06o type=hidden name="IBIMR_folder">
<xml id=focus_xmlelement>
<script type="text/xml" nextelementuniquenumber="15">
	
<rootxmlnode focoption="_FOC_NULL" top="100" left="10" width="150" height="130">
		
<variables>
			
<variable controltype="7" parametercreatedinreslay="0" type="unresolved" desc="SACDRPDWN" name="SACDRPDWN" default="" textvarname="" accept="0" select="0" create="1" top="88" left="1120" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_1" persistentuniqueid="compUid_14">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="SACDRPDWN" datafield="SACDRPDWN" datasource="" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" previewvalue="" sourcetype="typeMaster" linktype="none"></data_info></condition></link>
				
<requestid id="3"></requestid></variable>
			
<variable controltype="7" parametercreatedinreslay="0" type="unresolved" desc="SACTEXT" name="SACTEXT" default="" textvarname="" accept="0" select="0" create="1" top="70" left="140" 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 checkForDuplicateValues="0" displayfield="SACTEXT" datafield="SACTEXT" datasource="" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" previewvalue="" sourcetype="typeMaster"></data_info></condition></link>
				
<requestid id="3"></requestid></variable>
			
<variable controltype="7" parametercreatedinreslay="0" type="unresolved" desc="SACGRADE" name="SACGRADE" default="" textvarname="" accept="0" select="0" create="1" top="70" left="250" 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 checkForDuplicateValues="0" displayfield="SACGRADE" datafield="SACGRADE" datasource="" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" previewvalue="" sourcetype="typeMaster"></data_info></condition></link>
				
<requestid id="3"></requestid></variable>
			
<variable controltype="7" parametercreatedinreslay="0" type="unresolved" desc="SACSTEP" name="SACSTEP" default="" textvarname="" accept="0" select="0" create="1" top="70" left="360" 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 checkForDuplicateValues="0" displayfield="SACSTEP" datafield="SACSTEP" datasource="" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" previewvalue="" sourcetype="typeMaster"></data_info></condition></link>
				
<requestid id="3"></requestid></variable>
			
<variable controltype="7" parametercreatedinreslay="0" type="unresolved" desc="SACPAYPLAN" name="SACPAYPLAN" default="" textvarname="" accept="0" select="0" create="1" top="70" left="470" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_5">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="SACPAYPLAN" datafield="SACPAYPLAN" datasource="" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" previewvalue="" sourcetype="typeMaster"></data_info></condition></link>
				
<requestid id="3"></requestid></variable>
			
<variable controltype="7" parametercreatedinreslay="0" type="unresolved" desc="RUNBUTTON" name="RUNBUTTON" default="" textvarname="" accept="0" select="0" create="1" top="70" left="580" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_6">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="RUNBUTTON" datafield="RUNBUTTON" datasource="" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" previewvalue="" sourcetype="typeMaster"></data_info></condition></link>
				
<requestid id="3"></requestid></variable>
			
<variable controltype="7" parametercreatedinreslay="0" type="default" desc="BDDate" name="BDDate" default=" " textvarname="" accept="0" select="0" create="1" top="70" left="690" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_7">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="BDDate" datafield="BDDate" datasource="" datatype="0" selectedvalue=" " operation="" slider_range_from="" slider_range_to="" previewvalue=" " sourcetype="typeMaster">
							
<static_values>
								
<static value=" " display=" " selected="1" noinput="0"></static></static_values></data_info></condition></link>
				
<requestid id="3"></requestid></variable>
			
<variable controltype="7" parametercreatedinreslay="0" type="default" desc="EDDate" name="EDDate" default=" " textvarname="" accept="0" select="0" create="1" top="70" left="800" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_8">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="EDDate" datafield="EDDate" datasource="" datatype="0" selectedvalue=" " operation="" slider_range_from="" slider_range_to="" previewvalue=" " sourcetype="typeMaster">
							
<static_values>
								
<static value=" " display=" " selected="1" noinput="0"></static></static_values></data_info></condition></link>
				
<requestid id="3"></requestid></variable>
			
<variable controltype="7" parametercreatedinreslay="0" type="default" desc="SSNRADIOBT" name="SSNRADIOBT" default="SSN" textvarname="" accept="0" select="0" create="1" top="70" left="910" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_9" persistentuniqueid="compUid_11">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="SSNRADIOBT" datafield="SSNRADIOBT" datasource="" datatype="0" selectedvalue="SSN" operation="" slider_range_from="" slider_range_to="" previewvalue="SSN" sourcetype="typeMaster" linktype="none">
							
<static_values>
								
<static value="SSN" display="SSN" selected="1" noinput="0"></static></static_values></data_info></condition></link>
				
<requestid id="3"></requestid></variable>
			
<variable controltype="7" parametercreatedinreslay="0" type="default" desc="APARADIOBT" name="APARADIOBT" default="APA" textvarname="" accept="0" select="0" create="1" top="70" left="1020" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_10">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="APARADIOBT" datafield="APARADIOBT" datasource="" datatype="0" selectedvalue="APA" operation="" slider_range_from="" slider_range_to="" previewvalue="APA" sourcetype="typeMaster">
							
<static_values>
								
<static value="APA" display="APA" selected="1" noinput="0"></static></static_values></data_info></condition></link>
				
<requestid id="3"></requestid></variable></variables>
		
<input_controls>
			
<input_control bindcontrolid="compUid_1" elementtype="8" name="combobox1" id="combobox1" multiple="0" inbinding="1" top="12" left="1088" width="60" height="20" onetimepopulated="1">
				
<link linktype="default" persistentuniqueid="compUid_9">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="0" datasource="" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" accept="0" operation="NONE" modifiedrequest="0" selectedvalue="EORE">
							
< ![CDATA[]]>
							
<static_values>
								
<static value="CS" display="#01 - Current Status" selected="1" noinput="0"></static>
								
<static value="ERSI" display="#13 - Employee Record Summary Information" selected="0" noinput="0"></static>
								
<static value="EORE" display="#35a - Early-Out Retirement Eligibility" selected="0" noinput="0"></static>
								
<static value="ORE" display="#35b - Optional Retirement Eligibility" selected="0" noinput="0"></static></static_values></data_info></condition></link></input_control>
			
<input_control bindcontrolid="compUid_2" elementtype="7" name="textarea1" id="textarea1" multiple="0" inbinding="1" top="20" left="140" width="60" height="20" onetimepopulated="1">
				
<link linktype="default" persistentuniqueid="compUid_8">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="0" datasource="" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" accept="0" operation="NONE">
							
< ![CDATA[]]></data_info></condition></link></input_control>
			
<input_control bindcontrolid="compUid_3" elementtype="9" name="listbox1" id="listbox1" multiple="1" inbinding="1" top="20" left="250" width="60" height="20" onetimepopulated="0">
				
<link linktype="default" persistentuniqueid="compUid_5">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="1" datatype="1" datasource="app/sac_gradeproc.fex" addalloption="1" sourcetype="typeFex" cacheruntimedata="0" accept="0" operation="NONE" modifiedrequest="0" displayfield="GRADE" datafield="GRADE" ibiapp_app="" IBIMR_domain="hrodsxcc/hrodsxcc.htm" IBIMR_folder="#devi12ggv06o" dynalldisplayvalue="All Grades" dosorting="0">
							
< ![CDATA[]]></data_info></condition></link></input_control>
			
<input_control bindcontrolid="compUid_4" elementtype="9" name="listbox2" id="listbox2" multiple="1" inbinding="1" top="20" left="360" width="60" height="20" onetimepopulated="0">
				
<link linktype="default" persistentuniqueid="compUid_7">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="1" datatype="1" datasource="app/sac_stepprocs.fex" addalloption="1" sourcetype="typeFex" cacheruntimedata="0" accept="0" operation="NONE" modifiedrequest="0" displayfield="SERIES" datafield="SERIES" ibiapp_app="" IBIMR_domain="hrodsxcc/hrodsxcc.htm" IBIMR_folder="#devi12ggv06o" dynalldisplayvalue="All Series">
							
< ![CDATA[]]></data_info></condition></link></input_control>
			
<input_control bindcontrolid="compUid_5" elementtype="9" name="listbox3" id="listbox3" multiple="1" inbinding="1" top="20" left="470" width="60" height="20" onetimepopulated="0">
				
<link linktype="default" persistentuniqueid="compUid_6">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="1" datatype="1" datasource="app/sac_payplanprocs.fex" addalloption="1" sourcetype="typeFex" cacheruntimedata="0" accept="0" operation="NONE" modifiedrequest="0" displayfield="PAY_PLAN" datafield="PAY_PLAN" ibiapp_app="" IBIMR_domain="hrodsxcc/hrodsxcc.htm" IBIMR_folder="#devi12ggv06o" dynalldisplayvalue="All Pay Plans">
							
< ![CDATA[]]></data_info></condition></link></input_control>
			
<input_control bindcontrolid="compUid_7" elementtype="7" name="edit1" id="edit1" multiple="0" inbinding="1" top="20" left="690" width="60" height="20" onetimepopulated="1">
				
<link linktype="default" persistentuniqueid="compUid_4">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="0" datasource="" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" accept="0" operation="NONE">
							
<static_values>
<static value=" " display=" " selected="1" noinput="0"></static></static_values></data_info></condition></link></input_control>
			
<input_control bindcontrolid="compUid_8" elementtype="7" name="edit2" id="edit2" multiple="0" inbinding="1" top="20" left="800" width="60" height="20" onetimepopulated="1">
				
<link linktype="default" persistentuniqueid="compUid_3">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="0" datasource="" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" accept="0" operation="NONE">
							
<static_values>
<static value=" " display=" " selected="1" noinput="0"></static></static_values></data_info></condition></link></input_control>
			
<input_control bindcontrolid="compUid_9" elementtype="12" name="radio1" id="radio1" multiple="0" onetimepopulated="1" inbinding="1" top="20" left="910" width="60" height="20">
				
<link linktype="default" persistentuniqueid="compUid_2">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="0" datasource="" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" accept="0" operation="NONE" modifiedrequest="0">
							
<static_values>
								
<static value="SSN" display="Sort by SSN" selected="1" noinput="0"></static>
								
<static value="NM" display="Sort by Name" selected="0" noinput="0"></static></static_values></data_info></condition></link></input_control>

			
<input_control bindcontrolid="compUid_10" elementtype="12" name="radio2" id="radio2" multiple="0" onetimepopulated="1" inbinding="1" top="20" left="1020" width="60" height="20">
				
<link linktype="default" persistentuniqueid="compUid_1">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="0" datasource="" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" accept="0" operation="NONE" modifiedrequest="0">
							
<static_values>
								
<static value="APA" display="All Personnel Actions" selected="0" noinput="0"></static>
								
<static value="SPA" display="Selected Personnel Actions" selected="0" noinput="0"></static></static_values></data_info></condition></link></input_control>
<input_control bindcontrolid="compUid_6" elementtype="26" name="inputhidden1" id="inputhidden1" multiple="0" inbinding="1" top="20" left="580" width="60" height="20" onetimepopulated="1">
				
<link linktype="default" persistentuniqueid="compUid_10">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="0" datasource="" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" accept="0" operation="NONE">
							
<static_values>
<static value="EORE" display="EORE" selected="1" noinput="0"></static></static_values></data_info></condition></link></input_control>
</input_controls>
		
<other_bound_objects></other_bound_objects>
		
<requests nextrequestsid="3">
			
<request requestid="2" sourcetype="typeHtml" targettype="window" targetname="_self" ibif_ex="app/homepage.htm" IBIMR_domain="hrodsxcc/hrodsxcc.htm" IBIMR_folder="#devi12ggv06o" IBIMR_sub_action="MR_STD_REPORT" activereport="0" reportcolumns="" reportrealcolumns="" ibiapp_app="hrods baseapp"></request>
			
<request requestid="3" sourcetype="typeFex" targettype="window" targetname="_blank" ibif_ex="app/reportnavigationpage.fex" IBIMR_domain="hrodsxcc/hrodsxcc.htm" IBIMR_folder="#devi12ggv06o" IBIMR_sub_action="MR_STD_REPORT" activereport="0" reportcolumns="" reportrealcolumns="" ibiapp_app="hrods baseapp"></request></requests></rootxmlnode></script>
</xml></BODY>
<script id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>
</HTML>



 

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.6
Windows, All Outputs
August 29, 2014, 10:04 AM
Wep5622
You can set the default for the combobox in the function onInitialUpdate(). That function gets fired after all the chained controls finished loading their data:

function onInitialUpdate() {
    document.getElementById("combobox1").value = "EORE";
}



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 :
September 09, 2014, 08:18 AM
Kalyan
Thanks you Wep5622. This works


WebFOCUS 7.6
Windows, All Outputs