You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by bb...@apache.org on 2006/11/28 12:23:51 UTC
svn commit: r480016 - in /incubator/xap/trunk/src/xap/bridges/xap:
CheckboxBridge.js RadioButtonBridge.js
Author: bbuffone
Date: Tue Nov 28 04:23:50 2006
New Revision: 480016
URL: http://svn.apache.org/viewvc?view=rev&rev=480016
Log:
changed the way the configuration of paths work. I added a srcPath to the
config file. This tells the XAP engine where the src files are located relative to the
start page.
Modified:
incubator/xap/trunk/src/xap/bridges/xap/CheckboxBridge.js
incubator/xap/trunk/src/xap/bridges/xap/RadioButtonBridge.js
Modified: incubator/xap/trunk/src/xap/bridges/xap/CheckboxBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/xap/CheckboxBridge.js?view=diff&rev=480016&r1=480015&r2=480016
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/xap/CheckboxBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/xap/CheckboxBridge.js Tue Nov 28 04:23:50 2006
@@ -27,7 +27,7 @@
xap.bridges.xap.CheckboxBridge.prototype.obtainPeer = function() {
this.setPeer(new xap.widgets.Checkbox());
- this.getPeer().init(this.getSession()._webappContext);
+ this.getPeer().init(this.getSession().getApplication().getConfiguration().srcPath);
this.group = this.getElement().getAttribute("group");
if (this.group) {
Modified: incubator/xap/trunk/src/xap/bridges/xap/RadioButtonBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/xap/RadioButtonBridge.js?view=diff&rev=480016&r1=480015&r2=480016
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/xap/RadioButtonBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/xap/RadioButtonBridge.js Tue Nov 28 04:23:50 2006
@@ -27,7 +27,7 @@
xap.bridges.xap.RadioButtonBridge.prototype.obtainPeer = function() {
this.setPeer(new xap.widgets.RadioButton());
- this.getPeer().init(this.getSession()._webappContext);
+ this.getPeer().init(this.getSession().getApplication().getConfiguration().srcPath);
this.group = this.getElement().getAttribute("group");
if (this.group) {