您可以看到,在portlet的初始状态中,您将不会看到portlet操作,因为您可以使用none的样式显示属性。
You can see that, in the initial state of the portlet, the portlet actions will not be shown, because you have used the style display property of none.
当初始化时,作为默认颜色的白色没有如期显示,并且直到触发了状态变化之后才出现,然后就被重新设置为默认颜色。
The default color of white would not appear correctly when initialized and wouldn't show up until a state change had been triggered and then was set back to default.
在无状态的设计中,必须确保完全由数据层填充对象,并且正确地初始化任何与显示其详细内容有关的延迟加载。
In a stateless design, you must ensure that objects are fully populated by the data layer and that any lazy associations that are needed to show its details are properly initialized.
应用推荐