Re: inflating columns to objects

[prev] [thread] [next] [Date index for 2004/10/26]

From: Drew Taylor
Subject: Re: inflating columns to objects
Date: 16:30 on 26 Oct 2004
On Tue, 26 Oct 2004 17:23:38 +0100, Dave Howorth
<dhoworth@xxxxxxx.xxx.xx.xx> wrote:
> I'm having a problem on a Maypole edit page, but I think the problem is
> something I'm doing wrong in Class::DBI with respect to Class::DBI::AsForm.
> 
> I'm trying to use an object to represent a column:
> 
>     seq   LONGTEXT NOT NULL,
>     INDEX (seq(10))
> 
> The value in the database is a potentially long string (and that is what
> I want to keep in the database :) but when it is displayed, I want to
> format it into lines of a reasonable length.

Would a <textarea> not suffice here? It does the wrapping for you
within the browser but will send it all back as a single string to the
server. Unfortunately I'm not familiar with asForm so I can't tell you
how to get a <textarea> versus an <input type="text">

Drew
        -- 
        ----------------------------------------------------------------
 Drew Taylor                 *  Web development & consulting
 Email: drew@xxxxxxxxxx.xxx  *  Site implementation & hosting
 Web  : www.drewtaylor.com   *  perl/mod_perl/DBI/mysql/postgres
 ----------------------------------------------------------------

(message missing)

inflating columns to objects
Dave Howorth 16:23 on 26 Oct 2004

Re: inflating columns to objects
Drew Taylor 16:30 on 26 Oct 2004

Re: inflating columns to objects
Dave Howorth 16:41 on 26 Oct 2004

Re: inflating columns to objects
Drew Taylor 17:40 on 26 Oct 2004

Re: inflating columns to objects
Dave Howorth 13:24 on 27 Oct 2004

Re: inflating columns to objects
Drew Taylor 14:13 on 27 Oct 2004

Re: inflating columns to objects
Dave Howorth 14:33 on 27 Oct 2004

Re: inflating columns to objects
Drew Taylor 14:37 on 27 Oct 2004

Re: inflating columns to objects
Dave Howorth 16:17 on 27 Oct 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52