[ http://issues.apache.org/jira/browse/FOR-893?page=all ]

Thorsten Scherler closed FOR-893.
---------------------------------

    Resolution: Fixed

Fixed
Commit de la revisión 422649.

Thanks to David that suggested to use {../1} instead. The problem occur in the 
lm when you have 
<select>
 <act>
  <param value="{1}" name="something"/>
...

The param needs to look into the parent (act) for {1}. So changing to {../1} 
returns the correct value.

> 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
>          Issue 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira