forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cyriaque Dupoirieux (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-893) wildcard matcher such as **.xml when used in lm actions like {1} are not rewritten
Date Mon, 17 Jul 2006 08:18:15 GMT
    [ http://issues.apache.org/jira/browse/FOR-893?page=comments#action_12421554 ] 
            
Cyriaque Dupoirieux commented on FOR-893:
-----------------------------------------

This still does not work with me...
In the following thread : http://marc.theaimsgroup.com/?t=115269589100002&r=1&w=2
I explained that my specific fv files were found (still in xdocs directory...) if I inverted
the two  <act type="RecursiveDirectoryTraversalAction">  tags.
I had no problem with the {1}...
Now, If I invert the two tags, it does not work anymore.
If I replace the {../1} by the previous {1} :
        <act type="RecursiveDirectoryTraversalAction">
          <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]
            project-based theme-based = directory-based / parent-directory based (recursively)
-->
          <location src="{uri}" />
        </act>
        <act type="RecursiveDirectoryTraversalAction">
          <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
            project-based theme-based = directory-based / parent-directory based (recursively)
-->
          <location src="{uri}" />
        </act>
It works again.

I reopen the FOR...


> 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

        

Mime
View raw message