Re: [pmwiki-users] Bug in functions PageTextVar or Qualify?

2008-04-28 Thread Hans
Sunday, April 27, 2008, 4:49:36 PM, Hans wrote: > I could perhaps filter this for the cases where foxedit loads a > particular PTV into an edit field. > But I cannot in cases where the edit form uses > (:input defaults source=SourcePage :) > and input fields with name=$:Var I found that by setti

Re: [pmwiki-users] Bug in functions PageTextVar or Qualify?

2008-04-27 Thread Hans
Sunday, April 27, 2008, 12:17:43 PM, Petko Yotov wrote: > PageTextVar (and PageVar) is not only used to display PTVs inside form fields, > but also sometimes to display relative links/PTVs inside (other) pages; this > is why it prepares the variables. >. > I still don't think this is a "bug",

Re: [pmwiki-users] Bug in functions PageTextVar or Qualify?

2008-04-27 Thread Petko Yotov
On Sunday 27 April 2008, Hans wrote: > Sunday, April 27, 2008, 8:55:24 AM, Petko Yotov wrote: > > This is not a bug but the expected behavior. We are expecting, by > > convention: > > > > {*$FullName} = the page that is being viewed, even if this piece of > > code comes from an included/sid

Re: [pmwiki-users] Bug in functions PageTextVar or Qualify?

2008-04-27 Thread Hans
Sunday, April 27, 2008, 8:55:24 AM, Petko Yotov wrote: > This is not a bug but the expected behavior. We are expecting, by convention: > {*$FullName} = the page that is being viewed, even if this piece of > code comes from an included/sidebar/header/footer page. > {$FullName} = the phy

Re: [pmwiki-users] Bug in functions PageTextVar or Qualify?

2008-04-27 Thread Petko Yotov
On Sunday 27 April 2008, Hans wrote: > noskule reported to me a possible bug which showed up when using FoxEdit > to load PTVs into an edit form, but which is not related to fox or > foxedit. > > When PageTextVar is called, and the PTV value contains {$FullName}, the > returned string for {$FullNam

[pmwiki-users] Bug in functions PageTextVar or Qualify?

2008-04-27 Thread Hans
noskule reported to me a possible bug which showed up when using FoxEdit to load PTVs into an edit form, but which is not related to fox or foxedit. When PageTextVar is called, and the PTV value contains {$FullName}, the returned string for {$FullName} is expanded to {GroupName.PageName$FullName}