<span jwcid="@Border">
<form jwcid="form">
<table>
#foreach($ety in ${entity.getSuperClasses()} )
	<tr><td>
		<span jwcid="detail${ety.getName()}" />
	</td></tr>
#end
	<tr><td>
		<input type="submit" jwcid="@Submit" value="更新" listener="ognl:listeners.clickSave"/>
		<input type="submit" jwcid="@Submit" value="新規作成" listener="ognl:listeners.clickCreateNew"/>
		<input type="submit" jwcid="@Submit" value="コピーを作成" listener="ognl:listeners.clickCreateCopy"/>
		<input type="submit" jwcid="@Submit" value="再読み込み" listener="ognl:listeners.clickReload"/>
#foreach($ety in ${entity.getSuperClasses()} )
		<a href="." jwcid="@PageLink" page="${tapestryPageListPrefix}${ety.getName()}${tapestryPageListSuffix}">[${ety.getLabel()} 一覧]</a>
#end
		<a href="MstMenu.html" jwcid="@PageLink" page="MstMenu">メンテナンス メニュー</a>
	</td></tr>
#foreach($ety in ${entity.getSuperClasses()} )
#foreach($ref in ${ety.getReferreds()} )
#set( $refEntity = ${ref.getParent()} )
	<tr class="title2"><td>
		${refEntity.getLabel()} (#if(${ref.getLabel()})${ref.getLabel()}#else${ref.getPropertyNameInReferred()}#end)
	</td></tr>
	<tr><td>
#set( $dummy = ${helper.put("ety", $refEntity)} )
#set( $ognlExp = '"listEntity":${ety},' )
#set( $ognlExp = "${ognlExp} 'listProperty':'target.${ref.getPropertyNameInReferred()}'," )
#set( $ognlExp = "${ognlExp} 'rowsName':'rows_${ref.getPropertyNameInReferred()}'" )
#set( $ognlExp = ${stringUtils.replace( $ognlExp, "'", '"' )} )
#set( $ognlExp = "#{${ognlExp}}" )
#set( $params = ${ognl.getValue( $ognlExp )} )
$generator.parse("tapestry/page/listpart/html/listpart_html.vm", "", "params", ${params})
	</td></tr>
#end
#end
</table>
</form>
</span>
