On Thu, 19 Dec 2013 05:27:19 -0200, George Christman
<[email protected]> wrote:
While trying to submit a new record with blankOption="always" and
t:secure="literal:NEVER" I'm finding when my getModel method is
called, the query used to rebuild my select model attempts to commit
my object model to the database resulting in a database constraint
violation exception rather than throw back a validation error.
Are you sure the code that triggers the database insertion isn't yours?
This looks more like bad usage of Hibernate in your side than a Tapestry
error, but without all the corresponding code there's no way to be sure.
Now I'm not sure if this really matters, but I am using this select
component within an ajaxformloop.
Maybe. You didn't post the code of your AjaxFormLoop event handler methods
nor the ValueEncoder you're using (if it's not the one automatically
provided by tapestry-hibernate).
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]