Thanks, I must have an old reference book.

 

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Whitby, Rob,
CMG
Sent: Tuesday, March 03, 2009 11:10 AM
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] textarea column attribute not working?

 

You want cols not columns

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Tim Meagher
Sent: 03 March 2009 16:06
To: 'General Mark Logic Developer Discussion'
Subject: [MarkLogic Dev General] textarea column attribute not working?

 

Hi folks,

 

I have the following xquery file example that implements a textarea for a
form:

 

 

xquery version "1.0-ml";

 

xdmp:set-response-content-type("text/html");

 

let $request := "<request-packet> All kinds of interesting xml
data</request-packet>"

  

return

<html xmlns="http://www.w3.org/1999/xhtml";>

    <body>

    <h3>Test</h3>

    

    <form name="test" action="action.xqy" method="post">

    <p><textarea name="request" rows="5" columns="300"
wrap="off">{$request}</textarea></p>

    <p><input type="submit" value="Process Request"/></p>

    </form>

    </body>

  </html>

 

I am rendering the HTML in both CQ and in an appserver using MarkLogic
4.0-2.  No matter how big I set the number of columns, it always gets
rendered at the same width. Am I missing something?

 

Tim Meagher, AAOM Consulting

 

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to