Hope you all will be fine. The scenerio is I have a form on which there is name inputText field. I want that if user type
in the name then it is replaced by //
. I have made the replace function. But I don t know that how can I do it using ajax.
Like if I have input field like this
<h:inputText id="name" value="#{user.name}">
<f:ajax event="blur" render="nameError name"/>
</h:inputText>
<h:message for="name" id="nameError" style="color: red" />
现在我想,如果用户类型<代码> Basit Mahmood Ahmed ,在名称栏目中,数值为<>/Basit/Mahmood/Ahmed/。 因此,当用户在提交年份时,//Basit/Mahmood/Ahmed/
应张贴在服务器上,而不是<代码>。 Basit Mahmood Ahmed 。
我如何在2.0号联合论坛中这样做?