struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Cooper <mart...@apache.org>
Subject Re: Snippet variable
Date Wed, 11 Feb 2009 15:31:23 GMT
On Wed, Feb 11, 2009 at 6:17 AM, Dave Newton <newton.dave@yahoo.com> wrote:

> Martin Cooper wrote:
>
>> struts2-tags/ currently translates to:
>>
>>
>> http://svn.apache.org/repos/asf/struts/struts2/trunk/core/src/site/resources/tags/
>>
>
> Hrm... well, *something* is wrong somewhere, either in configuration or my
> brain, because the snippet macro [1] points to an old version on the
> redirectAction result page [2] but on the cwiki/confluence/etc. page [3]
> it's displaying from the source correctly. [2] is also showing the incorrect
> results for version-specific stuff, like 2.1.6 is wrong.


You're referencing a different macro than the one referenced earlier. Just
to clarify, we seem to have a boatload of macros (where no other ASF project
has more than one!). Here are the current values:

org.apache.struts2.views.tiles.

http://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/tiles/src/main/java/org/apache/struts2/views/tiles/
org.apache.struts2.sitegraph.

http://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/
org.apache.struts2.sitemesh.

http://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/sitemesh/src/main/java/org/apache/struts2/sitemesh/
org.apache.struts2.dojo.

http://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/
struts2-tags/

http://svn.apache.org/repos/asf/struts/struts2/trunk/core/src/site/resources/tags/
struts2/
    http://svn.apache.org/repos/asf/struts/struts2/trunk/
org.apache.struts2.

http://svn.apache.org/repos/asf/struts/struts2/trunk/core/src/main/java/org/apache/struts2/
com.opensymphony.xwork2.

http://svn.opensymphony.com/svn/xwork/trunk/src/java/com/opensymphony/xwork2/
xwork2/
    http://svn.opensymphony.com/svn/xwork/trunk/
rest-plugin/
    http://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/rest/

I've cleared the snippet cache, in case that makes a difference.

--
Martin Cooper



> Dave
>
> [1] snippet macro
>
> {snippet:id=example|lang=xml|javadoc=true|url=org.apache.struts2.dispatcher.ServletActionRedirectResult}
>
> [2] struts.apache.org redirectAction rsult page
> http://struts.apache.org/2.x/docs/redirect-action-result.html
>
> [3] cwiki.apache.org/confluence page (after editing)
> http://cwiki.apache.org/confluence/display/WW/Redirect+Action+Result
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message