Seam SVN: r11854 - modules/remoting/trunk.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-12-17 07:43:59 -0500 (Thu, 17 Dec 2009)
New Revision: 11854
Modified:
modules/remoting/trunk/
Log:
ignores
Property changes on: modules/remoting/trunk
___________________________________________________________________
Name: svn:ignore
- target
.project
.classpath
+
target
.project
.classpath
.settings
14 years, 12 months
Seam SVN: r11853 - modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-12-17 06:18:20 -0500 (Thu, 17 Dec 2009)
New Revision: 11853
Modified:
modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js
Log:
one more test for map comparisons...
Modified: modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js
===================================================================
--- modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js 2009-12-17 11:05:52 UTC (rev 11852)
+++ modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js 2009-12-17 11:18:20 UTC (rev 11853)
@@ -721,6 +721,7 @@
if (v1.size() != v2.size()) return false;
for (var i=0; i<v1.size(); i++) {
var e = v1.elements[i];
+ if (Seam.getBeanType(e.key) && eq(e.value, v2.get(this.getSourceObject(e.key)))) break;
if (eq(e.value, v2.get(e.key)) && (e.value != null || v2.contains(e.key)) break;
return false;
}
@@ -912,8 +913,4 @@
delta.scanForChanges(this.values[i].value);
}
}
-
- Seam.Model.prototype.addDelta = function(obj, delta) {
-
- }
}
14 years, 12 months
Seam SVN: r11852 - modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-12-17 06:05:52 -0500 (Thu, 17 Dec 2009)
New Revision: 11852
Modified:
modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js
Log:
oops, some other date related stuff
Modified: modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js
===================================================================
--- modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js 2009-12-17 10:59:32 UTC (rev 11851)
+++ modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js 2009-12-17 11:05:52 UTC (rev 11852)
@@ -129,12 +129,19 @@
Seam.Exception = function(msg) {
this.message = msg;
-
Seam.Exception.prototype.getMessage = function() {
return this.message;
}
}
+Seam.equals = function(v1, v2) {
+ if (v1 == v2) return true;
+ if (v1 instanceof Date && v2 instanceof Date &&
+ v1.getTime() == v2.getTime()) return true;
+
+ return false;
+}
+
Seam.Map = function() {
this.elements = new Array();
@@ -165,29 +172,16 @@
Seam.Map.prototype.get = function(key) {
for (var i=0; i<this.elements.length; i++) {
var e = this.elements[i];
- if (e.key == key)
- return e.value;
- else if (key instanceof Date && e.key instanceof Date && key.getTime() == e.key.getTime())
- return e.value;
+ if (Seam.equals(e.key, key)) return e.value;
}
return null;
}
Seam.Map.prototype.put = function(key, value) {
- if (key instanceof Date) {
- for (var i=0; i<this.elements.length; i++) {
- if (this.elements[i] instanceof Date && this.elements[i].getTime() == key.getTime()) {
- this.elements[i].value = value;
- return;
- }
- }
- }
- else {
- for (var i=0; i<this.elements.length; i++) {
- if (this.elements[i].key == key) {
- this.elements[i].value = value;
- return;
- }
+ for (var i=0; i<this.elements.length; i++) {
+ if (Seam.equals(this.elements[i].key, key)) {
+ this.elements[i].value = value;
+ return;
}
}
this.elements.push({key:key,value:value});
@@ -195,14 +189,16 @@
Seam.Map.prototype.remove = function(key) {
for (var i=0; i<this.elements.length; i++) {
- if (this.elements[i].key == key)
+ if (Seam.equals(this.elements[i].key, key)) {
this.elements.splice(i, 1);
+ break;
+ }
}
}
Seam.Map.prototype.contains = function(key) {
for (var i=0; i<this.elements.length; i++) {
- if (this.elements[i].key == key) return true;
+ if (Seam.equals(this.elements[i].key, key)) return true;
}
return false;
}
14 years, 12 months
Seam SVN: r11851 - modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-12-17 05:59:32 -0500 (Thu, 17 Dec 2009)
New Revision: 11851
Modified:
modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js
Log:
fixed Map equality test
Modified: modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js
===================================================================
--- modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js 2009-12-17 08:11:39 UTC (rev 11850)
+++ modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js 2009-12-17 10:59:32 UTC (rev 11851)
@@ -173,12 +173,21 @@
return null;
}
- // TODO make this work for dates also
Seam.Map.prototype.put = function(key, value) {
- for (var i=0; i<this.elements.length; i++) {
- if (this.elements[i].key == key) {
- this.elements[i].value = value;
- return;
+ if (key instanceof Date) {
+ for (var i=0; i<this.elements.length; i++) {
+ if (this.elements[i] instanceof Date && this.elements[i].getTime() == key.getTime()) {
+ this.elements[i].value = value;
+ return;
+ }
+ }
+ }
+ else {
+ for (var i=0; i<this.elements.length; i++) {
+ if (this.elements[i].key == key) {
+ this.elements[i].value = value;
+ return;
+ }
}
}
this.elements.push({key:key,value:value});
@@ -713,24 +722,13 @@
}
else if (v1 instanceof Seam.Map) {
if (!(v2 instanceof Seam.Map)) return false;
- if (v1.elements.length != v2.elements.length) return false;
- var k1 = v1.keySet();
- var k2 = v2.keySet();
- for (var i=0; i<k1.length; i++) {
- var e = eq(v1.get(k1[i]), v2.get(k1[i]));
- if (!e && Seam.getBeanType(k1[i])) {
- e = eq(v1.get(k1[i]), v2.get(this.getSourceObject(k1[i]));
- }
- if (!e) {
- for (var j=0; j<k2.length; j++) {
- if (eq(k1[i], k2[j])) {
- e = eq(v1.get(k1[i]), v2.get(k2[j]));
- break;
- }
- }
- }
- if (!e) return false;
+ if (v1.size() != v2.size()) return false;
+ for (var i=0; i<v1.size(); i++) {
+ var e = v1.elements[i];
+ if (eq(e.value, v2.get(e.key)) && (e.value != null || v2.contains(e.key)) break;
+ return false;
}
+ return true;
}
}
return false;
14 years, 12 months
Seam SVN: r11850 - modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-12-17 03:11:39 -0500 (Thu, 17 Dec 2009)
New Revision: 11850
Modified:
modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js
Log:
minor
Modified: modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js
===================================================================
--- modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js 2009-12-17 07:52:23 UTC (rev 11849)
+++ modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js 2009-12-17 08:11:39 UTC (rev 11850)
@@ -697,7 +697,13 @@
case "string":
return typeof(v2) == "string" && v1 == v2;
case "object":
- if (v1 instanceof Array) {
+ if (v1 instanceof Date) {
+ return (v2 instanceof Date) && v1.getTime() == v2.getTime();
+ }
+ else if (Seam.getBeanType(v1) {
+ return this.getSourceObject(v1) == v2;
+ }
+ else if (v1 instanceof Array) {
if (!(v2 instanceof Array)) return false;
if (v1.length != v2.length) return false;
for (var i=0; i<v1.length; i++) {
@@ -705,20 +711,15 @@
}
return true;
}
- else if (v1 instanceof Date) {
- return (v2 instanceof Date) && v1.getTime() == v2.getTime();
- }
else if (v1 instanceof Seam.Map) {
if (!(v2 instanceof Seam.Map)) return false;
- var k1 = v1.keySet;
- var k2 = v2.keySet;
- if (!k1.length == k2.length) return false;
+ if (v1.elements.length != v2.elements.length) return false;
+ var k1 = v1.keySet();
+ var k2 = v2.keySet();
for (var i=0; i<k1.length; i++) {
- var e = eq(v1.get(k1[i]), v2.get(k2[i]));
- if (!e) {
- if (Seam.getBeanType(k1[i])) {
- e = eq(v1.get(k1[i]), v2.get(this.getSourceObject(k1[i]));
- }
+ var e = eq(v1.get(k1[i]), v2.get(k1[i]));
+ if (!e && Seam.getBeanType(k1[i])) {
+ e = eq(v1.get(k1[i]), v2.get(this.getSourceObject(k1[i]));
}
if (!e) {
for (var j=0; j<k2.length; j++) {
@@ -731,9 +732,6 @@
if (!e) return false;
}
}
- else if (Seam.getBeanType(v1) {
- return this.getSourceObject(v1) == v2;
- }
}
return false;
}
14 years, 12 months
Seam SVN: r11849 - modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-12-17 02:52:23 -0500 (Thu, 17 Dec 2009)
New Revision: 11849
Modified:
modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js
Log:
fixed broken indentation, minor optimizations
Modified: modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js
===================================================================
--- modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js 2009-12-17 07:10:20 UTC (rev 11848)
+++ modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js 2009-12-17 07:52:23 UTC (rev 11849)
@@ -129,6 +129,7 @@
Seam.Exception = function(msg) {
this.message = msg;
+
Seam.Exception.prototype.getMessage = function() {
return this.message;
}
@@ -140,11 +141,11 @@
Seam.Map.prototype.size = function() {
return this.elements.length;
}
-
+
Seam.Map.prototype.isEmpty = function() {
return this.elements.length == 0;
}
-
+
Seam.Map.prototype.keySet = function() {
var keySet = new Array();
for (var i=0; i<this.elements.length; i++) {
@@ -152,7 +153,7 @@
}
return keySet;
}
-
+
Seam.Map.prototype.values = function() {
var vals = new Array();
for (var i=0; i<this.elements.length; i++) {
@@ -160,7 +161,7 @@
}
return vals;
}
-
+
Seam.Map.prototype.get = function(key) {
for (var i=0; i<this.elements.length; i++) {
var e = this.elements[i];
@@ -171,7 +172,7 @@
}
return null;
}
-
+
// TODO make this work for dates also
Seam.Map.prototype.put = function(key, value) {
for (var i=0; i<this.elements.length; i++) {
@@ -182,14 +183,14 @@
}
this.elements.push({key:key,value:value});
}
-
+
Seam.Map.prototype.remove = function(key) {
for (var i=0; i<this.elements.length; i++) {
if (this.elements[i].key == key)
this.elements.splice(i, 1);
}
}
-
+
Seam.Map.prototype.contains = function(key) {
for (var i=0; i<this.elements.length; i++) {
if (this.elements[i].key == key) return true;
@@ -686,7 +687,7 @@
this.refs = new Seam.Map();
Seam.Delta.prototype.testEqual = function(v1, v2) {
- var eq = this.valueChanged;
+ var eq = this.testEqual;
if (v1 == null) return v2 == null;
switch (typeof(v1)) {
case "number":
@@ -701,7 +702,7 @@
if (v1.length != v2.length) return false;
for (var i=0; i<v1.length; i++) {
if (!eq(v1[i], v2[i]) return false;
- }
+ }
return true;
}
else if (v1 instanceof Date) {
@@ -731,75 +732,63 @@
}
}
else if (Seam.getBeanType(v1) {
- return this.getSourceObject(v1) == v2;
-
- }
+ return this.getSourceObject(v1) == v2;
+ }
}
return false;
}
-
- Seam.Delta.prototype.registerPropertyChange = function(obj, prop, val) {
+ Seam.Delta.prototype.registerPropertyChange = function(obj, prop) {
var cs = this.refs.get(obj);
- if (cs == null) cs = new Seam.Changeset();
- cs.addProperty(prop, val);
- this.refs.put(obj, cs);
+ if (cs == null) {
+ cs = new Seam.Changeset();
+ this.refs.put(obj, cs);
+ }
+ cs.addProperty(prop, obj[prop]);
}
-
- Seam.Delta.prototype.scanForChanges = function(obj) {
-
- if (obj == null || this.refs.contains(obj)) return;
- this.refs.put(obj);
+ Seam.Delta.prototype.scanForChanges = function(obj) {
+ if (obj == null || this.refs.contains(obj)) return;
+ this.refs.put(obj, null);
if (Seam.getBeanType(obj)) {
var src = this.getSourceObject(obj);
var m = Seam.getBeanMetadata(obj);
for (var i=0; i<m.length; i++) {
- var f=m[i].field;
-
- if (src) {
- if (!this.testEqual(obj[f], src[f])) this.registerPropertyChange(obj, f, obj[f]);
- }
- if (m.type == "bag" || m.type == "map" || m.type == "bean") this.scanForChanges(obj[f]);
+ var f=m[i].field;
+ var t=m[i].type;
+ if (src && !this.testEqual(obj[f], src[f])) this.registerPropertyChange(obj, f);
+ if (t == "bag" || t == "map" || t == "bean") this.scanForChanges(obj[f]);
}
}
else if (obj instanceof Array) {
var src = this.getSourceObject(obj);
- if (!this.testEqual(obj, src)) this.refs.put(obj, new Seam.Changeset());
+ if (!this.testEqual(obj, src)) this.refs.put(obj, true);
for (var i=0; i<obj.length; i++) {
if (Seam.getBeanType(obj[i]) || obj[i] instanceof Array || obj[i] instanceof Seam.Map) {
this.scanForChanges(obj[i]);
-
- }
+ }
}
}
else if (obj instanceof Seam.Map) {
var src = this.getSourceObject(obj);
- if (!this.testEqual(obj, src)) this.refs.put(obj, new Seam.Changeset());
- var ks = obj.keySet();
- for (var i=0; i<ks.length; i++) {
- var k = ks[i];
- var v = obj.get(k);
+ if (!this.testEqual(obj, src)) this.refs.put(obj, true);
+ for (var i=0; i<obj.elements.length; i++) {
+ var k = obj.elements[i].key;
+ var v = obj.elements[i].value;
if (Seam.getBeanType(k) || k instanceof Array || k instanceof Seam.Map) {
this.scanForChanges(k);
-
- }
-
- if (Seam.getBeanType(v) || v instanceof Array || v instanceof Seam.Map) {
+ }
+ if (Seam.getBeanType(v) || v instanceof Array || v instanceof Seam.Map) {
this.scanForChanges(v);
-
- }
+ }
}
-
- }
+ }
}
-
- Seam.Delta.prototype.getSourceObject = function(obj) {
+ Seam.Delta.prototype.getSourceObject = function(obj) {
for (var i=0;i<this.model.workingRefs; i++) {
if (obj == this.model.workingRefs[i]) return this.model.sourceRefs[i];
-
- }
+ }
return null;
}
}
@@ -837,8 +826,7 @@
this.beans.push({alias: alias, bean: bean, qualifiers: q});
}
-
- Seam.Model.prototype.addBeanProperty = function(alias, bean, property) {
+ Seam.Model.prototype.addBeanProperty = function(alias, bean, property) {
var q = null;
if (arguments.length > 3) {
q = new Array();
@@ -846,10 +834,9 @@
q.push(arguments[i]);
}
}
- this.beans.push({alias: alias, bean: bean, property: property, qualifiers: q});
+ this.beans.push({alias: alias, bean: bean, property: property, qualifiers: q});
+ }
- }
-
Seam.Model.prototype.fetch = function(action, callback) {
this.callback = callback;
var r = this.createFetchRequest(action);
@@ -923,7 +910,7 @@
var value = Seam.unmarshalValue(valueNodes[i].firstChild,this.workingRefs);
this.values.push({alias:valueNodes[i].getAttribute("alias"),value:value, refIndex:i});
- }
+ }
if (this.callback) this.callback(this);
}
@@ -934,9 +921,7 @@
}
}
-
- Seam.Model.prototype.addDelta = function(obj, delta) {
+ Seam.Model.prototype.addDelta = function(obj, delta) {
-
- }
-}
\ No newline at end of file
+ }
+}
14 years, 12 months
Seam SVN: r11848 - modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-12-17 02:10:20 -0500 (Thu, 17 Dec 2009)
New Revision: 11848
Modified:
modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js
Log:
added delta generation code
Modified: modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js
===================================================================
--- modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js 2009-12-16 19:18:45 UTC (rev 11847)
+++ modules/remoting/trunk/src/main/resources/org/jboss/seam/remoting/remote.js 2009-12-17 07:10:20 UTC (rev 11848)
@@ -172,6 +172,7 @@
return null;
}
+ // TODO make this work for dates also
Seam.Map.prototype.put = function(key, value) {
for (var i=0; i<this.elements.length; i++) {
if (this.elements[i].key == key) {
@@ -682,23 +683,25 @@
Seam.Delta = function(model) {
this.model = model;
- this.changesets = new Seam.Map();
- this.refs = new Array();
+ this.refs = new Seam.Map();
- Seam.Delta.prototype.objectsEqual = function(v1, v2) {
+ Seam.Delta.prototype.testEqual = function(v1, v2) {
+ var eq = this.valueChanged;
if (v1 == null) return v2 == null;
switch (typeof(v1)) {
case "number":
return typeof(v2) == "number" && v1 == v2;
case "boolean":
return typeof(v2) == "boolean" && v1 == v2;
+ case "string":
+ return typeof(v2) == "string" && v1 == v2;
case "object":
if (v1 instanceof Array) {
if (!(v2 instanceof Array)) return false;
if (v1.length != v2.length) return false;
for (var i=0; i<v1.length; i++) {
- if (!this.objectsEqual(v1[i], v2[i]) return false;
- }
+ if (!eq(v1[i], v2[i]) return false;
+ }
return true;
}
else if (v1 instanceof Date) {
@@ -710,42 +713,94 @@
var k2 = v2.keySet;
if (!k1.length == k2.length) return false;
for (var i=0; i<k1.length; i++) {
- var eq = this.objectsEqual(v1.get(k1[i]), v2.get(k2[i]));
- if (!eq) {
+ var e = eq(v1.get(k1[i]), v2.get(k2[i]));
+ if (!e) {
if (Seam.getBeanType(k1[i])) {
- eq = this.objectsEqual(v1.get(k1[i]), v2.get(this.getSourceObject(k1[i]));
+ e = eq(v1.get(k1[i]), v2.get(this.getSourceObject(k1[i]));
}
}
- if (!eq) {
+ if (!e) {
for (var j=0; j<k2.length; j++) {
- if (this.objectsEqual(k1[i], k2[j]))
- {
- eq = this.objectsEqual(v1.get(k1[i]), v2.get(k2[j]));
+ if (eq(k1[i], k2[j])) {
+ e = eq(v1.get(k1[i]), v2.get(k2[j]));
break;
}
}
}
- if (!eq) return false;
+ if (!e) return false;
}
}
- else {
- var t = Seam.getBeanType(v1);
- // TODO known type comparison
- }
- case "string":
- return typeof(v2) == "string" && v1 == v2;
+ else if (Seam.getBeanType(v1) {
+ return this.getSourceObject(v1) == v2;
+
+ }
}
+ return false;
}
- Seam.Delta.prototype.add = function(obj) {
-
+
+ Seam.Delta.prototype.registerPropertyChange = function(obj, prop, val) {
+ var cs = this.refs.get(obj);
+ if (cs == null) cs = new Seam.Changeset();
+ cs.addProperty(prop, val);
+ this.refs.put(obj, cs);
}
+
+ Seam.Delta.prototype.scanForChanges = function(obj) {
+
+ if (obj == null || this.refs.contains(obj)) return;
+ this.refs.put(obj);
+ if (Seam.getBeanType(obj)) {
+ var src = this.getSourceObject(obj);
+ var m = Seam.getBeanMetadata(obj);
+ for (var i=0; i<m.length; i++) {
+ var f=m[i].field;
+
+ if (src) {
+ if (!this.testEqual(obj[f], src[f])) this.registerPropertyChange(obj, f, obj[f]);
+ }
+ if (m.type == "bag" || m.type == "map" || m.type == "bean") this.scanForChanges(obj[f]);
+ }
+ }
+ else if (obj instanceof Array) {
+ var src = this.getSourceObject(obj);
+ if (!this.testEqual(obj, src)) this.refs.put(obj, new Seam.Changeset());
+ for (var i=0; i<obj.length; i++) {
+ if (Seam.getBeanType(obj[i]) || obj[i] instanceof Array || obj[i] instanceof Seam.Map) {
+ this.scanForChanges(obj[i]);
+
+ }
+ }
+ }
+ else if (obj instanceof Seam.Map) {
+ var src = this.getSourceObject(obj);
+ if (!this.testEqual(obj, src)) this.refs.put(obj, new Seam.Changeset());
+ var ks = obj.keySet();
+ for (var i=0; i<ks.length; i++) {
+ var k = ks[i];
+ var v = obj.get(k);
+ if (Seam.getBeanType(k) || k instanceof Array || k instanceof Seam.Map) {
+ this.scanForChanges(k);
+
+ }
+
+ if (Seam.getBeanType(v) || v instanceof Array || v instanceof Seam.Map) {
+ this.scanForChanges(v);
+
+ }
+ }
+
+ }
+ }
- Seam.Delta.prototype.getSourceObject = function(obj) {
+
+ Seam.Delta.prototype.getSourceObject = function(obj) {
for (var i=0;i<this.model.workingRefs; i++) {
if (obj == this.model.workingRefs[i]) return this.model.sourceRefs[i];
- }
+
+ }
+ return null;
}
}
@@ -782,7 +837,8 @@
this.beans.push({alias: alias, bean: bean, qualifiers: q});
}
- Seam.Model.prototype.addBeanProperty = function(alias, bean, property) {
+
+ Seam.Model.prototype.addBeanProperty = function(alias, bean, property) {
var q = null;
if (arguments.length > 3) {
q = new Array();
@@ -791,8 +847,9 @@
}
}
this.beans.push({alias: alias, bean: bean, property: property, qualifiers: q});
- }
+ }
+
Seam.Model.prototype.fetch = function(action, callback) {
this.callback = callback;
var r = this.createFetchRequest(action);
@@ -865,18 +922,21 @@
for (var i=0; i<valueNodes.length; i++) {
var value = Seam.unmarshalValue(valueNodes[i].firstChild,this.workingRefs);
this.values.push({alias:valueNodes[i].getAttribute("alias"),value:value, refIndex:i});
- }
+
+ }
if (this.callback) this.callback(this);
}
Seam.Model.prototype.applyUpdates = function(action) {
var delta = new Seam.Delta(this);
for (var i=0; i<this.values.length; i++) {
- delta.add(this.values[i].value);
+ delta.scanForChanges(this.values[i].value);
}
}
- Seam.Model.prototype.addDelta = function(obj, delta) {
+
+ Seam.Model.prototype.addDelta = function(obj, delta) {
- }
+
+ }
}
\ No newline at end of file
14 years, 12 months
Seam SVN: r11847 - modules/security/trunk.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-12-16 14:18:45 -0500 (Wed, 16 Dec 2009)
New Revision: 11847
Modified:
modules/security/trunk/pom.xml
Log:
new build
Modified: modules/security/trunk/pom.xml
===================================================================
--- modules/security/trunk/pom.xml 2009-12-16 19:18:19 UTC (rev 11846)
+++ modules/security/trunk/pom.xml 2009-12-16 19:18:45 UTC (rev 11847)
@@ -13,6 +13,10 @@
<packaging>jar</packaging>
<version>3.0.0-SNAPSHOT</version>
<name>Seam Security</name>
+
+ <properties>
+ <seam.version>3.0.0-SNAPSHOT</seam.version>
+ </properties>
<dependencies>
@@ -23,8 +27,8 @@
</dependency>
<dependency>
- <groupId>javax.ejb</groupId>
- <artifactId>ejb-api</artifactId>
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-api</artifactId>
<scope>provided</scope>
</dependency>
@@ -54,55 +58,47 @@
<dependency>
<groupId>org.hibernate</groupId>
- <artifactId>hibernate</artifactId>
+ <artifactId>hibernate-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>${seam.groupId}</groupId>
+ <groupId>org.jboss.seam</groupId>
<artifactId>seam-drools</artifactId>
</dependency>
- <dependency>
- <groupId>${seam.groupId}</groupId>
- <artifactId>seam-el</artifactId>
- </dependency>
+<!-- <dependency>-->
+<!-- <groupId>org.jboss.seam</groupId>-->
+<!-- <artifactId>seam-international</artifactId>-->
+<!-- </dependency>-->
- <dependency>
- <groupId>${seam.groupId}</groupId>
- <artifactId>seam-international</artifactId>
- </dependency>
-
<!--
<dependency>
- <groupId>${seam.groupId}</groupId>
+ <groupId>org.jboss.seam</groupId>
<artifactId>seam-faces</artifactId>
</dependency>
-->
-
- <dependency>
- <groupId>${seam.groupId}</groupId>
- <artifactId>seam-web</artifactId>
- </dependency>
<!--
<dependency>
- <groupId>${seam.groupId}</groupId>
+ <groupId>org.jboss.seam</groupId>
<artifactId>seam-persistence</artifactId>
</dependency>
-->
<dependency>
- <groupId>${webbeans.groupId}</groupId>
- <artifactId>jsr299-api</artifactId>
+ <groupId>javax.enterprise</groupId>
+ <artifactId>cdi-api</artifactId>
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>${webbeans.groupId}</groupId>
- <artifactId>webbeans-logger</artifactId>
- </dependency>
-
</dependencies>
+
+
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/seam/modules/security/trunk</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/seam/modules/security/trunk</developerConnection>
+ <url>http://fisheye.jboss.org/browse/Seam/modules/security/trunk</url>
+ </scm>
</project>
14 years, 12 months
Seam SVN: r11846 - modules/remoting/trunk.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-12-16 14:18:19 -0500 (Wed, 16 Dec 2009)
New Revision: 11846
Removed:
modules/remoting/trunk/.settings/
Modified:
modules/remoting/trunk/pom.xml
Log:
cleanup, new build
Modified: modules/remoting/trunk/pom.xml
===================================================================
--- modules/remoting/trunk/pom.xml 2009-12-16 19:17:43 UTC (rev 11845)
+++ modules/remoting/trunk/pom.xml 2009-12-16 19:18:19 UTC (rev 11846)
@@ -1,10 +1,9 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+
<parent>
- <artifactId>seam-version-matrix</artifactId>
+ <artifactId>seam-parent</artifactId>
<groupId>org.jboss.seam</groupId>
<version>3.0.0-SNAPSHOT</version>
</parent>
@@ -14,6 +13,10 @@
<version>3.0.0-SNAPSHOT</version>
<name>Seam Remoting</name>
+ <properties>
+ <seam.version>3.0.0-SNAPSHOT</seam.version>
+ </properties>
+
<dependencies>
<dependency>
@@ -30,21 +33,10 @@
<dependency>
<groupId>org.hibernate</groupId>
- <artifactId>hibernate</artifactId>
+ <artifactId>hibernate-core</artifactId>
<scope>provided</scope>
</dependency>
- <!--dependency>
- <groupId>${seam.groupId}</groupId>
- <artifactId>seam-el</artifactId>
- <scope>provided</scope>
- </dependency-->
-
- <!--dependency>
- <groupId>${seam.groupId}</groupId>
- <artifactId>seam-international</artifactId>
- </dependency-->
-
<dependency>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
@@ -52,8 +44,8 @@
</dependency>
<dependency>
- <groupId>javax.ejb</groupId>
- <artifactId>ejb-api</artifactId>
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-api</artifactId>
<scope>provided</scope>
</dependency>
@@ -90,4 +82,10 @@
</dependency>
</dependencies>
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/seam/modules/remoting/trunk</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/seam/modules/remoting/trunk</developerConnection>
+ <url>http://fisheye.jboss.org/browse/Seam/modules/remoting/trunk</url>
+ </scm>
+
</project>
14 years, 12 months