Combo box values

Hi,

Anyone plz help me to solve this problem. In this Xpage, there are 2 combo boxs. The Second combo is depending on the first one. If the value of the first combo change, the second one will be changed. But Now, in second combo is empty. No values. I code like that in Second Combo value.

var mod = document1.getItemValueString(“category”);

var lst1 = @DbLookup(@DbName(),“ViewBycat”,mod,2);

@Explode(lst1,“,”)

Is there anyone who will help me? Thanks.

Subject: try this…

<xp:comboBox id=“comboBox1” value=“#{document1.selectCountry}”>

							<xp:selectItem itemValue="" itemLabel="Please select"

								id="selectItem1">

							</xp:selectItem>

							<xp:eventHandler event="onchange" submit="true"

								refreshMode="complete" immediate="true" id="eventHandler1"></xp:eventHandler>

							<xp:selectItems id="selectItems1">

								<xp:this.value><![CDATA[${javascript:@Unique(@DbColumn(@DbName(),"viewList",1))}]]></xp:this.value>

							</xp:selectItems>

						</xp:comboBox>

						<xp:comboBox id="refreshComboBox" value="#{document1.selectCity}">

							<xp:selectItems id="selectItems2">

								<xp:this.value><![CDATA[#{javascript:var ctry = document1.getItemValueString("selectCountry");

var lst1 = @DbLookup(@DbName(),“viewList”,“ctry”,2);

//@Explode(lst1,“,”)

var combo1 = getComponent(‘comboBox1’);

// value submitted from the browser

var value = combo1.getSubmittedValue();

if( null == value ){

// else not yet submitted

value = combo1.getValue();

}

return @DbLookup(@DbName(),“viewList”,value,2)

}]]>

								</xp:this.value>

							</xp:selectItems>

						</xp:comboBox>

Subject: Still can’t

Hi,

But the program still has error, “HTTP 500” .

It is not working yet.

Plz help me what should i do?

Thanks

Subject: Could you send me a copy of the app?

To see this error?

paul_hannan@ie.ibm.com

Subject: Hsu Mon

Hsu Mon

I m zwe oke gar from kmd IDCS.

Reply me …