I think this removal might be premature. Why do you say it doesn't
work? I was using it to test with and hoped to talk with Thorsten
about it if he logs back on today.
--tim
On 9/6/05, rgardler@apache.org <rgardler@apache.org> wrote:
> Author: rgardler
> Date: Tue Sep 6 13:53:55 2005
> New Revision: 279102
>
> URL: http://svn.apache.org/viewcvs?rev=279102&view=rev
> Log:
> remove getViews locationmap resolver (action does not work yet)
>
> Modified:
> forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/internal.xmap
> forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/locationmap.xml
>
> Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/internal.xmap
> URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/internal.xmap?rev=279102&r1=279101&r2=279102&view=diff
> ==============================================================================
> --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/internal.xmap
(original)
> +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/internal.xmap
Tue Sep 6 13:53:55 2005
> @@ -28,6 +28,7 @@
> <map:transform src="resources/stylesheets/xhtml2html.xsl"/>
> <map:serialize/>
> </map:match>
> +
> <!--Views-->
> <map:match pattern="getView-**">
> <map:generate src="{lm:getView/{1}}" />
>
> Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/locationmap.xml
> URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/locationmap.xml?rev=279102&r1=279101&r2=279102&view=diff
> ==============================================================================
> --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/locationmap.xml
(original)
> +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/locationmap.xml
Tue Sep 6 13:53:55 2005
> @@ -29,100 +29,12 @@
> <selector name="exists"
> src="org.apache.forrest.sourceexists.SourceExistsSelector" />
> </selectors>
> - <actions default="RecursiveDirectoryTraversalAction">
> - <action name="RecursiveDirectoryTraversalAction"
> - src="org.apache.forrest.plugin.internal.view.acting.RecursiveDirectoryTraversalAction"/>
> - <action logger="sitemap.action.sourcetype" name="sourcetype" src="org.apache.forrest.sourcetype.SourceTypeAction">
> - <sourcetype name="document-v10">
> - <document-declaration public-id="-//APACHE//DTD Documentation V1.0//EN"
/>
> - </sourcetype>
> - <sourcetype name="howto-v10">
> - <document-declaration public-id="-//APACHE//DTD How-to V1.0//EN" />
> - </sourcetype>
> - <sourcetype name="todo-v10">
> - <document-declaration public-id="-//APACHE//DTD Todo V1.0//EN" />
> - </sourcetype>
> - <sourcetype name="changes-v10">
> - <document-declaration public-id="-//APACHE//DTD Changes V1.0//EN" />
> - </sourcetype>
> - <sourcetype name="document-v11">
> - <document-declaration public-id="-//APACHE//DTD Documentation V1.1//EN"
/>
> - </sourcetype>
> - <sourcetype name="howto-v11">
> - <document-declaration public-id="-//APACHE//DTD How-to V1.1//EN" />
> - </sourcetype>
> - <sourcetype name="todo-v11">
> - <document-declaration public-id="-//APACHE//DTD Todo V1.1//EN" />
> - </sourcetype>
> - <sourcetype name="changes-v11">
> - <document-declaration public-id="-//APACHE//DTD Changes V1.1//EN" />
> - </sourcetype>
> - <sourcetype name="todo-v12">
> - <document-declaration public-id="-//APACHE//DTD Todo V1.2//EN" />
> - </sourcetype>
> - <sourcetype name="changes-v12">
> - <document-declaration public-id="-//APACHE//DTD Changes V1.2//EN" />
> - </sourcetype>
> - <sourcetype name="howto-v12">
> - <document-declaration public-id="-//APACHE//DTD How-to V1.2//EN" />
> - </sourcetype>
> - <sourcetype name="todo-v13">
> - <document-declaration public-id="-//APACHE//DTD Todo V1.3//EN" />
> - </sourcetype>
> - <sourcetype name="changes-v13">
> - <document-declaration public-id="-//APACHE//DTD Changes V1.3//EN" />
> - </sourcetype>
> - <sourcetype name="howto-v13">
> - <document-declaration public-id="-//APACHE//DTD How-to V1.3//EN" />
> - </sourcetype>
> - <sourcetype name="document-v20a">
> - <document-declaration public-id="-//APACHE//DTD Documentation V2.0a//EN"
/>
> - </sourcetype>
> - <sourcetype name="document-v20">
> - <document-declaration public-id="-//APACHE//DTD Documentation V2.0//EN"
/>
> - </sourcetype>
> - <sourcetype name="todo-v20">
> - <document-declaration public-id="-//APACHE//DTD Todo V2.0//EN" />
> - </sourcetype>
> - <sourcetype name="changes-v20">
> - <document-declaration public-id="-//APACHE//DTD Changes V2.0//EN" />
> - </sourcetype>
> - <sourcetype name="howto-v20">
> - <document-declaration public-id="-//APACHE//DTD How-to V2.0//EN" />
> - </sourcetype>
> - </action>
> - </actions>
> </components>
>
> <locator>
>
> <match pattern="test">
> <location src="test" />
> - </match>
> -
> - <match pattern="getView/**">
> - <select type="exists">
> - <!-- File-based - project -->
> - <location src="{1}{project:theme-ext}" />
> - <act type="sourcetype" src="{1}.xml">
> - <!-- Sourcetype-based -->
> - <location src="{project:theme-sourcetypeDir}{sourcetype}{project:theme-ext}"
/>
> - </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:content.xdocs}" name="projectDir"/>
> - <!-- Directory-based / Parent-directory based (recursively) - project -->
> - <location src="{uri}" />
> - </act>
> - <!-- Theme based - default -->
> - <location
> - src="{defaults:view-themes}/{project:theme}{project:theme-ext}" />
> - <!-- Default theme based - default -->
> - <location
> - src="{defaults:view-themes}/{defaults:theme}{defaults:theme-ext}" />
> - </select>
> </match>
>
> </locator>
>
>
>
|