⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 product.vm

📁 一些数据库的java开发编程
💻 VM
字号:
$validator.getDynamicJavascript()
<table width="350">
	<tr><td colspan="2">&nbsp;</td></tr>
	<tr><td colspan="2" class="functitle">$text.product_title_store</td></tr>
	<tr><td colspan="2" class="message">#messageMarkup( )&nbsp;</td></tr>
	<form name="main" method="post" action="product.do?p=store" encType="multipart/form-data" onsubmit='return validateProductForm(this)'> 
	<tr>
		<input type="hidden" name="id" value="$!product.id">
		<td width="150" class="itemprompt">$text.product_item_name</td>
		<td ><input name="name" type="text" maxlength="32" value="$!product.name"></td>
	</tr>
	<tr>
		<td class="itemprompt">$text.product_item_category</td>
		<td >
			<select name="categoryid">
				#foreach( $category in $categorys )
				<option value="$category.id">$category.name</option>
				#end
			</select>
		</td>
	</tr>
	<tr>
		<td class="itemprompt">$text.product_item_desccn</td>
		<td ><textarea name="desccn" rows="10" cols="30">$!product.desccn</textarea></td>
	</tr>
	<tr>
		<td class="itemprompt">$text.product_item_price</td>
		<td ><input name="price" type="text" maxlength="10" value="$!product.price"></td>
	</tr>
	<tr>
		<td class="itemprompt">$text.product_item_producer</td>
		<td ><input name="producer" type="text" maxlength="128" value="$!product.producer"></td>
	</tr>
	<tr>
		<td class="itemprompt">$text.product_item_status</td>
		<td >#html_put_select( "status" "product_status" $product.status )</td>
	</tr>
	<tr>
		<td class="itemprompt">$text.product_item_picture</td>
		<td ><input type="file" name="picture"></td>
	</tr>
	#if( $product && $product.id > 0 )
	<tr>
		<td align="center" colspan="2"><img src="../viewpic.do?p=viewpic&id=$product.id" width="90"></td>
	</tr>
	#end
	<tr>
		<td align="center" colspan="2">
			<input type="submit" value="$text.btn_save">&nbsp;&nbsp;
			<input type="reset" value="$text.btn_reset">&nbsp;&nbsp;
			<input type="button" value="$text.btn_query" onClick="javascript:window.location='product.do'">
		</td>
	</tr>
	</form>
</table>


⌨️ 快捷键说明

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