#set( $refEntity = ${reference.getReferenceClass()} )
#set( $refPropName = ${reference.getPropertyNameInLocal()} )
			<td>${refEntity.getLabel()} ( ${refPropName} )</td>
			<td>
#set($componentNameBase = ${reference.getPropertyNameInLocal()} )
				<input jwcid="@Any" id="id_${componentNameBase}_caption" value="ognl:target.${refPropName}Caption" readonly="true" size="30" />
				<span style="display:none">
##
#foreach( $entry in ${reference.toList()} )
#set( $prop = ${entry.getLocal()} )
#set( $propTypeCategory = ${prop.getType().getCategory().getName()} )
#set( $componentName = "input${componentNameBase}_${prop.getName()}" )
				<input jwcid="${componentName}" />
## もし対応するコンポーネントがなかったらspindleがエラーとして見つけてくれるはず。
#end
##
				</span>
#set( $propName = ${refPropName} )
				<a href="." jwcid="@joey:EntityDetailLink" entity="ognl:target.${propName}" detailPageDictionaryName="detailPageDictionary">詳細</a>
				<a href="." jwcid="input${componentNameBase}Link">選択</a>
			</td>
