- 博客(6)
- 收藏
- 关注
原创 Seam的redirect.captureCurrentView不能记住URL的参数
Seam的redirect.captureCurrentView不能记住URL的参数 例如 components.xml 中的 <event type="org.jboss.seam.security.notLoggedIn"> <action execute="#{redirect.captureCurrentView}" /> </event> 不...
2008-10-30 11:31:43 96
原创 通过IP访问JBoss失败的问题
用WTP启动JBoss,通过IP访问JBoss Server 会失败,查了下,需要指定一个启动参数 Edit launch configuration properties -> Arguments -> Program arguments 中设置 -b 0.0.0.0 或者 -b 10.10.1.25 等。 0.0.0.0代表所有IP ...
2008-10-29 16:04:15 138
在Seam和Facelets中加空格nbps不好用
在Seam和Facelets的 .xhtml 中添加空格,使用 &nbps; 会报错,使用 &#160; 正常。 字符对照表 http://www.w3schools.com/tags/ref_entities.asp 具体为什么还不清楚
2008-10-28 15:15:44 145
Richfaces中使用listShuttle必须实现hashCode() equals() 方法
在Seam中使用Richfaces的listShuttle控件时,如果使用了converter需要注意一点,在sourceValue和targetValue中的对象,必须实现hashCode() 和 equals() 方法。 @Name("productConverter") @Converter(id = "productConverter") public class ProductCon...
2008-10-28 11:15:49 112
原创 在Facelets中使用JSTL
在Facelets中使用JSTL,需要注意 namespace是 xmlns:c=http://java.sun.com/jstl/core 下面是一个 .xhtml 文件的例子 <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/f...
2008-10-15 19:32:12 103
用Struts通配符配置导航
想映射如下URL到Action的指定方法/user/Account.do -> AccountAction.init()/user/Account/create.do -> AccountAction.create()/user/Blog/list.do -> BlogAction.list() 在struts-config.xml中配置如下 <action path=...
2008-10-08 10:39:02 94
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人