JSF问题记录
zygtp
一个老程序员
展开
-
使用Myface时出现No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found的解决办法
错误提示:09:21:10,509 INFO [MyfacesConfig] No context init parameter org.apache.myfaces.ADD_RESOURCE_CLASS found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource09:21:10原创 2007-03-21 12:46:00 · 695 阅读 · 0 评论 -
使用jsf基本常见问题1
1.commandButton不能触发其Action,原因是commandButton放到了verbatim中2.不能将InputText的值邦定到实体变量中,原因是设置了commandButton的immediate为true造成的3.java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.substringBefore原创 2007-03-21 12:53:00 · 518 阅读 · 0 评论 -
使用jsf基本常见问题2
1.jsf中没有Page On Load事件 解决办法:下载第三方组件jsfExt-0.9.0.jar,需要在web.xml中配置,并且增加配置文件onload_config.xml2007.2.91.myfaces的datatable导致,datamodel的rowIndex错误,即rowIndex总为rowCount。 解决办法:更换myfaces的datatable为sun的datatab原创 2007-03-21 13:01:00 · 714 阅读 · 0 评论