JBoss Ajax4JSF SVN: r182 - trunk/framework/src/main/javascript/ajaxjsf.
by ajax4jsf-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-05-07 17:04:16 -0400 (Mon, 07 May 2007)
New Revision: 182
Modified:
trunk/framework/src/main/javascript/ajaxjsf/JSFAJAX.js
Log:
Fix compability with Jboss portal 2.6
Modified: trunk/framework/src/main/javascript/ajaxjsf/JSFAJAX.js
===================================================================
--- trunk/framework/src/main/javascript/ajaxjsf/JSFAJAX.js 2007-05-07 19:58:03 UTC (rev 181)
+++ trunk/framework/src/main/javascript/ajaxjsf/JSFAJAX.js 2007-05-07 21:04:16 UTC (rev 182)
@@ -350,8 +350,9 @@
},
_noSessionHref : function(href){
+ var cref = href;
+ if(href){
var sessionid = href.lastIndexOf(";jsessionid=");
- var cref = href;;
if(sessionid>0){
cref = href.substring(0,sessionid);
var params = href.lastIndexOf("?");
@@ -359,6 +360,7 @@
cref=cref+href.substring(params);
}
}
+ }
return cref;
},
17 years, 7 months
JBoss Ajax4JSF SVN: r181 - in branches/version_1_0_7/src: framework/generate and 2 other directories.
by ajax4jsf-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-05-07 15:58:03 -0400 (Mon, 07 May 2007)
New Revision: 181
Modified:
branches/version_1_0_7/src/cdk/META-INF/templates/facelets.taglib.vm
branches/version_1_0_7/src/cdk/META-INF/templates/faces-config.vm
branches/version_1_0_7/src/cdk/META-INF/templates/taglib.vm
branches/version_1_0_7/src/framework/generate/ajax.xml
branches/version_1_0_7/src/framework/generate/build.xml
branches/version_1_0_7/src/framework/generate/merge.xsl
branches/version_1_0_7/src/framework/generate/templates/facelets.taglib.vm
branches/version_1_0_7/src/framework/generate/templates/faces-config.vm
branches/version_1_0_7/src/framework/generate/templates/taglib.vm
branches/version_1_0_7/src/framework/java/org/ajax4jsf/ajax/repeat/DataComponentState.java
branches/version_1_0_7/src/framework/java/org/ajax4jsf/ajax/repeat/RepeatState.java
branches/version_1_0_7/src/framework/java/org/ajax4jsf/ajax/repeat/UIDataAdaptor.java
Log:
fix project build
Modified: branches/version_1_0_7/src/cdk/META-INF/templates/facelets.taglib.vm
===================================================================
--- branches/version_1_0_7/src/cdk/META-INF/templates/facelets.taglib.vm 2007-05-07 17:59:31 UTC (rev 180)
+++ branches/version_1_0_7/src/cdk/META-INF/templates/facelets.taglib.vm 2007-05-07 19:58:03 UTC (rev 181)
@@ -1,4 +1,5 @@
-/**
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
* License Agreement.
*
* Ajax4jsf 1.0 - Natural Ajax for Java Server Faces (JSF)
@@ -17,9 +18,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-<?xml version="1.0" encoding="UTF-8"?>
+ * -->
<!DOCTYPE facelet-taglib PUBLIC
"-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
"http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
Modified: branches/version_1_0_7/src/cdk/META-INF/templates/faces-config.vm
===================================================================
--- branches/version_1_0_7/src/cdk/META-INF/templates/faces-config.vm 2007-05-07 17:59:31 UTC (rev 180)
+++ branches/version_1_0_7/src/cdk/META-INF/templates/faces-config.vm 2007-05-07 19:58:03 UTC (rev 181)
@@ -1,4 +1,7 @@
-/**
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+<!--
* License Agreement.
*
* Ajax4jsf 1.0 - Natural Ajax for Java Server Faces (JSF)
@@ -17,11 +20,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
- "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+ * -->
<faces-config>
${facesConfig.includeContent}
Modified: branches/version_1_0_7/src/cdk/META-INF/templates/taglib.vm
===================================================================
--- branches/version_1_0_7/src/cdk/META-INF/templates/taglib.vm 2007-05-07 17:59:31 UTC (rev 180)
+++ branches/version_1_0_7/src/cdk/META-INF/templates/taglib.vm 2007-05-07 19:58:03 UTC (rev 181)
@@ -1,4 +1,7 @@
-/**
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
+ "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
+<!--
* License Agreement.
*
* Ajax4jsf 1.0 - Natural Ajax for Java Server Faces (JSF)
@@ -17,11 +20,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
- "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
+ * -->
<taglib>
<tlib-version>${taglib.tlibversion}</tlib-version>
<jsp-version>${taglib.jspversion}</jsp-version>
Modified: branches/version_1_0_7/src/framework/generate/ajax.xml
===================================================================
--- branches/version_1_0_7/src/framework/generate/ajax.xml 2007-05-07 17:59:31 UTC (rev 180)
+++ branches/version_1_0_7/src/framework/generate/ajax.xml 2007-05-07 19:58:03 UTC (rev 181)
@@ -335,7 +335,7 @@
<name>submitted</name>
<classname>boolean</classname>
</property>
- <property disabled="true">
+ <property hidden="true">
<name>requestDelay</name>
<classname>int</classname>
</property>
Modified: branches/version_1_0_7/src/framework/generate/build.xml
===================================================================
--- branches/version_1_0_7/src/framework/generate/build.xml 2007-05-07 17:59:31 UTC (rev 180)
+++ branches/version_1_0_7/src/framework/generate/build.xml 2007-05-07 19:58:03 UTC (rev 181)
@@ -23,6 +23,12 @@
<pathelement path="${cdk.build.dir}"/>
</path>
+ <path id="xslt.classpath">
+ <fileset dir="${commonLibs.dir}">
+ <include name="*.jar"/>
+ <exclude name="xerces*"/>
+ </fileset>
+ </path>
<fileset dir="${framework.src.dir}" id="renderers.templates" >
<include name="**/*.jspx"/>
@@ -81,7 +87,8 @@
out="${generated-source.dir}/META-INF/faces-config.xml"
destdir="${generated-source.dir}"
in="${framework.src.dir}/java/META-INF/original-faces-config.xml" processor="trax" force="true">
- <param name="faces-config-files" expression="${generated-source.dir}/META-INF/generated-faces-config.xml,${framework.src.dir}/java/META-INF/original-faces-config.xml"/>
+ <param name="faces-config" expression="${generated-source.dir}/META-INF/generated-faces-config.xml"/>
+ <param name="original-faces-config" expression="${framework.src.dir}/java/META-INF/original-faces-config.xml"/>
<xmlcatalog>
<dtd publicid="-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
location="${framework.src.dir}/generate/xmlcatalog/web-facesconfig_1_0.dtd"
@@ -90,7 +97,7 @@
location="${framework.src.dir}/generate/xmlcatalog/web-facesconfig_1_1.dtd"
/>
</xmlcatalog>
- <classpath refid="generate.classpath">
+ <classpath refid="xslt.classpath">
</classpath>
</xslt>
</target>
Modified: branches/version_1_0_7/src/framework/generate/merge.xsl
===================================================================
--- branches/version_1_0_7/src/framework/generate/merge.xsl 2007-05-07 17:59:31 UTC (rev 180)
+++ branches/version_1_0_7/src/framework/generate/merge.xsl 2007-05-07 19:58:03 UTC (rev 181)
@@ -7,14 +7,16 @@
omit-xml-declaration="no"
doctype-public="-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
doctype-system="http://java.sun.com/dtd/web-facesconfig_1_1.dtd"/>
- <xsl:param name="faces-config-files" />
+ <xsl:param name="faces-config" />
+ <xsl:param name="original-faces-config" />
<xsl:template match="/">
<faces-config xmlns="http://java.sun.com/JSF/Configuration">
- <xsl:for-each select="tokenize($faces-config-files, ',')">
- <xsl:for-each select="document(.)/*">
+ <xsl:for-each select="document($original-faces-config)/*">
<xsl:copy-of select="./*"/>
</xsl:for-each>
- </xsl:for-each>
+ <xsl:for-each select="document($faces-config)/*">
+ <xsl:copy-of select="./*"/>
+ </xsl:for-each>
</faces-config>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
Modified: branches/version_1_0_7/src/framework/generate/templates/facelets.taglib.vm
===================================================================
--- branches/version_1_0_7/src/framework/generate/templates/facelets.taglib.vm 2007-05-07 17:59:31 UTC (rev 180)
+++ branches/version_1_0_7/src/framework/generate/templates/facelets.taglib.vm 2007-05-07 19:58:03 UTC (rev 181)
@@ -1,4 +1,5 @@
-/**
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
* License Agreement.
*
* Ajax4jsf 1.0 - Natural Ajax for Java Server Faces (JSF)
@@ -17,9 +18,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-<?xml version="1.0" encoding="UTF-8"?>
+ * -->
<!DOCTYPE facelet-taglib PUBLIC
"-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
"http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
Modified: branches/version_1_0_7/src/framework/generate/templates/faces-config.vm
===================================================================
--- branches/version_1_0_7/src/framework/generate/templates/faces-config.vm 2007-05-07 17:59:31 UTC (rev 180)
+++ branches/version_1_0_7/src/framework/generate/templates/faces-config.vm 2007-05-07 19:58:03 UTC (rev 181)
@@ -1,4 +1,8 @@
-/**
+<?xml version="1.0"?>
+<!DOCTYPE faces-config PUBLIC
+ "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+<!--
* License Agreement.
*
* Ajax4jsf 1.0 - Natural Ajax for Java Server Faces (JSF)
@@ -17,14 +21,9 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
+ * -->
-<?xml version="1.0"?>
-<!DOCTYPE faces-config PUBLIC
- "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
- "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
-
<faces-config>
#if(${facesConfig.include})
#include( ${facesConfig.include} )
Modified: branches/version_1_0_7/src/framework/generate/templates/taglib.vm
===================================================================
--- branches/version_1_0_7/src/framework/generate/templates/taglib.vm 2007-05-07 17:59:31 UTC (rev 180)
+++ branches/version_1_0_7/src/framework/generate/templates/taglib.vm 2007-05-07 19:58:03 UTC (rev 181)
@@ -1,4 +1,5 @@
-/**
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
* License Agreement.
*
* Ajax4jsf 1.0 - Natural Ajax for Java Server Faces (JSF)
@@ -17,9 +18,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-<?xml version="1.0" encoding="UTF-8"?>
+ * -->
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
Modified: branches/version_1_0_7/src/framework/java/org/ajax4jsf/ajax/repeat/DataComponentState.java
===================================================================
--- branches/version_1_0_7/src/framework/java/org/ajax4jsf/ajax/repeat/DataComponentState.java 2007-05-07 17:59:31 UTC (rev 180)
+++ branches/version_1_0_7/src/framework/java/org/ajax4jsf/ajax/repeat/DataComponentState.java 2007-05-07 19:58:03 UTC (rev 181)
@@ -21,7 +21,6 @@
package org.ajax4jsf.ajax.repeat;
-import javax.faces.component.StateHolder;
/**
* Interface for classes keeped current iterable component state, as :
Modified: branches/version_1_0_7/src/framework/java/org/ajax4jsf/ajax/repeat/RepeatState.java
===================================================================
--- branches/version_1_0_7/src/framework/java/org/ajax4jsf/ajax/repeat/RepeatState.java 2007-05-07 17:59:31 UTC (rev 180)
+++ branches/version_1_0_7/src/framework/java/org/ajax4jsf/ajax/repeat/RepeatState.java 2007-05-07 19:58:03 UTC (rev 181)
@@ -23,8 +23,6 @@
import java.io.Serializable;
-import javax.faces.context.FacesContext;
-
/**
* @author shura
*
Modified: branches/version_1_0_7/src/framework/java/org/ajax4jsf/ajax/repeat/UIDataAdaptor.java
===================================================================
--- branches/version_1_0_7/src/framework/java/org/ajax4jsf/ajax/repeat/UIDataAdaptor.java 2007-05-07 17:59:31 UTC (rev 180)
+++ branches/version_1_0_7/src/framework/java/org/ajax4jsf/ajax/repeat/UIDataAdaptor.java 2007-05-07 19:58:03 UTC (rev 181)
@@ -50,8 +50,6 @@
import org.ajax4jsf.framework.ajax.AjaxEvent;
import org.ajax4jsf.framework.renderer.AjaxChildrenRenderer;
-import com.sun.org.apache.bcel.internal.generic.GETSTATIC;
-
/**
* Base class for iterable components, like dataTable, Tomahawk dataList,
* Facelets repeat, tree etc., with support for partial rendering on AJAX
17 years, 7 months
JBoss Ajax4JSF SVN: r180 - in trunk: cdk/generator/src/main/resources/META-INF/templates and 6 other directories.
by ajax4jsf-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-05-07 13:59:31 -0400 (Mon, 07 May 2007)
New Revision: 180
Added:
trunk/framework/src/main/config/resources/
trunk/framework/src/main/config/resources/resources-config.xml
Removed:
trunk/framework/src/main/resources/META-INF/resources-config.xml
Modified:
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/generator/ResourcesConfigGenerator.java
trunk/cdk/generator/src/main/resources/META-INF/templates/resources-config.vm
trunk/cdk/generator/src/main/resources/META-INF/templates12/resources-config.vm
trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/AbstractCDKMojo.java
trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/GenerateMojo.java
trunk/samples/useCases/src/main/webapp/pages/controls.xhtml
Log:
fix AJSF-58 issue. Generated resource-config.xml has been overryde manual configuration.
Fix generator to include conten of a manual cgeated configuration into generated file.
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/generator/ResourcesConfigGenerator.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/generator/ResourcesConfigGenerator.java 2007-05-07 13:16:19 UTC (rev 179)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/generator/ResourcesConfigGenerator.java 2007-05-07 17:59:31 UTC (rev 180)
@@ -272,7 +272,7 @@
context.put("classResources", bean.getClassResources());
context.put("pathResources", bean.getPathResources());
- context.put("facesConfig", this);
+ context.put("resourcesConfig", this);
File configFile = getResourcesConfig();
File javaDir = configFile.getParentFile();
if (!javaDir.exists()) {
Modified: trunk/cdk/generator/src/main/resources/META-INF/templates/resources-config.vm
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/templates/resources-config.vm 2007-05-07 13:16:19 UTC (rev 179)
+++ trunk/cdk/generator/src/main/resources/META-INF/templates/resources-config.vm 2007-05-07 17:59:31 UTC (rev 180)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<resource-config>
+<!-- Include manual created resource -->
+${resourcesConfig.includeContent}
#foreach( $key in ${classResources.keySet()})
<resource class="${classResources.get($key)}">
Modified: trunk/cdk/generator/src/main/resources/META-INF/templates12/resources-config.vm
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/templates12/resources-config.vm 2007-05-07 13:16:19 UTC (rev 179)
+++ trunk/cdk/generator/src/main/resources/META-INF/templates12/resources-config.vm 2007-05-07 17:59:31 UTC (rev 180)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<resource-config>
+<!-- Include manual created resource -->
+${resourcesConfig.includeContent}
#foreach( $key in ${classResources.keySet()})
<resource class="${classResources.get($key)}">
Modified: trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/AbstractCDKMojo.java
===================================================================
--- trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/AbstractCDKMojo.java 2007-05-07 13:16:19 UTC (rev 179)
+++ trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/AbstractCDKMojo.java 2007-05-07 17:59:31 UTC (rev 180)
@@ -81,7 +81,13 @@
*/
protected File taglibInclude;
/**
+ * Place for component configuration XML files
*
+ * @parameter expression="src/main/config/resources"
+ */
+ protected File resourcesInclude;
+ /**
+ *
* @parameter expression="src/main/templates"
*/
protected File templatesDirectory;
Modified: trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/GenerateMojo.java
===================================================================
--- trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/GenerateMojo.java 2007-05-07 13:16:19 UTC (rev 179)
+++ trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/GenerateMojo.java 2007-05-07 17:59:31 UTC (rev 180)
@@ -200,6 +200,7 @@
// Generate resources configuration file resources-config.xml
// for all images/scripts/css...
ResourcesConfigGenerator resourcesConfigGenerator = new ResourcesConfigGenerator(resourcesConfiguration, mavenLogger);
+ resourcesConfigGenerator.setInclude(resourcesInclude);
resourcesConfigGenerator.setTemplates(templatesDirectory);
resourcesConfigGenerator.setResourcesConfig(new File(
outputResourcesDirectory, "META-INF/resources-config.xml"));
Added: trunk/framework/src/main/config/resources/resources-config.xml
===================================================================
--- trunk/framework/src/main/config/resources/resources-config.xml (rev 0)
+++ trunk/framework/src/main/config/resources/resources-config.xml 2007-05-07 17:59:31 UTC (rev 180)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<resource-config>
+ <resource class="org.ajax4jsf.framework.ajax.AjaxScript">
+ <name>org.ajax4jsf.framework.ajax.AjaxScript</name>
+ </resource>
+ <resource class="org.ajax4jsf.framework.ajax.AjaxScript">
+ <name>ajax.js</name>
+ </resource>
+ <resource class="org.ajax4jsf.framework.resource.PrototypeScript">
+ <name>prototype.js</name>
+ </resource>
+ <resource class="org.ajax4jsf.dnd.DnDScript">
+ <name>dnd.js</name>
+ </resource>
+ <resource >
+ <name>form.js</name>
+ <path>/org/ajax4jsf/renderkit/html/scripts/form.js</path>
+ <renderer class="org.ajax4jsf.framework.resource.ScriptRenderer"/>
+ </resource>
+ <resource >
+ <name>org/ajax4jsf/renderers/ajax/scripts/form.js</name>
+ <path>/org/ajax4jsf/renderkit/html/scripts/form.js</path>
+ <renderer class="org.ajax4jsf.framework.resource.ScriptRenderer"/>
+ </resource>
+</resource-config>
Deleted: trunk/framework/src/main/resources/META-INF/resources-config.xml
===================================================================
--- trunk/framework/src/main/resources/META-INF/resources-config.xml 2007-05-07 13:16:19 UTC (rev 179)
+++ trunk/framework/src/main/resources/META-INF/resources-config.xml 2007-05-07 17:59:31 UTC (rev 180)
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<resource-config>
- <resource class="org.ajax4jsf.framework.ajax.AjaxScript">
- <name>org.ajax4jsf.framework.ajax.AjaxScript</name>
- </resource>
- <resource class="org.ajax4jsf.framework.ajax.AjaxScript">
- <name>ajax.js</name>
- </resource>
- <resource class="org.ajax4jsf.framework.resource.PrototypeScript">
- <name>prototype.js</name>
- </resource>
- <resource class="org.ajax4jsf.dnd.DnDScript">
- <name>dnd.js</name>
- </resource>
- <resource >
- <name>form.js</name>
- <path>/org/ajax4jsf/renderkit/html/scripts/form.js</path>
- <renderer class="org.ajax4jsf.framework.resource.ScriptRenderer"/>
- </resource>
- <resource >
- <name>org/ajax4jsf/renderers/ajax/scripts/form.js</name>
- <path>/org/ajax4jsf/renderkit/html/scripts/form.js</path>
- <renderer class="org.ajax4jsf.framework.resource.ScriptRenderer"/>
- </resource>
-</resource-config>
Modified: trunk/samples/useCases/src/main/webapp/pages/controls.xhtml
===================================================================
--- trunk/samples/useCases/src/main/webapp/pages/controls.xhtml 2007-05-07 13:16:19 UTC (rev 179)
+++ trunk/samples/useCases/src/main/webapp/pages/controls.xhtml 2007-05-07 17:59:31 UTC (rev 180)
@@ -9,6 +9,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<a4j:loadStyle src="/css/global.css" />
+ <a4j:loadScript src="resource://prototype.js" />
</head>
<body>
<a4j:form id="headForm">
17 years, 7 months
JBoss Ajax4JSF SVN: r179 - trunk/docs/userguide/en.
by ajax4jsf-svn-commits@lists.jboss.org
Author: sabrashevich
Date: 2007-05-07 09:16:19 -0400 (Mon, 07 May 2007)
New Revision: 179
Modified:
trunk/docs/userguide/en/master.xml
Log:
minor change in TOC
Modified: trunk/docs/userguide/en/master.xml
===================================================================
--- trunk/docs/userguide/en/master.xml 2007-05-07 12:58:28 UTC (rev 178)
+++ trunk/docs/userguide/en/master.xml 2007-05-07 13:16:19 UTC (rev 179)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN"
-"../../../../../jbosstools/trunk/documentation/resources/support/docbook-dtd/docbookx.dtd"
+"../../../../jbosstools/trunk/documentation/resources/support/docbook-dtd/docbookx.dtd"
[ <!ENTITY introduction SYSTEM "modules/a4jUGintro.xml">
<!ENTITY technicalRequirements SYSTEM "modules/a4jUGtechreqs.xml">
<!ENTITY getttingStarted SYSTEM "modules/a4jUGstart.xml">
@@ -33,5 +33,5 @@
&componentDetails;
&skinnability;
&IDEintegration;
- &FAQ;
+
</book>
17 years, 7 months
JBoss Ajax4JSF SVN: r178 - trunk/docs/userguide/en/included.
by ajax4jsf-svn-commits@lists.jboss.org
Author: sabrashevich
Date: 2007-05-07 08:58:28 -0400 (Mon, 07 May 2007)
New Revision: 178
Modified:
trunk/docs/userguide/en/included/commandButton.desc.xml
trunk/docs/userguide/en/included/commandButton.xml
trunk/docs/userguide/en/included/commandLink.desc.xml
trunk/docs/userguide/en/included/commandlink.xml
trunk/docs/userguide/en/included/form.xml
trunk/docs/userguide/en/included/htmlCommandLink.desc.xml
trunk/docs/userguide/en/included/htmlCommandLink.xml
trunk/docs/userguide/en/included/include.xml
trunk/docs/userguide/en/included/jsFunction.xml
trunk/docs/userguide/en/included/loadScript.xml
trunk/docs/userguide/en/included/loadStyle.xml
trunk/docs/userguide/en/included/log.desc.xml
trunk/docs/userguide/en/included/mediaOutput.desc.xml
trunk/docs/userguide/en/included/mediaOutput.xml
trunk/docs/userguide/en/included/outputPanel.Desc.xml
trunk/docs/userguide/en/included/outputPanel.xml
trunk/docs/userguide/en/included/page.desc.xml
trunk/docs/userguide/en/included/page.xml
trunk/docs/userguide/en/included/poll.Desc.xml
trunk/docs/userguide/en/included/poll.xml
trunk/docs/userguide/en/included/region.Desc.xml
trunk/docs/userguide/en/included/region.xml
trunk/docs/userguide/en/included/repeat.desc.xml
trunk/docs/userguide/en/included/repeat.xml
trunk/docs/userguide/en/included/status.desc.xml
trunk/docs/userguide/en/included/status.xml
trunk/docs/userguide/en/included/support.Desc.xml
trunk/docs/userguide/en/included/support.xml
Log:
correcting sections order
Modified: trunk/docs/userguide/en/included/commandButton.desc.xml
===================================================================
--- trunk/docs/userguide/en/included/commandButton.desc.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/commandButton.desc.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,8 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
+<chapter>
<section>
+<title>Description</title>
<para>The <emphasis role="bold">
<property><a4j:commandButton></property>
</emphasis>component is very similar to the<emphasis role="bold">
<property><h:commandButton></property>
</emphasis>component, the only difference is that an AJAX form submit is generated on a click and it allows dynamic rerendering after a response comes back. It's not necessary to plug any support into the component, as AJAX support is already built in.</para>
-</section>
\ No newline at end of file
+</section>
+</chapter>
\ No newline at end of file
Modified: trunk/docs/userguide/en/included/commandButton.xml
===================================================================
--- trunk/docs/userguide/en/included/commandButton.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/commandButton.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
-<chapter>
- <section>
+<chapter>
<para><table frame="all">
<title>Component identification parameters</title>
<tgroup cols="2">
@@ -30,8 +29,7 @@
</tbody>
</tgroup>
</table></para>
- </section>
- <section>
+ <section>
<title>Creating on a page</title>
<para><emphasis role="bold"><property><a4j:commandButton></property></emphasis> is used in the same way as <emphasis role="bold"><property><h:commandButton></property></emphasis>, but with definition of the area that is updated after the response comes back from the server.</para>
<programlisting role="XML"><![CDATA[<a4j:commandButton reRender="someData" action="#{bean.action1}" value="Link"/>]]></programlisting>
Modified: trunk/docs/userguide/en/included/commandLink.desc.xml
===================================================================
--- trunk/docs/userguide/en/included/commandLink.desc.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/commandLink.desc.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,8 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
+<chapter>
<section>
+<title>Description</title>
<para> The <emphasis role="bold">
<property><a4j:commandLink></property>
</emphasis>component is very similar to the <emphasis role="bold">
<property><h:commandLink></property>
</emphasis> component, the only difference is that an AJAX form submit is generated on a click and it allows dynamic rerendering after a response comes back. It's not necessary to plug any support into the component, as AJAX support is already built in.</para>
-</section>
\ No newline at end of file
+</section>
+</chapter>
\ No newline at end of file
Modified: trunk/docs/userguide/en/included/commandlink.xml
===================================================================
--- trunk/docs/userguide/en/included/commandlink.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/commandlink.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<chapter>
- <section>
+
<para><table frame="all">
<title>Component identification parameters</title>
<tgroup cols="2">
@@ -30,7 +30,7 @@
</tbody>
</tgroup>
</table></para>
- </section>
+
<section>
<title>Creating on a page</title>
<para><emphasis role="bold"><property><a4j:commandLink></property></emphasis> is used in the same way as <emphasis role="bold"><property><h:commandLink></property></emphasis>, but with definition of the area that is updated after the response comes back from the server.</para>
Modified: trunk/docs/userguide/en/included/form.xml
===================================================================
--- trunk/docs/userguide/en/included/form.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/form.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<chapter>
- <section>
+
<table>
<title>Component identification parameters </title>
<tgroup cols="2">
@@ -30,7 +30,7 @@
</tbody>
</tgroup>
</table>
- </section>
+
<section>
<title>Creating on a page</title>
<para>Component definition on a page is similar to definition of the original component from JSF HTML library. </para>
Modified: trunk/docs/userguide/en/included/htmlCommandLink.desc.xml
===================================================================
--- trunk/docs/userguide/en/included/htmlCommandLink.desc.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/htmlCommandLink.desc.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,9 @@
<?xml version='1.0' encoding='UTF-8'?>
+<chapter>
<section>
+<title>Description</title>
<para>The <emphasis role="bold">
<property><a4j:htmlCommandLink></property>
</emphasis> component is very similar to the same component from the JSF HTML library, the only slight difference is in links generation and problem solving that occurs when an original component is used.</para>
-</section>
\ No newline at end of file
+</section>
+</chapter>
\ No newline at end of file
Modified: trunk/docs/userguide/en/included/htmlCommandLink.xml
===================================================================
--- trunk/docs/userguide/en/included/htmlCommandLink.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/htmlCommandLink.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<chapter>
- <section>
+
<table>
<title>Component identification parameters </title>
<tgroup cols="2">
@@ -30,7 +30,7 @@
</tbody>
</tgroup>
</table>
- </section>
+
<section>
<title>Creating on a page</title>
<para>Component definition on a page is the same as for the original component from the JSF HTML library.</para>
Modified: trunk/docs/userguide/en/included/include.xml
===================================================================
--- trunk/docs/userguide/en/included/include.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/include.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<chapter>
- <section>
+
<para><table frame="all">
<title>Component identification parameters</title>
<tgroup cols="2">
@@ -30,7 +30,7 @@
</tbody>
</tgroup>
</table></para>
- </section>
+
<section>
<title>Creating on a page</title>
<para>To use the component, it's necessary to place the following strings on a page:</para>
@@ -76,8 +76,8 @@
</emphasis>component inside <emphasis role="bold">
<property><a4j:include></property>
</emphasis>returns outcome defined as <emphasis role="bold">
- <property><redirect/></property>
- </emphasis>, AJAX submit is performed with navigation of all page and not only of the current view.
+ <property><redirect/></property>,
+ </emphasis> AJAX submit is performed with navigation of all page and not only of the current view.
</para>
</section>
</chapter>
\ No newline at end of file
Modified: trunk/docs/userguide/en/included/jsFunction.xml
===================================================================
--- trunk/docs/userguide/en/included/jsFunction.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/jsFunction.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter>
- <section>
+
<table>
<title>Component identification parameters </title>
<tgroup cols="2">
@@ -30,7 +30,7 @@
</tbody>
</tgroup>
</table>
- </section>
+
<section>
<title>Creating on a page</title>
<para>Simple component definition example:</para>
Modified: trunk/docs/userguide/en/included/loadScript.xml
===================================================================
--- trunk/docs/userguide/en/included/loadScript.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/loadScript.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter>
- <section>
<table>
<title>Component identification parameters </title>
<tgroup cols="2">
@@ -30,7 +29,7 @@
</tbody>
</tgroup>
</table>
- </section>
+
<section>
<title>Creating on a page</title>
<para>Simple Component definition on a page:</para>
Modified: trunk/docs/userguide/en/included/loadStyle.xml
===================================================================
--- trunk/docs/userguide/en/included/loadStyle.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/loadStyle.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter>
- <section>
<table>
<title>Component identification parameters </title>
<tgroup cols="2">
@@ -30,7 +29,7 @@
</tbody>
</tgroup>
</table>
- </section>
+
<section>
<title>Creating on a page</title>
<para>Simple Component definition on a page:</para>
Modified: trunk/docs/userguide/en/included/log.desc.xml
===================================================================
--- trunk/docs/userguide/en/included/log.desc.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/log.desc.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,9 @@
<?xml version='1.0' encoding='UTF-8'?>
+<root>
<section>
+<title>Description</title>
<para>The <emphasis role="bold">
<property><a4j:log ></property>
</emphasis> component generates JavaScript for opening of the window with client-side debug information on AJAX request.</para>
- </section>
\ No newline at end of file
+ </section>
+</root>
\ No newline at end of file
Modified: trunk/docs/userguide/en/included/mediaOutput.desc.xml
===================================================================
--- trunk/docs/userguide/en/included/mediaOutput.desc.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/mediaOutput.desc.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,9 @@
<?xml version='1.0' encoding='UTF-8'?>
+<root>
<section>
+<title>Description</title>
<para>The <emphasis role="bold">
<property><a4j:mediaOutput></property>
</emphasis> component implements one of the basic features specified in the framework. The component is a facility for generating images, video, sounds and other binary resources defined by a user on-the-fly.</para>
-</section>
\ No newline at end of file
+</section>
+</root>
\ No newline at end of file
Modified: trunk/docs/userguide/en/included/mediaOutput.xml
===================================================================
--- trunk/docs/userguide/en/included/mediaOutput.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/mediaOutput.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<chapter>
- <section>
<table>
<title>Component identification parameters </title>
<tgroup cols="2">
@@ -30,7 +29,7 @@
</tbody>
</tgroup>
</table>
- </section>
+
<section>
<title>Creating on a page</title>
<para>To use the component it's necessary to define it on a page and set Java methods for data keeping and data transmission to output stream. </para>
Modified: trunk/docs/userguide/en/included/outputPanel.Desc.xml
===================================================================
--- trunk/docs/userguide/en/included/outputPanel.Desc.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/outputPanel.Desc.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,4 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
+<root>
<section>
+<title>Description</title>
<para>The component is used for components grouping in the AJAX output area, which offers several additional output opportunities such as inserting of non-present in tree components, saving of transient elements after AJAX request and some others.</para>
-</section>
\ No newline at end of file
+</section>
+</root>
\ No newline at end of file
Modified: trunk/docs/userguide/en/included/outputPanel.xml
===================================================================
--- trunk/docs/userguide/en/included/outputPanel.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/outputPanel.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<chapter>
- <section>
+
<table>
<title>Component identification parameters </title>
<tgroup cols="2">
@@ -34,7 +34,7 @@
</tbody>
</tgroup>
</table>
- </section>
+
<section>
<title>Creating on a page</title>
<para>Here is the simplest way for a component creation on a page.</para>
Modified: trunk/docs/userguide/en/included/page.desc.xml
===================================================================
--- trunk/docs/userguide/en/included/page.desc.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/page.desc.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,4 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
+<root>
<section>
+<title>Description</title>
<para><emphasis role="bold"><property><a4j:page></property></emphasis> is a deprecated component used for solving of incompatibility problems in early Ajax4jsf and MyFaces versions. The component encodes the full html page structure. </para>
</section>
+</root>
Modified: trunk/docs/userguide/en/included/page.xml
===================================================================
--- trunk/docs/userguide/en/included/page.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/page.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<chapter>
- <section>
+
<table>
<title>Component identification parameters </title>
<tgroup cols="2">
@@ -30,7 +30,7 @@
</tbody>
</tgroup>
</table>
- </section>
+
<section>
<title>Creating on a page</title>
<para>This component should be defined as a child component for <emphasis role="bold">
@@ -76,11 +76,11 @@
<property>head</property>
</emphasis>" section is defined with the help of the corresponding facet with the name="head" and also there is an attribute with the same name for contentType definition.</para>
<para>All other component functionality is the same as of <emphasis role="bold">
- <property><a4j:region></property>
- </emphasis>. Its desctriprion could be found
+ <a4j:region>.
+ </emphasis> Its desctriprion could be found
<member>
- <ulink url="http://webdownload.exadel.com/downloads/ajax4jsf/documentation/tldDoc/">here</ulink>
-</member> </para>
+ <ulink url="http://webdownload.exadel.com/downloads/ajax4jsf/documentation/tldDoc/">here</ulink>.
+</member></para>
</section>
Modified: trunk/docs/userguide/en/included/poll.Desc.xml
===================================================================
--- trunk/docs/userguide/en/included/poll.Desc.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/poll.Desc.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,9 @@
<?xml version='1.0' encoding='UTF-8'?>
+<root>
<section>
+<title>Description</title>
<para>The <emphasis role="bold">
<property><a4j:poll></property>
</emphasis> component allows periodical sending of AJAX requests to the server and is used for a page update according to a specified in milliseconds time interval.</para>
-</section>
\ No newline at end of file
+</section>
+</root>
\ No newline at end of file
Modified: trunk/docs/userguide/en/included/poll.xml
===================================================================
--- trunk/docs/userguide/en/included/poll.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/poll.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<chapter>
- <section>
+
<table>
<title>Component identification parameters </title>
<tgroup cols="2">
@@ -30,7 +30,7 @@
</tbody>
</tgroup>
</table>
- </section>
+
<section>
<title>Creating on a page</title>
<para>To use this component it's necessary only to set an update interval.</para>
Modified: trunk/docs/userguide/en/included/region.Desc.xml
===================================================================
--- trunk/docs/userguide/en/included/region.Desc.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/region.Desc.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,8 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
+<root>
<section>
+<title>Description</title>
<para>
The <emphasis role="bold">
<property><a4j:region></property>
</emphasis> component defines an area that is decoded on the server after AJAX submission.
</para>
</section>
+</root>
Modified: trunk/docs/userguide/en/included/region.xml
===================================================================
--- trunk/docs/userguide/en/included/region.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/region.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<chapter>
- <section>
+
<table>
<title>Component identification parameters </title>
<tgroup cols="2">
@@ -30,7 +30,7 @@
</tbody>
</tgroup>
</table>
- </section>
+
<section>
<title>Creating on a page</title>
<para>Here is an example of the region decoding on a page. </para>
Modified: trunk/docs/userguide/en/included/repeat.desc.xml
===================================================================
--- trunk/docs/userguide/en/included/repeat.desc.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/repeat.desc.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,9 @@
<?xml version='1.0' encoding='UTF-8'?>
+<root>
<section>
+<title>Description</title>
<para>The <emphasis role="bold">
<property><a4j:repeat></property>
</emphasis> component implements a basic iteration component allowing to update a set of its children with AJAX.</para>
-</section>
\ No newline at end of file
+</section>
+</root>
\ No newline at end of file
Modified: trunk/docs/userguide/en/included/repeat.xml
===================================================================
--- trunk/docs/userguide/en/included/repeat.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/repeat.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<chapter>
- <section>
+
<para><table frame="all">
<title>Component identification parameters</title>
<tgroup cols="2">
@@ -30,7 +30,7 @@
</tbody>
</tgroup>
</table></para>
- </section>
+
<section>
<title>Creating on a page</title>
<para>The component definition on a page is the same as for the <emphasis role="italic">
Modified: trunk/docs/userguide/en/included/status.desc.xml
===================================================================
--- trunk/docs/userguide/en/included/status.desc.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/status.desc.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,9 @@
<?xml version='1.0' encoding='UTF-8'?>
+<root>
<section>
+<title>Description</title>
<para>The <emphasis role="bold">
<property><a4j:status></property>
</emphasis> component generates elements for displaying of the current AJAX requests status. There are two status modes: AJAX request is in process or finished.</para>
- </section>
\ No newline at end of file
+ </section>
+</root>
\ No newline at end of file
Modified: trunk/docs/userguide/en/included/status.xml
===================================================================
--- trunk/docs/userguide/en/included/status.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/status.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<chapter>
- <section>
+
<para><table frame="all">
<title>Component identification parameters</title>
<tgroup cols="2">
@@ -30,7 +30,7 @@
</tbody>
</tgroup>
</table></para>
- </section>
+
<section>
<title>Creating on a page</title>
<para>There are two ways to define elements indicating a request status :</para>
Modified: trunk/docs/userguide/en/included/support.Desc.xml
===================================================================
--- trunk/docs/userguide/en/included/support.Desc.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/support.Desc.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,9 @@
<?xml version='1.0' encoding='UTF-8'?>
+<root>
<section>
+<title>Description</title>
<para>The <emphasis role="bold">
<property><a4j:support></property>
</emphasis> component adds an AJAX support to any existing JSF component. It allows a component to generate asynchronous requests on the necessary event demand and with partial update of page content after a response incoming from the server.</para>
-</section>
\ No newline at end of file
+</section>
+</root>
\ No newline at end of file
Modified: trunk/docs/userguide/en/included/support.xml
===================================================================
--- trunk/docs/userguide/en/included/support.xml 2007-05-05 17:54:07 UTC (rev 177)
+++ trunk/docs/userguide/en/included/support.xml 2007-05-07 12:58:28 UTC (rev 178)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<chapter>
- <section>
+
<table>
<title>Component identification parameters</title>
<tgroup cols="2">
@@ -30,7 +30,7 @@
</tbody>
</tgroup>
</table>
- </section>
+
<section>
<title>Creating on a page</title>
<para>To use a component, place <emphasis role="bold">
17 years, 7 months
JBoss Ajax4JSF SVN: r177 - trunk/docs/userguide/en/included.
by ajax4jsf-svn-commits@lists.jboss.org
Author: vkukharchuk
Date: 2007-05-05 13:54:07 -0400 (Sat, 05 May 2007)
New Revision: 177
Modified:
trunk/docs/userguide/en/included/loadStyle.xml
Log:
Modified: trunk/docs/userguide/en/included/loadStyle.xml
===================================================================
--- trunk/docs/userguide/en/included/loadStyle.xml 2007-05-05 17:20:48 UTC (rev 176)
+++ trunk/docs/userguide/en/included/loadStyle.xml 2007-05-05 17:54:07 UTC (rev 177)
@@ -41,7 +41,7 @@
<title>Dynamical creation of a component from Java code</title>
<programlisting role="JAVA"><![CDATA[import org.ajax4jsf.ajax.html.HtmlLoadStyle;
...
-html.HtmlLoadScript myStyle = new org.ajax4jsf.ajax.html.HtmlLoadStyle();
+HtmlLoadScript myStyle = new HtmlLoadStyle();
...
]]></programlisting>
</section>
17 years, 8 months
JBoss Ajax4JSF SVN: r176 - trunk/framework/src/main/config/component.
by ajax4jsf-svn-commits@lists.jboss.org
Author: vkukharchuk
Date: 2007-05-05 13:20:48 -0400 (Sat, 05 May 2007)
New Revision: 176
Modified:
trunk/framework/src/main/config/component/commandButton.xml
trunk/framework/src/main/config/component/commandLink.xml
trunk/framework/src/main/config/component/form.xml
trunk/framework/src/main/config/component/function.xml
trunk/framework/src/main/config/component/mediaOutput.xml
trunk/framework/src/main/config/component/poll.xml
trunk/framework/src/main/config/component/push.xml
trunk/framework/src/main/config/component/repeat.xml
trunk/framework/src/main/config/component/support.xml
Log:
Modified: trunk/framework/src/main/config/component/commandButton.xml
===================================================================
--- trunk/framework/src/main/config/component/commandButton.xml 2007-05-04 21:05:27 UTC (rev 175)
+++ trunk/framework/src/main/config/component/commandButton.xml 2007-05-05 17:20:48 UTC (rev 176)
@@ -100,5 +100,10 @@
<classname>int</classname>
<description>Timeout ( in ms ) for request.</description>
</property>
+ <property>
+ <name>actionExpression</name>
+ <classname>java.lang.String</classname>
+ <description>The action method binding expression.</description>
+ </property>
</component>
</components>
\ No newline at end of file
Modified: trunk/framework/src/main/config/component/commandLink.xml
===================================================================
--- trunk/framework/src/main/config/component/commandLink.xml 2007-05-04 21:05:27 UTC (rev 175)
+++ trunk/framework/src/main/config/component/commandLink.xml 2007-05-05 17:20:48 UTC (rev 176)
@@ -81,5 +81,10 @@
<classname>int</classname>
<description>Timeout ( in ms ) for request.</description>
</property>
+ <property>
+ <name>actionExpression</name>
+ <classname>java.lang.String</classname>
+ <description>The action method binding expression.</description>
+ </property>
</component>
</components>
\ No newline at end of file
Modified: trunk/framework/src/main/config/component/form.xml
===================================================================
--- trunk/framework/src/main/config/component/form.xml 2007-05-04 21:05:27 UTC (rev 175)
+++ trunk/framework/src/main/config/component/form.xml 2007-05-05 17:20:48 UTC (rev 176)
@@ -53,6 +53,11 @@
<classname>int</classname>
<description>Timeout ( in ms ) for request.</description>
</property>
+ <property>
+ <name>prependId</name>
+ <classname>java.lang.String</classname>
+ <description>The flag indicating whether or not this form should prepend its id to its descendent id during the clientId generation process. If this flag is not set, the default value is true.</description>
+ </property>
</component>
<component generate="false">
<name>javax.faces.HtmlCommandLink</name>
@@ -93,5 +98,21 @@
&ui_command_attributes;
&html_anchor_attributes;
&html_events;
+ <property>
+ <name>actionExpression</name>
+ <classname>java.lang.String</classname>
+ <description>The action method binding expression.</description>
+ </property>
+ <property>
+ <name>disabled</name>
+ <classname>boolean</classname>
+ <description>When set for a form control, this boolean attribute disables the control for user input.</description>
+ </property>
+ <property>
+ <name>actionExpression</name>
+ <classname>java.lang.String</classname>
+ <description>The action method binding expression.</description>
+ </property>
+
</component>
</components>
\ No newline at end of file
Modified: trunk/framework/src/main/config/component/function.xml
===================================================================
--- trunk/framework/src/main/config/component/function.xml 2007-05-04 21:05:27 UTC (rev 175)
+++ trunk/framework/src/main/config/component/function.xml 2007-05-05 17:20:48 UTC (rev 176)
@@ -58,5 +58,10 @@
<name>value</name>
<classname>java.lang.Object</classname>
</property>
+ <property>
+ <name>actionExpression</name>
+ <classname>java.lang.String</classname>
+ <description>The action method binding expression.</description>
+ </property>
</component>
</components>
\ No newline at end of file
Modified: trunk/framework/src/main/config/component/mediaOutput.xml
===================================================================
--- trunk/framework/src/main/config/component/mediaOutput.xml 2007-05-04 21:05:27 UTC (rev 175)
+++ trunk/framework/src/main/config/component/mediaOutput.xml 2007-05-05 17:20:48 UTC (rev 176)
@@ -147,22 +147,23 @@
<property>
<name>cacheable</name>
<classname>boolean</classname>
- <description>cacheable</description>
+ <description>If "true", the resource is cached (on the server and the client sides).</description>
</property>
<property>
<name>expires</name>
<classname>java.util.Date</classname>
- <description>expires</description>
+ <description>The attribute allows to manage caching and defines the period after which a resource is reloaded.</description>
</property>
<property>
<name>session</name>
<classname>boolean</classname>
- <description>session</description>
+ <description>If "true", a session for an object generation is restored.</description>
</property>
<property>
<name>lastModified</name>
<classname>java.util.Date</classname>
- <description>lastModified</description>
+ <description>The attribute allows to manage caching. A browser can send request with the header "If-Modified-Since" for necessity of object reloading. If time of modification is earlier, then the framework doesn't call generation and return code 304.
+ </description>
</property>
</component>
</components>
\ No newline at end of file
Modified: trunk/framework/src/main/config/component/poll.xml
===================================================================
--- trunk/framework/src/main/config/component/poll.xml 2007-05-04 21:05:27 UTC (rev 175)
+++ trunk/framework/src/main/config/component/poll.xml 2007-05-05 17:20:48 UTC (rev 176)
@@ -49,6 +49,11 @@
&ui_command_attributes;
&ajax_component_attributes;
<property>
+ <name>actionExpression</name>
+ <classname>java.lang.String</classname>
+ <description>The action method binding expression.</description>
+ </property>
+ <property>
<name>onsubmit</name>
<classname>java.lang.String</classname>
<description>
Modified: trunk/framework/src/main/config/component/push.xml
===================================================================
--- trunk/framework/src/main/config/component/push.xml 2007-05-04 21:05:27 UTC (rev 175)
+++ trunk/framework/src/main/config/component/push.xml 2007-05-05 17:20:48 UTC (rev 176)
@@ -57,8 +57,13 @@
User bean must register this listener and send EventObject to this listener on ready.
</description>
<methodargs>java.util.EventListener.class</methodargs>
- </property>
+ </property>
<property>
+ <name>actionExpression</name>
+ <classname>java.lang.String</classname>
+ <description>The action method binding expression.</description>
+ </property>
+ <property>
<name>onsubmit</name>
<classname>java.lang.String</classname>
<description>
Modified: trunk/framework/src/main/config/component/repeat.xml
===================================================================
--- trunk/framework/src/main/config/component/repeat.xml 2007-05-04 21:05:27 UTC (rev 175)
+++ trunk/framework/src/main/config/component/repeat.xml 2007-05-05 17:20:48 UTC (rev 176)
@@ -48,21 +48,29 @@
<description>varState</description>
</property>
<property>
+ <name>componentState</name>
+ <classname>java.lang.String</classname>
+ <description>It defines EL-binding for a component state for saving or redefinition.</description>
+ </property>
+ <property>
+ <name>stateVar</name>
+ <classname>java.lang.String</classname>
+ <description>The attribute provides access to a component state on the client side.</description>
+ </property>
+ <property>
<name>value</name>
<classname>java.lang.String</classname>
<description>The current value for this component.</description>
</property>
<property>
- <name>componentState</name>
+ <name>ajaxKeys</name>
<classname>java.lang.String</classname>
- <description>componentState</description>
+ <description>This attribute defines strings that are updated after an AJAX request.</description>
</property>
-
-
<property>
- <name>ajaxKeys</name>
+ <name>rowKeyVar</name>
<classname>java.lang.String</classname>
- <description>This attribute defines strings that are updated after an AJAX request.</description>
+ <description>The attribute provides access to a row key in a Request scope.</description>
</property>
<property hidden="true">
<name>rowKey</name>
Modified: trunk/framework/src/main/config/component/support.xml
===================================================================
--- trunk/framework/src/main/config/component/support.xml 2007-05-04 21:05:27 UTC (rev 175)
+++ trunk/framework/src/main/config/component/support.xml 2007-05-05 17:20:48 UTC (rev 176)
@@ -76,6 +76,11 @@
&ui_command_attributes;
&ajax_component_attributes;
<property>
+ <name>actionExpression</name>
+ <classname>java.lang.String</classname>
+ <description>The action method binding expression.</description>
+ </property>
+ <property>
<name>onsubmit</name>
<classname>java.lang.String</classname>
<description>
17 years, 8 months
JBoss Ajax4JSF SVN: r175 - trunk/framework/src/main/javascript/ajaxjsf.
by ajax4jsf-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-05-04 17:05:27 -0400 (Fri, 04 May 2007)
New Revision: 175
Modified:
trunk/framework/src/main/javascript/ajaxjsf/JSFAJAX.js
Log:
fix javascript error - 'no such method firstIndexOf'
Modified: trunk/framework/src/main/javascript/ajaxjsf/JSFAJAX.js
===================================================================
--- trunk/framework/src/main/javascript/ajaxjsf/JSFAJAX.js 2007-05-04 17:45:25 UTC (rev 174)
+++ trunk/framework/src/main/javascript/ajaxjsf/JSFAJAX.js 2007-05-04 21:05:27 UTC (rev 175)
@@ -354,7 +354,7 @@
var cref = href;;
if(sessionid>0){
cref = href.substring(0,sessionid);
- var params = href.firstIndexOf("?");
+ var params = href.lastIndexOf("?");
if(params>sessionid){
cref=cref+href.substring(params);
}
17 years, 8 months
JBoss Ajax4JSF SVN: r174 - trunk/framework/src/main/java/org/ajax4jsf/framework/ajax/xmlfilter.
by ajax4jsf-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-05-04 13:45:25 -0400 (Fri, 04 May 2007)
New Revision: 174
Modified:
trunk/framework/src/main/java/org/ajax4jsf/framework/ajax/xmlfilter/BaseFilter.java
Log:
Make constants public
Modified: trunk/framework/src/main/java/org/ajax4jsf/framework/ajax/xmlfilter/BaseFilter.java
===================================================================
--- trunk/framework/src/main/java/org/ajax4jsf/framework/ajax/xmlfilter/BaseFilter.java 2007-05-04 17:25:37 UTC (rev 173)
+++ trunk/framework/src/main/java/org/ajax4jsf/framework/ajax/xmlfilter/BaseFilter.java 2007-05-04 17:45:25 UTC (rev 174)
@@ -56,7 +56,7 @@
*/
public abstract class BaseFilter implements Filter {
- private static final String AJAX_PUSH_KEY_HEADER = "Ajax-Push-Key";
+ public static final String AJAX_PUSH_KEY_HEADER = "Ajax-Push-Key";
private static final Log log = LogFactory.getLog(BaseFilter.class);
@@ -72,11 +72,11 @@
private boolean rewriteid = false;
- private static final String REWRITEID_PARAMETER = "rewriteid";
+ public static final String REWRITEID_PARAMETER = "rewriteid";
- private static final String STYLESHEET_PARAMETER = "xsl";
+ public static final String STYLESHEET_PARAMETER = "xsl";
- private static final String ABSOLUTE_TAGS_PARAMETER = "absolute-attributes";
+ public static final String ABSOLUTE_TAGS_PARAMETER = "absolute-attributes";
// private WebXml webXml;
// private String xsl;
17 years, 8 months
JBoss Ajax4JSF SVN: r173 - trunk/docs/userguide/en/modules.
by ajax4jsf-svn-commits@lists.jboss.org
Author: vkukharchuk
Date: 2007-05-04 13:25:37 -0400 (Fri, 04 May 2007)
New Revision: 173
Modified:
trunk/docs/userguide/en/modules/a4jUGenvsettings.xml
trunk/docs/userguide/en/modules/a4jUGstart.xml
Log:
Modified: trunk/docs/userguide/en/modules/a4jUGenvsettings.xml
===================================================================
--- trunk/docs/userguide/en/modules/a4jUGenvsettings.xml 2007-05-04 14:17:56 UTC (rev 172)
+++ trunk/docs/userguide/en/modules/a4jUGenvsettings.xml 2007-05-04 17:25:37 UTC (rev 173)
@@ -190,6 +190,6 @@
</section>
<section id="Portlet Support">
<title>Portlet Support</title>
- <para><property>Portlets</property> has no full support now. There is a couple of problems has to be solved before.</para>
+ <para><property>Portlets</property> have support since version Ajax4jsf 1.1.1. Provide your feedback on compatible with Ajax4jsf if you have problems.</para>
</section>
</chapter>
Modified: trunk/docs/userguide/en/modules/a4jUGstart.xml
===================================================================
--- trunk/docs/userguide/en/modules/a4jUGstart.xml 2007-05-04 14:17:56 UTC (rev 172)
+++ trunk/docs/userguide/en/modules/a4jUGstart.xml 2007-05-04 17:25:37 UTC (rev 173)
@@ -42,13 +42,17 @@
</listitem>
<listitem>
- Copy <emphasis role="italic"><property>"ajax4jsf.jar"</property></emphasis> and <emphasis role="italic"><property>"oscache-2.3.2jar"</property></emphasis> files into the <emphasis role="italic">
+ Copy <emphasis role="italic"><property>"ajax4jsf.jar"</property></emphasis> and <emphasis role="italic"><property>"oscache-2.3.2.jar"</property></emphasis> files into the <emphasis role="italic">
<property>"WEB-INF/lib"</property>
</emphasis> folder of your application.
</listitem>
+ <note>
+ <title>Note:</title>
+ <para>Starting from Ajax4jsf 1.1.1, the oscache library is not required to be in the classpath anymore.
+ </para>
+ </note>
<listitem>
-
Add the following content into the <emphasis role="italic">
<property>"WEB-INF/web.xml"</property>
</emphasis> file of your application:
17 years, 8 months