I haven't looked into it, but I think this is a bug with the inline client-side validation code that triggers when you're inside of a table. I'm sure it's got nothing to do with tr:validateLength per se. This should get fixed for 1.0.3...
-- Adam On 9/18/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Hi, > > IMO that shouldn't happen, can you file an issue: > https://issues.apache.org/jira/browse/TRINIDAD > > -Matthias > > On 9/18/07, pdt_p <[EMAIL PROTECTED]> wrote: > > > > Hi... > > > > I just wonder about tr:validateLength. > > I have a table with 2 columns. 1 column for label and the other column > > containing tr:inputText. > > I have validate the input text value with tr:ValidateLength and specify the > > minimum and maximum. > > I just relize that every time I submit the form, there is a new line > > generated in the next line after input text. So my table heights become > > longer. That happens in both cases either the value is valid or is not > > valid. if the value entered is not valid then the error message will be > > display in that new line. I think that new line is reserve for error > > message. > > > > How to remove that new line if the value entered is valid? > > > > I get this issue only in IE. In Firefox, the new line is not display. > > > > <tr:inputText value="#{MyBean.value}" > > binding="#{MyBean.inputTextOne}" > > rendered="#{MyBean.renderInputTextOne"> > > <tr:validateLength minimum="#{MyBean.min}" > > maximum="#{MyBean.max}"/> > > </tr:inputText> > > > > Thank you very mich > > > > Pdt > > -- > > View this message in context: > > http://www.nabble.com/Trinidad-validateLength-tf4471579.html#a12749801 > > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > > > > > > -- > Matthias Wessendorf > > further stuff: > blog: http://matthiaswessendorf.wordpress.com/ > mail: matzew-at-apache-dot-org >

