JBoss Rich Faces SVN: r545 - trunk/richfaces/panel/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: ishabalov
Date: 2007-04-24 18:53:47 -0400 (Tue, 24 Apr 2007)
New Revision: 545
Modified:
trunk/richfaces/panel/src/main/resources/org/richfaces/renderkit/html/css/panel.xcss
Log:
Removed dumb 100% width
Modified: trunk/richfaces/panel/src/main/resources/org/richfaces/renderkit/html/css/panel.xcss
===================================================================
--- trunk/richfaces/panel/src/main/resources/org/richfaces/renderkit/html/css/panel.xcss 2007-04-24 20:39:54 UTC (rev 544)
+++ trunk/richfaces/panel/src/main/resources/org/richfaces/renderkit/html/css/panel.xcss 2007-04-24 22:53:47 UTC (rev 545)
@@ -8,7 +8,6 @@
border-width: 1px;
border-style: solid;
padding : 1px;
- width:100%;
}
.dr-pnl-h{
17 years, 8 months
JBoss Rich Faces SVN: r544 - trunk/richfaces-samples/gmap-sample.
by richfaces-svn-commits@lists.jboss.org
Author: SergeySmirnov
Date: 2007-04-24 16:39:54 -0400 (Tue, 24 Apr 2007)
New Revision: 544
Modified:
trunk/richfaces-samples/gmap-sample/pom.xml
Log:
el-api dependancy are added
Modified: trunk/richfaces-samples/gmap-sample/pom.xml
===================================================================
--- trunk/richfaces-samples/gmap-sample/pom.xml 2007-04-24 20:38:50 UTC (rev 543)
+++ trunk/richfaces-samples/gmap-sample/pom.xml 2007-04-24 20:39:54 UTC (rev 544)
@@ -12,9 +12,24 @@
<dependencies>
<dependency>
<groupId>org.richfaces</groupId>
+ <artifactId>common</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces</groupId>
<artifactId>gmap</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>el-impl</groupId>
+ <artifactId>el-impl</artifactId>
+ <version>1.0</version>
+ </dependency>
</dependencies>
<build>
<finalName>gmap-sample</finalName>
17 years, 8 months
JBoss Rich Faces SVN: r543 - in trunk/richfaces/gmap/src/main: resources/org/richfaces/renderkit/html/script and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: SergeySmirnov
Date: 2007-04-24 16:38:50 -0400 (Tue, 24 Apr 2007)
New Revision: 543
Modified:
trunk/richfaces/gmap/src/main/config/component/gmap.xml
trunk/richfaces/gmap/src/main/resources/org/richfaces/renderkit/html/script/gmap.js
trunk/richfaces/gmap/src/main/templates/gmap.jspx
Log:
added oninit attribute
Modified: trunk/richfaces/gmap/src/main/config/component/gmap.xml
===================================================================
--- trunk/richfaces/gmap/src/main/config/component/gmap.xml 2007-04-24 18:30:12 UTC (rev 542)
+++ trunk/richfaces/gmap/src/main/config/component/gmap.xml 2007-04-24 20:38:50 UTC (rev 543)
@@ -36,6 +36,14 @@
<defaultvalue>"internal"</defaultvalue>
</property>
<property>
+ <name>oninit</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Javascript code invoked just after the Google Map object is initiated.
+ </description>
+ <defaultvalue>""</defaultvalue>
+ </property>
+ <property>
<name>gmapVar</name>
<classname>java.lang.String</classname>
<description>
Modified: trunk/richfaces/gmap/src/main/resources/org/richfaces/renderkit/html/script/gmap.js
===================================================================
--- trunk/richfaces/gmap/src/main/resources/org/richfaces/renderkit/html/script/gmap.js 2007-04-24 18:30:12 UTC (rev 542)
+++ trunk/richfaces/gmap/src/main/resources/org/richfaces/renderkit/html/script/gmap.js 2007-04-24 20:38:50 UTC (rev 543)
@@ -1,18 +1,11 @@
+
function __addLoadEvent(func) {
- var oldonload = window.onload;
- if (typeof window.onload != 'function') {
- window.onload = func;
- } else {
- window.onload = function() {
- if (oldonload) {
- oldonload();
- }
- func();
- }
- }
+Event.observe(window, "load", func );
}
+
+
function __initGmapdiv(mapVar, clid,warningMessage ) {
var mapdiv = document.getElementById(clid);
if (GBrowserIsCompatible()) {
Modified: trunk/richfaces/gmap/src/main/templates/gmap.jspx
===================================================================
--- trunk/richfaces/gmap/src/main/templates/gmap.jspx 2007-04-24 18:30:12 UTC (rev 542)
+++ trunk/richfaces/gmap/src/main/templates/gmap.jspx 2007-04-24 20:38:50 UTC (rev 543)
@@ -17,6 +17,7 @@
<c:set var="lat" value="#{component.attributes['lat']}"/>
<c:set var="lng" value="#{component.attributes['lng']}"/>
<c:set var="mapType" value="#{component.attributes['mapType']}"/>
+ <c:set var="oninit" value="#{component.attributes['oninit']}"/>
<c:set var="warningMessage" value="#{component.attributes['warningMessage']}"/>
<c:set var="isGScale" value="#{component.attributes['showGScaleControl']}"/>
<c:set var="isGMapType" value="#{component.attributes['showGMapTypeControl']}"/>
@@ -25,8 +26,8 @@
<c:set var="enableInfoWindow" value="#{component.attributes['enableInfoWindow']}"/>
<c:set var="enableDoubleClickZoom" value="#{component.attributes['enableDoubleClickZoom']}"/>
<c:set var="enableContinuousZoom" value="#{component.attributes['enableContinuousZoom']}"/>
- <h:styles>css/gmap.xcss</h:styles>
- <h:scripts>script/gmap.js</h:scripts>
+ <h:styles>css/gmap.xcss</h:styles>
+ <h:scripts>new org.ajax4jsf.framework.resource.PrototypeScript(),script/gmap.js</h:scripts>
<div id="#{clientId}" class="dr-gmap rich-gmap #{component.attributes['styleClass']}"
x:passThruWithExclusions="id, styleClass"
@@ -40,6 +41,7 @@
function applyGmapparam_#{map}() {
__applyGmapparam("#{map}",#{lat}, #{lng},#{zoom},#{mapType},#{enableDragging},#{enableInfoWindow},#{enableDoubleClickZoom},#{enableContinuousZoom},#{isGMapType},#{isGScale},#{isGLarge});
}__addLoadEvent(initGMap_#{map});__addLoadEvent(applyGmapparam_#{map});
+var func = new Function('event', '#{oninit}'); __addLoadEvent(func);
//]]>
</script>
</div>
17 years, 8 months
JBoss Rich Faces SVN: r542 - trunk/sandbox/scrollable-grid.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-04-24 14:30:12 -0400 (Tue, 24 Apr 2007)
New Revision: 542
Modified:
trunk/sandbox/scrollable-grid/
Log:
Property changes on: trunk/sandbox/scrollable-grid
___________________________________________________________________
Name: svn:ignore
+ .project
17 years, 8 months
JBoss Rich Faces SVN: r541 - trunk/sandbox/scrollable-grid/target.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-04-24 14:25:18 -0400 (Tue, 24 Apr 2007)
New Revision: 541
Modified:
trunk/sandbox/scrollable-grid/target/
Log:
Property changes on: trunk/sandbox/scrollable-grid/target
___________________________________________________________________
Name: svn:ignore
+ classes
17 years, 8 months
JBoss Rich Faces SVN: r540 - trunk/sandbox/scrollable-grid.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-04-24 14:23:28 -0400 (Tue, 24 Apr 2007)
New Revision: 540
Removed:
trunk/sandbox/scrollable-grid/.classpath
Log:
Deleted: trunk/sandbox/scrollable-grid/.classpath
===================================================================
--- trunk/sandbox/scrollable-grid/.classpath 2007-04-24 18:12:19 UTC (rev 539)
+++ trunk/sandbox/scrollable-grid/.classpath 2007-04-24 18:23:28 UTC (rev 540)
@@ -1,42 +0,0 @@
-<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
- <classpathentry kind="src" path="src/test/java" output="target/test-classes"/>
- <classpathentry kind="src" path="target/generated-component/resources" excluding="**/*.java"/>
- <classpathentry kind="output" path="target/classes"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var" path="M2_REPO/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-codec/commons-codec/1.3/commons-codec-1.3.jar"/>
- <classpathentry kind="var" path="M2_REPO/jdom/jdom/1.0/jdom-1.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/ajax4jsf/ajax4jsf/1.1.1-SNAPSHOT/ajax4jsf-1.1.1-SNAPSHOT.jar" sourcepath="M2_REPO/org/ajax4jsf/ajax4jsf/1.1.1-SNAPSHOT/ajax4jsf-1.1.1-SNAPSHOT-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/ajax4jsf/test/1.1.1-SNAPSHOT/test-1.1.1-SNAPSHOT.jar" sourcepath="M2_REPO/org/ajax4jsf/test/1.1.1-SNAPSHOT/test-1.1.1-SNAPSHOT-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/el/el-api/1.0/el-api-1.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/servlet/jsp-api/2.0/jsp-api-2.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-digester/commons-digester/1.5/commons-digester-1.5.jar"/>
- <classpathentry kind="var" path="M2_REPO/jaxen/jaxen/1.1-beta-11/jaxen-1.1-beta-11.jar"/>
- <classpathentry kind="var" path="M2_REPO/el-impl/el-impl/1.0/el-impl-1.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/htmlunit/htmlunit/1.10/htmlunit-1.10.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/shale/shale-test/1.0.4/shale-test-1.0.4.jar"/>
- <classpathentry kind="var" path="M2_REPO/xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.jar"/>
- <classpathentry kind="var" path="M2_REPO/rhino/js/1.6R2/js-1.6R2.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/sun/facelets/jsf-facelets/1.1.11/jsf-facelets-1.1.11.jar"/>
- <classpathentry kind="var" path="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/faces/jsf-impl/1.1_02/jsf-impl-1.1_02.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/servlet/jstl/1.0/jstl-1.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/xalan/xalan/2.6.0/xalan-2.6.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.6/commons-beanutils-1.6.jar"/>
- <classpathentry kind="var" path="M2_REPO/xom/xom/1.0b3/xom-1.0b3.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/2.1/commons-collections-2.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-io/commons-io/1.2/commons-io-1.2.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/ccil/cowan/tagsoup/tagsoup/0.9.7/tagsoup-0.9.7.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/faces/jsf-api/1.1_02/jsf-api-1.1_02.jar"/>
- <classpathentry kind="var" path="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar"/>
- <classpathentry kind="var" path="M2_REPO/nekohtml/nekohtml/0.9.5/nekohtml-0.9.5.jar"/>
- <classpathentry kind="var" path="M2_REPO/opensymphony/oscache/2.3/oscache-2.3.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar"/>
-</classpath>
\ No newline at end of file
17 years, 8 months
JBoss Rich Faces SVN: r539 - trunk/richfaces/tree/src/main/java/org/richfaces/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-04-24 14:12:19 -0400 (Tue, 24 Apr 2007)
New Revision: 539
Modified:
trunk/richfaces/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java
Log:
http://jira.jboss.com/jira/browse/RF-111 update: switched back to ajaxKeys.clear()
Modified: trunk/richfaces/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java
===================================================================
--- trunk/richfaces/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java 2007-04-24 18:10:08 UTC (rev 538)
+++ trunk/richfaces/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java 2007-04-24 18:12:19 UTC (rev 539)
@@ -167,7 +167,7 @@
}
}
- tree.setAjaxKeys(null);
+ ajaxKeys.clear();
}
} catch (Exception e) {
throw new FacesException(e);
17 years, 8 months
JBoss Rich Faces SVN: r538 - trunk/sandbox/scrollable-grid.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-04-24 14:10:08 -0400 (Tue, 24 Apr 2007)
New Revision: 538
Modified:
trunk/sandbox/scrollable-grid/generatescript.xml
Log:
Modified: trunk/sandbox/scrollable-grid/generatescript.xml
===================================================================
--- trunk/sandbox/scrollable-grid/generatescript.xml 2007-04-24 18:05:43 UTC (rev 537)
+++ trunk/sandbox/scrollable-grid/generatescript.xml 2007-04-24 18:10:08 UTC (rev 538)
@@ -6,8 +6,7 @@
Assemble all javaScript library files to one data-grid.js
maksim
-
- modified by anton for scrollable-grid 23.04.2007
+
====================================================================== -->
<project name="assemblescripts" default="merge-scripts">
@@ -17,9 +16,9 @@
</description>
<target name="merge-scripts">
- <!-- <property name="script-path" value="org/richfaces/renderkit/html/scripts"></property> -->
+ <property name="script-path" value="org/richfaces/renderkit/html/scripts"></property>
<property name="gen-script-name" value="scrollable-grid.js"></property>
- <property name="gen-script-full-name" value="${target-dir}/${gen-script-name}"></property>
+ <property name="gen-script-full-name" value="${target-dir}/${script-path}/${gen-script-name}"></property>
<concat append="false" binary="false" destfile="${gen-script-full-name}">
<filelist dir="${resources-dir}">
<file name="/common/prototype/ext/extend.js"/>
17 years, 8 months
JBoss Rich Faces SVN: r537 - trunk/sandbox-samples/scrollable-grid-demo/src.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-04-24 14:05:43 -0400 (Tue, 24 Apr 2007)
New Revision: 537
Modified:
trunk/sandbox-samples/scrollable-grid-demo/src/
Log:
Property changes on: trunk/sandbox-samples/scrollable-grid-demo/src
___________________________________________________________________
Name: svn:ignore
+ test
17 years, 8 months
JBoss Rich Faces SVN: r536 - trunk/sandbox-samples/scrollable-grid-demo.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-04-24 14:05:33 -0400 (Tue, 24 Apr 2007)
New Revision: 536
Modified:
trunk/sandbox-samples/scrollable-grid-demo/
Log:
Property changes on: trunk/sandbox-samples/scrollable-grid-demo
___________________________________________________________________
Name: svn:ignore
+ .settings
target
.classpath
.project
17 years, 8 months