JBoss Rich Faces SVN: r14004 - trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2009-05-04 09:39:21 -0400 (Mon, 04 May 2009)
New Revision: 14004
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
https://jira.jboss.org/jira/browse/RF-6846
Modified: trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
--- trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2009-05-04 13:24:45 UTC (rev 14003)
+++ trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2009-05-04 13:39:21 UTC (rev 14004)
@@ -777,7 +777,7 @@
clear: function(entry, isCancelButton) {
if (this.disabled) return;
if (entry) {
- if (isCancelButton || entry.state == FileUploadEntry.UPLOAD_SUCCESS || entry.state == FileUploadEntry.INITIALIZED || entry.state == FileUploadEntry.UPLOAD_CANCELED) {
+ if (isCancelButton || entry.state == FileUploadEntry.UPLOAD_SUCCESS || entry.state == FileUploadEntry.INITIALIZED) {
this.remove(entry);
if(this.events.onclear) {
this.element.fire("rich:onclear", {entry : entry});
15 years, 8 months
JBoss Rich Faces SVN: r14003 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces: dataTable and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2009-05-04 09:24:45 -0400 (Mon, 04 May 2009)
New Revision: 14003
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/modifiableModel.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/examples/flashSampleDynamic.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/usage.xhtml
Log:
descriptions added
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/modifiableModel.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/modifiableModel.xhtml 2009-05-04 11:38:21 UTC (rev 14002)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/modifiableModel.xhtml 2009-05-04 13:24:45 UTC (rev 14003)
@@ -8,8 +8,15 @@
<ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
<p>
- Descriptions
+ This is another sample of <b>ExtendedDataModel</b> implementation which additionally shows
+ how to implement <b>sorting and filtering in your model</b>.
</p>
+ <p>
+ Model class should extend <b>ExtendedDataTableModel</b> and additionally implement
+ <b>Modifiable interface</b>. This interface defines <b>modify</b> method. This
+ method will be called with lists of sort and filter fields as parameters and should perform sorting and
+ filtering according to the fields.
+ </p>
<div class="sample-container" >
<ui:include src="/richfaces/dataTable/examples/modifiableModel.xhtml"/>
@@ -19,8 +26,8 @@
</ui:include>
<ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/WEB-INF/src/org/richfaces/demo/extendeddatamodel/AuctionDataModel.java"/>
- <ui:param name="openlabel" value="View AuctionDataModel.java Source" />
+ <ui:param name="sourcepath" value="/WEB-INF/src/org/richfaces/demo/modifiableModel/HibernateDataModel.java"/>
+ <ui:param name="openlabel" value="View HibernateDataModel.java Source" />
<ui:param name="sourcetype" value="java" />
</ui:include>
</div>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable.xhtml 2009-05-04 11:38:21 UTC (rev 14002)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable.xhtml 2009-05-04 13:24:45 UTC (rev 14003)
@@ -15,12 +15,12 @@
<rich:tab label="Extended Data Model" name="dataModel">
<ui:include src="/richfaces/dataTable/extended-data-model.xhtml"/>
</rich:tab>
+ <rich:tab label="Modifiable Data Model" name="modifiableDataModel">
+ <ui:include src="/richfaces/dataTable/modifiableModel.xhtml"/>
+ </rich:tab>
<rich:tab label="Edit Table with ModalPanel" name="editDataTable">
<ui:include src="/richfaces/dataTable/editDataTable.xhtml"/>
</rich:tab>
- <rich:tab label="Modifiable Data Model" name="modifiableDataModel">
- <ui:include src="/richfaces/dataTable/modifiableModel.xhtml"/>
- </rich:tab>
<rich:tab name="info" label="Tag Information">
<rich:insert
src="/WEB-INF/#{componentNavigator.currentComponent.tagInfoLocation}"
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/usage.xhtml 2009-05-04 11:38:21 UTC (rev 14002)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/usage.xhtml 2009-05-04 13:24:45 UTC (rev 14003)
@@ -28,6 +28,12 @@
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath" value="/richfaces/fileUpload/examples/fileUpload.xhtml"/>
</ui:include>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/WEB-INF/src/org/richfaces/demo/fileUpload/FileUploadBean.java"/>
+ <ui:param name="openlabel" value="View FileUploadBean.java Source" />
+ <ui:param name="sourcetype" value="java" />
+ </ui:include>
+
</div>
</fieldset>
<fieldset class="demo_fieldset">
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/examples/flashSampleDynamic.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/examples/flashSampleDynamic.xhtml 2009-05-04 11:38:21 UTC (rev 14002)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/examples/flashSampleDynamic.xhtml 2009-05-04 13:24:45 UTC (rev 14003)
@@ -7,9 +7,6 @@
<p>SWF Movie:</p>
-
- <a4j:loadScript src="resource:///org/richfaces/renderkit/html/js/swfobject.js" />
-
<a4j:outputPanel id="flashPanelDynamic">
<a4j:mediaOutput element="a" id="swfLink" style="display: none;" cacheable="false" session="true"
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/usage.xhtml 2009-05-04 11:38:21 UTC (rev 14002)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/usage.xhtml 2009-05-04 13:24:45 UTC (rev 14003)
@@ -61,6 +61,11 @@
</ui:include>
</div>
</fieldset>
+ <p class="note">
+ <b>Note for SWF sample</b>. Using scripts loading strategy different from "ALL" you should use additionally load swfObject script by using:
+ <i><a4j:loadScript src="resource:///org/richfaces/renderkit/html/js/swfobject.js" /> </i>
+ </p>
+
</ui:define>
</ui:composition>
15 years, 8 months
JBoss Rich Faces SVN: r14002 - in trunk/examples/photoalbum/source/ejb/sql: short and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2009-05-04 07:38:21 -0400 (Mon, 04 May 2009)
New Revision: 14002
Modified:
trunk/examples/photoalbum/source/ejb/sql/full/import.sql
trunk/examples/photoalbum/source/ejb/sql/short/import.sql
Log:
Modified: trunk/examples/photoalbum/source/ejb/sql/full/import.sql
===================================================================
--- trunk/examples/photoalbum/source/ejb/sql/full/import.sql 2009-05-04 11:25:17 UTC (rev 14001)
+++ trunk/examples/photoalbum/source/ejb/sql/full/import.sql 2009-05-04 11:38:21 UTC (rev 14002)
@@ -2,14 +2,14 @@
INSERT INTO User(id, firstname, secondname, email, login, passwordHash, birthdate, sex, hasAvatar, preDefined) VALUES (2, 'Nick', 'Curtis', 'nkurtis(a)iba.com', 'Viking', '8cb2237d0679ca88db6464eac60da96345513964', '1978-01-08', 1, 0, true);
INSERT INTO User(id, firstname, secondname, email, login, passwordHash, birthdate, sex, hasAvatar, preDefined) VALUES (3, 'John', 'Smith', 'jsmith(a)jboss.com', 'Noname', '8cb2237d0679ca88db6464eac60da96345513964', '1970-01-08', 1, 0, true);
-INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (1, 'Nature', 'Nature pictures', 1, '2009-12-18', true);
-INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (2, 'Sport', 'Nature pictures', 1, '2009-12-18', true);
-INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (3, 'Water', 'Nature pictures', 2, '2009-12-18', true);
-INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (4, 'Flowers', 'Nature pictures', 3, '2009-12-18', true);
+INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (1, 'Nature', 'Nature images', 1, '2009-12-18', true);
+INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (2, 'Sport', 'Nature images', 1, '2009-12-18', true);
+INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (3, 'Water', 'Nature images', 2, '2009-12-18', true);
+INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (4, 'Flowers', 'Nature images', 3, '2009-12-18', true);
---------------------------------------------------------------------
-- ALBUM - Animals"
---------------------------------------------------------------------
-INSERT INTO Album(id, name, description, shelf_id, created) VALUES (0, 'Animals', 'Animals pictures', 1, '2009-12-18');
+INSERT INTO Album(id, name, description, shelf_id, created) VALUES (0, 'Animals', 'Animals images', 1, '2009-12-18');
INSERT INTO MetaTag(id, tag) VALUES (0, 'Animals');
INSERT INTO Image(id, name, path, description, created, album_id, cameraModel, width, size, height, uploaded, allowComments, showMetaInfo) VALUES (0, '1750979205_6e51b47ce9_o.jpg', '1750979205_6e51b47ce9_o.jpg', 'Animals - 1750979205_6e51b47ce9_o.jpg image', '2009-12-18', 0, 'Canon EOS 450D', 1024, 1917, 768, '2009-12-01', true, true);
@@ -73,7 +73,7 @@
---------------------------------------------------------------------
-- ALBUM - Cars"
---------------------------------------------------------------------
-INSERT INTO Album(id, name, description, shelf_id, created) VALUES (1, 'Cars', 'Cars pictures', 3, '2009-12-18');
+INSERT INTO Album(id, name, description, shelf_id, created) VALUES (1, 'Cars', 'Cars images', 3, '2009-12-18');
INSERT INTO MetaTag(id, tag) VALUES (1, 'Cars');
INSERT INTO Image(id, name, path, description, created, album_id, cameraModel, width, size, height, uploaded, allowComments, showMetaInfo) VALUES (16, '190193308_ce2a4de5fa_o.jpg', '190193308_ce2a4de5fa_o.jpg', 'Cars - 190193308_ce2a4de5fa_o.jpg image', '2009-12-18', 1, 'Nikon D60', 1024, 1917, 768, '2009-12-01', true, true);
@@ -134,7 +134,7 @@
---------------------------------------------------------------------
-- ALBUM - Monuments and just buildings"
---------------------------------------------------------------------
-INSERT INTO Album(id, name, description, shelf_id, created) VALUES (2, 'Monuments and just buildings', 'Monuments and just buildings pictures', 4, '2009-12-18');
+INSERT INTO Album(id, name, description, shelf_id, created) VALUES (2, 'Monuments and just buildings', 'Monuments and just buildings images', 4, '2009-12-18');
INSERT INTO MetaTag(id, tag) VALUES (2, 'Monuments and just buildings');
INSERT INTO Image(id, name, path, description, created, album_id, cameraModel, width, size, height, uploaded, allowComments, showMetaInfo) VALUES (30, '05[303x457].jpg', '05[303x457].jpg', 'Monuments and just buildings - 05[303x457].jpg image', '2009-12-18', 2, 'Sony Alpha DSLR-A350', 1024, 1917, 768, '2009-12-01', true, true);
@@ -229,7 +229,7 @@
---------------------------------------------------------------------
-- ALBUM - Nature"
---------------------------------------------------------------------
-INSERT INTO Album(id, name, description, shelf_id, created) VALUES (3, 'Nature', 'Nature pictures', 2, '2009-12-18');
+INSERT INTO Album(id, name, description, shelf_id, created) VALUES (3, 'Nature', 'Nature images', 2, '2009-12-18');
INSERT INTO MetaTag(id, tag) VALUES (3, 'Nature');
INSERT INTO Image(id, name, path, description, created, album_id, cameraModel, width, size, height, uploaded, allowComments, showMetaInfo) VALUES (51, '01[303x202].jpg', '01[303x202].jpg', 'Nature - 01[303x202].jpg image', '2009-12-18', 3, 'LG LDC-A310', 1024, 1917, 768, '2009-12-01', true, true);
@@ -320,7 +320,7 @@
---------------------------------------------------------------------
-- ALBUM - Portrait"
---------------------------------------------------------------------
-INSERT INTO Album(id, name, description, shelf_id, created) VALUES (4, 'Portrait', 'Portrait pictures', 3, '2009-12-18');
+INSERT INTO Album(id, name, description, shelf_id, created) VALUES (4, 'Portrait', 'Portrait images', 3, '2009-12-18');
INSERT INTO MetaTag(id, tag) VALUES (4, 'Portrait');
INSERT INTO Image(id, name, path, description, created, album_id, cameraModel, width, size, height, uploaded, allowComments, showMetaInfo) VALUES (73, '02[303x202].jpg', '02[303x202].jpg', 'Portrait - 02[303x202].jpg image', '2009-12-18', 4, 'BBK DP810', 1024, 1917, 768, '2009-12-01', true, true);
@@ -403,7 +403,7 @@
---------------------------------------------------------------------
-- ALBUM - Sport"
---------------------------------------------------------------------
-INSERT INTO Album(id, name, description, shelf_id, created) VALUES (5, 'Sport', 'Sport pictures', 4, '2009-12-18');
+INSERT INTO Album(id, name, description, shelf_id, created) VALUES (5, 'Sport', 'Sport images', 4, '2009-12-18');
INSERT INTO MetaTag(id, tag) VALUES (5, 'Sport');
INSERT INTO Image(id, name, path, description, created, album_id, cameraModel, width, size, height, uploaded, allowComments, showMetaInfo) VALUES (90, '103193233_860c47c909_o.jpg', '103193233_860c47c909_o.jpg', 'Sport - 103193233_860c47c909_o.jpg image', '2009-12-18', 5, 'LG LDC-A310', 1024, 1917, 768, '2009-12-01', true, true);
@@ -467,7 +467,7 @@
---------------------------------------------------------------------
-- ALBUM - Water"
---------------------------------------------------------------------
-INSERT INTO Album(id, name, description, shelf_id, created) VALUES (6, 'Water', 'Water pictures', 1, '2009-12-18');
+INSERT INTO Album(id, name, description, shelf_id, created) VALUES (6, 'Water', 'Water images', 1, '2009-12-18');
INSERT INTO MetaTag(id, tag) VALUES (6, 'Water');
INSERT INTO Image(id, name, path, description, created, album_id, cameraModel, width, size, height, uploaded, allowComments, showMetaInfo) VALUES (105, '117215467_5cccef9aaa_b.jpg', '117215467_5cccef9aaa_b.jpg', 'Water - 117215467_5cccef9aaa_b.jpg image', '2009-12-18', 6, 'Sony CyberShot DSC-T77', 1024, 1917, 768, '2009-12-01', true, true);
Modified: trunk/examples/photoalbum/source/ejb/sql/short/import.sql
===================================================================
--- trunk/examples/photoalbum/source/ejb/sql/short/import.sql 2009-05-04 11:25:17 UTC (rev 14001)
+++ trunk/examples/photoalbum/source/ejb/sql/short/import.sql 2009-05-04 11:38:21 UTC (rev 14002)
@@ -2,14 +2,14 @@
INSERT INTO User(id, firstname, secondname, email, login, passwordHash, birthdate, sex, hasAvatar, preDefined) VALUES (2, 'Nick', 'Curtis', 'nkurtis(a)iba.com', 'Viking', '8cb2237d0679ca88db6464eac60da96345513964', '1978-01-08', 1, 0, true);
INSERT INTO User(id, firstname, secondname, email, login, passwordHash, birthdate, sex, hasAvatar, preDefined) VALUES (3, 'John', 'Smith', 'jsmith(a)jboss.com', 'Noname', '8cb2237d0679ca88db6464eac60da96345513964', '1970-01-08', 1, 0, true);
-INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (1, 'Nature', 'Nature pictures', 1, '2009-12-18', true);
-INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (2, 'Sport', 'Nature pictures', 1, '2009-12-18', true);
-INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (3, 'Water', 'Nature pictures', 2, '2009-12-18', true);
-INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (4, 'Flowers', 'Nature pictures', 3, '2009-12-18', true);
+INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (1, 'Nature', 'Nature images', 1, '2009-12-18', true);
+INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (2, 'Sport', 'Nature images', 1, '2009-12-18', true);
+INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (3, 'Water', 'Nature images', 2, '2009-12-18', true);
+INSERT INTO Shelf(id, name, description, owner_id, created, shared) VALUES (4, 'Flowers', 'Nature images', 3, '2009-12-18', true);
---------------------------------------------------------------------
-- ALBUM - Animals"
---------------------------------------------------------------------
-INSERT INTO Album(id, name, description, shelf_id, created) VALUES (0, 'Animals', 'Animals pictures', 1, '2009-12-18');
+INSERT INTO Album(id, name, description, shelf_id, created) VALUES (0, 'Animals', 'Animals images', 1, '2009-12-18');
INSERT INTO MetaTag(id, tag) VALUES (0, 'Animals');
INSERT INTO Image(id, name, path, description, created, album_id, cameraModel, width, size, height, uploaded, allowComments, showMetaInfo) VALUES (0, '1750979205_6e51b47ce9_o.jpg', '1750979205_6e51b47ce9_o.jpg', 'Animals - 1750979205_6e51b47ce9_o.jpg image', '2009-12-18', 0, 'Canon EOS 450D', 1024, 1917, 768, '2009-12-01', true, true);
@@ -34,7 +34,7 @@
---------------------------------------------------------------------
-- ALBUM - Cars"
---------------------------------------------------------------------
-INSERT INTO Album(id, name, description, shelf_id, created) VALUES (1, 'Cars', 'Cars pictures', 3, '2009-12-18');
+INSERT INTO Album(id, name, description, shelf_id, created) VALUES (1, 'Cars', 'Cars images', 3, '2009-12-18');
INSERT INTO MetaTag(id, tag) VALUES (1, 'Cars');
INSERT INTO Image(id, name, path, description, created, album_id, cameraModel, width, size, height, uploaded, allowComments, showMetaInfo) VALUES (4, '190193308_ce2a4de5fa_o.jpg', '190193308_ce2a4de5fa_o.jpg', 'Cars - 190193308_ce2a4de5fa_o.jpg image', '2009-12-18', 1, 'Sony Alpha DSLR-A350', 1024, 1917, 768, '2009-12-01', true, true);
@@ -57,7 +57,7 @@
---------------------------------------------------------------------
-- ALBUM - Monuments and just buildings"
---------------------------------------------------------------------
-INSERT INTO Album(id, name, description, shelf_id, created) VALUES (2, 'Monuments and just buildings', 'Monuments and just buildings pictures', 4, '2009-12-18');
+INSERT INTO Album(id, name, description, shelf_id, created) VALUES (2, 'Monuments and just buildings', 'Monuments and just buildings images', 4, '2009-12-18');
INSERT INTO MetaTag(id, tag) VALUES (2, 'Monuments and just buildings');
INSERT INTO Image(id, name, path, description, created, album_id, cameraModel, width, size, height, uploaded, allowComments, showMetaInfo) VALUES (8, '05[303x457].jpg', '05[303x457].jpg', 'Monuments and just buildings - 05[303x457].jpg image', '2009-12-18', 2, 'BBK DP810', 1024, 1917, 768, '2009-12-01', true, true);
@@ -77,7 +77,7 @@
---------------------------------------------------------------------
-- ALBUM - Nature"
---------------------------------------------------------------------
-INSERT INTO Album(id, name, description, shelf_id, created) VALUES (3, 'Nature', 'Nature pictures', 2, '2009-12-18');
+INSERT INTO Album(id, name, description, shelf_id, created) VALUES (3, 'Nature', 'Nature images', 2, '2009-12-18');
INSERT INTO MetaTag(id, tag) VALUES (3, 'Nature');
INSERT INTO Image(id, name, path, description, created, album_id, cameraModel, width, size, height, uploaded, allowComments, showMetaInfo) VALUES (12, '01[303x202].jpg', '01[303x202].jpg', 'Nature - 01[303x202].jpg image', '2009-12-18', 3, 'LG LDC-A310', 1024, 1917, 768, '2009-12-01', true, true);
@@ -100,7 +100,7 @@
---------------------------------------------------------------------
-- ALBUM - Portrait"
---------------------------------------------------------------------
-INSERT INTO Album(id, name, description, shelf_id, created) VALUES (4, 'Portrait', 'Portrait pictures', 3, '2009-12-18');
+INSERT INTO Album(id, name, description, shelf_id, created) VALUES (4, 'Portrait', 'Portrait images', 3, '2009-12-18');
INSERT INTO MetaTag(id, tag) VALUES (4, 'Portrait');
INSERT INTO Image(id, name, path, description, created, album_id, cameraModel, width, size, height, uploaded, allowComments, showMetaInfo) VALUES (16, '02[303x202].jpg', '02[303x202].jpg', 'Portrait - 02[303x202].jpg image', '2009-12-18', 4, 'Nikon D60', 1024, 1917, 768, '2009-12-01', true, true);
@@ -122,7 +122,7 @@
---------------------------------------------------------------------
-- ALBUM - Sport"
---------------------------------------------------------------------
-INSERT INTO Album(id, name, description, shelf_id, created) VALUES (5, 'Sport', 'Sport pictures', 4, '2009-12-18');
+INSERT INTO Album(id, name, description, shelf_id, created) VALUES (5, 'Sport', 'Sport images', 4, '2009-12-18');
INSERT INTO MetaTag(id, tag) VALUES (5, 'Sport');
INSERT INTO Image(id, name, path, description, created, album_id, cameraModel, width, size, height, uploaded, allowComments, showMetaInfo) VALUES (20, '103193233_860c47c909_o.jpg', '103193233_860c47c909_o.jpg', 'Sport - 103193233_860c47c909_o.jpg image', '2009-12-18', 5, 'Olympus Stylus mju 1040', 1024, 1917, 768, '2009-12-01', true, true);
@@ -145,7 +145,7 @@
---------------------------------------------------------------------
-- ALBUM - Water"
---------------------------------------------------------------------
-INSERT INTO Album(id, name, description, shelf_id, created) VALUES (6, 'Water', 'Water pictures', 1, '2009-12-18');
+INSERT INTO Album(id, name, description, shelf_id, created) VALUES (6, 'Water', 'Water images', 1, '2009-12-18');
INSERT INTO MetaTag(id, tag) VALUES (6, 'Water');
INSERT INTO Image(id, name, path, description, created, album_id, cameraModel, width, size, height, uploaded, allowComments, showMetaInfo) VALUES (24, '117215467_5cccef9aaa_b.jpg', '117215467_5cccef9aaa_b.jpg', 'Water - 117215467_5cccef9aaa_b.jpg image', '2009-12-18', 6, 'Panasonic', 1024, 1917, 768, '2009-12-01', true, true);
15 years, 8 months
JBoss Rich Faces SVN: r14001 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2009-05-04 07:25:17 -0400 (Mon, 04 May 2009)
New Revision: 14001
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/modifiableModel.xhtml
Log:
condition added to avoid unnesessary data calls
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/modifiableModel.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/modifiableModel.xhtml 2009-05-04 11:07:30 UTC (rev 14000)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/modifiableModel.xhtml 2009-05-04 11:25:17 UTC (rev 14001)
@@ -8,7 +8,7 @@
<a4j:queue requestDelay="100" />
<rich:messages />
<rich:dataTable value="#{hibernateDataModel}" var="row" rows="10"
- rowKeyConverter="#{longConverter}" reRender="datascroller">
+ rowKeyConverter="#{longConverter}" reRender="datascroller" rendered="#{componentNavigator.currentComponent.activeTab == 'modifiableDataModel'}">
<rich:columns value="#{hibernateBean.csvFields}" var="field"
sortBy="#{field}" filterBy="#{field}" filterEvent="onkeyup"
index="index" id="column#{index}"
15 years, 8 months
JBoss Rich Faces SVN: r14000 - trunk/examples/photoalbum/source/web/src/main/webapp/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2009-05-04 07:07:30 -0400 (Mon, 04 May 2009)
New Revision: 14000
Modified:
trunk/examples/photoalbum/source/web/src/main/webapp/scripts/photoalbum.js
Log:
fix for
IE6 footer position
Modified: trunk/examples/photoalbum/source/web/src/main/webapp/scripts/photoalbum.js
===================================================================
--- trunk/examples/photoalbum/source/web/src/main/webapp/scripts/photoalbum.js 2009-05-04 11:07:03 UTC (rev 13999)
+++ trunk/examples/photoalbum/source/web/src/main/webapp/scripts/photoalbum.js 2009-05-04 11:07:30 UTC (rev 14000)
@@ -22,4 +22,15 @@
}
}
+}
+
+// fix IE6 footer position
+function kickLayout(selector) {
+
+ if(Richfaces && Richfaces.browser.isIE6) {
+ var element = jQuery(selector);
+ if(element) {
+ element.css('zoom','normal').css('zoom','100%');
+ }
+ }
}
\ No newline at end of file
15 years, 8 months
JBoss Rich Faces SVN: r13999 - trunk/examples/photoalbum/source/web/src/main/webapp/includes/index.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2009-05-04 07:07:03 -0400 (Mon, 04 May 2009)
New Revision: 13999
Modified:
trunk/examples/photoalbum/source/web/src/main/webapp/includes/index/status.xhtml
Log:
add fix for IE6
Modified: trunk/examples/photoalbum/source/web/src/main/webapp/includes/index/status.xhtml
===================================================================
(Binary files differ)
15 years, 8 months
JBoss Rich Faces SVN: r13998 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2009-05-04 06:57:37 -0400 (Mon, 04 May 2009)
New Revision: 13998
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/editTable.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-5468
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/editTable.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/editTable.xhtml 2009-05-04 10:31:28 UTC (rev 13997)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/editTable.xhtml 2009-05-04 10:57:37 UTC (rev 13998)
@@ -53,7 +53,7 @@
<f:facet name="header">
Actions
</f:facet>
- <a4j:commandLink ajaxSingle="true" id="editlink"
+ <a4j:commandLink ajaxSingle="true" id="editlink"
oncomplete="#{rich:component('editPanel')}.show()">
<h:graphicImage value="/images/icons/edit.gif" style="border:0"/>
<f:setPropertyActionListener value="#{category}"
@@ -99,7 +99,7 @@
<h:outputText value="Model" />
<h:inputText value="#{dataTableScrollerBean.currentItem.model}" />
<h:outputText value="Price" />
- <h:inputText value="#{dataTableScrollerBean.currentItem.price}" label="Price"/>
+ <h:inputText value="#{dataTableScrollerBean.currentItem.price}" label="Price" immediate="true"/>
</h:panelGrid>
<rich:message showSummary="true" showDetail="false" for="price"/>
</a4j:outputPanel>
15 years, 8 months
JBoss Rich Faces SVN: r13997 - trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2009-05-04 06:31:28 -0400 (Mon, 04 May 2009)
New Revision: 13997
Modified:
trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
Log:
https://jira.jboss.org/jira/browse/RF-6979
Modified: trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
===================================================================
--- trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2009-05-04 08:26:24 UTC (rev 13996)
+++ trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2009-05-04 10:31:28 UTC (rev 13997)
@@ -88,7 +88,7 @@
beanValidator=richValidators, \t Bean Validator, \t\t/images/ico_BeanValidator.gif, \t\t/images/cn_BeanValidator.gif, beanValidator.html, jbossrichfaces/freezone/docs/tlddoc/rich/beanValidator.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIBeanValidator.html, \t\t\t\t\t/richfaces/beanValidator.jsf
graphValidator=richValidators, \t Graph Validator, \t\t/images/ico_GraphValidator.gif, \t\t/images/cn_GraphValidator.gif, graphValidator.html, jbossrichfaces/freezone/docs/tlddoc/rich/graphValidator.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIGraphValidator.html, \t\t\t\t\t/richfaces/graphValidator.jsf
stateAPI=richMisc, \t State Manager API, \t\t/images/ico_StateManagerAPI.gif, \t\t/images/cn_StateManagerAPI.gif, ArchitectureOverview.html\#statemanagerapi, jbossrichfaces/freezone/docs/tlddoc/rich/graphValidator.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIhotkey.html, \t\t\t\t\t/richfaces/stateAPI.jsf
-extendedDataTable= richDataIterators, Extended Data Table, /images/ico_ExtendedDataTable.gif, /images/cn_ExtendedDataTable.gif, extendedDataTable.html, jbossrichfaces/freezone/docs/tlddoc/rich/dataTable.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataTable.html, /richfaces/extendedDataTable.jsf
+extendedDataTable= richDataIterators, Extended Data Table, /images/ico_ExtendedDataTable.gif, /images/cn_ExtendedDataTable.gif, extendedDataTable.html, jbossrichfaces/freezone/docs/tlddoc/rich/extendedDataTable.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIExtendedDataTable.html, /richfaces/extendedDataTable.jsf
editor=richInputs, Editor, /images/ico_Editor.gif, /images/cn_Editor.gif, editor.html, jbossrichfaces/freezone/docs/tlddoc/rich/editor.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIEditor.html, /richfaces/editor.jsf
queue=ajaxSupport, Queue, /images/ico_common.gif, /images/cn_Queue.gif, Queue.html, jbossrichfaces/freezone/docs/tlddoc/rich/queue.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIQueue.html, /richfaces/queue.jsf
colorPicker= richInputs, Color Picker, /images/ico_ColorPicker.gif, /images/cn_ColorPicker.gif, ColorPicker.html, jbossrichfaces/freezone/docs/tlddoc/rich/colorPicker.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIColorPicker.html, /richfaces/colorPicker.jsf, new
15 years, 8 months
JBoss Rich Faces SVN: r13996 - trunk/framework/impl/src/main/java/org/richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-05-04 04:26:24 -0400 (Mon, 04 May 2009)
New Revision: 13996
Modified:
trunk/framework/impl/src/main/java/org/richfaces/VersionBean.java
Log:
change SVN revision and date
Modified: trunk/framework/impl/src/main/java/org/richfaces/VersionBean.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/VersionBean.java 2009-05-04 01:10:22 UTC (rev 13995)
+++ trunk/framework/impl/src/main/java/org/richfaces/VersionBean.java 2009-05-04 08:26:24 UTC (rev 13996)
@@ -72,7 +72,7 @@
}
public String getRevision() {
- return REVISION;
+ return REVISION;
}
/* (non-Javadoc)
* @see java.lang.Object#toString()
15 years, 8 months
JBoss Rich Faces SVN: r13995 - trunk/framework/impl/src/main/java/org/ajax4jsf/application.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-05-03 21:10:22 -0400 (Sun, 03 May 2009)
New Revision: 13995
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/application/AjaxStateManager.java
Log:
https://jira.jboss.org/jira/browse/RF-6998
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/application/AjaxStateManager.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/application/AjaxStateManager.java 2009-05-03 23:49:25 UTC (rev 13994)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/application/AjaxStateManager.java 2009-05-04 01:10:22 UTC (rev 13995)
@@ -326,7 +326,22 @@
return matcher.group(1);
}
- private static final Object handleRestoreState(FacesContext context, Object state) {
+ private static final Map<String,Class<?>> PRIMITIVE_CLASSES =
+ new HashMap<String,Class<?>>(9, 1.0F);
+
+ static {
+ PRIMITIVE_CLASSES.put("boolean", boolean.class);
+ PRIMITIVE_CLASSES.put("byte", byte.class);
+ PRIMITIVE_CLASSES.put("char", char.class);
+ PRIMITIVE_CLASSES.put("short", short.class);
+ PRIMITIVE_CLASSES.put("int", int.class);
+ PRIMITIVE_CLASSES.put("long", long.class);
+ PRIMITIVE_CLASSES.put("float", float.class);
+ PRIMITIVE_CLASSES.put("double", double.class);
+ PRIMITIVE_CLASSES.put("void", void.class);
+ }
+
+ private static final Object handleRestoreState(FacesContext context, Object state) {
if (ContextInitParameters.isSerializeServerState(context)) {
ObjectInputStream ois = null;
try {
@@ -334,8 +349,18 @@
@Override
protected Class<?> resolveClass(ObjectStreamClass desc)
throws IOException, ClassNotFoundException {
- return Class.forName(desc.getName(), true,
- Thread.currentThread().getContextClassLoader());
+ String name = desc.getName();
+ try {
+ return Class.forName(name, true,
+ Thread.currentThread().getContextClassLoader());
+ } catch (ClassNotFoundException cnfe) {
+ Class<?> clazz = PRIMITIVE_CLASSES.get(name);
+ if (clazz != null) {
+ return clazz;
+ } else {
+ throw cnfe;
+ }
+ }
}
};
return ois.readObject();
15 years, 8 months