我用的是MyFaces的实现,使用如下代码:
<h:outputLabel for="some_id">
<h:outputText value="标签"/>
</h:outputLabel>
<h:inputText id="some_id"/>
在服务器总是会有:
Unable to find component 'some_id'
的警告,请问怎么解决这个问题呢?
<h:outputLabel for="some_id">
<h:outputText value="标签"/>
</h:outputLabel>
<h:inputText id="some_id"/>
在服务器总是会有:
Unable to find component 'some_id'
的警告,请问怎么解决这个问题呢?
解决方案 »
- 求高手帮忙,cxf+spring发布的webservice后生成的wsdl中缺少<wsdl:types>和<wsdl:message>标签
- JSP新手提问: 怎写这条时间查询SQL语句?
- getWriter() has already been called for this response
- struts2 用*.validation.xml做表单验证,有没有办法指定返回指定验证页面的方法?
- 百分求一个FckEditor,要求能上传图片,附件.
- Struts中Tiles错误:Can't get definitions factory from context
- 部署oa_06后台打印如下异常
- Eclipse+Lomboz,如何编译并servlet?
- 像csdn、msdn等论坛,左面的树型结构是怎么做的呢?
- 普通的ssh开发的项目转成maven项目
- 怎么获得请求页面的相对地址!
- java.lang.IllegalStateException: forward() not allowed after buffer has committed.页面跳转异常?如何解决?
你试试看:让 for 的 那个 input 组件在 label 之前。