Ananya Goswami <ananyag <at> aztec.soft.net> writes: > I have written a validator for file size for > client side validation . I have given the following but the pop-up alert > comes even when I select a proper sized file. (Assume that file size should > be of 900 bytes). > Could anyone please tell me how to give the > syntax for the same.... > <binding name="validators" value="validators:accept=gif,filesize=900"/>
I wonder how your validator's javascript is written. No browser would allow javascript to read the user's local files as it would be a hugh security risk. -- Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
