Announcement Announcement Module
Collapse
No announcement yet.
field:textarea generated, want field:input Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • field:textarea generated, want field:input

    Hello

    Im 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?

  • #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

    Comment

    Working...
    X