Author: jkuhnert
Date: Sat Dec 16 14:13:15 2006
New Revision: 487908
URL: http://svn.apache.org/viewvc?view=rev&rev=487908
Log:
Fixes TAPESTRY-1195.
Modified:
tapestry/tapestry4/trunk/src/site/xdoc/components/link/directlink.xml
tapestry/tapestry4/trunk/src/site/xdoc/components/link/genericlink.xml
tapestry/tapestry4/trunk/src/site/xdoc/components/link/pagelink.xml
tapestry/tapestry4/trunk/src/site/xdoc/components/link/servicelink.xml
tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/link/DefaultLinkRenderer.java
Modified: tapestry/tapestry4/trunk/src/site/xdoc/components/link/directlink.xml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/components/link/directlink.xml?view=diff&rev=487908&r1=487907&r2=487908
==============================================================================
--- tapestry/tapestry4/trunk/src/site/xdoc/components/link/directlink.xml
(original)
+++ tapestry/tapestry4/trunk/src/site/xdoc/components/link/directlink.xml Sat
Dec 16 14:13:15 2006
@@ -157,7 +157,17 @@
</td>
</tr>
<tr>
+ <td>target</td>
+ <td>String</td>
+ <td>no</td>
+ <td />
+ <td>
+ The name of the html target for this link, this is
just the normal html attribute that will
+ control where the response generated from this
link will go. (Usually used in frames)
+ </td>
+ </tr>
+ <tr>
<td>anchor</td>
<td>String</td>
Modified: tapestry/tapestry4/trunk/src/site/xdoc/components/link/genericlink.xml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/components/link/genericlink.xml?view=diff&rev=487908&r1=487907&r2=487908
==============================================================================
--- tapestry/tapestry4/trunk/src/site/xdoc/components/link/genericlink.xml
(original)
+++ tapestry/tapestry4/trunk/src/site/xdoc/components/link/genericlink.xml Sat
Dec 16 14:13:15 2006
@@ -89,6 +89,17 @@
</td>
</tr>
<tr>
+ <td>target</td>
+
+ <td>String</td>
+ <td>no</td>
+ <td />
+ <td>
+ The name of the html target for this link, this is
just the normal html attribute that will
+ control where the response generated from this
link will go. (Usually used in frames)
+ </td>
+ </tr>
+ <tr>
<td>anchor</td>
<td>String</td>
Modified: tapestry/tapestry4/trunk/src/site/xdoc/components/link/pagelink.xml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/components/link/pagelink.xml?view=diff&rev=487908&r1=487907&r2=487908
==============================================================================
--- tapestry/tapestry4/trunk/src/site/xdoc/components/link/pagelink.xml
(original)
+++ tapestry/tapestry4/trunk/src/site/xdoc/components/link/pagelink.xml Sat Dec
16 14:13:15 2006
@@ -131,13 +131,16 @@
application.
</td>
</tr>
-
<tr>
<td>target</td>
+
<td>String</td>
<td>no</td>
- <td></td>
- <td></td>
+ <td />
+ <td>
+ The name of the html target for this link, this is
just the normal html attribute that will
+ control where the response generated from this
link will go. (Usually used in frames)
+ </td>
</tr>
<tr>
<td>renderer</td>
Modified: tapestry/tapestry4/trunk/src/site/xdoc/components/link/servicelink.xml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/components/link/servicelink.xml?view=diff&rev=487908&r1=487907&r2=487908
==============================================================================
--- tapestry/tapestry4/trunk/src/site/xdoc/components/link/servicelink.xml
(original)
+++ tapestry/tapestry4/trunk/src/site/xdoc/components/link/servicelink.xml Sat
Dec 16 14:13:15 2006
@@ -100,6 +100,17 @@
</td>
</tr>
<tr>
+ <td>target</td>
+
+ <td>String</td>
+ <td>no</td>
+ <td />
+ <td>
+ The name of the html target for this link, this is
just the normal html attribute that will
+ control where the response generated from this
link will go. (Usually used in frames)
+ </td>
+ </tr>
+ <tr>
<td>anchor</td>
<td>String</td>
Modified:
tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/link/DefaultLinkRenderer.java
URL:
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/link/DefaultLinkRenderer.java?view=diff&rev=487908&r1=487907&r2=487908
==============================================================================
---
tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/link/DefaultLinkRenderer.java
(original)
+++
tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/link/DefaultLinkRenderer.java
Sat Dec 16 14:13:15 2006
@@ -70,8 +70,7 @@
linkComponent.renderAdditionalAttributes(writer, cycle);
- writer.attribute(getUrlAttribute(), constructURL(linkComponent,
- cycle));
+ writer.attribute(getUrlAttribute(), constructURL(linkComponent,
cycle));
String target = linkComponent.getTarget();