I try to proceed from the hash-table on db:linkURL, in other hash-table.

<% String targURL="/area.jsp?r_id="+
   (String)currentRow_combine_region.get("region.id")+
   "&c_id="+(String)currentRow_combine_region.get("country.id");%>
<a class="tab" href="<db:linkURL href="<%= targURL%>" tableName="combine_area">
   <position fieldname="region.id"
             value="<%= currentRow_combine_region.get("region.id")%>"/>
   </db:linkURL>">
   <%= currentRow_combine_region.get("region.id")%></a>

Thus I receive the clean screen and on the console the message on a
mistake :

99850 [HttpProcessor[8080][4]] ERROR org.dbforms.taglib.DbFormTag  -
java.sql.SQLException: General error: Table 'Centre.combine_area' doesn't exist

The table "combine_area" consists of fields 3 tables.

Whether correctly I understand, what the transition in the hash-table is not
possible up to the moment while it's not created and filled with the data?
Transition in the table, which exists in a database, difficulties does not
cause. How it is possible to solve this task - to proceed from one hash-table
in another for one click?

And still, how it is possible to intercept NullPointerException, when at
transition is formed sql query, which returns 0 rows or the target table is
empty? It would be desirable to give out user the message and to not
frighten of his messages from Tomcat.

Wbr, Pavel



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to