Modification with XApplication in TEXTAREA

X-Application Version: 4.1.1
Tamino Version : 4.1.1
Platform : Linux
WebContainer : Tomcat 4.1
JDK Version : 1.4.1

Hi All,

i have read the XApplication manual about modification and the xapp:edit tag.
The manual says, that you should following code to have a textarea:

  <xapp:edit select="/node_to_select"><textarea rows="5" cols="6"></textarea></xapp:edit>
</pre><BR>Why does the xapplication the following output if I do so?<BR><pre class="ip-ubbcode-code-pre">
  <input ...><textarea rows="5" cols="6"></textarea>



Could anybody help me? Do I have forgotten any setting?

thx4help

Hello,

I tried to reproduce your problem with X-Application 4.1.1 by adding a textarea into the hello.jsp page of our simple examples.

The code now is:

  <xapp:module>
      <xapp:form document="helloDocument" >
        <xapp:directcommand type='read' collection="${xappCollection$}" document="helloDocument" arg='for $x in input()/Property where tf:getInoId($x)=1 return $x' />
        
        Price (element) : <xapp:display select='/Property/Price' /><br />
        
        Price in Textarea : <xapp:edit select='/Property/Price'><textarea rows='5' cols='6' /></xapp:edit>
      </xapp:form>
  </xapp:module>

</pre><BR><BR>The effect is the following textarea within the HTML page that is sent to the browser<BR><BR><pre class="ip-ubbcode-code-pre">
...
        
  Price (element) : 130000<br />
        
  Price in Textarea : <textarea rows="5" cols="6" name="#helloDocument#/Property/Price">130000</textarea>
      
...  
   
</pre><BR><BR>Could you post your JSP?<BR><BR>Or, check if you wrote <pre class="ip-ubbcode-code-pre"><textarea ...></pre> and not <pre class="ip-ubbcode-code-pre"><TEXTAREA ...,

because X-Application requires xhtml.

Bye,
Christian.

[This message was edited by Admin on 20 Aug 2003 at 07:03.]

Thanks a lot,

my Struts-Framework produces a lot of shit. Now it sends the right textarea output i wanted.

Robert Kummer