Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-72

StringUtils in Velocity

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.4-milestone-1
    • Component/s: Velocity
    • Labels:
      None
    • Similar issues:

      Description

      It would be very helpful to be able to use form Velocity some useful string manipulation methods from org.apache.commons.lang.StringUtils.
      For example, I had the need of a join() method when working with a list, for concatenating all its items with a separator I specified. It's way more elegant than iterating explicitly through the list and writing the code needed for this task.

      I'm sure that there are many more methods from StringUtils that might come in handy at some point.

        Attachments

          Activity

            People

            Assignee:
            sdumitriu Sergiu Dumitriu
            Reporter:
            stefan.orzu Stefan Leon Orzu
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: