Author: jonathan
Date: Tue Dec 18 16:53:59 2007
New Revision: 11432
Log:
MASHUP-466 fix.
Modified:
trunk/commons/dynamic-codegen/src/tryit.xslt
Modified: trunk/commons/dynamic-codegen/src/tryit.xslt
==============================================================================
--- trunk/commons/dynamic-codegen/src/tryit.xslt (original)
+++ trunk/commons/dynamic-codegen/src/tryit.xslt Tue Dec 18 16:53:59 2007
@@ -117,7 +117,8 @@
for (var i in textareas) {
if (textareas[i].className == "emptyfield") {
// extract the type from the title.
- var type = "(" + textareas[i].onblur.split("'")[1] + ")";
+ var type = textareas[i].title;
+ type = "(" + type.substring(2, type.indexOf(" value
representing the")) + ")";
if (textareas[i].value == '')
textareas[i].value = type;
else if (textareas[i].value != type)
@@ -228,7 +229,7 @@
*/
function clearlog(consoleid) {
var console = document.getElementById(consoleid);
- console.innerHTML = "<img src='<xsl:value-of
select="$image-path"/>/wso2pulse.gif' alt='invoking operation' title='Invoking
service...' top:-8px;'/>";
+ console.innerHTML = "<img src='<xsl:value-of
select="$image-path"/>/wso2pulse.gif' alt='invoking operation' title='Invoking
service...' style='position:relative; top:-8px;'/>";
}
_______________________________________________
Commons-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/commons-dev