Aloha, All!
I want to construct jsp page in which to give the users an opportunity
to choose region. For this purpose I have written the following:
The table with the data:
[Region]
id, primary key
name
....
[area]
id, primary key
name
region_id
[jsp]
< db:dbform autoUpdate = "false" followUp = "/area_new_rb.jsp "
maxRows = "*" tableName = "area" parentField = "id" childField = "region_id">
.......
<td>
< db:select fieldName = "region_id" >
< db:tableData
name = "region_id"
foreignTable = "region"
visibleField = "name"
storeField = "id" / >
</db:select>
</td>
......
At start, I receive exception:
org.apache.jasper.compiler. CompileException:
/area_new_rb.jsp (40,4) According to the TLD attribute
visibleFields is mandatory for tag tableData
at org.apache.jasper.compiler.TagBeginGenerator.validate
(TagBeginGenerator.java:159)
What I do not correctly, whether it is possible to use some such elements
on one jsp and whether it is possible to use the dot notation for the tables?
WBR, 73!
-------------------------------------------------------
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