forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyriaque Dupoirieux <Cyriaque.Dupoiri...@pcotech.fr>
Subject Re: [jira] Commented: (FOR-893) wildcard matcher such as **.xml when used in lm actions like {1} are not rewritten
Date Tue, 18 Jul 2006 07:54:51 GMT
le 18/07/2006 04:22 David Crossley a écrit :
> Cyriaque Dupoirieux wrote:
>   
>> Thorsten Scherler a ??crit :
>>     
>>> Did you  updated the locationmap of the dispatcher and builded the
>>> plugin.
>>>  
>>>       
>> Yes, this morning...
>>
>>     
>>> The {../1} is only working if you use the head of locationmap.xml!
>>>       
>
> Cyriaque, this is just a guess ... If you have been
> updating your SVN to older revisions, did you remember
> to get back to head of trunk, e.g.
> cd $FORREST_HOME
> svn update -r HEAD
>   
Yes, thank you David, everything was Ok.
Here is how I make it work : (still need to have {1} in the request and 
to invert the two RecursiveDirectoryTraversalAction...)
(I am going to put some log as Thorsten explained me...)

Index: locationmap.xml

===================================================================

--- locationmap.xml    (revision 422999)

+++ locationmap.xml    (working copy)

@@ -163,11 +163,11 @@

           <location src="{uri}" />
         </act>
         <act type="RecursiveDirectoryTraversalAction">
-          <parameter value="{../1}" name="request"/>
+          <parameter value="{1}" name="request"/>
           <parameter value="{project:theme}" name="projectFallback"/>
           <parameter value="{project:theme-ext}" name="projectExtension"/>
-          <parameter value="{project:resources}structurer/url/" 
name="projectDir"/>
-          <!--  url
+          <parameter value="{project:content.xdocs}" name="projectDir"/>
+          <!--  xdocs  [depreciated]
             project-based theme-based = directory-based / 
parent-directory based (recursively) -->
           <location src="{uri}" />
         </act>
@@ -175,8 +175,8 @@

           <parameter value="{../1}" name="request"/>
           <parameter value="{project:theme}" name="projectFallback"/>
           <parameter value="{project:theme-ext}" name="projectExtension"/>
-          <parameter value="{project:content.xdocs}" name="projectDir"/>
-          <!--  xdocs  [depreciated]
+          <parameter value="{project:resources}structurer/url/" 
name="projectDir"/>
+          <!--  url
             project-based theme-based = directory-based / 
parent-directory based (recursively) -->
           <location src="{uri}" />
         </act>
@@ -396,4 +396,4 @@

       </select>
     </match>
   </locator>
-</locationmap>

\ No newline at end of file

+</locationmap>

Salutations,
Cyriaque,
> -David
>
>
>   

Mime
View raw message