On 6/14/07, Patrick R. Michaud <[EMAIL PROTECTED]> wrote:
> On Thu, Jun 14, 2007 at 11:02:47PM +0200, noskule wrote:
> > hi list
> > I read that pmwiki now supports default values in textarea. So previous
> > extensions are not needed anymore. I checked this out with zap. The
> > problem seams that pmwiki don't support linebreaks. This would mean that
> > I could'nt use it to edit existing comments that allow wikimarkup ore
> > use a {$:var}.
>
> You can use a var with:
>
> (:input default source=SomePage :)
>
> and then in the form:
>
> (:input textarea $:var:)
>
> For multiline comments specified in the page text itself -- yes,
> there's still some work that needs to be done there.
One option I've been using is two options for prefilling the value:
(:input textarea source=Some.Page:)
or
(:input textarea data=Some.Page:Var:)
This first fills the source with the whole page, the second the appropriate ptv.
Cheers,
Dan
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users