Apr 19th, 2011, 04:22 AM
field:textarea generated, want field:input
I´m using Roo for the first time and I think it is great. I have one problem though that I can not find the solution for. (Tried searching the docs and the forum)
I have a field generated in an entity that is specified like this:
@Size(max = 50)
private String firstName;
In the web layer, this generates a textarea but I would like it to generated as a "normal" input-field. What is the best way to accomplish this?
Apr 28th, 2011, 11:26 AM
I'd love to know this too. It seems a shame to have to go and edit every one of the views that are auto-generated to make this change manually. Is there a way of overriding the, new, automatic generation of a textarea for strings over 30?