Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1152

Add field flag for @Value annotation for SpEL

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.0.M2
    • Fix Version/s: 1.1.0.RC1
    • Component/s: GENERAL OBJECTS
    • Labels:
      None

      Description

      As a developer I would like the option in a Roo script to automatically configure a field to add the @Value annotation to support Spring Expression Language syntax.

      For example to add a Salt value to a Spring Security field, such as:

      roo> field ... --value "#

      { T(java.lang.Math).random() * 100}

      "

      Regards,
      Gordon Dickens
      twitter.com/gdickens

        Attachments

          Activity

            People

            Assignee:
            sschmidt Stefan Schmidt
            Reporter:
            gordonad Gordon Dickens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: