[Seaside] seaside: interpreting pier syntax.

sergio_101 sergiolist at village-buzz.com
Wed Apr 28 05:33:39 UTC 2010


> If you also use Magritte you only need to describe your attribute with
> PRDocumentDescription to get a field interpreted as Pier syntax.
>

since i have used magritte for this, i have followed this route..

this is great, because the text is saved as a PRDocument..

my problem now is getting at that PRDocument to parse out as pier/html.

i was tried the PRDocument text function, but this did not produce pier/html..

for example..

i am using this for a "comments" field..

i put a comment like this:

"this is line one..

this is line two..

this is line three.."

my output is:

"this is line one..this is line two..this is line three.."

any ideas?

thanks!



-- 

----
peace,
sergio
photographer, journalist, visionary

http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101


More information about the seaside mailing list