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 2005/11/15 00:53:49 UTC
svn commit: r344276 - in /jakarta/tapestry/trunk:
contrib/src/java/org/apache/tapestry/contrib/ajax/XTileService.java
src/documentation/resources/images/rss.png status.xml
Author: hlship
Date: Mon Nov 14 15:53:43 2005
New Revision: 344276
URL: http://svn.apache.org/viewcvs?rev=344276&view=rev
Log:
TAPESTRY-752: XTile service passes null list of listener parameters to listener method
Added:
jakarta/tapestry/trunk/src/documentation/resources/images/rss.png (with props)
Modified:
jakarta/tapestry/trunk/contrib/src/java/org/apache/tapestry/contrib/ajax/XTileService.java
jakarta/tapestry/trunk/status.xml
Modified: jakarta/tapestry/trunk/contrib/src/java/org/apache/tapestry/contrib/ajax/XTileService.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/contrib/src/java/org/apache/tapestry/contrib/ajax/XTileService.java?rev=344276&r1=344275&r2=344276&view=diff
==============================================================================
--- jakarta/tapestry/trunk/contrib/src/java/org/apache/tapestry/contrib/ajax/XTileService.java (original)
+++ jakarta/tapestry/trunk/contrib/src/java/org/apache/tapestry/contrib/ajax/XTileService.java Mon Nov 14 15:53:43 2005
@@ -36,7 +36,6 @@
import org.apache.tapestry.engine.IEngineService;
import org.apache.tapestry.engine.ILink;
import org.apache.tapestry.error.RequestExceptionReporter;
-import org.apache.tapestry.request.RequestContext;
import org.apache.tapestry.services.LinkFactory;
import org.apache.tapestry.services.ServiceConstants;
import org.apache.tapestry.util.ContentType;
@@ -56,7 +55,7 @@
private RequestExceptionReporter _exceptionReporter;
private WebResponse _response;
-
+
private LinkFactory _linkFactory;
public String getName()
@@ -91,14 +90,13 @@
IXTile xtile = (IXTile) component;
- // do not squeeze on input
- RequestContext context = cycle.getRequestContext();
- String[] params = context.getParameters(ServiceConstants.PARAMETER);
- cycle.setServiceParameters(params);
+ String[] params = cycle.getParameters(ServiceConstants.PARAMETER);
+ cycle.setListenerParameters(params);
+
xtile.trigger(cycle);
// do not squeeze on output either
- Object[] args = cycle.getServiceParameters();
+ Object[] args = cycle.getListenerParameters();
String strArgs = generateOutputString(args);
if (strArgs != null)
{
Added: jakarta/tapestry/trunk/src/documentation/resources/images/rss.png
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/src/documentation/resources/images/rss.png?rev=344276&view=auto
==============================================================================
Binary file - no diff available.
Propchange: jakarta/tapestry/trunk/src/documentation/resources/images/rss.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: jakarta/tapestry/trunk/status.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/status.xml?rev=344276&r1=344275&r2=344276&view=diff
==============================================================================
--- jakarta/tapestry/trunk/status.xml (original)
+++ jakarta/tapestry/trunk/status.xml Mon Nov 14 15:53:43 2005
@@ -56,10 +56,11 @@
<changes>
<release version="4.0-beta-14" date="unreleased">
<action type="update" dev="HLS">Make default binding prefix configurable</action>
+ <action type="fix" dev="HLS" fixes-bug="TAPESTRY-752">XTile service passes null list of listener parameters to listener method</action>
</release>
<release version="4.0-beta-13" date="Nov 12 2005">
<action type="update" dev="HLS">Switch to HiveMind 1.1 (final)</action>
- <action type="fix" dev="HLS" fixes-bug="TAPESTRT-678">LinkSubmit does not work correctly when the browser's back button is used and the form resubmitted normally</action>
+ <action type="fix" dev="HLS" fixes-bug="TAPESTRY-678">LinkSubmit does not work correctly when the browser's back button is used and the form resubmitted normally</action>
<action type="add" dev="HLS" fixes-bug="TAPESTRY-731">Extend RequestDisplay component (used on the Exception page) to also report the internal status of key Tapestry services</action>
<action type="fix" dev="HLS" fixes-bug="TAPESTRY-742">LinkSubmit renders overly verbose JavaScript</action>
<action type="fix" dev="HLS" fixes-bug="TAPESTRY-620">Expose the current IRequestCycle as an injectable service</action>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org