Struts ValueStack Debug
#set($contextMap = $stack.context)
Value Stack Contents
#set ($stackContents = $parameters.stackValues)
Object | Property Name | Property Value |
#set ($index = 1)
#foreach ($stackObject in $stackContents)
$stackObject.key |
#set ($renderRow = false)
#set ($propertyMap = $stackObject.value)
#foreach ($propertyName in $propertyMap.keySet())
#if ($renderRow == true)
#else #set ($renderRow = true) #end
$propertyName |
$propertyMap.get($propertyName) |
#set ($index = $index + 1)
#end
#end
Stack Context
These items are available using the #key notation
Key | Value |
#set ($index = 1)
#foreach ($contextKey in $contextMap.keySet())
$contextKey | $contextMap.get($contextKey) |
#set ($index = $index + 1)
#end