Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 92877 invoked from network); 2 Jan 2007 04:49:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2007 04:49:28 -0000 Received: (qmail 70025 invoked by uid 500); 2 Jan 2007 04:49:33 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 69986 invoked by uid 500); 2 Jan 2007 04:49:33 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 69975 invoked by uid 99); 2 Jan 2007 04:49:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jan 2007 20:49:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [63.246.22.40] (HELO mail.atlassian.com) (63.246.22.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jan 2007 20:49:22 -0800 Received: (qmail 16536 invoked from network); 2 Jan 2007 04:49:00 -0000 Received: from unknown (HELO mail.atlassian.com) (127.0.0.1) by 63-246-22-40.contegix.com with SMTP; 2 Jan 2007 04:49:00 -0000 Received: from [192.168.0.2] (c-71-198-65-19.hsd1.ca.comcast.net [71.198.65.19]) by mail.atlassian.com (Postfix) with ESMTP id 8693518701FF for ; Mon, 1 Jan 2007 22:49:00 -0600 (CST) Message-ID: <4599E43C.9070207@twdata.org> Date: Mon, 01 Jan 2007 20:49:00 -0800 From: Don Brown User-Agent: Thunderbird 1.5.0.8 (X11/20061117) MIME-Version: 1.0 To: Struts Developers List Subject: Re: documentation problems References: <4599CB9D.20109@wfscorp.com> In-Reply-To: <4599CB9D.20109@wfscorp.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks for pointing these out, but please feel free to take the next step and correct them. By editing the original Confluence pages, found at http://cwiki.apache.org/confluence/display/WW, these snippet errors can be corrected. The reason so many are broken is that the pages were pointing to XWork 1, so I turned off those prefixes, which broke the snippets. All we need to do is point the snippets to XWork 2. The snippet plugin works by allowing the administrator to set allowed "prefixes" that snippets can have. For our instance, the following prefixes are defined: Prefix URL struts2/ http://svn.apache.org/repos/asf/struts/struts2/trunk/ com.opensymphony.xwork2. http://svn.opensymphony.com/svn/xwork/trunk/src/java/com/opensymphony/xwork2/ org.apache.struts2. http://svn.apache.org/repos/asf/struts/struts2/trunk/core/src/main/java/org/apache/struts2/ 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/ xwork2/ http://svn.opensymphony.com/svn/xwork/trunk/ people/ http://people.apache.org/ org.apache.struts2.sitemesh. http://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/sitemesh/src/main/java/org/apache/struts2/sitemesh/ openejb3/ http://svn.apache.org/repos/asf/incubator/openejb/trunk/openejb3/ Take the case of the validation.html page. There are several snippets that use the "xwork/" prefix, so it should be updated to "xwork2/". Most of the errors will probably be just that easy. See also: http://confluence.atlassian.com/display/CONFEXT/Snippet+Plugin Don Musachy Barroso wrote: > Macro snippet errors: > http://struts.apache.org/2.x/docs/validation.html > http://struts.apache.org/2.x/docs/type-conversion.html > http://struts.apache.org/2.x/docs/localization.html > http://struts.apache.org/2.x/docs/action-chaining.html > http://struts.apache.org/2.x/docs/interceptors.html > http://struts.apache.org/2.x/docs/chain-result.html > http://struts.apache.org/2.x/docs/stream-result.html > http://struts.apache.org/2.x/docs/ajax-theme.html > > Broken: > http://struts.apache.org/2.x/S2PLUGINS/spring-plugin.html (on > http://struts.apache.org/2.x/docs/guides.html) > http://struts.apache.org/2.x/S2PLUGINS/plexus-plugin.html (on > http://struts.apache.org/2.x/docs/guides.html) > http://struts.apache.org/2.x/S2PLUGINS/home.html (on > http://struts.apache.org/2.x/docs/guides.html) > http://struts.apache.org/2.x/S2PLUGINS/tiles-result.html (on > http://struts.apache.org/2.x/docs/result-types.html) > http://struts.apache.org/2.x/apidocs/index.html > (on http://struts.apache.org/2.x/docs/guides.html) > http://struts.apache.org/2.x/S2WIKI/home.html (on > http://struts.apache.org/2.x/docs/home.html) > > Small error here: > http://struts.apache.org/2.x/docs/portlet-configuration.html > > regards > musachy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org > For additional commands, e-mail: dev-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org