template.conf.sit_javaee6.mockup.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sit-ad Show documentation
Show all versions of sit-ad Show documentation
SIToolkit for Application Develepment
#if ($watcher.continue)
#end
$mock.name
#foreach ($area in $mock.areas)
#area($area)
#end
##
##
#macro (navTree $nodes)
#foreach ($node in $nodes)
#if ($node.isPage())
$node.name
#else
$node.name
#end
#if (not $node.children.isEmpty())
#navTree ($node.children)
#end
#end
#end
##
##
#macro(area $area)
$area.name
#if ($area.type == "フォーム")
#elseif ($area.type == "テーブル")
#foreach ($item in $area.items)
$item.label
#end
#foreach ($item in $area.items)
#item($item)
#end
#elseif ($area.type == "ボックス")
#foreach ($item in $area.items)
#itemWithLabel($item)
#end
#else
#end
#end
##
##
#macro(itemWithLabel $item)
#item($item)
#end
##
##
#macro(item $item)
#if ($item.control == "テキスト")
$item.label
#elseif ($item.control == "テキストボックス")
#elseif ($item.control == "パスワード")
#elseif ($item.control == "テキストボックス")
#elseif ($item.control == "ラジオボタン")
#foreach ($code in $item.options)
#end
#elseif ($item.control == "単一チェックボックス")
#elseif ($item.control == "複数チェックボックス")
#foreach ($code in $item.options)
#end
#elseif ($item.control == "ボタン")
#elseif ($item.control == "セレクトボックス")
#elseif ($item.control == "リンク")
$item.label
#elseif ($item.control == "イメージ")
#else
#end
#foreach ($subItem in $item.rightSubItems)
#item($subItem)
#end
#end