[Seaside] Best way to guarantee a textInput will be a positive integer?

Gilles Schtickzelle gschtick at gmail.com
Tue Oct 26 15:00:58 UTC 2010

Hello again,

I have a form where some of the input field should only be filled with
integer values. I try to test the value in the setter and throw an error
when it's not an integer but I can't figure out how to catch the error in
the renderContentOn method of my component, and something tells me it's not
the correct way to do this.
Is there something like "integerInput" that would force an integer value
instead of a textInput?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20101026/eefb2f59/attachment.htm

More information about the seaside mailing list