Re: webMathematica:MSPValues and TEXTAREA
- To: mathgroup at smc.vnet.net
- Subject: [mg43707] Re: webMathematica:MSPValues and TEXTAREA
- From: Tom Compton <comptont at concentric.net>
- Date: Tue, 30 Sep 2003 16:43:11 -0400 (EDT)
- References: <bl9ct1$c0t$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Try the following:
<%@ page language="java" %>
<%@ taglib uri="/webMathematica-taglib" prefix="msp" %>
<HTML>
<HEAD>
<TITLE>Untitled</TITLE>
</HEAD>
<BODY>
<msp:allocateKernel>
Enter the equation:<br>
<textarea name="x1" cols="50" rows="10" wrap="VIRTUAL">
<msp:evaluate>MSPValue[ $$x1, "{x1 - x2 + x3 }"]</msp:evaluate>
</textarea>
</msp:allocateKernel>
</BODY>
</HTML>
The MSPValue element needs to be between the <textarea></textarea> tags.
Tom Compton
www.HostSRV.com
Guillermo Sanchez wrote:
> I am developping a webMathematica application. I would like to give to
> the user the option of write a few lines in a box. An equation is
> written in the box by default (as an example).
>
> I have test with this form but it doesn´t work. What is wrong?
> ==========
> Enter the equation: <br>
> <textarea name="x1" cols="50" rows="10" value=
> "<msp:evaluate>MSPValue[ $$x1, "{x1 - x2 + x3 }"]
> </msp:evaluate> "
> </textarea>
>
> ===========
> Thanks
>
> Guillermo
>