click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r918945 - /click/trunk/click/framework/src/org/apache/click/ClickServlet.java
Date Thu, 04 Mar 2010 11:20:30 GMT
Author: sabob
Date: Thu Mar  4 11:20:30 2010
New Revision: 918945

URL: http://svn.apache.org/viewvc?rev=918945&view=rev
Log:
use page addModel method instead of accessing map directly

Modified:
    click/trunk/click/framework/src/org/apache/click/ClickServlet.java

Modified: click/trunk/click/framework/src/org/apache/click/ClickServlet.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/ClickServlet.java?rev=918945&r1=918944&r2=918945&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/ClickServlet.java (original)
+++ click/trunk/click/framework/src/org/apache/click/ClickServlet.java Thu Mar  4 11:20:30
2010
@@ -1310,7 +1310,7 @@
             processPageFields(page, new FieldCallback() {
                 public void processField(String fieldName, Object fieldValue) {
                     if (fieldValue instanceof Control == false) {
-                        page.getModel().put(fieldName, fieldValue);
+                        page.addModel(fieldName, fieldValue);
 
                     } else {
                         // Add any controls not already added to model



Mime
View raw message