Hi!
I'm working on in wml environment.
I'm trying to send a value retrived from a database and send it back to the server. My problem is when I store the variable it is stored in XSL syntax but when I'm trying to send it to the server the variable needs to be in WML syntax. How do I convert the '$(XXXXX)' variable for WML to accepting it to be sent to the server using <postfield/> My code looks like this:
<card id='c1'>
<do type='prev' label='Back'>
<prev/>
</do>
<p>
<table columns="2">
<xsl:for-each select="//Forums">
<tr>
<td><xsl:variable name="XXXXX"><xsl:value-of select="ForumName"/></xsl:variable>
<a href="#c2"><xsl:value-of select="ForumName"/></a></td>
</tr>
</xsl:for-each>
</table>
</p>
</card>
<card id="c2">
<do type='accept' label='OK'>
<go href='../ass3/wapController.jsp' method='post'>
<postfield name="action" value="$(XXXXX)"/>
</go>
</do>
<do type="prev" label="Back">
<prev/>
</do>
</card>
I'm working on in wml environment.
I'm trying to send a value retrived from a database and send it back to the server. My problem is when I store the variable it is stored in XSL syntax but when I'm trying to send it to the server the variable needs to be in WML syntax. How do I convert the '$(XXXXX)' variable for WML to accepting it to be sent to the server using <postfield/> My code looks like this:
<card id='c1'>
<do type='prev' label='Back'>
<prev/>
</do>
<p>
<table columns="2">
<xsl:for-each select="//Forums">
<tr>
<td><xsl:variable name="XXXXX"><xsl:value-of select="ForumName"/></xsl:variable>
<a href="#c2"><xsl:value-of select="ForumName"/></a></td>
</tr>
</xsl:for-each>
</table>
</p>
</card>
<card id="c2">
<do type='accept' label='OK'>
<go href='../ass3/wapController.jsp' method='post'>
<postfield name="action" value="$(XXXXX)"/>
</go>
</do>
<do type="prev" label="Back">
<prev/>
</do>
</card>