When the value is rendered back to the view, JSF will call the getAsString method in the render response phase.
如果该值被返回呈现在视图中,那么 JSF 将在呈现响应阶段调用 getAsString方法。
If the value conversion fails, an error message is generated and queued in the FacesContext, where it will be displayed during the render response phase, along with any validation errors.
如果值的转换失败了,那么就会生成一个错误消息,并在FacesContext中进行排队,在产生响应的阶段会显示其中的消息,同时还会显示所有的验证错误。
In this case, the JSF implementation cannot restore the component tree, which must be created in the Render Response phase.
在这种情况下,JSF实现不能恢复组件树,此树必须在Render Response阶段创建。
应用推荐