| <html t:type="border" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns:p="tapestry:parameter"> |
| <h1>Map Expression in Template Expansion Demo</h1> |
| |
| <ul> |
| <li>Empty Map: <span id="emptymap">${echoMap({})}</span></li> |
| <li>String Keys Map: <span id="stringmap">${echoMap({'A':1})}</span></li> |
| <li>Number Keys Map: <span id="numberkeysmap">${echoMap({1: 'one'})}</span></li> |
| <!-- demonstrates TAP5-1652 --> |
| <li>Map with spaces: <span id="mapwithspaces">${ echoMap( { 2 : 'two' } ) }</span></li> |
| </ul> |
| </html> |