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

  • Custom forms

    Hi everyone,

    How can I create custom forms using Spring Roo? I tried to add a custom field in the view for retyping the email address (this is just an example).

    Code:
    <field:input field="email" id="c_ch_fhnw_edu_wodss_reminder_models_dtos_AccountDTO_email2" required="true" validationMessageCode="field_invalid_email" z=""/>
    I also had to create the language definition to avoid errors. The field shows up but incorrectly formatted (style is different). I don't really understand why. Is there a tutorial regarding this or do I need to create the whole form from scratch?

  • #2
    Roo uses a tagx library (installed into each project) which you can customize or extend as needed. If you think this is too much for your purpose there is nothing holding you back from writing normal (x)html code directly in your jspx files to customize a form. So you could add div tags and decorate them with custom CSS etc.

    HTH,
    Stefan

    Comment

    Working...
    X