This class is considered lightweight because it does not provide layout, input, focus, or event handling, which improves its performance.
此类之所以被视为轻量类,是因为它不提供布局、输入、焦点或事件处理功能,从而能够改善其性能。
Handling common events is as simple as calling a function like click , submit , or mouseover and passing it an event handler function.
处理常见事件就像调用函数(比方说click 、submit或mouseover)和为其传递事件处理函数一样简单。
You simply handle an Ajax event like you would any other Web flow event, and after handling your flow can request that certain fragments, or partials, of the UI be refreshed.
你只需像处理任何其它Web Flow事件一样来处理Ajax事件就可以了,在处理事件之后,你的流程可以请求刷新ui的特定片断或部分。
应用推荐