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 2007/12/05 23:44:10 UTC

svn commit: r601558 - /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/base/AbstractLink.java

Author: hlship
Date: Wed Dec  5 14:44:09 2007
New Revision: 601558

URL: http://svn.apache.org/viewvc?rev=601558&view=rev
Log:
TAPESTRY-1879: PageLink does not have an anchor parameter

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/base/AbstractLink.java

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/base/AbstractLink.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/base/AbstractLink.java?rev=601558&r1=601557&r2=601558&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/base/AbstractLink.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/base/AbstractLink.java Wed Dec  5 14:44:09 2007
@@ -17,6 +17,7 @@
 import org.apache.tapestry.ComponentResources;
 import org.apache.tapestry.Link;
 import org.apache.tapestry.MarkupWriter;
+import static org.apache.tapestry.TapestryConstants.LITERAL_BINDING_PREFIX;
 import org.apache.tapestry.annotations.Parameter;
 import org.apache.tapestry.dom.Element;
 import org.apache.tapestry.internal.services.ComponentInvocationMap;
@@ -33,7 +34,7 @@
     /**
      * An anchor value to append to the generated URL (the hash separator will be added automatically).
      */
-    @Parameter
+    @Parameter(defaultPrefix = LITERAL_BINDING_PREFIX)
     private String _anchor;
 
     @Inject