JBoss Ajax4JSF SVN: r315 - branches/version_1_0_7/src/framework/java/org/ajax4jsf/xml/serializer.
by ajax4jsf-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-08-16 12:27:56 -0400 (Thu, 16 Aug 2007)
New Revision: 315
Modified:
branches/version_1_0_7/src/framework/java/org/ajax4jsf/xml/serializer/ToXHTMLStream.java
branches/version_1_0_7/src/framework/java/org/ajax4jsf/xml/serializer/XMLEntities.properties
branches/version_1_0_7/src/framework/java/org/ajax4jsf/xml/serializer/output_xml.properties
Log:
fix encoding html entities
Modified: branches/version_1_0_7/src/framework/java/org/ajax4jsf/xml/serializer/ToXHTMLStream.java
===================================================================
--- branches/version_1_0_7/src/framework/java/org/ajax4jsf/xml/serializer/ToXHTMLStream.java 2007-08-14 00:17:53 UTC (rev 314)
+++ branches/version_1_0_7/src/framework/java/org/ajax4jsf/xml/serializer/ToXHTMLStream.java 2007-08-16 16:27:56 UTC (rev 315)
@@ -1,7 +1,7 @@
/**
* License Agreement.
*
- * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
*
* Copyright (C) 2007 Exadel, Inc.
*
@@ -1422,15 +1422,15 @@
{
cleanLength++;
}
- else if ('<' == ch || '>' == ch)
- {
- cleanLength++; // no escaping in this case, as specified in 15.2
- }
- else if (
- ('&' == ch) && ((i + 1) < end) && ('{' == chars[i + 1]))
- {
- cleanLength++; // no escaping in this case, as specified in 15.2
- }
+// else if ('<' == ch || '>' == ch)
+// {
+// cleanLength++; // no escaping in this case, as specified in 15.2
+// }
+// else if (
+// ('&' == ch) && ((i + 1) < end) && ('{' == chars[i + 1]))
+// {
+// cleanLength++; // no escaping in this case, as specified in 15.2
+// }
else
{
if (cleanLength > 0)
Modified: branches/version_1_0_7/src/framework/java/org/ajax4jsf/xml/serializer/XMLEntities.properties
===================================================================
--- branches/version_1_0_7/src/framework/java/org/ajax4jsf/xml/serializer/XMLEntities.properties 2007-08-14 00:17:53 UTC (rev 314)
+++ branches/version_1_0_7/src/framework/java/org/ajax4jsf/xml/serializer/XMLEntities.properties 2007-08-16 16:27:56 UTC (rev 315)
@@ -14,9 +14,9 @@
# limitations under the License.
##########################################################################
#
-# $Id: XMLEntities.properties,v 1.1 2006/06/14 06:12:18 alexsmirnov Exp $
+# $Id: XMLEntities.properties,v 1.1.2.1 2007/01/10 19:33:34 alexsmirnov Exp $
#
-# @version $Revision: 1.1 $ $Date: 2006/06/14 06:12:18 $
+# @version $Revision: 1.1.2.1 $ $Date: 2007/01/10 19:33:34 $
# @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
# This file must be encoded in UTF-8; see org.ajax4jsf.xml.serializer.CharInfo
#
Modified: branches/version_1_0_7/src/framework/java/org/ajax4jsf/xml/serializer/output_xml.properties
===================================================================
--- branches/version_1_0_7/src/framework/java/org/ajax4jsf/xml/serializer/output_xml.properties 2007-08-14 00:17:53 UTC (rev 314)
+++ branches/version_1_0_7/src/framework/java/org/ajax4jsf/xml/serializer/output_xml.properties 2007-08-16 16:27:56 UTC (rev 315)
@@ -14,7 +14,7 @@
# limitations under the License.
##########################################################################
#
-# $Id: output_xml.properties,v 1.1 2006/06/14 06:12:16 alexsmirnov Exp $
+# $Id: output_xml.properties,v 1.1.2.1 2007/01/10 19:33:36 alexsmirnov Exp $
#
# Specify defaults when method="xml". These defaults serve as a base for
# other defaults, such as output_html and output_text.
17 years, 4 months
JBoss Ajax4JSF SVN: r314 - trunk/framework/src/main/java/org/ajax4jsf/ajax/repeat.
by ajax4jsf-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-08-13 20:17:53 -0400 (Mon, 13 Aug 2007)
New Revision: 314
Modified:
trunk/framework/src/main/java/org/ajax4jsf/ajax/repeat/UIDataAdaptor.java
Log:
Fix incorrect clientId for a rich:dataTable and rich:repeat on a JSP page with JSF 1.2
Modified: trunk/framework/src/main/java/org/ajax4jsf/ajax/repeat/UIDataAdaptor.java
===================================================================
--- trunk/framework/src/main/java/org/ajax4jsf/ajax/repeat/UIDataAdaptor.java 2007-07-27 22:41:06 UTC (rev 313)
+++ trunk/framework/src/main/java/org/ajax4jsf/ajax/repeat/UIDataAdaptor.java 2007-08-14 00:17:53 UTC (rev 314)
@@ -675,6 +675,16 @@
this._ajaxRowKey = _ajaxRowKeysMap.get(baseClientId);
}
}
+
+ /* (non-Javadoc)
+ * @see javax.faces.component.UIComponentBase#setParent(javax.faces.component.UIComponent)
+ */
+ public void setParent(UIComponent parent) {
+ super.setParent(parent);
+ // On JSP page, with a JSF 1.2 getBaseClientId can be requested BEFORE insertion into tree.
+ this._clientId = null;
+ this._baseClientId = null;
+ }
private Object origValue;
17 years, 4 months