> Can I do that? Is that means I have to rewrite all validator in My > Faces implementation?
Why rewrite? Reuse! Take a look at Shale's Commons Validator [1] support. The messages are controlled by a properties file you can customize, and you can even specify a unique message for a particular component right on your page. Keep in mind though that Shale's Validators are among those marked "Developing" by Craig [2], so you'd have to be comfortable living on the bleeding edge. Hubert [1] http://struts.apache.org/struts-shale/features-commons-validator.html [2] http://struts.apache.org/struts-shale/api-stability.html On 3/6/06, Anthony Hong <[EMAIL PROTECTED]> wrote: > If I write this in this way, > <h:inputText id="txtDebtorLimit" size="20" > value="#DebtorController.currentDebtor.limit}"/> > <h:message for="txtDebtorLimit" errorClass="error_message"/> > > when error occured, it shows: txtCustomerID Value is required. > > But I want to change txtCustomerID to support mulit language, it > should fetch value from resource bundle at first. > Can I do that? Is that means I have to rewrite all validator in My > Faces implementation? > > -- > > Anthony Hong >

