-
Apr 19th, 2011, 04:22 AM
#1
field:textarea generated, want field:input
Hello
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:
@NotNull
@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
#2
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?
Regards,
mipper
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules