productdetail.vm

来自「该代码是Java数据库高级编程宝典中的重要的代码」· VM 代码 · 共 44 行

VM
44
字号
<table width="350">
	<tr><td colspan="2">&nbsp;</td></tr>
	<tr><td colspan="2" class="functitle">$text.product_title_detail</td></tr>
	<tr><td colspan="2" class="message">#messageMarkup( )&nbsp;</td></tr>
	#if( $product )
	<tr>
		<td align="center" colspan="2"><img src="../viewpic.do?p=viewpic&id=$product.id" width="90"></td>
	</tr>
	<tr>
		<td width="150" class="itemprompt">$text.product_item_name</td>
		<td >$!product.name</td>
	</tr>
	<tr>
		<td class="itemprompt">$text.product_item_category</td>
		<td >$category.name</td>
	</tr>
	<tr>
		<td class="itemprompt" valign="top">$text.product_item_desccn</td>
		<td >$!product.desccn</td>
	</tr>
	<tr>
		<td class="itemprompt">$text.product_item_price</td>
		<td >$product.price $text.price_unit</td>
	</tr>
	<tr>
		<td class="itemprompt">$text.product_item_producer</td>
		<td >$!product.producer</td>
	</tr>
	<tr>
		<td class="itemprompt">$text.product_item_status</td>
		<td >$text.getValue( "product_status", $product.status )</td>
	</tr>
	#end
	<tr>
		<td align="center" colspan="2">
			<input type="button" value="$text.btn_update" onClick="javascript:window.location='product.do?p=update&id=$product.id'">&nbsp;&nbsp;
			<input type="button" value="$text.btn_delete" onClick="javascript:window.location='product.do?p=delete&id=$product.id'">&nbsp;&nbsp;
			<input type="button" value="$text.btn_back" onClick="javascript:window.history.go(-1)">
		</td>
	</tr>
</table>


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?