上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 38 下一页
摘要: ref url:http://www.roseindia.net/struts/struts2/struts2uitags/autocompleter-example.shtmlIn this section, we are going to describe the autocompleter tag. The autocompleter tag always displays a dropdown list with the options that have at least a partial match with entered text in the textbox. If the 阅读全文
posted @ 2012-09-16 22:39 Atlas's blog 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 需求:我有一张考试信息表,需要关联每个学生添加考试信息。于是我想到的是添加考试信息时使用<s:autocompleter的方式来关联添加学员ID。问题:在学员越来越多的情况下,这个有承载completer的LIST肯定会因为过大而导致页面崩溃。我之前的考虑本就是不合理。整个构思,实现思路,呈现方式,表结构,字段都是不合理的。我无法将已合格的学员进行排除。解决办法:1.学员表中加入isGraduate(是否结业)字段。2.在查询学员基本信息时添加入口操作,作为添加考试信息的入口。 阅读全文
posted @ 2012-09-16 22:17 Atlas's blog 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 首先AndroidManifest.xmlView Code <?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.travelsky.test" android:versionCode="1" android:versionName="1.0"> <uses-s 阅读全文
posted @ 2012-09-14 11:30 Atlas's blog 阅读(208) 评论(0) 推荐(0) 编辑
摘要: Every developer, at some point in their career, will find themselves looking for some information on a Linux* box. I don't claim to be an expert, in fact, I claim to be very under-skilled when it comes to linux command line mastery. However, with the following 8 commands I can get pretty much an 阅读全文
posted @ 2012-09-14 09:30 Atlas's blog 阅读(151) 评论(0) 推荐(0) 编辑
摘要: At work, recently I did a code cleanup of an existing Java project. After that exercise, I could see a common set of code violations that occur again and again in the code. So, I came up with a list of such common violations and shared it with my peers so that an awareness would help to improve the 阅读全文
posted @ 2012-09-14 09:27 Atlas's blog 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 最简单实用的就是:<s:textfield onclick="ShowCalendar('shijian')" id="shijian" readonly="readonly" size="20" name="jlandcf.shijian" readonly="true"><s:param name="value"><s:date name="jlandcf.shijian" format 阅读全文
posted @ 2012-09-13 22:49 Atlas's blog 阅读(397) 评论(0) 推荐(0) 编辑
摘要: IllegalStateException: Could not execute method of the activityCaused by: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. parent.removeView(child);WARN/SQLiteCompiledSql(23963): Releasing statement in a finalizer. 阅读全文
posted @ 2012-09-13 18:01 Atlas's blog 阅读(1958) 评论(0) 推荐(0) 编辑
摘要: No data type for node: org.hibernate.hql.ast.tree.MethodNode decode 阅读全文
posted @ 2012-09-12 10:33 Atlas's blog 阅读(934) 评论(0) 推荐(0) 编辑
摘要: create filter 阅读全文
posted @ 2012-09-11 14:58 Atlas's blog 阅读(109) 评论(0) 推荐(0) 编辑
摘要: sql连接类型:内连接、外连接和交叉连接1、内连接(inner jon)使用比较运算符进行表间某(些)列数据的比较操作,并列出这些表中与连接条件相匹配的数据行。根据所使用的比较方式不同,内连接又分为等值连接、自然连接和不等连接三种。2、外连接分为左外连接(left out join或left join)、右外连接(right out join或right join)和全外连接(full out join或full join)三种。3、交叉连接:返回到结果集合中的数据行数等于第一个表中符合查询条件的数据行数乘以第二个表中符合查询条件的数据行数。注意:left join(左联接) 返回包括左表中的 阅读全文
posted @ 2012-09-10 23:05 Atlas's blog 阅读(239) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 38 下一页