Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1584

Add support for coercing values explicitly in the property expression language

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 5.3
    • None
    • tapestry-core

    Description

      Something like:

      prop:someMap.get('id') as Integer

      The "as <classname>" qualifier would pass the value through the TypeCoercer.

      Integer is a fully qualified class name, with special cases for java.lang classes (which don't have to be qualified).

      Attachments

        Activity

          People

            Unassigned Unassigned
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: