forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Williams <william...@gmail.com>
Subject Re: Locationmap now works for repositories
Date Mon, 06 Jun 2005 21:55:05 GMT
On 6/6/05, Ross Gardler <rgardler@apache.org> wrote:
> Tim Williams wrote:
> > On 6/6/05, Ross Gardler <rgardler@apache.org> wrote:
> >
> >>Tim Williams wrote:
> 
> ...
> 
> > <map:select type="exists">
> >      <map:when test="{project:content.xdocs}tabs.xml">
> >           <map:generate src="{project:content.xdocs}tabs.xml"/>
> >      </map:when>
> >      <map:when test="{lm:tabs.xml}">
> >           <map:generate src="{lm:tabs.xml}"/>
> >       </map:when>
> > </map:select>
> 
> This is interesting. Have you tested what happens when {lm:tabs.xml}
> does not point to anything useful? That is, does the second <map:when> work?

:( Sadly, no.  It looks like {lm:tabs.xml} always evaluates to
existing.  Are locationmaps not usable in an exists selector for some
reason?

--tim

Mime
View raw message