You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Musachy Barroso <mb...@wfscorp.com> on 2007/01/02 04:03:57 UTC

documentation problems

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


Re: documentation problems

Posted by Musachy Barroso <mb...@wfscorp.com>.
After re-reading your email, "By editing the original Confluence pages", 
got it :)

musachy
Musachy Barroso wrote:
> I would, I just don't have rights :)
>
> musachy
>
> Don Brown wrote:
>> 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
>>
>>
>
>
> ---------------------------------------------------------------------
> 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


Re: documentation problems

Posted by Musachy Barroso <mb...@wfscorp.com>.
I would, I just don't have rights :)

musachy

Don Brown wrote:
> 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
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: documentation problems

Posted by Don Brown <mr...@twdata.org>.
Right, normally you would use an inter-space Confluence link like 
[S2PLUGINS:Home], but the auto-export to html will render those links 
invalid.  Therefore, you have to hard-code a full URL to the exported 
version like below.

Don

Ted Husted wrote:
> * http://cwiki.apache.org/S2PLUGINS/home.html
>
> On 1/16/07, Musachy Barroso <mb...@wfscorp.com> wrote:
>> How should I link to the plugins page? is there a prefix?
>>
>> musachy
>>
>> Don Brown wrote:
>> > 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


Re: documentation problems

Posted by Ted Husted <hu...@apache.org>.
* http://cwiki.apache.org/S2PLUGINS/home.html

On 1/16/07, Musachy Barroso <mb...@wfscorp.com> wrote:
> How should I link to the plugins page? is there a prefix?
>
> musachy
>
> Don Brown wrote:
> > 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


Re: documentation problems

Posted by Musachy Barroso <mb...@wfscorp.com>.
How should I link to the plugins page? is there a prefix?

musachy

Don Brown wrote:
> 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
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: documentation problems

Posted by Don Brown <mr...@twdata.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


Re: documentation problems

Posted by Ted Husted <hu...@apache.org>.
I opened WW-1701 for this.

* https://issues.apache.org/struts/browse/WW-1701

I should note that anyone with karma to the docs could handle this
one. It doesn't need to be a committer.

-Ted.

On 1/16/07, Don Brown <mr...@twdata.org> wrote:
> I guess that would work too.  The big thing is they stay listed in the
> registry and use a similar documentation layout, but it wouldn't hurt to
> move the bulk of the content to the other space.
>
> Don
>
> Ted Husted wrote:
> > On 1/16/07, Don Brown <mr...@twdata.org> wrote:
> >> Well, my concern then is that we wouldn't include any plugin
> >> documentation with our release.  While this is fine for third-party
> >> plugins, it is important we provide docs on key plugins like the Spring
> >> plugin.
> >
> > Then perhaps we should put only a skeleton description on the
> > repository site and move the bulk of the documentation back to the WW
> > site, say something like
> >
> > -----
> >
> > Spring Plugin
> >
> > The Spring plugin allows Actions, Interceptors, and Results to be
> > created and/or autowired by Spring.
> >
> > Documentation: http://struts.apache.org/2.x/docs/spring-plugin.html
> >
> > ----
> >
> > And put the rest on the other side of the link.
> >
> > -T.
> >
> > ---------------------------------------------------------------------
> > 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
>
>


-- 
HTH, Ted.
* http://www.husted.com/struts/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: documentation problems

Posted by Don Brown <mr...@twdata.org>.
I guess that would work too.  The big thing is they stay listed in the 
registry and use a similar documentation layout, but it wouldn't hurt to 
move the bulk of the content to the other space.

Don

Ted Husted wrote:
> On 1/16/07, Don Brown <mr...@twdata.org> wrote:
>> Well, my concern then is that we wouldn't include any plugin
>> documentation with our release.  While this is fine for third-party
>> plugins, it is important we provide docs on key plugins like the Spring
>> plugin.
>
> Then perhaps we should put only a skeleton description on the
> repository site and move the bulk of the documentation back to the WW
> site, say something like
>
> -----
>
> Spring Plugin
>
> The Spring plugin allows Actions, Interceptors, and Results to be
> created and/or autowired by Spring.
>
> Documentation: http://struts.apache.org/2.x/docs/spring-plugin.html
>
> ----
>
> And put the rest on the other side of the link.
>
> -T.
>
> ---------------------------------------------------------------------
> 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


Re: documentation problems

Posted by Ted Husted <hu...@apache.org>.
On 1/16/07, Don Brown <mr...@twdata.org> wrote:
> Well, my concern then is that we wouldn't include any plugin
> documentation with our release.  While this is fine for third-party
> plugins, it is important we provide docs on key plugins like the Spring
> plugin.

Then perhaps we should put only a skeleton description on the
repository site and move the bulk of the documentation back to the WW
site, say something like

-----

Spring Plugin

The Spring plugin allows Actions, Interceptors, and Results to be
created and/or autowired by Spring.

Documentation: http://struts.apache.org/2.x/docs/spring-plugin.html

----

And put the rest on the other side of the link.

-T.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: documentation problems

Posted by Don Brown <mr...@twdata.org>.
Well, my concern then is that we wouldn't include any plugin 
documentation with our release.  While this is fine for third-party 
plugins, it is important we provide docs on key plugins like the Spring 
plugin.

Don

Ted Husted wrote:
> I don't believe that we want to include a snapshot of the Plugin
> Registry in the distribution, so there would not seem to be a need to
> synch it to struts.apache.org. It is setup to autoexport, and we can
> link to the copy on cwiki (which should be updated on a per-change
> basis).
>
> -Ted.
>
> On 1/2/07, Don Brown <mr...@twdata.org> wrote:
>> The main docs take a little while to sync and no, I don't believe the
>> plugin registry has been setup to sync yet.
>>
>> Don
>>
>> Musachy Barroso wrote:
>> > I fixed the snippets. The broken links are fine on Confluence, but
>> > broken on main doc, is the plugin registry available on the main doc
>> > already?
>> >
>> > musachy
>> >
>> > 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


Re: documentation problems

Posted by Ted Husted <hu...@apache.org>.
I don't believe that we want to include a snapshot of the Plugin
Registry in the distribution, so there would not seem to be a need to
synch it to struts.apache.org. It is setup to autoexport, and we can
link to the copy on cwiki (which should be updated on a per-change
basis).

-Ted.

On 1/2/07, Don Brown <mr...@twdata.org> wrote:
> The main docs take a little while to sync and no, I don't believe the
> plugin registry has been setup to sync yet.
>
> Don
>
> Musachy Barroso wrote:
> > I fixed the snippets. The broken links are fine on Confluence, but
> > broken on main doc, is the plugin registry available on the main doc
> > already?
> >
> > musachy
> >
> > 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


Re: documentation problems

Posted by Don Brown <mr...@twdata.org>.
The main docs take a little while to sync and no, I don't believe the 
plugin registry has been setup to sync yet.

Don

Musachy Barroso wrote:
> I fixed the snippets. The broken links are fine on Confluence, but 
> broken on main doc, is the plugin registry available on the main doc 
> already?
>
> musachy
>
> 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
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: documentation problems

Posted by Musachy Barroso <mb...@wfscorp.com>.
I fixed the snippets. The broken links are fine on Confluence, but 
broken on main doc, is the plugin registry available on the main doc 
already?

musachy

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