I found the right file, thanks.

It doesn't behave as I was expecting because checkboxes are generated only for 
Hibernate boolean type and no other types, not even for yes_no. I think they 
should be generated for every type that has Boolean or boolean returned class.

Solution will be to modify edit.xhtml.ftl by replacing

<#elseif property.value.typeName == "boolean">

with

<#elseif property.value.type.returnedClass == "class java.lang.Boolean">

Second suggestion will be to use checkboxes in both list and view templates, 
too.

Should I put this in Jira?
Seam or Hibernate Tools?
One issue for edit and one for view/list?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002692#4002692

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002692
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to