[pmwiki-users] markup expression: what name & where?
Patrick R. Michaud
pmichaud at pobox.com
Mon Nov 12 14:44:19 CST 2007
On Mon, Nov 12, 2007 at 08:36:33PM +0000, Hans wrote:
> > Better might be to have some form of marker in the pagename itself
> > (or in an alternate parameter) that says "determine a unique
> > pagename at the time this page is being saved". This is the
> > approach that PmForms intends to take.
>
> Yes, very good. Might it work by giving the markup expression another
> "wrapper", so it is not evaluated when the page is created, but will
> only be evaluated when the form post is processed, by the form
> processor "unwrapping" it and calling MarkupExpression() directly with
> the expression? I imagine this as part of the initial
> variable substitutions.
That sounds like a good approach -- I'm still figuring out how I want
to handle markup expressions in forms and conditional processing.
Pm
More information about the pmwiki-users
mailing list