Hi,

The idea behind HibernateForm is to automate some common functionality
such as validation. In this case HibernateForm will automatically set
the field readonly value based on whether the database column allow a
null value or not. I guess HibernateForm is overriding the value you set
explicitly.

Perhaps HibernateForm should only set the Field readonly flag if the
value is false?

kind regards

bob

[email protected] wrote:
> Hello List
>  When I use HibernateForm, I find something is not correct.
>  Eg.  TextField  name = new TextField("name", "name", true);
>  The required flag doesn't work.
>  And form.isValid() don't validate.
>  Is this a bug?
>  
>  
> 

Reply via email to