Announcement Announcement Module
Collapse
No announcement yet.
Roo 1.2: create.jspx uses textarea with disableFormBinding for String in comp. PK Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo 1.2: create.jspx uses textarea with disableFormBinding for String in comp. PK

    Hello,

    Roo 1.2 uses a textarea for a String in a composite PK (that belongs to an EntityID object)

    It also uses the disableFormBinding in the tag, but this attribute doesn't belong to textarea, but to input:

    Code:
    <field:input disableFormBinding="true" field="id.value" id=.../>
    <field:textarea disableFormBinding="true" field="id.code" id=.../>
    In this example, value is an Integer and code is a String.

    That is a compilation error, and the create option in the web page doesn't work (with an exception error page)

    The solution: change the tag from textarea to input works for me:

    Code:
    <field:input disableFormBinding="true" field="id.value" id=.../>
    <field:input disableFormBinding="true" field="id.code" id=.../>
Working...
X