Announcement Announcement Module
Collapse
No announcement yet.
Roo 1.2.0 scaffolding Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment


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

      Comment


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

        Comment

        Working...
        X