Results 1 to 2 of 2

Thread: field:textarea generated, want field:input

  1. #1
    Join Date
    Jun 2010
    Posts
    2

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

  2. #2
    Join Date
    Nov 2006
    Posts
    4

    Default

    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
  •