Hi,

is it possible  to get localised string (*.properties) from java code?

I need to localize error message "Customer exists":

       ValidationDelegate delegate = getDelegate();
delegate.setFormComponent((IFormComponent) getComponent("inputCustomerId"));
       delegate.recordFieldInputValue(getCustomer().getCustomerId());
       delegate.record("Customer exists", ValidationConstraint.TOO_SMALL);

Customer.properties:
error_cust_exists = Customer  exists

Customer_de.properties:
error_cust_exists = Deutche error  message ;)

Any help will be very appreciated.
Thanks in advance

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to