I have a problem using customEntry attribute in the <db:select> tag. First,
the tag doesn't expand JSP scripts e.g.. when I put
<db:select fieldName="covernote_code" size="0"
customEntry="'<%=covernoteCode%>',<%=covernoteCode%>,true">
<db:tableData name="data-covernote_code"
foreignTable="tmp_covernotes"
visibleFields="covernote_code"
storeField="covernote_code" />
</db:select>
I get
<select name="f_36_0@root_3" size="0"><option value="'<%=covernoteCode%>'"
selected> <%=covernoteCode%><option value="FP-FIREA-FAC-MAD-D-02" selected>
FP-FIREA-FAC-MAD-D-02<option value="TN-AIC-c-FIREA-ALUGd-00">
TN-AIC-c-FIREA-ALUGd-00<option value="FN-AIO-MARI-ALICd-00">
2002-FN-AIO-MARI-ALICd-00</select>
i.e. <%=covernoteCode%> doesn't get expanded to its value.
Secondly, setting 'default selection' of customEntry to true as above gives
two <option> tags with selected attribute.
Please help.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms