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

Access properties of generic page and component fields

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.2.0
    • 5.3
    • tapestry-core
    • None

    Description

      Make it possible for code like this to work

      @Property
      @Component(parameters =

      {"source=personSource"}

      )
      private Loop<Person> personLoop;

      @Property
      private List<Person> personSource;

      <t:loop t:id="personLoop" source="personSource">
      <div id="person_${personLoop.index}">${personLoop.value.name}</div>
      </t:loop>

      Attachments

        Activity

          People

            joshcanfield Josh Canfield
            joshcanfield Josh Canfield
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: