- 浏览: 55836 次
- 性别:
- 来自: 郑州
最新评论
-
mienimaer:
用了newcode-macro-plugin-1.0.3.ja ...
将 Confluence 用于个人的Blog、Wiki平台 -
lqm1111:
entityManager.getDelegate();
让Seam使用原生的Hibernate -
andyhan:
entityManager貌似有个HibernateSessi ...
让Seam使用原生的Hibernate -
aaronfeng:
使用dhtmlxgrid 1.2 stand version ...
如何构建一个类似C/S结构下的表格输入界面? -
javafox:
Project Woodstock is devoted to ...
如何构建一个类似C/S结构下的表格输入界面?
文章列表
1. 下载基础环境:
eclipse 3.4.2
JDK6: http://java.sun.com
Jboss AS 4.2.3GA: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=614346
Seam 2.1.1GA:https://sourceforge.net/project/showfiles.php?group_id=22866&package_id=163777&release_id=647861
Seam自带的seam-gen是一个非常好的命令行工具,它自动创建了程序模板,它创建的程序可以直接用Netbeans和Eclipse打开。
但是它创建的数据层却是EntityManager。对于习惯了Hibernate的开发人员来说,不太习惯。本文介绍如何将Seam工程中的EntityManager改成原生Hibernate。
以seam-gen创建的工程myproject为例:
修改components.xml
<!-- 增加hibernate session -->
<persistence:hibernate-session-factory name="hibe ...
- 2009-03-09 17:38
- 浏览 1929
- 评论(2)
现在所在的公司主要从事电力系统软件开发,涉及到很多数学公式,之前的文档一直用Word来处理。虽然Word的公式很强大,但Word文档不便于共享交流。因此一直想用Confluence来输入公式,今天终于成功了,
分享如下:
Confluence有个插件LaTex,可以用来在wiki中输入公式。 其原理就是在wiki中用TeX语法来输入公式,
显示时,插件将公式转换成图片。但它需要tetext和dvipng,这两家伙在Windows上的安装让我头疼很久。今天仔细琢磨,其实还有另外一个text可以用,那就是mimetext。
下载并安装 基于mimeText的Confluence插件
...
- 2009-03-08 19:29
- 浏览 3778
- 评论(0)
Confluence是非常强大的wiki平台,有针对个人的免费企业版,虽然只支持最多2个用户,对于个人博客和知识管理已经足够了!
昨天安装了Confluence2.10.2,准备用来写博客和技术学习的一些心得。
在实际使用过程中,Confluence仍然有一 ...
LocalApplicationSamePlaceSuite - xmpp4moz - XMPP for Mozilla - Trac: "SamePlace is a set of extensions for Firefox, Flock and Thunderbird to keep in touch, chat, play and interact with your contacts without leaving your browser or mail client."
- 2007-03-27 01:32
- 浏览 1146
- 评论(0)
Anonymouser :: Firefox Add-ons: "Open link anonymously with...Open link anonymously with anonymouse.org"
- 2007-03-26 20:43
- 浏览 1068
- 评论(0)
ReloadEvery :: Firefox Add-ons: "Reloads web pages every so many seconds or minutes. The function is accessible via the context menu (menu you get when you right click on a web page) or via a drop down menu on the reload button ...Reloads web pages every so many seconds or minutes. The function ...
- 2007-03-26 20:42
- 浏览 1471
- 评论(0)
Tempomail :: Firefox Add-ons: "Create temporary email adresses to prevent your mailbox from...Create temporary email adresses to prevent your mailbox from spamWorks with:"
- 2007-03-26 19:06
- 浏览 984
- 评论(0)
IE Tab :: Firefox Add-ons: "IE Tab - an extension from Taiwan, features: Embedding Internet Explorer in tabs of Mozilla/Firefox...This is a great tool for web developers, since you can easily see how your webpage displayed in IE with just one click and then switch back to Firefox.If you need som ...
- 2007-03-26 18:44
- 浏览 1236
- 评论(0)
BrowseAtWork :: Firefox Add-ons: "Allows you to open the current page, or a link on the current page, anonymously with BrowseAtWork.com by adding a shortcut to the context menu...Allows you to open the current page, or a link on the current page, anonymously with BrowseAtWork.com by adding a sho ...
- 2007-03-26 18:33
- 浏览 1044
- 评论(0)
Dictionary Tooltip :: Firefox Add-ons: "Press ctrl+shift+D (or) double-click (or) right-click after selecting a word to see its meaning. This extension is ideal for those who doesn't like to switch their window to see the meaning of a word. ...Press ctrl+shift+D (or) double-click (or) right-clic ...
- 2007-03-26 17:13
- 浏览 1146
- 评论(0)
dhtmlxGrid - sortable Javascript DHTML grid with rich script API: "dhtmlxGrid is a Ajax-enabled JavaScript grid control that provides professional solution for representing and editing tabular data on the web. Carefully designed, with powerful script API, this editable DHTML grid is easy configu ...
- 2007-03-23 15:10
- 浏览 1909
- 评论(0)
在复杂的企业应用中(如ERP),有大量的数据录入工作,比如一张销售订单会有多个产品需要录入。在传统的C/S系统中,可以用DBGrid等控件来完成,而WEB界面中,很难让用户在一个页面中完成多行记录的编辑工作。这也使B/S应用很难在业务系统中实施。不知道大家在做这些项目时是如何实现这些功能的。
我认为一个基本的Web Grid应该实现以下功能
多行录入,用户不需多页面的跳转,在一个页面中就可以完成多行记录的编辑,如新增、修改、删除等操作。
外键字段的帮助字典功能。如录入商品编号时,输入商品拼音的第一个字母,应该能够查询出符合条件的商品,并显示一下拉框,供用户选择。
计算 ...
Passing Information to a Method or a Constructor (The Java™ Tutorials > Learning the Java Language > Classes and Objects): "Arbitrary Number of ArgumentsYou can use a construct called varargs to pass an arbitrary number of values to a method. You use varargs when you don't know how many of ...
- 2007-03-11 15:23
- 浏览 1002
- 评论(0)
Equality, Relational, and Conditional Operators (The Java™ Tutorials > Learning the Java Language > Language Basics):The Type Comparison Operator instanceofThe instanceof operator compares an object to a specified type. You can use it to test if an object is an instance of a class, an instance ...
- 2007-03-10 17:22
- 浏览 834
- 评论(0)