Results 1 to 4 of 4

Thread: Roo 1.2.0 scaffolding

  1. #1
    Join Date
    Mar 2007
    Posts
    561

    Default Roo 1.2.0 scaffolding

    Hi,

    2 questions:

    1) I have an enum field in my entity and Roo should scaffold a html select. But it creates an input type text. Is this a bug?

    2) How can I change the threshold (@size) at which Roo generates an textarea instead of an input? It's 30 by default.

    Thank you

  2. #2
    Join Date
    Mar 2007
    Posts
    561

    Default

    Ups... 3rd question

    @OneToMany:

    "Nothing: A message is displayed explaining that this relationship is managed from the many-side"

    Why does Roo force the management from the Many-side?

    How can I achieve that this relationship gets managed by the ONE-side? Just by changing the jsp?

  3. #3
    Join Date
    Mar 2007
    Posts
    561

    Default

    4) @ManyToOne...

    show.jspx displays the Set with <spring:eval expression="object[field]" />

    This leads somehow to a comma-separated object[field].toString().

    How can I change it to display a comma-separated list of object[field].someField?

  4. #4
    Join Date
    Mar 2007
    Posts
    561

    Default

    Quote Originally Posted by spgmx View Post
    2) How can I change the threshold (@size) at which Roo generates an textarea instead of an input? It's 30 by default.
    I found it in JspViewManager.java. It is hard coded unfortunately

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •