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.
我使用 JSF 1.2。我用 aj4:support 和 actionListener 处理 onblur 事件
<a4j:support event="onblur" reRender="panel1" actionListener="#{bean.changeData}" />
ActionListener 验证输入的数据。如果验证失败,我希望返回焦点。我该怎么做?
在 a4j:support 中设置 focus="componentId"。