Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 4 commits
  • 19 files changed
  • 0 commit comments
  • 1 contributor
Showing with 5,820 additions and 5,755 deletions.
  1. +1 −0  .gitignore
  2. +0 −46 README
  3. +110 −0 README.textile
  4. +144 −144 modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/docs/scripts/jquery.js
  5. +371 −371 modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/docs/scripts/wikicreole.js
  6. +9 −9 modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/docs/tests/test_image_in_table.js
  7. +17 −17 modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/docs/tests/test_with_crlf.js
  8. +180 −180 ....openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js
  9. +20 −20 ...g.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_History.js
  10. +65 −65 src-core/utils/rmi/Readme.txt
  11. +2 −2 src-core/utils/rmi/java.policy
  12. +362 −362 src-db/database/sourcedata/referencedData/AD_ALERTRULE.xml
  13. +3 −3 src-util/diagnostic/WebContent/META-INF/MANIFEST.MF
  14. +801 −801 src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorJR.jrxml
  15. +1,052 −1,052 src/org/openbravo/erpCommon/ad_reports/ReportInvoicesEditJR.jrxml
  16. +1,858 −1,858 src/org/openbravo/erpCommon/ad_reports/SimpleDimensionalComparative.jrxml
  17. +513 −513 src/org/openbravo/erpCommon/ad_reports/productionReport.jrxml
  18. +129 −129 src/org/openbravo/erpCommon/ad_reports/productionSubReport.jrxml
  19. +183 −183 src/org/openbravo/erpCommon/utility/ImageUtils.java
View
1  .gitignore
@@ -19,6 +19,7 @@
/src-db/bin
/src-db/build
/src-db/database/lib
+/src-db/database/formalChangesScript.xml
/src-gen
/src-trl/bin
/src-trl/build
View
46 README
@@ -1,46 +0,0 @@
-This is the development trunk of Openbravo ERP.
-
-* Installation
-
-First, download the setup binary corresponding to your system:
-
- ant setup
-
-Next run the downloaded file in the config directory. For example in
-x86 Linux:
-
- ./setup-properties-linux.bin
-
-If there is no setup binary for your operating system and architecture,
-send a request to <staff.rm at openbravo dot com>.
-
-Then, to install it run:
-
- ant install.source
-
-It creates the database structure, builds the core, compiles
-Openbravo and generates a war file.
-
-Deploy this war file into the tomcat/webapps directory.
-
-* Documentation
-
-See http://wiki.openbravo.com for more documentation.
-
-* Helping out
-
-If you'd like to help out, great!
-
-Have a look to our Contributor's Guide:
-http://wiki.openbravo.com/wiki/Contributor%27s_Guide
-
-There is also a list of on-going community projects:
-http://wiki.openbravo.com/wiki/Community_Projects
-
-Please share your changes so others can benefit.
-
-Please use svn diff to prepare patches.
-
-* Contact
-
-IRC: #openbravo in freenode
View
110 README.textile
@@ -0,0 +1,110 @@
+h1. Openbravo ERP
+
+This is the *Bippo* development version of *Openbravo ERP*.
+
+More info: "ERP Development Setup | Bippo Development Guide":https://sites.google.com/a/bippo.co.id/dev/erp/development
+
+Useful references:
+* "Tomcat reference":https://sites.google.com/a/bippo.co.id/ref/tomcat
+* "PostgreSQL reference":https://sites.google.com/a/bippo.co.id/ref/postgresql
+
+
+h2. Preparation
+
+h3. Tomcat Setup
+
+Install "Tomcat 6.0.x binary distribution":http://tomcat.apache.org/download-60.cgi (don't use its Ubuntu package).
+Do NOT use Apache 7.0!
+(Hendy's note: maybe should try to use JBoss AS)
+
+a. Extract Tomcat distribution as @$HOME/openbravo-tomcat@ (do not use the @apache-tomcat-x.x.x@ folder)
+ This folder will be referred to as @$CATALINA_HOME@.
+b. Set @CATALINA_HOME@ environment variable in @~/.bashrc@ because it will be used by Openbravo Setup Ant script
+c. Set @CATALINA_OPTS@ environment variable in @~/.bashrc@ as follows: (to fix PermGen error)
+
+bc. export CATALINA_OPTS="-Djava.awt.headless=true -Xms384M -Xmx512M -XX:MaxPermSize=256M"
+
+d. Copy the @tools.jar@ file (from JDK in @/usr/lib/jvm/java-1.6.0-openjdk/lib@) to Tomcat's @lib/@ folder.
+e. In order to avoid Tomcat from auto-reloading itself, comment the @<WatchedResource>@ line in @$CATALINA_HOME/conf/context.xml@
+f. Create administrator user
+g. Start Tomcat
+
+
+h3. PostgreSQL Setup
+
+Install PostgreSQL 8.4 "with UUID support":http://forge.openbravo.com/plugins/espforum/view.php?group_id=100&forumid=549511&topicid=6993892#6993961 : install Ubuntu packages @postgresql-8.4@, @postgresql-contrib-8.4@
+Do NOT use PostgreSQL 9.1 with Openbravo (yet)!
+
+a. Check if @8.4 main@ cluster exists. If not, create @8.4 main@ cluster at port @5433@.
+b. Start PostgreSQL 8.4
+c. Set password for @postgres@ user in the @8.4 main@ cluster
+
+
+h2. Installation
+
+1. Download the setup binary (@config/setup-properties-linux-x64.bin@) corresponding to your system.
+ It is available at Bippo intranet Nexus, search for @setup-properties-linux-x64@.
+
+_Internal note:_ If you want to download @setup-properties@ directly from Openbravo upstream, run:
+
+bc. ant setup
+
+2. Run the downloaded file in the @config@ directory. For example in
+@amd64@ Linux:
+
+bc. config/setup-properties-linux-x64.bin
+
+_Internal note:_ If there is no setup binary for your operating system and architecture,
+send a request to @<staff.rm at openbravo dot com>@.
+
+3. To install it run:
+
+bc. ant install.source
+
+It creates the database structure, builds the core, compiles
+Openbravo and generates a war file.
+
+Deploy this war file into the @tomcat/webapps@ directory.
+
+
+h2. Eclipse Projects Setup
+
+1. Copy @classpath.sample@ to @.classpath@
+2. Do a Git Import from each of these folders in @~/git/openbravo@ :
+
+a. @/@
+b. @src-core/@
+c. @src-trl/@
+d. @src-wad/@
+
+You should get 4 Eclipse projects named:
+
+a. @openbravo@
+b. @OpenbravoCore@
+c. @OpenbravoTrl@
+d. @OpenbravoWAD@
+
+Reference: "How to setup Eclipse IDE":http://wiki.openbravo.com/wiki/How_to_setup_Eclipse_IDE
+
+
+h2. Documentation
+
+See "Openbravo Wiki":http://wiki.openbravo.com for more documentation.
+
+
+h2. Helping out
+
+If you'd like to help out, great!
+
+Have a look to our "Contributor's Guide":http://wiki.openbravo.com/wiki/Contributor%27s_Guide
+
+There is also a list of "on-going community projects":http://wiki.openbravo.com/wiki/Community_Projects
+
+Please share your changes so others can benefit.
+
+Please use @svn diff@ to prepare patches.
+
+
+h2. Contact
+
+IRC: @#openbravo@ in freenode
View
288 modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/docs/scripts/jquery.js
@@ -1266,150 +1266,150 @@ jQuery.each({
function num(elem, prop) {
return elem[0] && parseInt( jQuery.curCSS(elem[0], prop, true), 10 ) || 0;
}
-var expando = "jQuery" + now(), uuid = 0, windowData = {};
-
-jQuery.extend({
- cache: {},
-
- data: function( elem, name, data ) {
- elem = elem == window ?
- windowData :
- elem;
-
- var id = elem[ expando ];
-
- // Compute a unique ID for the element
- if ( !id )
- id = elem[ expando ] = ++uuid;
-
- // Only generate the data cache if we're
- // trying to access or manipulate it
- if ( name && !jQuery.cache[ id ] )
- jQuery.cache[ id ] = {};
-
- // Prevent overriding the named cache with undefined values
- if ( data !== undefined )
- jQuery.cache[ id ][ name ] = data;
-
- // Return the named cache data, or the ID for the element
- return name ?
- jQuery.cache[ id ][ name ] :
- id;
- },
-
- removeData: function( elem, name ) {
- elem = elem == window ?
- windowData :
- elem;
-
- var id = elem[ expando ];
-
- // If we want to remove a specific section of the element's data
- if ( name ) {
- if ( jQuery.cache[ id ] ) {
- // Remove the section of cache data
- delete jQuery.cache[ id ][ name ];
-
- // If we've removed all the data, remove the element's cache
- name = "";
-
- for ( name in jQuery.cache[ id ] )
- break;
-
- if ( !name )
- jQuery.removeData( elem );
- }
-
- // Otherwise, we want to remove all of the element's data
- } else {
- // Clean up the element expando
- try {
- delete elem[ expando ];
- } catch(e){
- // IE has trouble directly removing the expando
- // but it's ok with using removeAttribute
- if ( elem.removeAttribute )
- elem.removeAttribute( expando );
- }
-
- // Completely remove the data cache
- delete jQuery.cache[ id ];
- }
- },
- queue: function( elem, type, data ) {
- if ( elem ){
-
- type = (type || "fx") + "queue";
-
- var q = jQuery.data( elem, type );
-
- if ( !q || jQuery.isArray(data) )
- q = jQuery.data( elem, type, jQuery.makeArray(data) );
- else if( data )
- q.push( data );
-
- }
- return q;
- },
-
- dequeue: function( elem, type ){
- var queue = jQuery.queue( elem, type ),
- fn = queue.shift();
-
- if( !type || type === "fx" )
- fn = queue[0];
-
- if( fn !== undefined )
- fn.call(elem);
- }
-});
-
-jQuery.fn.extend({
- data: function( key, value ){
- var parts = key.split(".");
- parts[1] = parts[1] ? "." + parts[1] : "";
-
- if ( value === undefined ) {
- var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]);
-
- if ( data === undefined && this.length )
- data = jQuery.data( this[0], key );
-
- return data === undefined && parts[1] ?
- this.data( parts[0] ) :
- data;
- } else
- return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function(){
- jQuery.data( this, key, value );
- });
- },
-
- removeData: function( key ){
- return this.each(function(){
- jQuery.removeData( this, key );
- });
- },
- queue: function(type, data){
- if ( typeof type !== "string" ) {
- data = type;
- type = "fx";
- }
-
- if ( data === undefined )
- return jQuery.queue( this[0], type );
-
- return this.each(function(){
- var queue = jQuery.queue( this, type, data );
-
- if( type == "fx" && queue.length == 1 )
- queue[0].call(this);
- });
- },
- dequeue: function(type){
- return this.each(function(){
- jQuery.dequeue( this, type );
- });
- }
+var expando = "jQuery" + now(), uuid = 0, windowData = {};
+
+jQuery.extend({
+ cache: {},
+
+ data: function( elem, name, data ) {
+ elem = elem == window ?
+ windowData :
+ elem;
+
+ var id = elem[ expando ];
+
+ // Compute a unique ID for the element
+ if ( !id )
+ id = elem[ expando ] = ++uuid;
+
+ // Only generate the data cache if we're
+ // trying to access or manipulate it
+ if ( name && !jQuery.cache[ id ] )
+ jQuery.cache[ id ] = {};
+
+ // Prevent overriding the named cache with undefined values
+ if ( data !== undefined )
+ jQuery.cache[ id ][ name ] = data;
+
+ // Return the named cache data, or the ID for the element
+ return name ?
+ jQuery.cache[ id ][ name ] :
+ id;
+ },
+
+ removeData: function( elem, name ) {
+ elem = elem == window ?
+ windowData :
+ elem;
+
+ var id = elem[ expando ];
+
+ // If we want to remove a specific section of the element's data
+ if ( name ) {
+ if ( jQuery.cache[ id ] ) {
+ // Remove the section of cache data
+ delete jQuery.cache[ id ][ name ];
+
+ // If we've removed all the data, remove the element's cache
+ name = "";
+
+ for ( name in jQuery.cache[ id ] )
+ break;
+
+ if ( !name )
+ jQuery.removeData( elem );
+ }
+
+ // Otherwise, we want to remove all of the element's data
+ } else {
+ // Clean up the element expando
+ try {
+ delete elem[ expando ];
+ } catch(e){
+ // IE has trouble directly removing the expando
+ // but it's ok with using removeAttribute
+ if ( elem.removeAttribute )
+ elem.removeAttribute( expando );
+ }
+
+ // Completely remove the data cache
+ delete jQuery.cache[ id ];
+ }
+ },
+ queue: function( elem, type, data ) {
+ if ( elem ){
+
+ type = (type || "fx") + "queue";
+
+ var q = jQuery.data( elem, type );
+
+ if ( !q || jQuery.isArray(data) )
+ q = jQuery.data( elem, type, jQuery.makeArray(data) );
+ else if( data )
+ q.push( data );
+
+ }
+ return q;
+ },
+
+ dequeue: function( elem, type ){
+ var queue = jQuery.queue( elem, type ),
+ fn = queue.shift();
+
+ if( !type || type === "fx" )
+ fn = queue[0];
+
+ if( fn !== undefined )
+ fn.call(elem);
+ }
+});
+
+jQuery.fn.extend({
+ data: function( key, value ){
+ var parts = key.split(".");
+ parts[1] = parts[1] ? "." + parts[1] : "";
+
+ if ( value === undefined ) {
+ var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]);
+
+ if ( data === undefined && this.length )
+ data = jQuery.data( this[0], key );
+
+ return data === undefined && parts[1] ?
+ this.data( parts[0] ) :
+ data;
+ } else
+ return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function(){
+ jQuery.data( this, key, value );
+ });
+ },
+
+ removeData: function( key ){
+ return this.each(function(){
+ jQuery.removeData( this, key );
+ });
+ },
+ queue: function(type, data){
+ if ( typeof type !== "string" ) {
+ data = type;
+ type = "fx";
+ }
+
+ if ( data === undefined )
+ return jQuery.queue( this[0], type );
+
+ return this.each(function(){
+ var queue = jQuery.queue( this, type, data );
+
+ if( type == "fx" && queue.length == 1 )
+ queue[0].call(this);
+ });
+ },
+ dequeue: function(type){
+ return this.each(function(){
+ jQuery.dequeue( this, type );
+ });
+ }
});/*!
* Sizzle CSS Selector Engine - v0.9.3
* Copyright 2009, The Dojo Foundation
View
742 modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/docs/scripts/wikicreole.js
@@ -1,371 +1,371 @@
-/*
- * JavaScript Creole 1.0 Wiki Markup Parser
- * $Id: creole.js 14 2009-03-21 16:15:08Z ifomichev $
- *
- * Copyright (c) 2009 Ivan Fomichev
- *
- * Portions Copyright (c) 2007 Chris Purcell
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included
- * in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- * DEALINGS IN THE SOFTWARE.
- */
-
-if (!Parse) { var Parse = {}; }
-if (!Parse.Simple) { Parse.Simple = {}; }
-
-Parse.Simple.Base = function(grammar, options) {
- if (!arguments.length) { return; }
-
- this.grammar = grammar;
- this.grammar.root = new this.ruleConstructor(this.grammar.root);
- this.options = options;
-};
-
-Parse.Simple.Base.prototype = {
- ruleConstructor: null,
- grammar: null,
- options: null,
-
- parse: function(node, data, options) {
- if (options) {
- for (i in this.options) {
- if (typeof options[i] == 'undefined') { options[i] = this.options[i]; }
- }
- }
- else {
- options = this.options;
- }
- data = data.replace(/\r\n?/g, '\n');
- this.grammar.root.apply(node, data, options);
- if (options && options.forIE) { node.innerHTML = node.innerHTML.replace(/\r?\n/g, '\r\n'); }
- }
-};
-
-Parse.Simple.Base.prototype.constructor = Parse.Simple.Base;
-
-Parse.Simple.Base.Rule = function(params) {
- if (!arguments.length) { return; }
-
- for (var p in params) { this[p] = params[p]; }
- if (!this.children) { this.children = []; }
-};
-
-Parse.Simple.Base.prototype.ruleConstructor = Parse.Simple.Base.Rule;
-
-Parse.Simple.Base.Rule.prototype = {
- regex: null,
- capture: null,
- replaceRegex: null,
- replaceString: null,
- tag: null,
- attrs: null,
- children: null,
-
- match: function(data, options) {
- return data.match(this.regex);
- },
-
- build: function(node, r, options) {
- var data;
- if (this.capture !== null) {
- data = r[this.capture];
- }
-
- var target;
- if (this.tag) {
- target = document.createElement(this.tag);
- node.appendChild(target);
- }
- else { target = node; }
-
- if (data) {
- if (this.replaceRegex) {
- data = data.replace(this.replaceRegex, this.replaceString);
- }
- this.apply(target, data, options);
- }
-
- if (this.attrs) {
- for (var i in this.attrs) {
- target.setAttribute(i, this.attrs[i]);
- if (options && options.forIE && i == 'class') { target.className = this.attrs[i]; }
- }
- }
- return this;
- },
-
- apply: function(node, data, options) {
- var tail = '' + data;
- var matches = [];
-
- if (!this.fallback.apply) {
- this.fallback = new this.constructor(this.fallback);
- }
-
- while (true) {
- var best = false;
- var rule = false;
- for (var i = 0; i < this.children.length; i++) {
- if (typeof matches[i] == 'undefined') {
- if (!this.children[i].match) {
- this.children[i] = new this.constructor(this.children[i]);
- }
- matches[i] = this.children[i].match(tail, options);
- }
- if (matches[i] && (!best || best.index > matches[i].index)) {
- best = matches[i];
- rule = this.children[i];
- if (best.index == 0) { break; }
- }
- }
-
- var pos = best ? best.index : tail.length;
- if (pos > 0) {
- this.fallback.apply(node, tail.substring(0, pos), options);
- }
-
- if (!best) { break; }
-
- if (!rule.build) { rule = new this.constructor(rule); }
- rule.build(node, best, options);
-
- var chopped = best.index + best[0].length;
- tail = tail.substring(chopped);
- for (var i = 0; i < this.children.length; i++) {
- if (matches[i]) {
- if (matches[i].index >= chopped) {
- matches[i].index -= chopped;
- }
- else {
- matches[i] = void 0;
- }
- }
- }
- }
-
- return this;
- },
-
- fallback: {
- apply: function(node, data, options) {
- if (options && options.forIE) {
- // workaround for bad IE
- data = data.replace(/\n/g, ' \r');
- }
- node.appendChild(document.createTextNode(data));
- }
- }
-};
-
-Parse.Simple.Base.Rule.prototype.constructor = Parse.Simple.Base.Rule;
-
-Parse.Simple.Creole = function(options) {
- var rx = {};
- rx.link = '[^\\]|~\\n]*(?:(?:\\](?!\\])|~.)[^\\]|~\\n]*)*';
- rx.linkText = '[^\\]~\\n]*(?:(?:\\](?!\\])|~.)[^\\]~\\n]*)*';
- rx.uriPrefix = '\\b(?:(?:https?|ftp)://|mailto:)';
- rx.uri = rx.uriPrefix + rx.link;
- rx.rawUri = rx.uriPrefix + '\\S*[^\\s!"\',.:;?]';
- rx.interwikiPrefix = '[\\w.]+:';
- rx.interwikiLink = rx.interwikiPrefix + rx.link;
- rx.img = '\\{\\{((?!\\{)[^|}\\n]*(?:}(?!})[^|}\\n]*)*)' +
- (options && options.strict ? '' : '(?:') +
- '\\|([^}~\\n]*((}(?!})|~.)[^}~\\n]*)*)' +
- (options && options.strict ? '' : ')?') +
- '}}';
-
- var formatLink = function(link, format) {
- if (format instanceof Function) {
- return format(link);
- }
-
- format = format instanceof Array ? format : [ format ];
- if (typeof format[1] == 'undefined') { format[1] = ''; }
- return format[0] + link + format[1];
- };
-
- var g = {
- hr: { tag: 'hr', regex: /(^|\n)\s*----\s*(\n|$)/ },
-
- br: { tag: 'br', regex: /\\\\/ },
-
- preBlock: { tag: 'pre', capture: 2,
- regex: /(^|\n)\{\{\{\n((.*\n)*?)\}\}\}(\n|$)/,
- replaceRegex: /^ ([ \t]*\}\}\})/gm,
- replaceString: '$1' },
- tt: { tag: 'tt',
- regex: /\{\{\{(.*?\}\}\}+)/, capture: 1,
- replaceRegex: /\}\}\}$/, replaceString: '' },
-
- ulist: { tag: 'ul', capture: 0,
- regex: /(^|\n)([ \t]*\*[^*#].*(\n|$)([ \t]*[^\s*#].*(\n|$))*([ \t]*[*#]{2}.*(\n|$))*)+/ },
- olist: { tag: 'ol', capture: 0,
- regex: /(^|\n)([ \t]*#[^*#].*(\n|$)([ \t]*[^\s*#].*(\n|$))*([ \t]*[*#]{2}.*(\n|$))*)+/ },
- li: { tag: 'li', capture: 0,
- regex: /[ \t]*([*#]).+(\n[ \t]*[^*#\s].*)*(\n[ \t]*\1[*#].+)*/,
- replaceRegex: /(^|\n)[ \t]*[*#]/g, replaceString: '$1' },
-
- table: { tag: 'table', capture: 0,
- regex: /(^|\n)(\|.*?[ \t]*(\n|$))+/ },
- tr: { tag: 'tr', capture: 2, regex: /(^|\n)(\|.*?)\|?[ \t]*(\n|$)/ },
- th: { tag: 'th', regex: /\|+=([^|]*)/, capture: 1 },
- td: { tag: 'td', capture: 1,
- regex: '\\|+([^|~\\[{]*((~(.|(?=\\n)|$)|' +
- '\\[\\[' + rx.link + '(\\|' + rx.linkText + ')?\\]\\]' +
- (options && options.strict ? '' : '|' + rx.img) +
- '|[\\[{])[^|~]*)*)' },
-
- singleLine: { regex: /.+/, capture: 0 },
- paragraph: { tag: 'p', capture: 0,
- regex: /(^|\n)([ \t]*\S.*(\n|$))+/ },
- text: { capture: 0, regex: /(^|\n)([ \t]*[^\s].*(\n|$))+/ },
-
- strong: { tag: 'strong', capture: 1,
- regex: /\*\*([^*~]*((\*(?!\*)|~(.|(?=\n)|$))[^*~]*)*)(\*\*|\n|$)/ },
- em: { tag: 'em', capture: 1,
- regex: '\\/\\/(((?!' + rx.uriPrefix + ')[^\\/~])*' +
- '((' + rx.rawUri + '|\\/(?!\\/)|~(.|(?=\\n)|$))' +
- '((?!' + rx.uriPrefix + ')[^\\/~])*)*)(\\/\\/|\\n|$)' },
-
- img: { regex: rx.img,
- build: function(node, r, options) {
- var img = document.createElement('img');
- img.src = r[1];
- img.alt = r[2] === undefined
- ? (options && options.defaultImageText ? options.defaultImageText : '')
- : r[2].replace(/~(.)/g, '$1');
- node.appendChild(img);
- } },
-
- namedUri: { regex: '\\[\\[(' + rx.uri + ')\\|(' + rx.linkText + ')\\]\\]',
- build: function(node, r, options) {
- var link = document.createElement('a');
- link.href = r[1];
- if (options && options.isPlainUri) {
- link.appendChild(document.createTextNode(r[2]));
- }
- else {
- this.apply(link, r[2], options);
- }
- node.appendChild(link);
- } },
-
- namedLink: { regex: '\\[\\[(' + rx.link + ')\\|(' + rx.linkText + ')\\]\\]',
- build: function(node, r, options) {
- var link = document.createElement('a');
-
- link.href = options && options.linkFormat
- ? formatLink(r[1].replace(/~(.)/g, '$1'), options.linkFormat)
- : r[1].replace(/~(.)/g, '$1');
- this.apply(link, r[2], options);
-
- node.appendChild(link);
- } },
-
- unnamedUri: { regex: '\\[\\[(' + rx.uri + ')\\]\\]',
- build: 'dummy' },
- unnamedLink: { regex: '\\[\\[(' + rx.link + ')\\]\\]',
- build: 'dummy' },
- unnamedInterwikiLink: { regex: '\\[\\[(' + rx.interwikiLink + ')\\]\\]',
- build: 'dummy' },
-
- rawUri: { regex: '(' + rx.rawUri + ')',
- build: 'dummy' },
-
- escapedSequence: { regex: '~(' + rx.rawUri + '|.)', capture: 1,
- tag: 'span', attrs: { 'class': 'escaped' } },
- escapedSymbol: { regex: /~(.)/, capture: 1,
- tag: 'span', attrs: { 'class': 'escaped' } }
- };
- g.unnamedUri.build = g.rawUri.build = function(node, r, options) {
- if (!options) { options = {}; }
- options.isPlainUri = true;
- g.namedUri.build.call(this, node, Array(r[0], r[1], r[1]), options);
- };
- g.unnamedLink.build = function(node, r, options) {
- g.namedLink.build.call(this, node, Array(r[0], r[1], r[1]), options);
- };
- g.namedInterwikiLink = { regex: '\\[\\[(' + rx.interwikiLink + ')\\|(' + rx.linkText + ')\\]\\]',
- build: function(node, r, options) {
- var link = document.createElement('a');
-
- var m, f;
- if (options && options.interwiki) {
- m = r[1].match(/(.*?):(.*)/);
- f = options.interwiki[m[1]];
- }
-
- if (typeof f == 'undefined') {
- if (!g.namedLink.apply) {
- g.namedLink = new this.constructor(g.namedLink);
- }
- return g.namedLink.build.call(g.namedLink, node, r, options);
- }
-
- link.href = formatLink(m[2].replace(/~(.)/g, '$1'), f);
-
- this.apply(link, r[2], options);
-
- node.appendChild(link);
- }
- };
- g.unnamedInterwikiLink.build = function(node, r, options) {
- g.namedInterwikiLink.build.call(this, node, Array(r[0], r[1], r[1]), options);
- };
- g.namedUri.children = g.unnamedUri.children = g.rawUri.children =
- g.namedLink.children = g.unnamedLink.children =
- g.namedInterwikiLink.children = g.unnamedInterwikiLink.children =
- [ g.escapedSymbol, g.img ];
-
- for (var i = 1; i <= 6; i++) {
- g['h' + i] = { tag: 'h' + i, capture: 2,
- regex: '(^|\\n)[ \\t]*={' + i + '}[ \\t]' +
- '([^~]*?(~(.|(?=\\n)|$))*)[ \\t]*=*\\s*(\\n|$)'
- };
- }
-
- g.ulist.children = g.olist.children = [ g.li ];
- g.li.children = [ g.ulist, g.olist ];
- g.li.fallback = g.text;
-
- g.table.children = [ g.tr ];
- g.tr.children = [ g.th, g.td ];
- g.td.children = [ g.singleLine ];
- g.th.children = [ g.singleLine ];
-
- g.h1.children = g.h2.children = g.h3.children =
- g.h4.children = g.h5.children = g.h6.children =
- g.singleLine.children = g.paragraph.children =
- g.text.children = g.strong.children = g.em.children =
- [ g.escapedSequence, g.strong, g.em, g.br, g.rawUri,
- g.namedUri, g.namedInterwikiLink, g.namedLink,
- g.unnamedUri, g.unnamedInterwikiLink, g.unnamedLink,
- g.tt, g.img ];
-
- g.root = {
- children: [ g.h1, g.h2, g.h3, g.h4, g.h5, g.h6,
- g.hr, g.ulist, g.olist, g.preBlock, g.table ],
- fallback: { children: [ g.paragraph ] }
- };
-
- Parse.Simple.Base.call(this, g, options);
-};
-
-Parse.Simple.Creole.prototype = new Parse.Simple.Base();
-
-Parse.Simple.Creole.prototype.constructor = Parse.Simple.Creole;
+/*
+ * JavaScript Creole 1.0 Wiki Markup Parser
+ * $Id: creole.js 14 2009-03-21 16:15:08Z ifomichev $
+ *
+ * Copyright (c) 2009 Ivan Fomichev
+ *
+ * Portions Copyright (c) 2007 Chris Purcell
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+if (!Parse) { var Parse = {}; }
+if (!Parse.Simple) { Parse.Simple = {}; }
+
+Parse.Simple.Base = function(grammar, options) {
+ if (!arguments.length) { return; }
+
+ this.grammar = grammar;
+ this.grammar.root = new this.ruleConstructor(this.grammar.root);
+ this.options = options;
+};
+
+Parse.Simple.Base.prototype = {
+ ruleConstructor: null,
+ grammar: null,
+ options: null,
+
+ parse: function(node, data, options) {
+ if (options) {
+ for (i in this.options) {
+ if (typeof options[i] == 'undefined') { options[i] = this.options[i]; }
+ }
+ }
+ else {
+ options = this.options;
+ }
+ data = data.replace(/\r\n?/g, '\n');
+ this.grammar.root.apply(node, data, options);
+ if (options && options.forIE) { node.innerHTML = node.innerHTML.replace(/\r?\n/g, '\r\n'); }
+ }
+};
+
+Parse.Simple.Base.prototype.constructor = Parse.Simple.Base;
+
+Parse.Simple.Base.Rule = function(params) {
+ if (!arguments.length) { return; }
+
+ for (var p in params) { this[p] = params[p]; }
+ if (!this.children) { this.children = []; }
+};
+
+Parse.Simple.Base.prototype.ruleConstructor = Parse.Simple.Base.Rule;
+
+Parse.Simple.Base.Rule.prototype = {
+ regex: null,
+ capture: null,
+ replaceRegex: null,
+ replaceString: null,
+ tag: null,
+ attrs: null,
+ children: null,
+
+ match: function(data, options) {
+ return data.match(this.regex);
+ },
+
+ build: function(node, r, options) {
+ var data;
+ if (this.capture !== null) {
+ data = r[this.capture];
+ }
+
+ var target;
+ if (this.tag) {
+ target = document.createElement(this.tag);
+ node.appendChild(target);
+ }
+ else { target = node; }
+
+ if (data) {
+ if (this.replaceRegex) {
+ data = data.replace(this.replaceRegex, this.replaceString);
+ }
+ this.apply(target, data, options);
+ }
+
+ if (this.attrs) {
+ for (var i in this.attrs) {
+ target.setAttribute(i, this.attrs[i]);
+ if (options && options.forIE && i == 'class') { target.className = this.attrs[i]; }
+ }
+ }
+ return this;
+ },
+
+ apply: function(node, data, options) {
+ var tail = '' + data;
+ var matches = [];
+
+ if (!this.fallback.apply) {
+ this.fallback = new this.constructor(this.fallback);
+ }
+
+ while (true) {
+ var best = false;
+ var rule = false;
+ for (var i = 0; i < this.children.length; i++) {
+ if (typeof matches[i] == 'undefined') {
+ if (!this.children[i].match) {
+ this.children[i] = new this.constructor(this.children[i]);
+ }
+ matches[i] = this.children[i].match(tail, options);
+ }
+ if (matches[i] && (!best || best.index > matches[i].index)) {
+ best = matches[i];
+ rule = this.children[i];
+ if (best.index == 0) { break; }
+ }
+ }
+
+ var pos = best ? best.index : tail.length;
+ if (pos > 0) {
+ this.fallback.apply(node, tail.substring(0, pos), options);
+ }
+
+ if (!best) { break; }
+
+ if (!rule.build) { rule = new this.constructor(rule); }
+ rule.build(node, best, options);
+
+ var chopped = best.index + best[0].length;
+ tail = tail.substring(chopped);
+ for (var i = 0; i < this.children.length; i++) {
+ if (matches[i]) {
+ if (matches[i].index >= chopped) {
+ matches[i].index -= chopped;
+ }
+ else {
+ matches[i] = void 0;
+ }
+ }
+ }
+ }
+
+ return this;
+ },
+
+ fallback: {
+ apply: function(node, data, options) {
+ if (options && options.forIE) {
+ // workaround for bad IE
+ data = data.replace(/\n/g, ' \r');
+ }
+ node.appendChild(document.createTextNode(data));
+ }
+ }
+};
+
+Parse.Simple.Base.Rule.prototype.constructor = Parse.Simple.Base.Rule;
+
+Parse.Simple.Creole = function(options) {
+ var rx = {};
+ rx.link = '[^\\]|~\\n]*(?:(?:\\](?!\\])|~.)[^\\]|~\\n]*)*';
+ rx.linkText = '[^\\]~\\n]*(?:(?:\\](?!\\])|~.)[^\\]~\\n]*)*';
+ rx.uriPrefix = '\\b(?:(?:https?|ftp)://|mailto:)';
+ rx.uri = rx.uriPrefix + rx.link;
+ rx.rawUri = rx.uriPrefix + '\\S*[^\\s!"\',.:;?]';
+ rx.interwikiPrefix = '[\\w.]+:';
+ rx.interwikiLink = rx.interwikiPrefix + rx.link;
+ rx.img = '\\{\\{((?!\\{)[^|}\\n]*(?:}(?!})[^|}\\n]*)*)' +
+ (options && options.strict ? '' : '(?:') +
+ '\\|([^}~\\n]*((}(?!})|~.)[^}~\\n]*)*)' +
+ (options && options.strict ? '' : ')?') +
+ '}}';
+
+ var formatLink = function(link, format) {
+ if (format instanceof Function) {
+ return format(link);
+ }
+
+ format = format instanceof Array ? format : [ format ];
+ if (typeof format[1] == 'undefined') { format[1] = ''; }
+ return format[0] + link + format[1];
+ };
+
+ var g = {
+ hr: { tag: 'hr', regex: /(^|\n)\s*----\s*(\n|$)/ },
+
+ br: { tag: 'br', regex: /\\\\/ },
+
+ preBlock: { tag: 'pre', capture: 2,
+ regex: /(^|\n)\{\{\{\n((.*\n)*?)\}\}\}(\n|$)/,
+ replaceRegex: /^ ([ \t]*\}\}\})/gm,
+ replaceString: '$1' },
+ tt: { tag: 'tt',
+ regex: /\{\{\{(.*?\}\}\}+)/, capture: 1,
+ replaceRegex: /\}\}\}$/, replaceString: '' },
+
+ ulist: { tag: 'ul', capture: 0,
+ regex: /(^|\n)([ \t]*\*[^*#].*(\n|$)([ \t]*[^\s*#].*(\n|$))*([ \t]*[*#]{2}.*(\n|$))*)+/ },
+ olist: { tag: 'ol', capture: 0,
+ regex: /(^|\n)([ \t]*#[^*#].*(\n|$)([ \t]*[^\s*#].*(\n|$))*([ \t]*[*#]{2}.*(\n|$))*)+/ },
+ li: { tag: 'li', capture: 0,
+ regex: /[ \t]*([*#]).+(\n[ \t]*[^*#\s].*)*(\n[ \t]*\1[*#].+)*/,
+ replaceRegex: /(^|\n)[ \t]*[*#]/g, replaceString: '$1' },
+
+ table: { tag: 'table', capture: 0,
+ regex: /(^|\n)(\|.*?[ \t]*(\n|$))+/ },
+ tr: { tag: 'tr', capture: 2, regex: /(^|\n)(\|.*?)\|?[ \t]*(\n|$)/ },
+ th: { tag: 'th', regex: /\|+=([^|]*)/, capture: 1 },
+ td: { tag: 'td', capture: 1,
+ regex: '\\|+([^|~\\[{]*((~(.|(?=\\n)|$)|' +
+ '\\[\\[' + rx.link + '(\\|' + rx.linkText + ')?\\]\\]' +
+ (options && options.strict ? '' : '|' + rx.img) +
+ '|[\\[{])[^|~]*)*)' },
+
+ singleLine: { regex: /.+/, capture: 0 },
+ paragraph: { tag: 'p', capture: 0,
+ regex: /(^|\n)([ \t]*\S.*(\n|$))+/ },
+ text: { capture: 0, regex: /(^|\n)([ \t]*[^\s].*(\n|$))+/ },
+
+ strong: { tag: 'strong', capture: 1,
+ regex: /\*\*([^*~]*((\*(?!\*)|~(.|(?=\n)|$))[^*~]*)*)(\*\*|\n|$)/ },
+ em: { tag: 'em', capture: 1,
+ regex: '\\/\\/(((?!' + rx.uriPrefix + ')[^\\/~])*' +
+ '((' + rx.rawUri + '|\\/(?!\\/)|~(.|(?=\\n)|$))' +
+ '((?!' + rx.uriPrefix + ')[^\\/~])*)*)(\\/\\/|\\n|$)' },
+
+ img: { regex: rx.img,
+ build: function(node, r, options) {
+ var img = document.createElement('img');
+ img.src = r[1];
+ img.alt = r[2] === undefined
+ ? (options && options.defaultImageText ? options.defaultImageText : '')
+ : r[2].replace(/~(.)/g, '$1');
+ node.appendChild(img);
+ } },
+
+ namedUri: { regex: '\\[\\[(' + rx.uri + ')\\|(' + rx.linkText + ')\\]\\]',
+ build: function(node, r, options) {
+ var link = document.createElement('a');
+ link.href = r[1];
+ if (options && options.isPlainUri) {
+ link.appendChild(document.createTextNode(r[2]));
+ }
+ else {
+ this.apply(link, r[2], options);
+ }
+ node.appendChild(link);
+ } },
+
+ namedLink: { regex: '\\[\\[(' + rx.link + ')\\|(' + rx.linkText + ')\\]\\]',
+ build: function(node, r, options) {
+ var link = document.createElement('a');
+
+ link.href = options && options.linkFormat
+ ? formatLink(r[1].replace(/~(.)/g, '$1'), options.linkFormat)
+ : r[1].replace(/~(.)/g, '$1');
+ this.apply(link, r[2], options);
+
+ node.appendChild(link);
+ } },
+
+ unnamedUri: { regex: '\\[\\[(' + rx.uri + ')\\]\\]',
+ build: 'dummy' },
+ unnamedLink: { regex: '\\[\\[(' + rx.link + ')\\]\\]',
+ build: 'dummy' },
+ unnamedInterwikiLink: { regex: '\\[\\[(' + rx.interwikiLink + ')\\]\\]',
+ build: 'dummy' },
+
+ rawUri: { regex: '(' + rx.rawUri + ')',
+ build: 'dummy' },
+
+ escapedSequence: { regex: '~(' + rx.rawUri + '|.)', capture: 1,
+ tag: 'span', attrs: { 'class': 'escaped' } },
+ escapedSymbol: { regex: /~(.)/, capture: 1,
+ tag: 'span', attrs: { 'class': 'escaped' } }
+ };
+ g.unnamedUri.build = g.rawUri.build = function(node, r, options) {
+ if (!options) { options = {}; }
+ options.isPlainUri = true;
+ g.namedUri.build.call(this, node, Array(r[0], r[1], r[1]), options);
+ };
+ g.unnamedLink.build = function(node, r, options) {
+ g.namedLink.build.call(this, node, Array(r[0], r[1], r[1]), options);
+ };
+ g.namedInterwikiLink = { regex: '\\[\\[(' + rx.interwikiLink + ')\\|(' + rx.linkText + ')\\]\\]',
+ build: function(node, r, options) {
+ var link = document.createElement('a');
+
+ var m, f;
+ if (options && options.interwiki) {
+ m = r[1].match(/(.*?):(.*)/);
+ f = options.interwiki[m[1]];
+ }
+
+ if (typeof f == 'undefined') {
+ if (!g.namedLink.apply) {
+ g.namedLink = new this.constructor(g.namedLink);
+ }
+ return g.namedLink.build.call(g.namedLink, node, r, options);
+ }
+
+ link.href = formatLink(m[2].replace(/~(.)/g, '$1'), f);
+
+ this.apply(link, r[2], options);
+
+ node.appendChild(link);
+ }
+ };
+ g.unnamedInterwikiLink.build = function(node, r, options) {
+ g.namedInterwikiLink.build.call(this, node, Array(r[0], r[1], r[1]), options);
+ };
+ g.namedUri.children = g.unnamedUri.children = g.rawUri.children =
+ g.namedLink.children = g.unnamedLink.children =
+ g.namedInterwikiLink.children = g.unnamedInterwikiLink.children =
+ [ g.escapedSymbol, g.img ];
+
+ for (var i = 1; i <= 6; i++) {
+ g['h' + i] = { tag: 'h' + i, capture: 2,
+ regex: '(^|\\n)[ \\t]*={' + i + '}[ \\t]' +
+ '([^~]*?(~(.|(?=\\n)|$))*)[ \\t]*=*\\s*(\\n|$)'
+ };
+ }
+
+ g.ulist.children = g.olist.children = [ g.li ];
+ g.li.children = [ g.ulist, g.olist ];
+ g.li.fallback = g.text;
+
+ g.table.children = [ g.tr ];
+ g.tr.children = [ g.th, g.td ];
+ g.td.children = [ g.singleLine ];
+ g.th.children = [ g.singleLine ];
+
+ g.h1.children = g.h2.children = g.h3.children =
+ g.h4.children = g.h5.children = g.h6.children =
+ g.singleLine.children = g.paragraph.children =
+ g.text.children = g.strong.children = g.em.children =
+ [ g.escapedSequence, g.strong, g.em, g.br, g.rawUri,
+ g.namedUri, g.namedInterwikiLink, g.namedLink,
+ g.unnamedUri, g.unnamedInterwikiLink, g.unnamedLink,
+ g.tt, g.img ];
+
+ g.root = {
+ children: [ g.h1, g.h2, g.h3, g.h4, g.h5, g.h6,
+ g.hr, g.ulist, g.olist, g.preBlock, g.table ],
+ fallback: { children: [ g.paragraph ] }
+ };
+
+ Parse.Simple.Base.call(this, g, options);
+};
+
+Parse.Simple.Creole.prototype = new Parse.Simple.Base();
+
+Parse.Simple.Creole.prototype.constructor = Parse.Simple.Creole;
View
18 modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/docs/tests/test_image_in_table.js
@@ -1,9 +1,9 @@
-// = test_image_in_table.js =
-
-// ** {{{ Test image in table }}} **
-// |= Header 1 |= Header 2 |
-// | [[http://www.ibm.com|Big Corp]] | some text in col 2 |
-// | {{http://www.wikicreole.org/attach/LeftMenu/viki.png|Creole 1.0}} | more text in col 2 |
-
-function dummy() {
-}
+// = test_image_in_table.js =
+
+// ** {{{ Test image in table }}} **
+// |= Header 1 |= Header 2 |
+// | [[http://www.ibm.com|Big Corp]] | some text in col 2 |
+// | {{http://www.wikicreole.org/attach/LeftMenu/viki.png|Creole 1.0}} | more text in col 2 |
+
+function dummy() {
+}
View
34 modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/docs/tests/test_with_crlf.js
@@ -1,17 +1,17 @@
-// = test_with_crlf.js =
-
-// ** {{{ Test with CRLF }}} **
-//
-// Edit the file preserving the end line terminator: CRLF.
-// [[#test_with_cr.js| see cr]]
-// [[#test_with_lf.js| see lf]]
-//
-// The used structure for each block is:
-// {{{
-// <div class="documentation"> (...) </div>
-// <pre class="code prettyprint"> (...) </pre>
-// <div class="divider"/>
-// }}}
-
-function dummy() {
-}
+// = test_with_crlf.js =
+
+// ** {{{ Test with CRLF }}} **
+//
+// Edit the file preserving the end line terminator: CRLF.
+// [[#test_with_cr.js| see cr]]
+// [[#test_with_lf.js| see lf]]
+//
+// The used structure for each block is:
+// {{{
+// <div class="documentation"> (...) </div>
+// <pre class="code prettyprint"> (...) </pre>
+// <div class="divider"/>
+// }}}
+
+function dummy() {
+}
View
360 ...enbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js
@@ -1,13 +1,13 @@
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
var isc = window.isc ? window.isc : {};if(window.isc&&!window.isc.module_Core){isc.module_Core=1;isc._moduleStart=isc._Core_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log && isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={ message:'Core load/parse time: ' + (isc._moduleStart-isc._moduleEnd) + 'ms', category:'loadTime'};
if(isc.Log && isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime')
@@ -4195,27 +4195,27 @@ default:var _20=parseInt(_23.index);return this.data.get(_20)}}})}
if(isc.Calendar)isc.AutoTest.customizeCalendar();if(!isc.Page.isLoaded()){isc.Page.setEvent("load","isc.ApplyAutoTestMethods()")}else{isc.ApplyAutoTestMethods()}
isc.Page.logInfo("SmartClient Core ("+isc.version+" "+isc.buildDate+") initialized: "+(isc.timeStamp()-isc.$d)+"ms");isc.Page.logInfo("document.compatMode: "+document.compatMode);if(isc.Log.hasFireBug()){isc.Log.logWarn("NOTE: Firebug is enabled. Firebug greatly slows the performance of "+"applications that make heavy use of JavaScript. Isomorphic highly recommends Firebug "+"for troubleshooting, but Firebug and other development tools should be disabled when "+"assessing the real-world performance of SmartClient applications.")}
isc._moduleEnd=isc._Core_end=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc.Log&&isc.Log.logIsInfoEnabled('loadTime'))isc.Log.logInfo('Core module init time: ' + (isc._moduleEnd-isc._moduleStart) + 'ms','loadTime');delete isc.definingFramework;}else{if(window.isc && isc.Log && isc.Log.logWarn)isc.Log.logWarn("Duplicate load of module 'Core'.");}
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
if(window.isc&&window.isc.module_Core&&!window.isc.module_Foundation){isc.module_Foundation=1;isc._moduleStart=isc._Foundation_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log && isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={ message:'Foundation load/parse time: ' + (isc._moduleStart-isc._moduleEnd) + 'ms', category:'loadTime'};
if(isc.Log && isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime')
@@ -5433,27 +5433,27 @@ this.updateUI();if(_2&&this.paneChanged!=null)this.paneChanged(_1)}
,isc.A.navigationClick=function isc_SplitPane_navigationClick(_1){}
,isc.A.setDetailNavigationControl=function isc_SplitPane_setDetailNavigationControl(_1){this.detailNavigationControl=_1;var _2=this.currentUIConfig!="landscape"&&this.currentPane=="detail";if(_2)this.updateUI(true)}
);isc.B._maxIndex=isc.C+34;isc.SplitPane.registerStringMethods({paneChanged:"pane"});isc._moduleEnd=isc._Foundation_end=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc.Log&&isc.Log.logIsInfoEnabled('loadTime'))isc.Log.logInfo('Foundation module init time: ' + (isc._moduleEnd-isc._moduleStart) + 'ms','loadTime');delete isc.definingFramework;}else{if(window.isc && isc.Log && isc.Log.logWarn)isc.Log.logWarn("Duplicate load of module 'Foundation'.");}
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
if(window.isc&&window.isc.module_Core&&!window.isc.module_Containers){isc.module_Containers=1;isc._moduleStart=isc._Containers_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log && isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={ message:'Containers load/parse time: ' + (isc._moduleStart-isc._moduleEnd) + 'ms', category:'loadTime'};
if(isc.Log && isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime')
@@ -5990,27 +5990,27 @@ this.invokeSuper("TabSet","clear",_1,_2,_3,_4)}
_3.selectTab(_5);_3.getTabBar().getButton(_5).focus();return false}
if(this.convertToMethod("keyPress"))return this.keyPress(_1,_2)}
);isc.B._maxIndex=isc.C+1;isc.TabSet.registerDupProperties("tabs",["pane"]);isc._moduleEnd=isc._Containers_end=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc.Log&&isc.Log.logIsInfoEnabled('loadTime'))isc.Log.logInfo('Containers module init time: ' + (isc._moduleEnd-isc._moduleStart) + 'ms','loadTime');delete isc.definingFramework;}else{if(window.isc && isc.Log && isc.Log.logWarn)isc.Log.logWarn("Duplicate load of module 'Containers'.");}
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
if(window.isc&&window.isc.module_Core&&!window.isc.module_Grids){isc.module_Grids=1;isc._moduleStart=isc._Grids_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log && isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={ message:'Grids load/parse time: ' + (isc._moduleStart-isc._moduleEnd) + 'ms', category:'loadTime'};
if(isc.Log && isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime')
@@ -10109,27 +10109,27 @@ this.criteriaPane.setState(_1?_1.criteria:null)}
this.clearEditorData();this.reportGrid.deselectAllRecords();this.reportGrid.selectSingleRecord(_3);this.showEditor(this.reportGrid.getRecord(_3))}
,isc.A.tryIt=function isc_ReportBuilder_tryIt(){if(this.columnPane&&this.columnPane.configGrid)this.columnPane.configGrid.endEditing();this.updateFormRecord();isc.ReportBuilder.setLinkedGridState(this.editorForm.getData(),this.previewGrid)}
);isc.B._maxIndex=isc.C+17;isc._moduleEnd=isc._Grids_end=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc.Log&&isc.Log.logIsInfoEnabled('loadTime'))isc.Log.logInfo('Grids module init time: ' + (isc._moduleEnd-isc._moduleStart) + 'ms','loadTime');delete isc.definingFramework;}else{if(window.isc && isc.Log && isc.Log.logWarn)isc.Log.logWarn("Duplicate load of module 'Grids'.");}
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
if(window.isc&&window.isc.module_Core&&!window.isc.module_Forms){isc.module_Forms=1;isc._moduleStart=isc._Forms_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log && isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={ message:'Forms load/parse time: ' + (isc._moduleStart-isc._moduleEnd) + 'ms', category:'loadTime'};
if(isc.Log && isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime')
@@ -13657,27 +13657,27 @@ isc.defineClass("ReportChooserItem","ComboBoxItem");isc.A=isc.ReportChooserItem.
,isc.A.changed=function isc_ReportChooserItem_changed(_1,_2,_3){var _4=this.getSelectedRecord();if(this.grid&&_4&&_4.reportId!=-299){isc.ReportBuilder.setLinkedGridState(_4,this.grid)}}
,isc.A.reportBuilderReply=function isc_ReportChooserItem_reportBuilderReply(){this.pickList.invalidateCache();this.setValue(null)}
);isc.B._maxIndex=isc.C+4;isc._moduleEnd=isc._Forms_end=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc.Log&&isc.Log.logIsInfoEnabled('loadTime'))isc.Log.logInfo('Forms module init time: ' + (isc._moduleEnd-isc._moduleStart) + 'ms','loadTime');delete isc.definingFramework;}else{if(window.isc && isc.Log && isc.Log.logWarn)isc.Log.logWarn("Duplicate load of module 'Forms'.");}
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
if(window.isc&&window.isc.module_Core&&!window.isc.module_DataBinding){isc.module_DataBinding=1;isc._moduleStart=isc._DataBinding_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log && isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={ message:'DataBinding load/parse time: ' + (isc._moduleStart-isc._moduleEnd) + 'ms', category:'loadTime'};
if(isc.Log && isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime')
@@ -16900,27 +16900,27 @@ _3.add(_6)}
var _9=isc.Tree.create({modelType:"parent",childrenProperty:"fields",titleProperty:"name",idField:"id",nameProperty:"id",root:{id:0,name:"root"},data:_3});this.fieldEditor.setData(_9)}
);isc.B._maxIndex=isc.C+16}
isc._moduleEnd=isc._DataBinding_end=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc.Log&&isc.Log.logIsInfoEnabled('loadTime'))isc.Log.logInfo('DataBinding module init time: ' + (isc._moduleEnd-isc._moduleStart) + 'ms','loadTime');delete isc.definingFramework;}else{if(window.isc && isc.Log && isc.Log.logWarn)isc.Log.logWarn("Duplicate load of module 'DataBinding'.");}
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
if(window.isc&&window.isc.module_Core&&!window.isc.module_Calendar){isc.module_Calendar=1;isc._moduleStart=isc._Calendar_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log && isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={ message:'Calendar load/parse time: ' + (isc._moduleStart-isc._moduleEnd) + 'ms', category:'loadTime'};
if(isc.Log && isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime')
@@ -17361,27 +17361,27 @@ var _1=this.body.getScrollLeft();var _2=_1+this.body.getVisibleWidth();var _3=th
,isc.A.getVisibleRowRange=function isc_TimelineView_getVisibleRowRange(){if(!this.renderEventsOnDemand){return[0,this.data.getLength()]}
var _1=this.bodies[1].getScrollTop();var _2=this.eventHeight;var _3=this.bodies[1].getVisibleHeight();var _4=Math.floor(_1/ _2);var _5=Math.floor((_1+_3)/_2);return[_4,_5]}
);isc.B._maxIndex=isc.C+46;isc.Calendar.registerStringMethods({getDayBodyHTML:"date,events,calendar,rowNum,colNum",getDayHeaderHTML:"date,events,calendar,rowNum,colNum",dayBodyClick:"date,events,calendar,rowNum,colNum",dayHeaderClick:"date,events,calendar,rowNum,colNum",eventClick:"event,viewName",eventChanged:"event",eventMoved:"newDate,event",eventResized:"newDate,event",backgroundClick:"startDate,endDate",backgroundMouseUp:"startDate"});isc.A=isc.DaySchedule;isc.A.$53o=[{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""},{label:"",day1:"",day2:"",day3:"",day4:"",day5:"",day6:"",day7:""}];isc.AutoTest.customizeCalendar();isc._moduleEnd=isc._Calendar_end=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc.Log&&isc.Log.logIsInfoEnabled('loadTime'))isc.Log.logInfo('Calendar module init time: ' + (isc._moduleEnd-isc._moduleStart) + 'ms','loadTime');delete isc.definingFramework;}else{if(window.isc && isc.Log && isc.Log.logWarn)isc.Log.logWarn("Duplicate load of module 'Calendar'.");}
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
if(window.isc&&window.isc.module_Core&&!window.isc.module_PluginBridges){isc.module_PluginBridges=1;isc._moduleStart=isc._PluginBridges_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log && isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={ message:'PluginBridges load/parse time: ' + (isc._moduleStart-isc._moduleEnd) + 'ms', category:'loadTime'};
if(isc.Log && isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime')
@@ -17444,27 +17444,27 @@ _1.append("</object>");return _1.toString()}
,isc.A.getPluginID=function isc_ActiveXControl_getPluginID(){if(!this.id)this.id=this.getID()+"$27a";return this.id}
,isc.A.getPluginHandle=function isc_ActiveXControl_getPluginHandle(){return window[this.getPluginID()]}
);isc.B._maxIndex=isc.C+3;isc._moduleEnd=isc._PluginBridges_end=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc.Log&&isc.Log.logIsInfoEnabled('loadTime'))isc.Log.logInfo('PluginBridges module init time: ' + (isc._moduleEnd-isc._moduleStart) + 'ms','loadTime');delete isc.definingFramework;}else{if(window.isc && isc.Log && isc.Log.logWarn)isc.Log.logWarn("Duplicate load of module 'PluginBridges'.");}
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
if(window.isc&&window.isc.module_Core&&!window.isc.module_RichTextEditor){isc.module_RichTextEditor=1;isc._moduleStart=isc._RichTextEditor_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log && isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={ message:'RichTextEditor load/parse time: ' + (isc._moduleStart-isc._moduleEnd) + 'ms', category:'loadTime'};
if(isc.Log && isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime')
@@ -17678,14 +17678,14 @@ _2.defaultControlConstructor=this.defaultControlConstructor;this.canvas=_2;this.
,isc.A.updateValue=function isc_RichTextItem_updateValue(){if(!this.canvas)return
var _1=this.canvas.getValue();return this.$10y(_1)}
);isc.B._maxIndex=isc.C+6;isc._moduleEnd=isc._RichTextEditor_end=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc.Log&&isc.Log.logIsInfoEnabled('loadTime'))isc.Log.logInfo('RichTextEditor module init time: ' + (isc._moduleEnd-isc._moduleStart) + 'ms','loadTime');delete isc.definingFramework;}else{if(window.isc && isc.Log && isc.Log.logWarn)isc.Log.logWarn("Duplicate load of module 'RichTextEditor'.");}
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
View
40 ...penbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_History.js
@@ -1,13 +1,13 @@
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
var isc = window.isc ? window.isc : {};if(window.isc&&!window.isc.module_History){isc.module_History=1;isc._moduleStart=isc._History_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log && isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={ message:'History load/parse time: ' + (isc._moduleStart-isc._moduleEnd) + 'ms', category:'loadTime'};
if(isc.Log && isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime')
@@ -55,14 +55,14 @@ if(isc.SA_Page.isLoaded()){this.$8(_2)}else{isc.SA_Page.onLoad(function(){this.$
this.$80a=true;if(!this.$p){this.logWarn("ready to fire history callback, but no callback registered."+"Please call isc.History.registerCallback() before pageLoad."+" If you can't register your callback before pageLoad, you"+" can call isc.History.getCurrentHistoryId() to get the ID"+" when you're ready.");return}
if(_1=="$69i")_1=null;var _2=this.$p;var _3;if(!this.haveHistoryState(_1)){if(this.$72o){this.logWarn("User navigated to URL associated with synthetic history ID:"+_1+". This ID is not associated with any synthetic history entry generated via "+"History.addHistoryEntry(). Not firing registered historyCallback as "+"callback was registered with parameter requiring a data object. "+"This can commonly occur when the user navigates to a stored history entry "+"via a bookmarked URL.");return}}else{_3=this.historyState.data[_1]}
this.$ab=_1;this.logDebug("history callback: "+_1);if(isc.Class&&this.isAString(_2)){isc.Class.fireCallback(_2,["id","data"],[_1,_3])}else{_2=isc.addProperties({},_2);_2.args=[_1,_3];this.fireSimpleCallback(_2)}}});isc.History.$z();isc._moduleEnd=isc._History_end=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc.Log&&isc.Log.logIsInfoEnabled('loadTime'))isc.Log.logInfo('History module init time: ' + (isc._moduleEnd-isc._moduleStart) + 'ms','loadTime');delete isc.definingFramework;}else{if(window.isc && isc.Log && isc.Log.logWarn)isc.Log.logWarn("Duplicate load of module 'History'.");}
-/*
- * Isomorphic SmartClient
- * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version SC_SNAPSHOT-2011-11-04 (2011-11-04)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */
View
130 src-core/utils/rmi/Readme.txt
@@ -1,66 +1,66 @@
-Installation guide for RenderFO:
-
-In the server side:
-
-1.- Edit src/rmi/RenderFo.java, replace:
- -@basepath@: path where RenderFo is installed (log will be written there). A folder named "log" has to be created within that path
- -@RenderFoAddress@: IP address or public DNS name of RenderFO server
-
-2.- Compile both classes (RenderFoI.java and RenderFo.java).
- -Requirements:
- -jdk1.3 or higher
- -xalan.jar, fop.jar, comm.jar, log4j.jar and rmi/classes (.) in classpath
-
-3.- Generate rmi infrastructure. In command line execute: rmic -d ./classes rmi.RenderFo
- It will generate stub and skel classes, to communicate rmi client and server
- -Requirements:
- -jdk1.3 or higher
- -xalan.jar, fop.jar, comm.jar and log4j.jar in classpath
- -Requirements:
- -jdk1.3 or higher and jdk/bin folder in execution path
- -xalan.jar, fop.jar, comm.jar, log4j.jar and rmi/classes (.) in classpath
-
-4.- Create a jar file with generated classes: jar -cvf RenderFoRmi.jar *
- This jar file will be deployed in rmi client
-
-5.- Running the server:
- 5.1.- Command line
- start rmiregistry
- java -Djava.rmi.server.hostname=@RenderFoAddress@ -Djava.security.policy=@basepath@\java.policy -Djava.rmi.server.codebase=file:@basepath@\classes/ -cp @basepath@\lib\fop.jar;@basepath@\lib\avalon-framework-cvs-20020806.jar;@basepath@\lib\batik.jar;@basepath@\lib\xalan-2.4.1.jar;@basepath@\lib\xercesImpl-2.2.1.jar;@basepath@\lib\xml-apis.jar;@basepath@\lib\log4j-1.2.8.jar;@basepath@\classes; -Xmx512m -Xms256m rmi.RenderFo
- 5.2.- As a service in a windows box. Using ServiceInstaller tool (replace $JAVA_HOME$ variable by its value):
- -5.2.1.- Install rmiRegistry service:
- SERVICE NAME: rmiRegistry
- DISPLAY NAME: rmiRegistry
- STARTUP: manual
- DEPENDENCIES:
- EXECUTABLE: $JAVA_HOME$\rmiregistry.exe
- ARGUMENTS:
- WORKING DIRECTORY: $JAVA_HOME$
-
- -5.2.2.- Install RenderFo service:
- a) without proxy
- SERVICE NAME: rmiRenderFo
- DISPLAY NAME: rmiRenderFo
- STARTUP: manual
- DEPENDENCIES: rmiRegistry
- EXECUTABLE: $JAVA_HOME$\java.exe
- ARGUMENTS: -Djava.rmi.server.hostname=@RenderFoAddress@ -Djava.security.policy=c:\rmi\java.policy -Djava.rmi.server.codebase=file:@basepath@\classes/ -cp @basepath@\lib\fop.jar;@basepath@\lib\avalon-framework-cvs-20020806.jar;@basepath@\lib\batik.jar;@basepath@\lib\xalan-2.4.1.jar;@basepath@\lib\xercesImpl-2.2.1.jar;@basepath@\lib\xml-apis.jar;@basepath@\lib\log4j-1.2.8.jar;@basepath@\classes; -Xmx512m -Xms256m rmi.RenderFo
- WORKING DIRECTORY: $JAVA_HOME$
-
- a) with proxy
- SERVICE NAME: rmiRenderFo
- DISPLAY NAME: rmiRenderFo
- STARTUP: manual
- DEPENDENCIES: rmiRegistry
- EXECUTABLE: $JAVA_HOME$\java.exe
- ARGUMENTS: -Djava.rmi.server.hostname=@RenderFoAddress@ -Dhttp.proxyHost=@ProxyAddress@ -Dhttp.proxyPort=8080 -Djava.security.policy=@basepath@\java.policy -Djava.rmi.server.codebase=@basepath@\classes/ -cp @basepath@\lib\fop.jar;@basepath@\lib\avalon-framework-cvs-20020806.jar;@basepath@\lib\batik.jar;@basepath@\lib\xalan-2.4.1.jar;@basepath@\lib\xercesImpl-2.2.1.jar;@basepath@\lib\xml-apis.jar;@basepath@\lib\log4j-1.2.8.jar;@basepath@\classes; -Xmx512m -Xms256m rmi.RenderFo
- WORKING DIRECTORY: $JAVA_HOME$
-
-In the client side (running in a tomcat server):
-1.- Copy renderFoRmi.jar to an accessible path for the execution context (eg. if executing from tomcat, tomcat\common\lib)
-
-2.- Edit web.xml file
- <context-param>
- <param-name>ServidorRenderFo</param-name>
- <param-value>@RenderFoAddress@</param-value>
+Installation guide for RenderFO:
+
+In the server side:
+
+1.- Edit src/rmi/RenderFo.java, replace:
+ -@basepath@: path where RenderFo is installed (log will be written there). A folder named "log" has to be created within that path
+ -@RenderFoAddress@: IP address or public DNS name of RenderFO server
+
+2.- Compile both classes (RenderFoI.java and RenderFo.java).
+ -Requirements:
+ -jdk1.3 or higher
+ -xalan.jar, fop.jar, comm.jar, log4j.jar and rmi/classes (.) in classpath
+
+3.- Generate rmi infrastructure. In command line execute: rmic -d ./classes rmi.RenderFo
+ It will generate stub and skel classes, to communicate rmi client and server
+ -Requirements:
+ -jdk1.3 or higher
+ -xalan.jar, fop.jar, comm.jar and log4j.jar in classpath
+ -Requirements:
+ -jdk1.3 or higher and jdk/bin folder in execution path
+ -xalan.jar, fop.jar, comm.jar, log4j.jar and rmi/classes (.) in classpath
+
+4.- Create a jar file with generated classes: jar -cvf RenderFoRmi.jar *
+ This jar file will be deployed in rmi client
+
+5.- Running the server:
+ 5.1.- Command line
+ start rmiregistry
+ java -Djava.rmi.server.hostname=@RenderFoAddress@ -Djava.security.policy=@basepath@\java.policy -Djava.rmi.server.codebase=file:@basepath@\classes/ -cp @basepath@\lib\fop.jar;@basepath@\lib\avalon-framework-cvs-20020806.jar;@basepath@\lib\batik.jar;@basepath@\lib\xalan-2.4.1.jar;@basepath@\lib\xercesImpl-2.2.1.jar;@basepath@\lib\xml-apis.jar;@basepath@\lib\log4j-1.2.8.jar;@basepath@\classes; -Xmx512m -Xms256m rmi.RenderFo
+ 5.2.- As a service in a windows box. Using ServiceInstaller tool (replace $JAVA_HOME$ variable by its value):
+ -5.2.1.- Install rmiRegistry service:
+ SERVICE NAME: rmiRegistry
+ DISPLAY NAME: rmiRegistry
+ STARTUP: manual
+ DEPENDENCIES:
+ EXECUTABLE: $JAVA_HOME$\rmiregistry.exe
+ ARGUMENTS:
+ WORKING DIRECTORY: $JAVA_HOME$
+
+ -5.2.2.- Install RenderFo service:
+ a) without proxy
+ SERVICE NAME: rmiRenderFo
+ DISPLAY NAME: rmiRenderFo
+ STARTUP: manual
+ DEPENDENCIES: rmiRegistry
+ EXECUTABLE: $JAVA_HOME$\java.exe
+ ARGUMENTS: -Djava.rmi.server.hostname=@RenderFoAddress@ -Djava.security.policy=c:\rmi\java.policy -Djava.rmi.server.codebase=file:@basepath@\classes/ -cp @basepath@\lib\fop.jar;@basepath@\lib\avalon-framework-cvs-20020806.jar;@basepath@\lib\batik.jar;@basepath@\lib\xalan-2.4.1.jar;@basepath@\lib\xercesImpl-2.2.1.jar;@basepath@\lib\xml-apis.jar;@basepath@\lib\log4j-1.2.8.jar;@basepath@\classes; -Xmx512m -Xms256m rmi.RenderFo
+ WORKING DIRECTORY: $JAVA_HOME$
+
+ a) with proxy
+ SERVICE NAME: rmiRenderFo
+ DISPLAY NAME: rmiRenderFo
+ STARTUP: manual
+ DEPENDENCIES: rmiRegistry
+ EXECUTABLE: $JAVA_HOME$\java.exe
+ ARGUMENTS: -Djava.rmi.server.hostname=@RenderFoAddress@ -Dhttp.proxyHost=@ProxyAddress@ -Dhttp.proxyPort=8080 -Djava.security.policy=@basepath@\java.policy -Djava.rmi.server.codebase=@basepath@\classes/ -cp @basepath@\lib\fop.jar;@basepath@\lib\avalon-framework-cvs-20020806.jar;@basepath@\lib\batik.jar;@basepath@\lib\xalan-2.4.1.jar;@basepath@\lib\xercesImpl-2.2.1.jar;@basepath@\lib\xml-apis.jar;@basepath@\lib\log4j-1.2.8.jar;@basepath@\classes; -Xmx512m -Xms256m rmi.RenderFo
+ WORKING DIRECTORY: $JAVA_HOME$
+
+In the client side (running in a tomcat server):
+1.- Copy renderFoRmi.jar to an accessible path for the execution context (eg. if executing from tomcat, tomcat\common\lib)
+
+2.- Edit web.xml file
+ <context-param>
+ <param-name>ServidorRenderFo</param-name>
+ <param-value>@RenderFoAddress@</param-value>
</context-param>
View
4 src-core/utils/rmi/java.policy
@@ -1,3 +1,3 @@
-grant {
-permission java.security.AllPermission;
+grant {
+permission java.security.AllPermission;
};
View
724 src-db/database/sourcedata/referencedData/AD_ALERTRULE.xml
@@ -7,27 +7,27 @@
<!--800003--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--800003--> <NAME><![CDATA[Columns with search reference and reference value null]]></NAME>
<!--800003--> <AD_TAB_ID><![CDATA[101]]></AD_TAB_ID>
-<!--800003--> <SQL><![CDATA[SELECT AD_COLUMN_ID AS referencekey_id, TABLENAME || ' - ' || COLUMNNAME AS RECORD_ID, 0 AS AD_ROLE_ID, NULL AS AD_USER_ID,
- 'The column ' || COLUMNNAME || ' in table ' || TABLENAME || ' is referenced as search and doesn''t have an associated reference value while having active updateable fields.' AS DESCRIPTION,
- 'Y' AS ISACTIVE, 0 AS AD_ORG_ID, 0 AS AD_CLIENT_ID, now() AS CREATED, 0 AS CREATEDBY, now() AS UPDATED, 0 AS UPDATEDBY
-FROM AD_COLUMN, AD_TABLE
-WHERE AD_REFERENCE_ID = '30'
- AND AD_COLUMN.AD_TABLE_ID = AD_TABLE.AD_TABLE_ID
- AND AD_REFERENCE_VALUE_ID IS NULL
- AND AD_TABLE.ISACTIVE = 'Y'
- AND AD_COLUMN.ISACTIVE = 'Y'
- AND AD_COLUMN.ISPARENT = 'N'
- --AND AD_COLUMN.ISUPDATEABLE = 'Y'
- AND EXISTS (SELECT 1
- FROM AD_FIELD, aD_TAB, AD_WINDOW
- WHERE AD_FIELD.AD_COLUMN_ID = AD_COLUMN.AD_COLUMN_ID
- AND AD_FIELD.AD_TAB_ID = AD_TAB.AD_TAB_ID
- AND AD_WINDOW.AD_WINDOW_ID = AD_TAB.AD_WINDOW_ID
- AND AD_FIELD.ISREADONLY = 'N'
- AND AD_TAB.ISREADONLY = 'N'
- AND AD_TAB.ISACTIVE = 'Y'
- AND AD_FIELD.ISACTIVE = 'Y'
- AND AD_WINDOW.ISACTIVE = 'Y'
+<!--800003--> <SQL><![CDATA[SELECT AD_COLUMN_ID AS referencekey_id, TABLENAME || ' - ' || COLUMNNAME AS RECORD_ID, 0 AS AD_ROLE_ID, NULL AS AD_USER_ID,
+ 'The column ' || COLUMNNAME || ' in table ' || TABLENAME || ' is referenced as search and doesn''t have an associated reference value while having active updateable fields.' AS DESCRIPTION,
+ 'Y' AS ISACTIVE, 0 AS AD_ORG_ID, 0 AS AD_CLIENT_ID, now() AS CREATED, 0 AS CREATEDBY, now() AS UPDATED, 0 AS UPDATEDBY
+FROM AD_COLUMN, AD_TABLE
+WHERE AD_REFERENCE_ID = '30'
+ AND AD_COLUMN.AD_TABLE_ID = AD_TABLE.AD_TABLE_ID
+ AND AD_REFERENCE_VALUE_ID IS NULL
+ AND AD_TABLE.ISACTIVE = 'Y'
+ AND AD_COLUMN.ISACTIVE = 'Y'
+ AND AD_COLUMN.ISPARENT = 'N'
+ --AND AD_COLUMN.ISUPDATEABLE = 'Y'
+ AND EXISTS (SELECT 1
+ FROM AD_FIELD, aD_TAB, AD_WINDOW
+ WHERE AD_FIELD.AD_COLUMN_ID = AD_COLUMN.AD_COLUMN_ID
+ AND AD_FIELD.AD_TAB_ID = AD_TAB.AD_TAB_ID
+ AND AD_WINDOW.AD_WINDOW_ID = AD_TAB.AD_WINDOW_ID
+ AND AD_FIELD.ISREADONLY = 'N'
+ AND AD_TAB.ISREADONLY = 'N'
+ AND AD_TAB.ISACTIVE = 'Y'
+ AND AD_FIELD.ISACTIVE = 'Y'
+ AND AD_WINDOW.ISACTIVE = 'Y'
AND ISDISPLAYED = 'Y')]]></SQL>
<!--800003--> <TYPE><![CDATA[D]]></TYPE>
<!--800003--></AD_ALERTRULE>
@@ -39,30 +39,30 @@ WHERE AD_REFERENCE_ID = '30'
<!--1000004--> <ISACTIVE><![CDATA[N]]></ISACTIVE>
<!--1000004--> <NAME><![CDATA[Field with editable parent]]></NAME>
<!--1000004--> <AD_TAB_ID><![CDATA[107]]></AD_TAB_ID>
-<!--1000004--> <SQL><![CDATA[select f.ad_field_id as referencekey_id,
- t.name||'>'||f.name as record_id,
- 0 as ad_role_id,
- null as ad_user_id,
- w.name||'>'||t.name||'>'||f.name as description,
- 'Y' as isActive,
- 0 as ad_org_id,
- 0 as ad_client_id,
- now() as created,
- 0 as createdBy,
- now() as updated,
- 0 as updatedBy
-from ad_column c, ad_field f, ad_tab t, ad_window w
-where c.AD_COLUMN_ID = f.AD_COLUMN_ID
-and f.AD_TAB_ID = t.AD_TAB_ID
-and t.AD_WINDOW_ID = w.ad_window_id
-and c.ISPARENT = 'Y'
-and f.ISREADONLY = 'N'
-and exists (select 1 from ad_column c1, ad_field f1, ad_tab t1
- where c1.AD_COLUMN_ID = f1.AD_COLUMN_ID
- and f1.AD_TAB_ID = t1.AD_TAB_ID
- and t1.ad_window_id = t.ad_window_id
- and t1.SEQNO < t.seqno
- and c1.COLUMNNAME = c.columnname
+<!--1000004--> <SQL><![CDATA[select f.ad_field_id as referencekey_id,
+ t.name||'>'||f.name as record_id,
+ 0 as ad_role_id,
+ null as ad_user_id,
+ w.name||'>'||t.name||'>'||f.name as description,
+ 'Y' as isActive,
+ 0 as ad_org_id,
+ 0 as ad_client_id,
+ now() as created,
+ 0 as createdBy,
+ now() as updated,
+ 0 as updatedBy
+from ad_column c, ad_field f, ad_tab t, ad_window w
+where c.AD_COLUMN_ID = f.AD_COLUMN_ID
+and f.AD_TAB_ID = t.AD_TAB_ID
+and t.AD_WINDOW_ID = w.ad_window_id
+and c.ISPARENT = 'Y'
+and f.ISREADONLY = 'N'
+and exists (select 1 from ad_column c1, ad_field f1, ad_tab t1
+ where c1.AD_COLUMN_ID = f1.AD_COLUMN_ID
+ and f1.AD_TAB_ID = t1.AD_TAB_ID
+ and t1.ad_window_id = t.ad_window_id
+ and t1.SEQNO < t.seqno
+ and c1.COLUMNNAME = c.columnname
)]]></SQL>
<!--1000004--> <TYPE><![CDATA[D]]></TYPE>
<!--1000004--></AD_ALERTRULE>
@@ -74,24 +74,24 @@ and exists (select 1 from ad_column c1, ad_field f1, ad_tab t1
<!--1000007--> <ISACTIVE><![CDATA[N]]></ISACTIVE>
<!--1000007--> <NAME><![CDATA[TableDir Columns without correspondent table]]></NAME>
<!--1000007--> <AD_TAB_ID><![CDATA[101]]></AD_TAB_ID>
-<!--1000007--> <SQL><![CDATA[select c.ad_column_id as referencekey_id,
- t.tableName||'.'||c.columnname as record_id,
- 0 as ad_role_id,
- null as ad_user_id,
- 'Column '||c.columnname||' of type TableDir without its correspondent table ('||substr(c.columnname,1,instr(c.columnname,'_ID')-1)||')' as description,
- 'Y' as isActive,
- 0 as ad_org_id,
- 0 as ad_client_id,
- now() as created,
- 0 as createdBy,
- now() as updated,
- 0 as updatedBy
- from ad_column c,
- ad_table t
- where ad_reference_id = '19'
- and c.ad_table_id = t.ad_table_id
- and not exists (select 1
- from ad_table
+<!--1000007--> <SQL><![CDATA[select c.ad_column_id as referencekey_id,
+ t.tableName||'.'||c.columnname as record_id,
+ 0 as ad_role_id,
+ null as ad_user_id,
+ 'Column '||c.columnname||' of type TableDir without its correspondent table ('||substr(c.columnname,1,instr(c.columnname,'_ID')-1)||')' as description,
+ 'Y' as isActive,
+ 0 as ad_org_id,
+ 0 as ad_client_id,
+ now() as created,
+ 0 as createdBy,
+ now() as updated,
+ 0 as updatedBy
+ from ad_column c,
+ ad_table t
+ where ad_reference_id = '19'
+ and c.ad_table_id = t.ad_table_id
+ and not exists (select 1
+ from ad_table
where upper(tablename)||'_ID' = upper(c.columnname))]]></SQL>
<!--1000007--> <TYPE><![CDATA[D]]></TYPE>
<!--1000007--></AD_ALERTRULE>
@@ -102,19 +102,19 @@ and exists (select 1 from ad_column c1, ad_field f1, ad_tab t1
<!--1000008--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--1000008--> <ISACTIVE><![CDATA[N]]></ISACTIVE>
<!--1000008--> <NAME><![CDATA[Disabled constraints]]></NAME>
-<!--1000008--> <SQL><![CDATA[select constraint_name as referencekey_id,
- null as record_id,
- 0 as ad_role_id,
- null as ad_user_id,
- 'Constraint '||constraint_name||' on table '||table_name||' is not enabled' as description,
- 'Y' as isActive,
- 0 as ad_org_id,
- 0 as ad_client_id,
- now() as created,
- 0 as createdBy,
- now() as updated,
- 0 as updatedBy
-from user_constraints
+<!--1000008--> <SQL><![CDATA[select constraint_name as referencekey_id,
+ null as record_id,
+ 0 as ad_role_id,
+ null as ad_user_id,
+ 'Constraint '||constraint_name||' on table '||table_name||' is not enabled' as description,
+ 'Y' as isActive,
+ 0 as ad_org_id,
+ 0 as ad_client_id,
+ now() as created,
+ 0 as createdBy,
+ now() as updated,
+ 0 as updatedBy
+from user_constraints
where status!='ENABLED']]></SQL>
<!--1000008--> <TYPE><![CDATA[D]]></TYPE>
<!--1000008--></AD_ALERTRULE>
@@ -125,19 +125,19 @@ where status!='ENABLED']]></SQL>
<!--1000009--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--1000009--> <ISACTIVE><![CDATA[N]]></ISACTIVE>
<!--1000009--> <NAME><![CDATA[Disabled triggers]]></NAME>
-<!--1000009--> <SQL><![CDATA[select trigger_name as referencekey_id,
- null as record_id,
- 0 as ad_role_id,
- null as ad_user_id,
- 'Constraint '||trigger_name||' on table '||table_name||' is not enabled' as description,
- 'Y' as isActive,
- 0 as ad_org_id,
- 0 as ad_client_id,
- now() as created,
- 0 as createdBy,
- now() as updated,
- 0 as updatedBy
-from user_triggers
+<!--1000009--> <SQL><![CDATA[select trigger_name as referencekey_id,
+ null as record_id,
+ 0 as ad_role_id,
+ null as ad_user_id,
+ 'Constraint '||trigger_name||' on table '||table_name||' is not enabled' as description,
+ 'Y' as isActive,
+ 0 as ad_org_id,
+ 0 as ad_client_id,
+ now() as created,
+ 0 as createdBy,
+ now() as updated,
+ 0 as updatedBy
+from user_triggers
where status!='ENABLED']]></SQL>
<!--1000009--> <TYPE><![CDATA[D]]></TYPE>
<!--1000009--></AD_ALERTRULE>
@@ -149,20 +149,20 @@ where status!='ENABLED']]></SQL>
<!--1000010--> <ISACTIVE><![CDATA[N]]></ISACTIVE>
<!--1000010--> <NAME><![CDATA[Old not processed Bank Statements]]></NAME>
<!--1000010--> <AD_TAB_ID><![CDATA[328]]></AD_TAB_ID>
-<!--1000010--> <SQL><![CDATA[select c_bankstatement_id as referencekey_id,
- name as record_id,
- 0 as ad_role_id,
- null as ad_user_id,
- 'Not processed bankstatement: '||name||' with '||(select count(*) from c_bankstatementline bl where bl.c_bankstatement_id = bs.c_bankstatement_id)||' lines, older than 10 days' as description,
- 'Y' as isActive,
- ad_org_id,
- ad_client_id,
- now() as created,
- 0 as createdBy,
- now() as updated,
- 0 as updatedBy
- from c_bankstatement bs
-where statementdate<now()-10
+<!--1000010--> <SQL><![CDATA[select c_bankstatement_id as referencekey_id,
+ name as record_id,
+ 0 as ad_role_id,
+ null as ad_user_id,
+ 'Not processed bankstatement: '||name||' with '||(select count(*) from c_bankstatementline bl where bl.c_bankstatement_id = bs.c_bankstatement_id)||' lines, older than 10 days' as description,
+ 'Y' as isActive,
+ ad_org_id,
+ ad_client_id,
+ now() as created,
+ 0 as createdBy,
+ now() as updated,
+ 0 as updatedBy
+ from c_bankstatement bs
+where statementdate<now()-10
and processed = 'N']]></SQL>
<!--1000010--> <TYPE><![CDATA[D]]></TYPE>
<!--1000010--></AD_ALERTRULE>
@@ -174,21 +174,21 @@ and processed = 'N']]></SQL>
<!--1000011--> <ISACTIVE><![CDATA[N]]></ISACTIVE>
<!--1000011--> <NAME><![CDATA[Old not processed Sales Invoices]]></NAME>
<!--1000011--> <AD_TAB_ID><![CDATA[263]]></AD_TAB_ID>
-<!--1000011--> <SQL><![CDATA[select c_invoice_id as referencekey_id,
- documentno as record_id,
- 0 as ad_role_id,
- null as ad_user_id,
- ad_column_identifier('C_Invoice',c_invoice_id,'en_US') as description,
- 'Y' as isActive,
- ad_org_id,
- ad_client_id,
- now() as created,
- 0 as createdBy,
- now() as updated,
- 0 as updatedBy
-from c_invoice
-where DateInvoiced<now()-10
-and processed = 'N'
+<!--1000011--> <SQL><![CDATA[select c_invoice_id as referencekey_id,
+ documentno as record_id,
+ 0 as ad_role_id,
+ null as ad_user_id,
+ ad_column_identifier('C_Invoice',c_invoice_id,'en_US') as description,
+ 'Y' as isActive,
+ ad_org_id,
+ ad_client_id,
+ now() as created,
+ 0 as createdBy,
+ now() as updated,
+ 0 as updatedBy
+from c_invoice
+where DateInvoiced<now()-10
+and processed = 'N'
and isSOtrx='Y']]></SQL>
<!--1000011--> <TYPE><![CDATA[D]]></TYPE>
<!--1000011--></AD_ALERTRULE>
@@ -200,21 +200,21 @@ and isSOtrx='Y']]></SQL>
<!--1000012--> <ISACTIVE><![CDATA[N]]></ISACTIVE>
<!--1000012--> <NAME><![CDATA[Old not processed Purchases Invoices]]></NAME>
<!--1000012--> <AD_TAB_ID><![CDATA[290]]></AD_TAB_ID>
-<!--1000012--> <SQL><![CDATA[select c_invoice_id as referencekey_id,
- documentno as record_id,
- 0 as ad_role_id,
- null as ad_user_id,
- ad_column_identifier('C_Invoice',c_invoice_id,'en_US') as description,
- 'Y' as isActive,
- ad_org_id,
- ad_client_id,
- now() as created,
- 0 as createdBy,
- now() as updated,
- 0 as updatedBy
-from c_invoice
-where DateInvoiced<now()-10
-and processed = 'N'
+<!--1000012--> <SQL><![CDATA[select c_invoice_id as referencekey_id,
+ documentno as record_id,
+ 0 as ad_role_id,
+ null as ad_user_id,
+ ad_column_identifier('C_Invoice',c_invoice_id,'en_US') as description,
+ 'Y' as isActive,
+ ad_org_id,