Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这样的 facelets 代码:
<h:inputText id="name" value="#{userCreationManager.user.creatorAspect.name}" />
现在我很确定那creatorAspect是null在最初渲染视图的时候。但是我对此也不例外,并且h:inputText使用空的初始内容呈现。在回发时,我确实收到一个错误:
creatorAspect
null
h:inputText
目标无法到达,“creatorAspect”返回 null
正如预期的那样。为什么会出现这种差异?