Affects Version/s: current
Fix Version/s: 1.0
Operating System: All
>>>>> On Wed, 25 May 2005 14:15:06 -0700, Ana von Klopp said:
AVK> Any component that extends UIInput and is bound to a primitive value
AVK> becomes invalid with a cryptic message (IllegalArgumentException) if
AVK> nothing is entered.
AVK> To reproduce: create a page with <h:inputText> and bind the value to a
AVK> managed bean property that is an int. On the page, add a <h:message>
AVK> for the field.
AVK> <h:message for="form:something" />
AVK> <h:inputText id="something" value="#
AVK> Create a the bean with a single property that's an int.
AVK> Run the page. Delete all characters from field and submit the page.
AVK> The component becomes invalid, and the message doesn't help you fix
AVK> It's probably correct that the component becomes invalid, but that
AVK> message is not helpful to the user.