You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2008/07/24 18:50:55 UTC
svn commit: r679460 -
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/base/AbstractTextField.java
Author: hlship
Date: Thu Jul 24 09:50:55 2008
New Revision: 679460
URL: http://svn.apache.org/viewvc?rev=679460&view=rev
Log:
TAPESTRY-2538: The default binding prefix for TextField.translate should be "translate" but is "prop"
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/base/AbstractTextField.java
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/base/AbstractTextField.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/base/AbstractTextField.java?rev=679460&r1=679459&r2=679460&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/base/AbstractTextField.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/base/AbstractTextField.java Thu Jul 24 09:50:55 2008
@@ -58,7 +58,7 @@
* The object which will perform translation between server-side and client-side representations. If not specified,
* a value will usually be generated based on the type of the value parameter.
*/
- @Parameter(required = true, allowNull = false)
+ @Parameter(required = true, allowNull = false, defaultPrefix = BindingConstants.TRANSLATE)
private Translator<Object> translate;
/**
@@ -154,7 +154,7 @@
return createDefaultParameterBinding("value");
}
- @SuppressWarnings({ "unchecked" })
+ @SuppressWarnings({"unchecked"})
@BeginRender
final void begin(MarkupWriter writer)
{
@@ -194,7 +194,7 @@
*/
protected abstract void writeFieldTag(MarkupWriter writer, String value);
- @SuppressWarnings({ "unchecked" })
+ @SuppressWarnings({"unchecked"})
@Override
protected final void processSubmission(String elementName)
{