Hi
I have following tag in my code when I submit the page, if there is another validation error on some text field or text area the page comes back with error message. if the integers or fraction digits in the fields were more than specified in the tag the intial digit that were in access in integer and last in access digits in fraction value are truncated when page redisplays. But if there is no other error the validation doens't fail and the value which is bigger than the data fields gets to the persistance layer throwing an error from there.
Please review the tag and let me know what I am doing wrong.
readOnly="false" disabled="false"
maximumFractionDigits="4" maximumIntegerDigits="11"
tooltip="Maximum 11 integers and 4 fraction digits.">
for="myInput"></h:message>
</ig:inputDecimal>
Thanks
Hi:
You're not doing anything wrong - this is the default behavior for this component. You can write a custom validator to get different behavior.
Best,
Jim
thanks Jim.
Is this going to stay like that or this is going to be in a to do list for some future release?