Author: prasad
Date: Wed Jan 9 03:04:12 2008
New Revision: 12068
Log:
Fixed sharing dialog alignment issues.
Modified:
trunk/mashup/java/modules/www/js/mashup-utils.js
Modified: trunk/mashup/java/modules/www/js/mashup-utils.js
==============================================================================
--- trunk/mashup/java/modules/www/js/mashup-utils.js (original)
+++ trunk/mashup/java/modules/www/js/mashup-utils.js Wed Jan 9 03:04:12 2008
@@ -149,6 +149,14 @@
var parent = document.createElement("div");
parent.setAttribute("id", "MashupSharingDialog");
+ var strFrmService = '<br><table align="center" border="0">'+
+ '<tr><td width="170">Destination Server Address</td><td><input
name="txtDestAddress" type="text" id="txtDestAddress"
value="http://mashups.wso2.org" size="50"/></td></tr>'+
+ '<tr><td>Destination Server Username</td><td><input
name="txtDestUsername" type="text" id="txtDestUsername" size="50"/></td></tr>'+
+ '<tr><td>Destination Server Password</td><td><input
name="txtDestPassword" type="password" id="txtDestPassword"
size="50"/></td></tr>'+
+ '<tr><td><label id="lblStatus"></label></td></tr>'+
+ '</table>';
+
+/*
var lblDestAddress = document.createElement("label");
lblDestAddress.appendChild(document.createTextNode("Destination Server
Address "));
parent.appendChild(lblDestAddress);
@@ -193,7 +201,7 @@
var lblStatusMessages = document.createElement("label");
lblStatusMessages.setAttribute("id", "lblStatus");
parent.appendChild(lblStatusMessages);
-
+*/
YAHOO.util.Event.onContentReady('doc3', function() {
// Instantiate the Dialog
@@ -239,7 +247,7 @@
serviceSharingDialog.setHeader(strSharingDialogHeader);
- serviceSharingDialog.setBody(parent);
+ serviceSharingDialog.setBody(strFrmService);
serviceSharingDialog.render("content");
serviceSharingDialog.show();
document.getElementById("txtDestAddress").focus();
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev