[prev in list] [next in list] [prev in thread] [next in thread]
List: tapestry-dev
Subject: svn commit: r599665 - in /tapestry/tapestry5/trunk/tapestry-core/src:
From: hlship () apache ! org
Date: 2007-11-30 0:51:40
Message-ID: 20071130005141.37E6A1A9832 () eris ! apache ! org
[Download RAW message or body]
Author: hlship
Date: Thu Nov 29 16:51:35 2007
New Revision: 599665
URL: http://svn.apache.org/viewvc?rev=599665&view=rev
Log:
TAPESTRY-1942: Client side validation should be triggered when the user moves out of \
a field
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/tapestry.js
tapestry/tapestry5/trunk/tapestry-core/src/test/app1/RegexpDemo.tml
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/tapestry.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/tapestry.js?rev=599665&r1=599664&r2=599665&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/tapestry.js \
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/tapestry.js \
Thu Nov 29 16:51:35 2007 @@ -363,7 +363,7 @@
var fieldPos = this.field.positionedOffset();
// These magic numbers are based on the height of the bevel image.
- this.popup.setStyle({ top: fieldPos[1] - 34 + "px", left: fieldPos[0] + \
"px", width: "auto", height: "39px" }); + this.popup.setStyle({ top: \
fieldPos[1] - 34 + "px", left: fieldPos[0] - 5 + "px", width: "auto", height: "39px" \
});
this.popup.fadingIn = true;
Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/app1/RegexpDemo.tml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/app1/RegexpDemo.tml?rev=599665&r1=599664&r2=599665&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/test/app1/RegexpDemo.tml (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/test/app1/RegexpDemo.tml Thu Nov 29 \
16:51:35 2007 @@ -1,11 +1,13 @@
<html t:type="Border" \
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
-<t:beaneditform object="this"/>
+ <h1>Regexp Validation Demo</h1>
-<hr/>
+ <t:beaneditform object="this"/>
- <t:if test="zipCode">
- Zip code: [${zipCode}]
- </t:if>
+ <hr/>
+
+ <t:if test="zipCode">
+ Zip code: [${zipCode}]
+ </t:if>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic