- I am doing this:
<xp:inputTextarea ...id, binding, etc...>
<xp:this.validateExpression message="Ruh Roh">
Problem is it has absolutely no effect what-so-ever. I never see any message, I never get any validation failure, it's like Textarea simply has no validation on it at all.
- This sequence is modeled on the validation article on the Domino wiki, found by googling. In fact if I put "XPage +this.clientScript +validateExpression" into a google search I get exactly two hits, both of which are Domino wiki articles, the top of which has an empty clientScript tag (making it an useless hit) and the bottom of which contains the code this is modelled after.
- The bottom article, http://www-10.lotus.com/ldd/ddwiki.nsf/page.xsp?documentId=41FA4C737349EC7C8525777C004EF0AA&action=openDocument, quite clearly states:
"Validation specified as Client-side will result in the displaying of validation errors within a pop-up dialog box on the page itself, as shown below: "
Yet this is never the case, even though the server generates this line in the browser:
"XSP.attachValidator("view:_id1:_id56:inputTextarea1",null,null,new XSP.ExpressionValidator("(value != null && value != \"\")","Ruh Roh"));
- Why doesn't this work?
Thanks for your time...