I have spent some time in both PropertyTag and VS sources and something that has bugged me is this situation:
1: <ww:property value="foo/bar"> 2: <ww:property value="../far" /> 3: </ww:property> Line 2 doesn't print "foo/far" since foo and bar didn't get pushed to the stack, just bar located in foo. Has anybody had a problem with this before? Should a path be walked and all the parts be pushed to the stack? That would result in a lot of overhead if one did <ww:property value="foo/bar/boo/far/for/bor"> Again, all post 1.3 stuff. For now I'm trying to recreate this ww:include bug. --Erik On Tue, 12 Nov 2002, Patrick Lightbody wrote: > No, you are actually pushing a value on the stack. Look at the code in > PropertyTag. Also, you might want to take a look at ValueStack.findValue to > understand how values are found (there is no such thing as a "root"). > > -Pat > > ----- Original Message ----- > From: "Erik Beeson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, November 12, 2002 3:08 PM > Subject: Re: [OS-webwork] Re: the names of the three new tags > > > > > Push a variable on to the stack > > > > I thought the stack was already filled by the time we've hit the view. > > Seems to me "pushing" is actually poping a value off the stack and making > > it available as the root for the current scope. > > > > Sounds a lot like chroot to me, but I don't think I like that as a tag > > name. > > > > --Erik > > > > > Set a variable in another context > > > > > > No? > > > -mike > > > > > > On 13/11/02 7:15 AM, "Patrick Lightbody" ([EMAIL PROTECTED]) penned the > > > words: > > > > > > > My two (or three) cents: > > > > > > > > the names aren't very important right now, as this stuff is all > post-1.3 for > > > > now. My votes would be: > > > > > > > > -out or print (<ww:out value="foo/bar"/>) > > > > -push (<ww:push value="foo"><ww:out value="bar"/></ww:push>) > > > > -set (<ww:set value="foo/bar id="blah"/> <ww:out value="@blah"/>) > > > > > > > > -Pat > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by: > > > > To learn the basics of securing your web site with SSL, > > > > click here to get a FREE TRIAL of a Thawte Server Certificate: > > > > http://www.gothawte.com/rd522.html > > > > _______________________________________________ > > > > Opensymphony-webwork mailing list > > > > [EMAIL PROTECTED] > > > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: > > > To learn the basics of securing your web site with SSL, > > > click here to get a FREE TRIAL of a Thawte Server Certificate: > > > http://www.gothawte.com/rd522.html > > > _______________________________________________ > > > Opensymphony-webwork mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: > > To learn the basics of securing your web site with SSL, > > click here to get a FREE TRIAL of a Thawte Server Certificate: > > http://www.gothawte.com/rd522.html > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > To learn the basics of securing your web site with SSL, > click here to get a FREE TRIAL of a Thawte Server Certificate: > http://www.gothawte.com/rd522.html > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd522.html _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork