summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFradj Zayen2013-02-15 06:32:26 (EST)
committerSven Rottstock2013-03-11 06:36:31 (EDT)
commitaba000d487508dc8353206e65e9195542ab453a9 (patch)
tree130fc1064435ac0f2acb38727d104c7a9435e2a1
parentd079e2e969e342ddfd3c410b7e9bf2060d5c854d (diff)
downloadorg.eclipse.stardust.ui.web-aba000d487508dc8353206e65e9195542ab453a9.zip
org.eclipse.stardust.ui.web-aba000d487508dc8353206e65e9195542ab453a9.tar.gz
org.eclipse.stardust.ui.web-aba000d487508dc8353206e65e9195542ab453a9.tar.bz2
Jira-ID: CRNT-27972
Model with Generic camel route is throwing exception while deploying to IR git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@63045 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_genericCamelRouteEventIntegrationOverlay.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_genericCamelRouteEventIntegrationOverlay.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_genericCamelRouteEventIntegrationOverlay.js
index ca3a7ab..32d3ae9 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_genericCamelRouteEventIntegrationOverlay.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_genericCamelRouteEventIntegrationOverlay.js
@@ -48,7 +48,7 @@ define(
GenericCamelRouteEventIntegrationOverlay.prototype.initialize = function(
page, id) {
this.initializeEventIntegrationOverlay(page, id);
-
+
jQuery("label[for='camelContextInput']")
.text(
m_i18nUtils
@@ -104,7 +104,7 @@ define(
this.registerForRouteChanges(this.camelContextInput);
this.registerForRouteChanges(this.routeTextarea);
this.registerForRouteChanges(this.additionalBeanTextarea);
-
+ this.camelContextInput.val("defaultCamelContext");
};
/**
@@ -135,7 +135,7 @@ define(
var route = this.page.getEvent().attributes["carnot:engine:camel::camelRouteExt"];
// TODO Need better URL encoding
- route = route.replace(/&/g, "&");
+ // route = route.replace(/&/g, "&");
this.camelContextInput
.val(this.page.getEvent().attributes["carnot:engine:camel::camelContextId"]);
@@ -156,7 +156,7 @@ define(
*
*/
GenericCamelRouteEventIntegrationOverlay.prototype.getRouteDefinitions = function() {
- return this.routeTextarea.val();
+ return this.routeTextarea.val().replace(/&/g, "&");
};
/**