- 浏览: 35770 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
liuwuhen:
<ajaxRequest name="de ...
忘记ssh组合的原因,一个新的ssh开发组合,使用ssh的发言 -
hotsmile:
不错,顶了!!!
写给simpleFramework官方网站运营100天的总结 -
royboy:
有很有敏捷的开发框架,能帮你省更多事,数据库的工作都能帮你作了 ...
忘记ssh组合的原因,一个新的ssh开发组合,使用ssh的发言 -
allbin1983:
myter7 写道myter7 写道从这个我觉得, je的隐藏 ...
忘记ssh组合的原因,一个新的ssh开发组合,使用ssh的发言 -
allbin1983:
<div class="quote_title ...
忘记ssh组合的原因,一个新的ssh开发组合,使用ssh的发言
基于infoq介绍的国产框架开发新增,删除,修改,分页,导出体验
在infoq报道国内开源框架,本人从零开始体验simple,包括simple基础文件配置步骤。愿意与大家分享下开发过程,请各位高手给予指导,不要讨论除技术之外的人身攻击,多谢。
经过最近对simple的学习,力求从零基础介绍如何基于simple开发应用,经过实践,个人觉得基于simple开发应用,在展现层可以使用页面handleClass,不需要破坏html页面,后台业务处理可以调用组件的确可以加快开发速度(这是开发体会,不是广告,在开发过程中也很郁闷,看着自己憋了几个小时份上,请提出技术意见)。关于开发技巧还需要要继续探索,并愿意与志同道合者多多交流。
文件一,web.xml,拷贝到WEB-INF目录下(已经有simple工程跳过该步骤)。
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>simpleframework</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<session-config>
<session-timeout>1</session-timeout>
</session-config>
<servlet>
<servlet-name>startup</servlet-name>
<servlet-class>net.simpleframework.web.SimpleWebApplication</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<filter>
<filter-name>actionFilter</filter-name>
<filter-class>net.simpleframework.web.page.PageFilter</filter-class>
<init-param>
<param-name>initializerHandle</param-name>
<param-value>net.simpleframework.example.MyPageInitializer</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>actionFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<listener>
<listener-class>net.simpleframework.web.page.PageEventAdapter</listener-class>
</listener>
<error-page>
<error-code>404</error-code>
<location>/template/404.jsp</location>
</error-page>
</web-app>
|
文件二,project.xml,拷贝到WEB-INF目录下 (已经有simple工程跳过该步骤)。
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean id="defaultDatasource" class="org.apache.commons.dbcp.BasicDataSource"
destroy-method="close">
<property name="driverClassName" value="org.gjt.mm.mysql.Driver" />
<property name="url"
value="jdbc:mysql://127.0.0.1:3306/simple3?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8" />
<property name="username" value="root" />
<property name="password" value="root" />
<property name="testWhileIdle" value="true" />
<property name="timeBetweenEvictionRunsMillis" value="14400000" />
</bean>
<bean id="idOrgInitializer" class="net.simpleframework.organization.OrgInitializer">
<property name="sync" value="true" />
</bean>
<bean id="idContentInitializer" class="net.simpleframework.content.ContentInitializer">
<property name="sync" value="true" />
<property name="bbsApplicationHandle" value="net.simpleframework.example.MyBbsHandle" />
</bean>
<bean id="idMyInitializer" class="net.simpleframework.my.MyInitializer">
<property name="sync" value="true" />
<property name="homeApplicationHandle" value="net.simpleframework.example.MyHomeApplicationHandle"></property>
</bean><bean id="idNotificationInitializer" class="net.simpleframework.notification.NotificationInitializer">
</bean>
<bean id="idSysManagerInitializer" class="net.simpleframework.sysmgr.SysManagerInitializer">
<property name="sync" value="true" />
</bean>
<bean id="idApplicationConfig" class="net.simpleframework.web.WebApplicationConfig">
<property name="initializerList">
<list>
<ref local="idSysManagerInitializer" />
<ref local="idOrgInitializer" />
<ref local="idContentInitializer" />
<ref local="idMyInitializer" />
<ref local="idNotificationInitializer" />
</list>
</property>
<property name="serverUrl" value="http://127.0.0.1:8080" />
<property name="datePattern" value="yyyy-MM-dd HH:mm" />
<property name="tableEntityManagerClass">
<value>net.simpleframework.ado.db.cache.MapTableEntityManager</value>
</property>
<!-- cache.Map -->
</bean>
</beans>
|
第三步,编写演示例子数据库脚本(这才是开发的第一步)。
CREATE TABLE `simple_framework_test` (
`id` int(32) default NULL,
`version` varchar(128) default NULL,
`name` varchar(128) default NULL,
`description` varchar(128) default NULL
) ;
第四步,编写TestHandle.java(该类实现了新增,修改,删除,该类继承了AbstractAjaxRequestHandle)。
package net.simpleframework.test;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.sql.DataSource;
import net.simpleframework.ado.DataObjectManagerFactory;
import net.simpleframework.ado.db.ITableEntityManager;
import net.simpleframework.ado.db.schema.ExpressionValue;
import net.simpleframework.ado.db.schema.Table;
import net.simpleframework.ado.id.ID;
import net.simpleframework.web.IWebApplication;
import net.simpleframework.web.page.IForward;
import net.simpleframework.web.page.UrlForward;
import net.simpleframework.web.page.component.ComponentParameter;
import net.simpleframework.web.page.component.base.ajaxrequest.AbstractAjaxRequestHandle;
public class TestHandle extends AbstractAjaxRequestHandle {
// 新增 本例只是dmeo,并没有做到公用方法抽象与优化
public IForward doSave(final ComponentParameter compParameter)
throws Exception {
final DataSource dataSource = IWebApplication.Instance.getWebApplication().getDataSource();
Table table = new Table("simple_framework_test");
ITableEntityManager entityManager = DataObjectManagerFactory.getTableEntityManager(dataSource, table);
Map<String, Comparable> insertData = new HashMap<String, Comparable>();
final HttpServletRequest request = compParameter.request;
// request.getParameter
String id = (String) request.getParameter("id2");// 获得修改的id
if (id != null) {
insertData.put("id", id);
insertData.put("version",compParameter.getRequestParameter("version2"));
insertData.put("name", compParameter.getRequestParameter("name2"));
insertData.put("description",compParameter.getRequestParameter("description2"));
entityManager.update(insertData);
} else { // 新增
insertData.put("id", (Comparable) ID.Utils.newID(entityManager.nextIncValue("id")));
insertData.put("version",compParameter.getRequestParameter("version"));
insertData.put("name", compParameter.getRequestParameter("name"));
insertData.put("description",compParameter.getRequestParameter("description"));
entityManager.insert(insertData);
}
return jsonForward(new JsonCallback() {
@Override
public void doAction(Map<String, Object> json) throws Exception {
json.put("ok", true);
}
});
}
// 删除
public IForward doDeleteTest(final ComponentParameter compParameter)
throws Exception {
final DataSource dataSource = IWebApplication.Instance.getWebApplication().getDataSource();
Table table = new Table("simple_framework_test");
ITableEntityManager entityManager = DataObjectManagerFactory.getTableEntityManager(dataSource, table);
String id = compParameter.getRequestParameter("testId");
entityManager.delete(new ExpressionValue("id=?", new Object[] { id }));
return jsonForward(new JsonCallback() {
@Override
public void doAction(Map<String, Object> json) throws Exception {
json.put("ok", true);
}
});
}
}
|
第五步,编写TestPagerHandle.java (该类实现了表格列表,导出,分页功能)。
package net.simpleframework.test; import java.util.HashMap;
import java.util.Map;
import javax.sql.DataSource;
import net.simpleframework.ado.DataObjectManagerFactory;
import net.simpleframework.ado.IDataObjectQuery;
import net.simpleframework.ado.db.IQueryEntityManager;
import net.simpleframework.ado.db.schema.SQLValue;
import net.simpleframework.web.IWebApplication;
import net.simpleframework.web.page.component.ComponentParameter;
import net.simpleframework.web.page.component.ui.pager.AbstractTablePagerData;
import net.simpleframework.web.page.component.ui.pager.AbstractTablePagerHandle;
import net.simpleframework.web.page.component.ui.pager.TablePagerBean;
import net.simpleframework.web.page.component.ui.pager.TablePagerColumn;
public class TestPagerHandle extends AbstractTablePagerHandle {
@Override
public Object getBeanProperty(final ComponentParameter compParameter,
final String beanProperty) throws Exception {
if ("title".equals(beanProperty)) {
final StringBuilder sb = new StringBuilder();
sb.append("<a style=\"margin-left: 10px;\" onclick=\"$Actions['")
.append(compParameter.componentBean.getName())
.append("'].exportFile(null, false);\">导出</a>");
return sb.toString();
}
return super.getBeanProperty(compParameter, beanProperty);
}
@Override
public IDataObjectQuery<?> createDataObjectQuery(
final ComponentParameter compParameter) throws Exception {
final DataSource dataSource = IWebApplication.Instance.getWebApplication().getDataSource();
final IQueryEntityManager queryManager = DataObjectManagerFactory.getQueryEntityManager(dataSource);
final IDataObjectQuery<Map<String, Object>> data = queryManager.query(new SQLValue("SELECT * FROM simple_framework_test s"));
return data;
}
// 这个方法对业务数据做相关处理相当的重要
@Override
public AbstractTablePagerData createTablePagerData(final ComponentParameter compParameter)
throws Exception {
return new AbstractTablePagerData(compParameter) {
@Override
protected Map<String, TablePagerColumn> getTablePagerColumns() {
return ((TablePagerBean) compParameter.componentBean).getColumns();
}
@SuppressWarnings("unchecked")
@Override
protected Map<Object, Object> getRowData(final Object dataObject) throws Exception {
final Map<Object, Object> dataObjectMap = new HashMap<Object, Object>();
final Map map = (Map) dataObject;
// 拼装查看url
final StringBuffer name = new StringBuffer(200);
name.append("<a ");
name.append("onclick=\"");
name.append("$Actions['viewTestWindow']('view=true&testId="+ map.get("id") + "')");
name.append("\"");
name.append(">");
name.append(map.get("name").toString());
name.append("</a>");
map.put("name",name);
dataObjectMap.putAll((Map<? extends Object, ? extends Object>) map);
dataObjectMap.put("action","<a onclick=\"$Actions['DeleteTest']('testId="+ map.get("id") + "');$Actions['TestListPager'].refresh();\">删除</a> <a onclick=\"$Actions['addOrUpdateTestWindow']('testId="+ map.get("id") + "');\">修改</a>");
//dataObjectMap.put("action","<a class=\"TestPagerRowStyle down_menu_image\"></a>"); // 这是数据菜单绑定相关操作按钮
return dataObjectMap;
}
@Override
protected Map<Object, Object> getRowAttributes(final Object dataObject) throws Exception {
final Map<Object, Object> attributes = super.getRowAttributes(dataObject);
attributes.put(ROW_ID,((Map) dataObject).get("id") ); // 如果不封装bean,需要特殊处理
//attributes.put("name",((Map) dataObject).get("name") );
final Map<Object, Object> attributes2 = getTableRowAttributes(dataObject);
if (attributes2 != null) {
attributes.putAll(attributes2);
}
return attributes;
}
};
}
}
|
第六步,编写TestModify.java (修改实现)。
package net.simpleframework.test; import java.util.List;
import java.util.Map;
import javax.sql.DataSource;
import net.simpleframework.ado.DataObjectManagerFactory;
import net.simpleframework.ado.db.ITableEntityManager;
import net.simpleframework.ado.db.schema.Table;
import net.simpleframework.ado.db.schema.UniqueValue;
import net.simpleframework.web.IWebApplication;
import net.simpleframework.web.page.DefaultPageHandle;
import net.simpleframework.web.page.PageParameter;
public class TestModify extends DefaultPageHandle {
@Override
public void pageLoad(final PageParameter pageParameter, final Map<String, Object> dataBinding,
final List<String> visibleToggleSelector, final List<String> readonlySelector,
final List<String> disabledSelector) throws Exception {
String id = pageParameter.request.getParameter("testId"); // 获得需要修改
String view = pageParameter.request.getParameter("view"); // 页面是否只读
final DataSource dataSource = IWebApplication.Instance.getWebApplication().getDataSource();
Table table = new Table("simple_framework_test");
ITableEntityManager entityManager = DataObjectManagerFactory.getTableEntityManager(dataSource,table);
// 根据id 查询需要修改的对象
Map date = entityManager.queryForMap(new UniqueValue(id));
// simple 提供的数据绑定,在jsp页面自动填充字段
dataBinding.put("id2", id);
dataBinding.put("name2", date.get("name"));
dataBinding.put("description2", date.get("description"));
dataBinding.put("version2", date.get("version"));
if(view!=null) {
readonlySelector.add("#ajaxTestParams input"); // simple 控制 input 页面显示只读
}
}
}
|
评论
10 楼
yuyue007
2010-12-13
pochonlee 写道
chrome 下的样式,可以用恐怖来形容!
同为chrome。。。表示压力很大···
9 楼
iehyou
2010-12-13
晕 我也是chrome 拌面全乱掉了 没法看
8 楼
Java_xiaohao
2010-12-13
我晕,这什么版面 咋看啊
7 楼
pochonlee
2010-12-13
chrome 下的样式,可以用恐怖来形容!
6 楼
hellostory
2010-12-13
javaeye的排版这么奇怪?莫非现在在升级?
5 楼
chenkx
2010-12-13
??排版怎么回事
4 楼
Javakeith
2010-12-13
前面还好,后面的格式全乱了?怎么回事?
3 楼
fangbinzeyi
2010-12-12
注释写的不太清楚,下载一个看看。
2 楼
allbin1983
2010-12-12
帖子终于发完了,但是版式乱了,
1 楼
allbin1983
2010-12-12
<p><span style="font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;">
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">
<div style="font-size: 12px; font-family: verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; background-color: #ffffff;">
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 16px;" align="left">第六步,编写TestModify.java (修改实现)。</p>
<table style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 15px; width: 696px;" border="1" cellspacing="0" cellpadding="0" width="95%"><tbody style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;"><tr style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;">
<td style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; height: 485px;">
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; margin-left: 2.75pt;" align="left">package net.simpleframework.test;</p>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import java.util.List;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import java.util.Map;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import javax.sql.DataSource;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import net.simpleframework.ado.DataObjectManagerFactory;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import net.simpleframework.ado.db.ITableEntityManager;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import net.simpleframework.ado.db.schema.Table;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import net.simpleframework.ado.db.schema.UniqueValue;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import net.simpleframework.web.IWebApplication;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import net.simpleframework.web.page.DefaultPageHandle;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import net.simpleframework.web.page.PageParameter;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">public class TestModify extends DefaultPageHandle {</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">@Override</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">public void pageLoad(final PageParameter pageParameter, final Map<String, Object> dataBinding,</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">final List<String> visibleToggleSelector, final List<String> readonlySelector,</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">final List<String> disabledSelector) throws Exception {</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">String id = pageParameter.request.getParameter("testId"); // 获得需要修改</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">String view = pageParameter.request.getParameter("view"); // 页面是否只读</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">final DataSource dataSource = IWebApplication.Instance.getWebApplication().getDataSource();</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">Table table = new Table("simple_framework_test");</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span>ITableEntityManager entityManager = DataObjectManagerFactory.getTableEntityManager(dataSource,table); </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span> // 根据id 查询需要修改的对象</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span>Map date = entityManager.queryForMap(new UniqueValue(id));</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">// simple 提供的数据绑定,在jsp页面自动填充字段</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">dataBinding.put("id2", id);</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">dataBinding.put("name2", date.get("name"));</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">dataBinding.put("description2", date.get("description"));</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">dataBinding.put("version2", date.get("version"));</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> if(view!=null) {</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">readonlySelector.add("#ajaxTestParams input"); // simple 控制 input 页面显示只读</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">}</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">}</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">}</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
</td>
</tr></tbody></table>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 16px;" align="left">第七步,编写test.jsp 与 test.xml (大家可以看下jsp 文件,都是标准的html元素,xml文件中定义组件元信息,页面通过CSS选择器和组件绑定,所有simple不需要标签库)。</p>
</div>
</div>
<table style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 15px; width: 696px;" border="1" cellspacing="0" cellpadding="0" width="95%"><tbody style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;"><tr style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;">
<td style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; height: 485px;">
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; margin-left: 2.75pt;" align="left"><%@ page language="java" contentType="text/html; charset=utf-8"<span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span>pageEncoding="utf-8"%></p>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><table width="550" cellpadding=6 cellspacing=0 border=1 align="center"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span> <td> <h1 align="center">基于SimpleFramework 开发新增,删除,修改,查询</h1></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></table></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><table width="550" cellpadding=6 cellspacing=0 border=1 align="center" id="ajaxTestParams"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <td colspan="2">产品名称:<input type="text" id="name" name="name" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td colspan="2">产品描述:<input type="text" id="description" name="description" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td colspan="2">产品版本:<input type="text" id="version" name="version" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td><input type="button" name="Add" value="Add" onclick="$Actions['TestSave']();"></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td>查询<input type="text" id="version" name="version" /> </td> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <td id="testTablePager" colspan="2"></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></table></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><div id="ajaxTestParams1"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></div></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">------------------------------------------------下面是 test.xml--------------------------------------------</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><?xml version="1.0" encoding="UTF-8"?></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">xsi:noNamespaceSchemaLocation="/xsd/default/simple.xsd"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><scriptEval>first</scriptEval></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><components></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><!-- 组件组合使用 本例使用 ajaxRequest,tablePager,menu 组件的配合工作 --> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><ajaxRequest name="TestSave" handleClass="net.simpleframework.test.TestHandle"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">handleMethod="doSave" formSelector="#ajaxTestParams"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><jsCompleteCallback></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">if (json["ok"]) </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">alert("ok");</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">$Actions['TestListPager'].refresh(); <!-- 刷新表格,看到新增数据 --> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </jsCompleteCallback></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></ajaxRequest></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><ajaxRequest name="DeleteTest"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">handleClass="net.simpleframework.test.TestHandle"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">handleMethod="doDeleteTest"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><jsCompleteCallback></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><![CDATA[</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">if(json['ok'] == 'true'){</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">alert('删除成功');</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">}</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">]]></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></jsCompleteCallback></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></ajaxRequest></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tablePager name="TestListPager" containerId="testTablePager" </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">handleClass="net.simpleframework.test.TestPagerHandle" showCheckbox="true"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><!-- pagerBarLayout="none" showCheckbox="true" pagerBarLayout="bottom"--></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><columns></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><column columnName="name" columnText="产品名称" separator="true"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">style="text-align: center;width: 120px;" headerStyle="width: 120px;" /></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><column columnName="description" columnText="产品描述" separator="true"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">style="text-align: center;width: 120px;" headerStyle="width: 120px;" /></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><column columnName="version" columnText="产品版本" separator="true"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">style="text-align: center;width: 120px;" headerStyle="width: 120px;" /></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><!-- 配置操作菜单 --></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><column columnName="action" sort="false" separator="true" </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">style="text-align: center; width: 64px;" headerStyle="width: 64px;" </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">columnText='操作' /></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></columns></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span></tablePager></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><!-- urlForward 是简单写法 --></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><ajaxRequest name="addOrUpdateTestAjaxRequest"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><urlForward>/modify.jsp</urlForward></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></ajaxRequest></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><window name="addOrUpdateTestWindow"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">contentRef="addOrUpdateTestAjaxRequest" title="测试修改" minWidth="550"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">minHeight="380" resizable="true" destroyOnClose="true"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></window></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><ajaxRequest name="viewTestAjaxRequest"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><urlForward>/view.jsp</urlForward></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></ajaxRequest></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><window name="viewTestWindow"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">contentRef="viewTestAjaxRequest" title="查看" minWidth="550"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">minHeight="380" resizable="true" destroyOnClose="true"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></window></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></components></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></page></div>
</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
</td>
</tr></tbody></table>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">
<div style="font-size: 12px; font-family: verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; background-color: #ffffff;">
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 16px;" align="left">第八步,编写modify.jsp 与 modify.xml</p>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">
<div style="font-size: 12px; font-family: verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; background-color: #ffffff;">
<table style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 15px; width: 696px;" border="1" cellspacing="0" cellpadding="0" width="95%"><tbody style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;"><tr style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;">
<td style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; height: 485px;">
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; margin-left: 2.75pt;" align="left"><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%></p>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><table width="550" cellpadding=6 cellspacing=0 border=1 align="center"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span> <td> <h1 align="center">基于SimpleFramework 开发修改</h1></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></table></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><table width="550" cellpadding=6 cellspacing=0 border=1 align="center" id="ajaxTestParams"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <!-- 对应于TestModify类的 pageLoad 方法中 dataBinding数据显示--></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span><input type="hidden" id="id2" name="id2"/> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <td>产品名称:<input type="text" id="name2" name="name2" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td>产品描述:<input type="text" id="description2" name="description2" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td>产品版本:<input type="text" id="version2" name="version2" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td><input type="button" name="Save" value="Save" onclick="$Actions['TestSave']();$Actions['addOrUpdateTestWindow'].close();"></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></table></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">----------下面是 modify.xml--------------</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><?xml version="1.0" encoding="UTF-8"?></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">xsi:noNamespaceSchemaLocation="/xsd/default/simple.xsd"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><scriptEval>first</scriptEval></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><!-- 定义页面处理类 ,handleClass 页面处理类 --></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><handleClass></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> net.simpleframework.test.TestModify</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></handleClass></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></page></div>
</div>
</td>
</tr></tbody></table>
</div>
</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">
<div style="font-size: 12px; font-family: verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; background-color: #ffffff;">
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 16px;" align="left">第九步,编写view.jsp 与 view.xml</p>
<table style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 15px; width: 696px;" border="1" cellspacing="0" cellpadding="0" width="95%"><tbody style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;"><tr style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;">
<td style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; height: 485px;">
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; margin-left: 2.75pt;" align="left"><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%></p>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><table width="550" cellpadding=6 cellspacing=0 border=1 align="center"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span> <td> <h1 align="center">基于SimpleFramework 开发修改</h1></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></table></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><table width="550" cellpadding=6 cellspacing=0 border=1 align="center" id="ajaxTestParams"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <td>产品名称:<input type="text" id="name2" name="name2" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td>产品描述:<input type="text" id="description2" name="description2" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td>产品版本:<input type="text" id="version2" name="version2" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></table></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">----------------下面是 view.xml --------------------</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><?xml version="1.0" encoding="UTF-8"?></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">xsi:noNamespaceSchemaLocation="/xsd/default/simple.xsd"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><scriptEval>first</scriptEval></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><!-- 定义页面处理类 --></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><handleClass></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> net.simpleframework.test.TestModify</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></handleClass></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></page></div>
</div>
</td>
</tr></tbody></table>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">下图是 工程的文件结构图:</p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><img style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;" src="http://simpleframework.net/%24resource/default/filePager/file-cache/2563.png" alt=""></p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">运行效果如下:</p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </p>
</div>
</div>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><img style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;" src="http://simpleframework.net/%24resource/default/filePager/file-cache/2570.png" alt=""></p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">附件:<span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #ff0000; line-height: 15px;"><span style="font-size: 16px; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 20px;"><span style=""> </span></span></span><span style="font-size: 16px; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 20px;"><span style=""><a style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014060; line-height: 15px; text-decoration: none;" href="http://simpleframework.googlecode.com/files/HelloWorld_Demo.zip"><span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #ff0000; line-height: 15px;">SimpleFramework Helloword 工程下载</span></a></span></span></p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #ff0000; line-height: 15px;"><span style="font-size: 16px; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 20px;"><span style=""><a style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014060; line-height: 15px; text-decoration: none;" href="http://simpleframework.googlecode.com/files/simple_view_modify.rar"> 本例代码下载</a></span></span></span></p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">注: 需要手工把本例代码拷贝到 simpleFramework Helloword 工程中,如果没有描述清楚的地方,请大家<a style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014060; line-height: 15px; text-decoration: none;" href="http://simpleframework.net/simple/bbs/m.jsp">论坛</a>讨论。</p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </p>
</div>
</div>
</span></p>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">
<div style="font-size: 12px; font-family: verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; background-color: #ffffff;">
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 16px;" align="left">第六步,编写TestModify.java (修改实现)。</p>
<table style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 15px; width: 696px;" border="1" cellspacing="0" cellpadding="0" width="95%"><tbody style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;"><tr style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;">
<td style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; height: 485px;">
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; margin-left: 2.75pt;" align="left">package net.simpleframework.test;</p>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import java.util.List;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import java.util.Map;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import javax.sql.DataSource;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import net.simpleframework.ado.DataObjectManagerFactory;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import net.simpleframework.ado.db.ITableEntityManager;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import net.simpleframework.ado.db.schema.Table;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import net.simpleframework.ado.db.schema.UniqueValue;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import net.simpleframework.web.IWebApplication;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import net.simpleframework.web.page.DefaultPageHandle;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">import net.simpleframework.web.page.PageParameter;</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">public class TestModify extends DefaultPageHandle {</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">@Override</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">public void pageLoad(final PageParameter pageParameter, final Map<String, Object> dataBinding,</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">final List<String> visibleToggleSelector, final List<String> readonlySelector,</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">final List<String> disabledSelector) throws Exception {</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">String id = pageParameter.request.getParameter("testId"); // 获得需要修改</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">String view = pageParameter.request.getParameter("view"); // 页面是否只读</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">final DataSource dataSource = IWebApplication.Instance.getWebApplication().getDataSource();</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">Table table = new Table("simple_framework_test");</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span>ITableEntityManager entityManager = DataObjectManagerFactory.getTableEntityManager(dataSource,table); </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span> // 根据id 查询需要修改的对象</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span>Map date = entityManager.queryForMap(new UniqueValue(id));</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">// simple 提供的数据绑定,在jsp页面自动填充字段</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">dataBinding.put("id2", id);</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">dataBinding.put("name2", date.get("name"));</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">dataBinding.put("description2", date.get("description"));</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">dataBinding.put("version2", date.get("version"));</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> if(view!=null) {</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">readonlySelector.add("#ajaxTestParams input"); // simple 控制 input 页面显示只读</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">}</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">}</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">}</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
</td>
</tr></tbody></table>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 16px;" align="left">第七步,编写test.jsp 与 test.xml (大家可以看下jsp 文件,都是标准的html元素,xml文件中定义组件元信息,页面通过CSS选择器和组件绑定,所有simple不需要标签库)。</p>
</div>
</div>
<table style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 15px; width: 696px;" border="1" cellspacing="0" cellpadding="0" width="95%"><tbody style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;"><tr style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;">
<td style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; height: 485px;">
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; margin-left: 2.75pt;" align="left"><%@ page language="java" contentType="text/html; charset=utf-8"<span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span>pageEncoding="utf-8"%></p>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><table width="550" cellpadding=6 cellspacing=0 border=1 align="center"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span> <td> <h1 align="center">基于SimpleFramework 开发新增,删除,修改,查询</h1></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></table></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><table width="550" cellpadding=6 cellspacing=0 border=1 align="center" id="ajaxTestParams"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <td colspan="2">产品名称:<input type="text" id="name" name="name" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td colspan="2">产品描述:<input type="text" id="description" name="description" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td colspan="2">产品版本:<input type="text" id="version" name="version" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td><input type="button" name="Add" value="Add" onclick="$Actions['TestSave']();"></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td>查询<input type="text" id="version" name="version" /> </td> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <td id="testTablePager" colspan="2"></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></table></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><div id="ajaxTestParams1"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></div></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">------------------------------------------------下面是 test.xml--------------------------------------------</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><?xml version="1.0" encoding="UTF-8"?></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">xsi:noNamespaceSchemaLocation="/xsd/default/simple.xsd"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><scriptEval>first</scriptEval></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><components></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><!-- 组件组合使用 本例使用 ajaxRequest,tablePager,menu 组件的配合工作 --> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><ajaxRequest name="TestSave" handleClass="net.simpleframework.test.TestHandle"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">handleMethod="doSave" formSelector="#ajaxTestParams"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><jsCompleteCallback></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">if (json["ok"]) </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">alert("ok");</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">$Actions['TestListPager'].refresh(); <!-- 刷新表格,看到新增数据 --> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </jsCompleteCallback></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></ajaxRequest></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><ajaxRequest name="DeleteTest"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">handleClass="net.simpleframework.test.TestHandle"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">handleMethod="doDeleteTest"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><jsCompleteCallback></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><![CDATA[</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">if(json['ok'] == 'true'){</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">alert('删除成功');</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">}</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">]]></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></jsCompleteCallback></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></ajaxRequest></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tablePager name="TestListPager" containerId="testTablePager" </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">handleClass="net.simpleframework.test.TestPagerHandle" showCheckbox="true"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><!-- pagerBarLayout="none" showCheckbox="true" pagerBarLayout="bottom"--></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><columns></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><column columnName="name" columnText="产品名称" separator="true"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">style="text-align: center;width: 120px;" headerStyle="width: 120px;" /></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><column columnName="description" columnText="产品描述" separator="true"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">style="text-align: center;width: 120px;" headerStyle="width: 120px;" /></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><column columnName="version" columnText="产品版本" separator="true"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">style="text-align: center;width: 120px;" headerStyle="width: 120px;" /></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><!-- 配置操作菜单 --></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><column columnName="action" sort="false" separator="true" </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">style="text-align: center; width: 64px;" headerStyle="width: 64px;" </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">columnText='操作' /></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></columns></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span></tablePager></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><!-- urlForward 是简单写法 --></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><ajaxRequest name="addOrUpdateTestAjaxRequest"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><urlForward>/modify.jsp</urlForward></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></ajaxRequest></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><window name="addOrUpdateTestWindow"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">contentRef="addOrUpdateTestAjaxRequest" title="测试修改" minWidth="550"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">minHeight="380" resizable="true" destroyOnClose="true"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></window></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><ajaxRequest name="viewTestAjaxRequest"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><urlForward>/view.jsp</urlForward></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></ajaxRequest></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><window name="viewTestWindow"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">contentRef="viewTestAjaxRequest" title="查看" minWidth="550"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">minHeight="380" resizable="true" destroyOnClose="true"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></window></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></components></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></page></div>
</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
</td>
</tr></tbody></table>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">
<div style="font-size: 12px; font-family: verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; background-color: #ffffff;">
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 16px;" align="left">第八步,编写modify.jsp 与 modify.xml</p>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">
<div style="font-size: 12px; font-family: verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; background-color: #ffffff;">
<table style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 15px; width: 696px;" border="1" cellspacing="0" cellpadding="0" width="95%"><tbody style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;"><tr style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;">
<td style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; height: 485px;">
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; margin-left: 2.75pt;" align="left"><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%></p>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><table width="550" cellpadding=6 cellspacing=0 border=1 align="center"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span> <td> <h1 align="center">基于SimpleFramework 开发修改</h1></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></table></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><table width="550" cellpadding=6 cellspacing=0 border=1 align="center" id="ajaxTestParams"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <!-- 对应于TestModify类的 pageLoad 方法中 dataBinding数据显示--></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span><input type="hidden" id="id2" name="id2"/> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <td>产品名称:<input type="text" id="name2" name="name2" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td>产品描述:<input type="text" id="description2" name="description2" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td>产品版本:<input type="text" id="version2" name="version2" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td><input type="button" name="Save" value="Save" onclick="$Actions['TestSave']();$Actions['addOrUpdateTestWindow'].close();"></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></table></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">----------下面是 modify.xml--------------</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><?xml version="1.0" encoding="UTF-8"?></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">xsi:noNamespaceSchemaLocation="/xsd/default/simple.xsd"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><scriptEval>first</scriptEval></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><!-- 定义页面处理类 ,handleClass 页面处理类 --></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><handleClass></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> net.simpleframework.test.TestModify</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></handleClass></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></page></div>
</div>
</td>
</tr></tbody></table>
</div>
</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">
<div style="font-size: 12px; font-family: verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; background-color: #ffffff;">
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 16px;" align="left">第九步,编写view.jsp 与 view.xml</p>
<table style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014378; line-height: 15px; width: 696px;" border="1" cellspacing="0" cellpadding="0" width="95%"><tbody style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;"><tr style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;">
<td style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; height: 485px;">
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px; margin-left: 2.75pt;" align="left"><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%></p>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><table width="550" cellpadding=6 cellspacing=0 border=1 align="center"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px; white-space: pre;"> </span> <td> <h1 align="center">基于SimpleFramework 开发修改</h1></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></table></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><table width="550" cellpadding=6 cellspacing=0 border=1 align="center" id="ajaxTestParams"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> <td>产品名称:<input type="text" id="name2" name="name2" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td>产品描述:<input type="text" id="description2" name="description2" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><td>产品版本:<input type="text" id="version2" name="version2" /></td></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></tr></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></table></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">----------------下面是 view.xml --------------------</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><?xml version="1.0" encoding="UTF-8"?></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">xsi:noNamespaceSchemaLocation="/xsd/default/simple.xsd"></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><scriptEval>first</scriptEval></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><!-- 定义页面处理类 --></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><handleClass></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> net.simpleframework.test.TestModify</div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></handleClass></div>
<div style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"></page></div>
</div>
</td>
</tr></tbody></table>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">下图是 工程的文件结构图:</p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><img style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;" src="http://simpleframework.net/%24resource/default/filePager/file-cache/2563.png" alt=""></p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">运行效果如下:</p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </p>
</div>
</div>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><img style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 15px;" src="http://simpleframework.net/%24resource/default/filePager/file-cache/2570.png" alt=""></p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">附件:<span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #ff0000; line-height: 15px;"><span style="font-size: 16px; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 20px;"><span style=""> </span></span></span><span style="font-size: 16px; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 20px;"><span style=""><a style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014060; line-height: 15px; text-decoration: none;" href="http://simpleframework.googlecode.com/files/HelloWorld_Demo.zip"><span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #ff0000; line-height: 15px;">SimpleFramework Helloword 工程下载</span></a></span></span></p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"><span style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #ff0000; line-height: 15px;"><span style="font-size: 16px; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 20px;"><span style=""><a style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014060; line-height: 15px; text-decoration: none;" href="http://simpleframework.googlecode.com/files/simple_view_modify.rar"> 本例代码下载</a></span></span></span></p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;">注: 需要手工把本例代码拷贝到 simpleFramework Helloword 工程中,如果没有描述清楚的地方,请大家<a style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #014060; line-height: 15px; text-decoration: none;" href="http://simpleframework.net/simple/bbs/m.jsp">论坛</a>讨论。</p>
<p style="font-size: 9pt; font-family: Verdana, 'Microsoft YaHei', Arial, Tahoma, sans-serif; color: #2f3a30; line-height: 16px;"> </p>
</div>
</div>
</span></p>
相关推荐
《InfoQ架构师2016合集》是面向IT专业人士,尤其是架构师群体的一份珍贵资源,集合了2016年InfoQ平台上的众多精彩文章和讨论,旨在分享和探讨当时的最新技术和最佳实践。InfoQ作为一个全球知名的IT资讯网站,其内容...
标题“infoq_topic”可能指的是一个InfoQ技术网站上的专题讨论,这通常涵盖某一特定的IT主题或技术。InfoQ是一个知名的在线平台,提供最新的软件开发资讯、深度文章、会议报道和技术访谈等内容。由于描述是“NULL”...
【标题】"基于aiohttp的infoq技术资讯网站爬虫.zip" 提供了一个使用Python异步库aiohttp开发的InfoQ技术资讯网站的爬虫项目。InfoQ是一个知名的IT技术信息分享平台,涵盖了各种编程语言、框架、工具和技术趋势的最新...
《infoQ架构师月刊上部》集合了2008年至2012年间infoQ平台上关于架构领域的精华文章和讨论,旨在为IT行业的专业人士,尤其是架构师们提供宝贵的参考资料。InfoQ是一个全球知名的软件开发资讯平台,以其深度、专业和...
《infoQ架构师月刊下部》集合了2013年至2017年8月期间在infoQ平台上发布的关于架构领域的深度文章和专题,是广大架构师和IT从业者学习、研究架构技术的重要资源。infoQ作为一个全球知名的IT技术交流平台,其内容覆盖...
【标题】"InfoQ_使用Northwind和Entity框架的ASP" 涉及到的是一个ASP.NET开发中的实战示例,主要围绕如何在ASP.NET应用中利用Entity Framework操作Northwind数据库进行数据处理。 【描述】提到的信息暗示了这是一个...
在所提供的内容中,我们可以看到月刊提到了Java9的发布、百度开源了其RPC框架brpc、Kafka数据可靠性、MySQL在Docker中的运行、AIOps的价值、软件测试的未来,以及AI专区的信息。 首先,Java9的发布是一个重要的事件...
infoq 架构师8月刊 infoq 架构师8月刊 infoq 架构师8月刊
偶然机会在网上看到该文章,觉得挺实用,下载并上传到本网站以供大学参考.
2. 敏捷开发与DevOps:在当时,敏捷开发已经逐渐成为主流,而DevOps的概念正在形成,杂志可能介绍了如何在系统架构中实现敏捷开发实践,以及DevOps文化对团队协作和持续交付的影响。 3. 云计算与虚拟化:随着AWS、...
2. **主流云服务商及产品**:InfoQ云生态期刊可能会深度解析各大云服务提供商,如阿里云、亚马逊AWS、微软Azure等,介绍他们的核心产品和服务,以及各自的优势和适用场景。 3. **云技术趋势**:期刊会讨论云计算的...
infoq 架构师 2019年月刊收集 infoq 架构师 2019年月刊收集
ArchSummit北京2019大会演讲 PPT 分共三个压缩包 2019年InfoQ架构师峰会ppt.z01 2019年InfoQ架构师峰会ppt.z02 2019年InfoQ架构师峰会ppt.zip
- **ACTIONSCRIPT 3网站构建框架**:介绍了利用ACTIONSCRIPT 3构建网站的方法和技巧,为网页开发者提供了实用的开发框架。 - **JAVA创新的未来**:通过主题演讲的形式,展望了JAVA语言在未来的发展趋势和可能的创新...
http://www.cnblogs.com/WormCanFly/archive/2009/09/17/1568668.html#2045847 09年的刚刚工作时用到的技术,仅供大家参考。今天发现还有人来下载,特地改成免费的。 内容源码