>I was wondering if solidtables has a formatting option that will
> display a text field without escaping the html tags?
You can do this by using the "represent" feature of Field, as in
SQLTABLE:
db.status_info.description.represent = lambda v: XML(v)


On 9月4日, 午後12:38, tomt <tom_tren...@yahoo.com> wrote:
> Kenji,
>
> Thanks for contributing your great plugins.  I've started to use
> solidtable and solidform and I expect that I will use them a lot
> because they really improve the look and usability of the web2py apps
> I've been working on.
>
> I was wondering if solidtables has a formatting option that will
> display a text field without escaping the html tags?
>
> I'm currently doing this by building tables in a view and using:
> <td>{{=XML(row.status_info.description)}}</td>
>
> The following is an example of the html I want to display: <p>Follow
> <span style="color: rgb(255, 0, 0);">procedure</span> in <u>station</
> u> notes</p>
>
> This works ok, but I just thought that if solidtable already has the
> ability to do this, I'd try it instead.
>
> Thanks - Tom

Reply via email to