简体   繁体   English

JSF和RichFaces实时验证输入框

[英]JSF and RichFaces to validate input boxes real time

Im new to to this technology and would like know if there are any function in JSF or Richfaces that will handle the validation of 2 input boxes real time. 我是该技术的新手,想知道JSF或Richfaces中是否有任何功能可以实时处理2个输入框的验证。

For example I have Inputbox1 and Inputbox2, if I enter amount on Inputbox1, it will automatically erase or blank Inputbox2 and vice versa. 例如,我有Inputbox1和Inputbox2,如果我在Inputbox1上输入金额,它将自动擦除或空白Inputbox2,反之亦然。 At the same time it will automatically calculate the footer totals. 同时,它将自动计算页脚总数。

How can I approach this kind of validation? 我该如何进行这种验证?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM