forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: [jira] Created: (FOR-893) wildcard matcher such as **.xml when used in lm actions like {1} are not rewritten
Date Wed, 31 May 2006 01:19:18 GMT
Thorsten Scherler (JIRA) wrote:
> wildcard matcher such as **.xml when used in lm actions like {1} are not rewritten
> ----------------------------------------------------------------------------------
> 
>          Key: FOR-893
>          URL: http://issues.apache.org/jira/browse/FOR-893
>      Project: Forrest
>         Type: Bug
> 
>   Components: Locationmap, Dispatcher (aka views)  
>     Reporter: Thorsten Scherler
>  Attachments: lm.log.xml
> 
> In the thread http://marc.theaimsgroup.com/?t=114682704400003&r=1&w=2 I found
out the following.
> 
> I did a debug session with the RecursiveDirectoryTraversalAction and I
> figured out that the {1} in the lm is not probably resolved (it is
> always "").
> 
> <match pattern="resolve.structurer.**">
> ...
>  <act type="RecursiveDirectoryTraversalAction">
>   <parameter value="{1}" name="request"/>
> 
> It seems to happen in all lm actions, I debugged the resourceTypeAction
> and the same problem can be seen.
> 
> I attached the result of 
> svn log . -v --xml >~/src/apache/forrest/trunk/lm.log.xml

I haven't looked at your log, but i was stung by something
similar when developing the project sitemap for the
DocBook integration that Brian suggested using SourceTypeAction .

Perhaps you need 
<parameter value="{../1}" name="request"/>
...................^^^

-David

Mime
View raw message