</xsl:when>
<xsl:when test="name() = 'gotoPage'">
</xsl:when>
+ <xsl:when test="name() = 'openUrl'">
+ </xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat($class_name, '.prototype.', @id, ' = ')"/>
<xsl:value-of select="concat('undefined;', $newline)"/>
</xsl:when>
<xsl:when test="name() = 'gotoPage'">
</xsl:when>
+<xsl:when test="name() = 'openUrl'">
+</xsl:when>
<xsl:otherwise>
<xsl:text>
/**
</xsl:if>
</xsl:for-each>
+<xsl:for-each select=".//tizen.page//*">
+<xsl:if test="name() = 'openUrl'">
+<xsl:if test="../@id != $page_name">
+<xsl:value-of select="concat($tab, $tab, $class_name, '.prototype.', ../@id, '.bind(')"/>
+<xsl:value-of select="concat('"', substring(@event, 3), '", ', 'function(event) { window.location.href = ', '"', @url, '"', ' });', $newline)"/>
+</xsl:if>
+</xsl:if>
+</xsl:for-each>
+
<xsl:value-of select="concat($newline, $tab, '});', $newline, $newline)"/>
<xsl:if test=".//tizen.page//*[@data-bind]">
</xsl:when>
<xsl:when test="name() = 'gotoPage'">
</xsl:when>
+ <xsl:when test="name() = 'openUrl'">
+ </xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat($class_name, '.prototype.', @id, ' = ')"/>
<xsl:value-of select="concat('undefined;', $newline)"/>
</xsl:when>
<xsl:when test="name() = 'gotoPage'">
</xsl:when>
+<xsl:when test="name() = 'openUrl'">
+</xsl:when>
<xsl:otherwise>
<xsl:text>
/**
</xsl:if>
</xsl:for-each>
+<xsl:for-each select=".//tizen.page//*">
+<xsl:if test="name() = 'openUrl'">
+<xsl:if test="../@id != $page_name">
+<xsl:value-of select="concat($tab, $tab, $class_name, '.prototype.', ../@id, '.bind(')"/>
+<xsl:value-of select="concat('"', substring(@event, 3), '", ', 'function(event) { window.location.href = ', '"', @url, '"', ' });', $newline)"/>
+</xsl:if>
+</xsl:if>
+</xsl:for-each>
+
<xsl:value-of select="concat($newline, $tab, '});', $newline, $newline)"/>
<xsl:if test=".//tizen.page//*[@data-bind]">
</xsl:when>
<xsl:when test="name() = 'gotoPage'">
</xsl:when>
+ <xsl:when test="name() = 'openUrl'">
+ </xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat($class_name, '.prototype.', @id, ' = ')"/>
<xsl:value-of select="concat('undefined;', $newline)"/>
</xsl:when>
<xsl:when test="name() = 'gotoPage'">
</xsl:when>
+<xsl:when test="name() = 'openUrl'">
+</xsl:when>
<xsl:otherwise>
<xsl:text>
/**
</xsl:if>
</xsl:for-each>
+<xsl:for-each select=".//tizen.page//*">
+<xsl:if test="name() = 'openUrl'">
+<xsl:if test="../@id != $page_name">
+<xsl:value-of select="concat($tab, $tab, $class_name, '.prototype.', ../@id, '.bind(')"/>
+<xsl:value-of select="concat('"', substring(@event, 3), '", ', 'function(event) { window.location.href = ', '"', @url, '"', ' });', $newline)"/>
+</xsl:if>
+</xsl:if>
+</xsl:for-each>
+
<xsl:value-of select="concat($newline, $tab, '});', $newline, $newline)"/>
<xsl:if test=".//tizen.page//*[@data-bind]">
</xsl:when>
<xsl:when test="name() = 'gotoPage'">
</xsl:when>
+ <xsl:when test="name() = 'openUrl'">
+ </xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat($class_name, '.prototype.', @id, ' = ')"/>
<xsl:value-of select="concat('undefined;', $newline)"/>
</xsl:when>
<xsl:when test="name() = 'gotoPage'">
</xsl:when>
+<xsl:when test="name() = 'openUrl'">
+</xsl:when>
<xsl:otherwise>
<xsl:text>
/**
</xsl:if>
</xsl:for-each>
+<xsl:for-each select=".//tizen.page//*">
+<xsl:if test="name() = 'openUrl'">
+<xsl:if test="../@id != $page_name">
+<xsl:value-of select="concat($tab, $tab, $class_name, '.prototype.', ../@id, '.bind(')"/>
+<xsl:value-of select="concat('"', substring(@event, 3), '", ', 'function(event) { window.location.href = ', '"', @url, '"', ' });', $newline)"/>
+</xsl:if>
+</xsl:if>
+</xsl:for-each>
+
<xsl:value-of select="concat($newline, $tab, '});', $newline, $newline)"/>
<xsl:if test=".//tizen.page//*[@data-bind]">