Author: spadkins
Date: Thu Sep 17 06:41:31 2009
New Revision: 13357
Modified:
p5ee/trunk/App-Widget-ExtJS/htdocs/App/ext-app.js
p5ee/trunk/App-Widget-ExtJS/lib/App/Widget/ExtJS/AppFrame.pm
p5ee/trunk/App-Widget-ExtJS/lib/App/Widget/ExtJS/MenuSelector.pm
Log:
latest
Modified: p5ee/trunk/App-Widget-ExtJS/htdocs/App/ext-app.js
==============================================================================
--- p5ee/trunk/App-Widget-ExtJS/htdocs/App/ext-app.js (original)
+++ p5ee/trunk/App-Widget-ExtJS/htdocs/App/ext-app.js Thu Sep 17 06:41:31 2009
@@ -0,0 +1,5 @@
+
+if (window.App == null) { window.App = new Object(); }
+alert("App=" + App);
+if (App.callbacks == null) { App.callbacks = new Object(); }
+
Modified: p5ee/trunk/App-Widget-ExtJS/lib/App/Widget/ExtJS/AppFrame.pm
==============================================================================
--- p5ee/trunk/App-Widget-ExtJS/lib/App/Widget/ExtJS/AppFrame.pm
(original)
+++ p5ee/trunk/App-Widget-ExtJS/lib/App/Widget/ExtJS/AppFrame.pm Thu Sep
17 06:41:31 2009
@@ -224,11 +224,14 @@
EOF
}
+ $screen =~ s/'/\\'/g;
+ $screen =~ s/\n/\\n' + \n'/sg;
+ $selector =~ s/{PANEL}/$screen/;
+
$html = <<EOF;
<div id="$name">
<div id="$name-selector">
$selector
-$screen
</div>
</div>
EOF
Modified: p5ee/trunk/App-Widget-ExtJS/lib/App/Widget/ExtJS/MenuSelector.pm
==============================================================================
--- p5ee/trunk/App-Widget-ExtJS/lib/App/Widget/ExtJS/MenuSelector.pm
(original)
+++ p5ee/trunk/App-Widget-ExtJS/lib/App/Widget/ExtJS/MenuSelector.pm Thu Sep
17 06:41:31 2009
@@ -334,7 +334,7 @@
var menuPanel = new Ext.Panel({
id: 'MenuPanel',
tbar: exampleToolbar,
- html: '<br/><br/><center><b>Tables or other content would go
here</b></center><br/><br/>'
+ html: '{PANEL}'
});
menuPanel.render('$name');