Using OPS nightly build from 3-4 days ago with XForms NG. Relevant model sections: <presentation-abstract sgrt:started-typing="false" sgrt:valid="" sgrt:show-valid="" sgrt:show-invalid="" sgrt:is-textarea="true" sgrt:label="Presentation Abstract" sgrt:error="Please enter less than 500 words" sgrt:hint=""/> <xforms:bind nodeset="presentation-abstract" required="true()"> <xforms:bind nodeset="@sgrt:valid" calculate="(count(tokenize(..,' ')) > 0) and (count(tokenize(..,' ')) < 500)"/> <xforms:bind nodeset="@sgrt:show-valid" relevant="../@sgrt:started-typing = 'true' and ../@sgrt:valid = 'true'"/> <xforms:bind nodeset="@sgrt:show-invalid" relevant="../@sgrt:started-typing = 'true' and ../@sgrt:valid = 'false'"/> </xforms:bind> The body of the XHTML page contains this snippet: <xforms:setvalue ref="presentation-abstract/@sgrt:started-typing" ev:event="xforms-value-changed">true</xforms:setvalue> <xforms:output ref="presentation-abstract/@sgrt:error"/> <xhtml:br> <xforms:textarea ref="presentation-abstract" incremental="true" class="input-textarea" appearance="xxforms:autosize"> <xforms:help ref="@sgrt:hint"/> </xforms:textarea> </xhtml:br> <xforms:group ref="presentation-abstract/@sgrt:show-valid" class="valid"/> <xforms:group ref="presentation-abstract/@sgrt:show-invalid" class="invalid"> <xforms:output ref="../@sgrt:error"/> </xforms:group> -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Removing:
appearance="xxforms:autosize" ...from the xforms:textarea solved the problem. On Aug 18, 2006, at 11:43 AM, Alexander Zatko wrote:
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |