I believe you are looking for the maxlength attribute. Dennis Byrne
>-----Original Message----- >From: Dave [mailto:[EMAIL PROTECTED] >Sent: Wednesday, February 1, 2006 08:50 PM >To: users@myfaces.apache.org >Subject: <h:inputText> size does not work > ><h:inputText value="#{bean.value}" size="2"/> > > I expected the input field to be 2 characters wide, but it can hold 6 > characters. Any ideas? Thanks, > > >--------------------------------- > Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new > and used cars.