Author: remi
Date: 2009-03-18 09:58:21 +0100 (Wed, 18 Mar 2009)
New Revision: 4113
Modified:
software_suite_v2/tuxware/tuxdroidserver/trunk/data/xsl/web_gadget.xsl
Log:
* fixed the selected command in the web gadget
Modified: software_suite_v2/tuxware/tuxdroidserver/trunk/data/xsl/web_gadget.xsl
===================================================================
--- software_suite_v2/tuxware/tuxdroidserver/trunk/data/xsl/web_gadget.xsl
2009-03-18 08:46:58 UTC (rev 4112)
+++ software_suite_v2/tuxware/tuxdroidserver/trunk/data/xsl/web_gadget.xsl
2009-03-18 08:58:21 UTC (rev 4113)
@@ -6,7 +6,7 @@
function start()
{
var parametersString = "";
- var command = "check";
+ var command = document.getElementById("command").value;
var uuid = document.getElementById("uuid").value;
var parameters = document.getElementsByTagName("input");
@@ -81,6 +81,14 @@
<xsl:value-of select="description/uuid"/>
</xsl:attribute>
</xsl:element>
+ <!-- Gadget Command -->
+ <xsl:element name="input">
+ <xsl:attribute name="type">hidden</xsl:attribute>
+ <xsl:attribute name="id">command</xsl:attribute>
+ <xsl:attribute name="value">
+ <xsl:value-of select="command"/>
+ </xsl:attribute>
+ </xsl:element>
<!-- A table for the parameters -->
<table border="0" CELLPADDING="50">
<!-- For all parameters -->
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn