cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "beyanet.com" <beya_n...@yahoo.co.uk>
Subject Re: Problems creating a drop down selection box
Date Fri, 15 Apr 2005 08:02:04 GMT
>beyanet.com wrote:
>>Hi,
>>I am trying to create a form selection box as follows:

Ok,
so I have done the following:

flow:
	data.cityList = new Array(2);	data.cityList[0] = 
{value:"AL", label:"Alabama"};	data.cityList[1] = {value:"AK", 
label:"Alaska"};	form.showForm("accountDetails1.xml", 
{"msg":Accountsmsg, "userGlobal":userGlobal}, data);

form:
  	<fd:field id="flist" required="true">   
	<fd:label>Previous orders</fd:label>  		<fd:datatype 
base="string"/>  		<fd:selection-list type="flow-jxpath" 
list-path="cityList" value-path="value" label-path="label" />   
	</fd:field>

jx:
<ft:widget id="flist"><fi:styling class="keyinbox"/></ft:widget>

An empty selection box is being rendered to the page minus a label 
and any select options. What am I missing here?

regards

Uzo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message