apokaliptischen (1) [Avatar] Offline
#1
in the book this is the longest example.
<ww:doubleselect label="State" name="region" >
doubleName="stateID"
list="{'North', 'South'}"
doubleList="top == 'North' ?
{'Oregon', 'Washington'} :
{'Texas', 'Florida'}"/>

i need to do the State-City Problem.
//My classes
State.java
private Long id;
private String name;
City.java
private Long id;
private String name;
private Long state; // this is the State ID
private String code; // just a string


in the jsp i have this:
<ww:doubleselect >
label="choose your state"
name="state.id"
headerKey="-1" headerValue="--State--"
list="states"
listKey="id"
listValue="name"
doubleName="city.id"
doubleHeaderKey="-1" doubleHeaderValue="--City--"
doubleList="doubleList"
doubleListKey="id"
doubleListValue="name"
formName="Form1"/>

the first part works perfect, but in the doubleList, i do not now what to do????
can anyone help my plis!!!