Hello,
I set redisplayFieldsOnError="true" in the <db:forms> tag but instead of redisplaying, I get the first record set displayed instead.
I can see from my log that a ValidationException is thrown as it should be:
ERROR [Thread-5] (Controller.java:232) - ::process - SQLException:
java.sql.SQLException: The sentence that was entered can not be broken down into two or more choices. Please adjust it.
at org.dbforms.config.Table.processInterceptors(Table.java:1663)
However instead of redisplaying the entered fields, it launches into a select and displays the first record as I mentioned.
How can I get the fields to redisplay (v2.0)?
Here is some output from httpSnooper.jsp
Parameters: lang = ja of_0_insroot_2 = autoupdate_0 = false ac_insert_0_root_60 = Commit data into FC_Lessons invtable = 0 f_0_insroot_2 = this_choice_1_should_be_redisplayed [EMAIL PROTECTED] = null of_0_insroot_1 = f_0_insroot_1 = this_translation_should_be_redisplayed customEvent = f_0_insroot_0 = this_name_should_be_redisplayed fu_0 = /FC_Lessons_single.jsp of_0_insroot_0 = invname_0 = source = /midp/FC_Lessons_single.jsp -- Shawn
Happily using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ DbForms Mailing List
http://www.wap-force.net/dbforms
