incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r468086 - /incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormRenderer.java
Date Thu, 26 Oct 2006 18:37:56 GMT
Author: awiner
Date: Thu Oct 26 11:37:55 2006
New Revision: 468086

URL: http://svn.apache.org/viewvc?view=rev&rev=468086
Log:
ADFFACES-256: af:form must call encodeActionURL() on "action"

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormRenderer.java

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormRenderer.java?view=diff&rev=468086&r1=468085&r2=468086
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormRenderer.java
Thu Oct 26 11:37:55 2006
@@ -185,6 +185,7 @@
     String viewId = context.getViewRoot().getViewId();
     String action =
       context.getApplication().getViewHandler().getActionURL(context, viewId);
+    action = context.getExternalContext().encodeActionURL(action);
 
     rw.writeURIAttribute("action", action, null);
 



Mime
View raw message