[Seaside] seaside: interpreting pier syntax.

Lukas Renggli renggli at gmail.com
Tue Apr 27 19:51:43 UTC 2010


> i was wondering if it's possible to do the same with my seaside app..
> make a field interpreted as pier syntax.

Sure, this is relatively simple:

html textarea
	value: (PRWikiWriter write: document);
	callback: [ :text | document := PRDocumentParser parse: text ]

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

Lukas

-- 
Lukas Renggli
www.lukas-renggli.ch


More information about the seaside mailing list