[ 
https://issues.apache.org/jira/browse/WW-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart updated WW-4342:
------------------------------

    Fix Version/s:     (was: 2.3.18)
                   2.5

> Move all doc snippets from source code to Confluence
> ----------------------------------------------------
>
>                 Key: WW-4342
>                 URL: https://issues.apache.org/jira/browse/WW-4342
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 2.3.16.3
>         Environment: Confluence
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.5
>
>
> After migrating to the latest version of Confluence there is a lot of 
> warnings during exporting pages to html:
> {noformat}
> WARNING: Page "ConversionErrorFieldValidator Annotation" (WW) has unmigrated 
> wiki content.
> WARNING: Page "struts-default.xml" (WW) has unmigrated wiki content.
> WARNING: Page "date" (WW) has unmigrated wiki content.
> WARNING: Page "param" (WW) has unmigrated wiki content.
> WARNING: Page "password" (WW) has unmigrated wiki content.
> WARNING: Page "VisitorFieldValidator Annotation" (WW) has unmigrated wiki 
> content.
> WARNING: Page "reset" (WW) has unmigrated wiki content.
> WARNING: Page "xhtml theme" (WW) has unmigrated wiki content.
> WARNING: Page "else" (WW) has unmigrated wiki content.
> WARNING: Page "DateRangeFieldValidator Annotation" (WW) has unmigrated wiki 
> content.
> WARNING: Page "struts.properties" (WW) has unmigrated wiki content.
> WARNING: Page "AJAX Validation" (WW) has unmigrated wiki content.
> WARNING: Page "ajax head template" (WW) has unmigrated wiki content.
> WARNING: Page "include" (WW) has unmigrated wiki content.
> WARNING: Page "IntRangeFieldValidator Annotation" (WW) has unmigrated wiki 
> content.
> WARNING: Page "Plugins" (WW) has unmigrated wiki content.
> WARNING: Page "RequiredStringValidator Annotation" (WW) has unmigrated wiki 
> content.
> WARNING: Page "generator" (WW) has unmigrated wiki content.
> WARNING: Page "i18n" (WW) has unmigrated wiki content.
> WARNING: Page "Validations Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "updownselect" (WW) has unmigrated wiki content.
> WARNING: Page "iterator" (WW) has unmigrated wiki content.
> WARNING: Page "Client Validation" (WW) has unmigrated wiki content.
> WARNING: Page "url" (WW) has unmigrated wiki content.
> WARNING: Page "BeforeResult Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "StringLengthFieldValidator Annotation" (WW) has unmigrated 
> wiki content.
> WARNING: Page "Servlet Config Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "div" (WW) has unmigrated wiki content.
> WARNING: Page "xhtml form template" (WW) has unmigrated wiki content.
> WARNING: Page "textfield" (WW) has unmigrated wiki content.
> WARNING: Page "Validation Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "I18n Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "textarea" (WW) has unmigrated wiki content.
> WARNING: Page "Element Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "Scope Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "Token Session Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "simple head template" (WW) has unmigrated wiki content.
> WARNING: Page "FieldExpressionValidator Annotation" (WW) has unmigrated wiki 
> content.
> WARNING: Page "optiontransferselect" (WW) has unmigrated wiki content.
> WARNING: Page "email validator" (WW) has unmigrated wiki content.
> WARNING: Page "CustomValidator Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "Interceptors" (WW) has unmigrated wiki content.
> WARNING: Page "property" (WW) has unmigrated wiki content.
> WARNING: Page "elseif" (WW) has unmigrated wiki content.
> WARNING: Page "Using Visitor Field Validator" (WW) has unmigrated wiki 
> content.
> WARNING: Page "ExpressionValidator Annotation" (WW) has unmigrated wiki 
> content.
> WARNING: Page "checkboxlist" (WW) has unmigrated wiki content.
> WARNING: Page "CreateIfNull Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "bean" (WW) has unmigrated wiki content.
> WARNING: Page "xhtml head template" (WW) has unmigrated wiki content.
> WARNING: Page "Create Session Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "Default Workflow Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "head" (WW) has unmigrated wiki content.
> WARNING: Page "token" (WW) has unmigrated wiki content.
> WARNING: Page "XSL Result" (WW) has unmigrated wiki content.
> WARNING: Page "stringlength validator" (WW) has unmigrated wiki content.
> WARNING: Page "doubleselect" (WW) has unmigrated wiki content.
> WARNING: Page "Exception Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "Key Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "a" (WW) has unmigrated wiki content.
> WARNING: Page "checkbox" (WW) has unmigrated wiki content.
> WARNING: Page "actionmessage" (WW) has unmigrated wiki content.
> WARNING: Page "TypeConversion Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "action" (WW) has unmigrated wiki content.
> WARNING: Page "component" (WW) has unmigrated wiki content.
> WARNING: Page "Localization" (WW) has unmigrated wiki content.
> WARNING: Page "text" (WW) has unmigrated wiki content.
> WARNING: Page "Alias Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "submit" (WW) has unmigrated wiki content.
> WARNING: Page "fieldexpression validator" (WW) has unmigrated wiki content.
> WARNING: Page "subset" (WW) has unmigrated wiki content.
> WARNING: Page "Parameters Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "EmailValidator Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "Using Field Validators" (WW) has unmigrated wiki content.
> WARNING: Page "FreeMarker" (WW) has unmigrated wiki content.
> WARNING: Page "Model Driven Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "Dispatcher Result" (WW) has unmigrated wiki content.
> WARNING: Page "FreeMarker Result" (WW) has unmigrated wiki content.
> WARNING: Page "Before Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "Type Conversion" (WW) has unmigrated wiki content.
> WARNING: Page "date validator" (WW) has unmigrated wiki content.
> WARNING: Page "Conversion Error Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "Prepare Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "push" (WW) has unmigrated wiki content.
> WARNING: Page "Parameter Filter Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "select" (WW) has unmigrated wiki content.
> WARNING: Page "ActionMapper" (WW) has unmigrated wiki content.
> WARNING: Page "actionerror" (WW) has unmigrated wiki content.
> WARNING: Page "Validation Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "sort" (WW) has unmigrated wiki content.
> WARNING: Page "Can we use JSTL with the framework" (WW) has unmigrated wiki 
> content.
> WARNING: Page "SiteGraph Plugin" (WW) has unmigrated wiki content.
> WARNING: Page "merge" (WW) has unmigrated wiki content.
> WARNING: Page "KeyProperty Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "ValidationParameter annotation" (WW) has unmigrated wiki 
> content.
> WARNING: Page "fielderror" (WW) has unmigrated wiki content.
> WARNING: Page "RegexFieldValidator Annotation" (WW) has unmigrated wiki 
> content.
> WARNING: Page "required validator" (WW) has unmigrated wiki content.
> WARNING: Page "label" (WW) has unmigrated wiki content.
> WARNING: Page "Velocity Result" (WW) has unmigrated wiki content.
> WARNING: Page "tree" (WW) has unmigrated wiki content.
> WARNING: Page "optgroup" (WW) has unmigrated wiki content.
> WARNING: Page "Conversion Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "if" (WW) has unmigrated wiki content.
> WARNING: Page "CRUD Demo I" (WW) has unmigrated wiki content.
> WARNING: Page "Redirect Result" (WW) has unmigrated wiki content.
> WARNING: Page "PlainText Result" (WW) has unmigrated wiki content.
> WARNING: Page "visitor validator" (WW) has unmigrated wiki content.
> WARNING: Page "Basic Validation" (WW) has unmigrated wiki content.
> WARNING: Page "form" (WW) has unmigrated wiki content.
> WARNING: Page "HttpHeader Result" (WW) has unmigrated wiki content.
> WARNING: Page "Timer Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "css_xhtml theme" (WW) has unmigrated wiki content.
> WARNING: Page "Action Chaining" (WW) has unmigrated wiki content.
> WARNING: Page "Chaining Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "expression validator" (WW) has unmigrated wiki content.
> WARNING: Page "radio" (WW) has unmigrated wiki content.
> WARNING: Page "Static Parameters Interceptor" (WW) has unmigrated wiki 
> content.
> WARNING: Page "After Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "Redirect Action Result" (WW) has unmigrated wiki content.
> WARNING: Page "Form Tags" (WW) has unmigrated wiki content.
> WARNING: Page "tabbedPanel" (WW) has unmigrated wiki content.
> WARNING: Page "append" (WW) has unmigrated wiki content.
> WARNING: Page "AnnotationWorkflowInterceptor" (WW) has unmigrated wiki 
> content.
> WARNING: Page "css_xhtml head template" (WW) has unmigrated wiki content.
> WARNING: Page "Chain Result" (WW) has unmigrated wiki content.
> WARNING: Page "set" (WW) has unmigrated wiki content.
> WARNING: Page "JasperReports Plugin" (WW) has unmigrated wiki content.
> WARNING: Page "combobox" (WW) has unmigrated wiki content.
> WARNING: Page "Pure JavaScript Client Side Validation" (WW) has unmigrated 
> wiki content.
> WARNING: Page "conversion validator" (WW) has unmigrated wiki content.
> WARNING: Page "datetimepicker" (WW) has unmigrated wiki content.
> WARNING: Page "DoubleRangeFieldValidator Annotation" (WW) has unmigrated wiki 
> content.
> WARNING: Page "int validator" (WW) has unmigrated wiki content.
> WARNING: Page "file" (WW) has unmigrated wiki content.
> WARNING: Page "Token Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "treenode" (WW) has unmigrated wiki content.
> WARNING: Page "RequiredFieldValidator Annotation" (WW) has unmigrated wiki 
> content.
> WARNING: Page "regex validator" (WW) has unmigrated wiki content.
> WARNING: Page "Stream Result" (WW) has unmigrated wiki content.
> WARNING: Page "Validation" (WW) has unmigrated wiki content.
> WARNING: Page "File Upload Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "Using Non Field Validators" (WW) has unmigrated wiki content.
> WARNING: Page "requiredstring validator" (WW) has unmigrated wiki content.
> WARNING: Page "hidden" (WW) has unmigrated wiki content.
> WARNING: Page "web.xml" (WW) has unmigrated wiki content.
> WARNING: Page "Logger Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "Execute and Wait Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "Message Store Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "Checkbox Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "struts.xml Examples" (WW) has unmigrated wiki content.
> WARNING: Page "Scoped Model Driven Interceptor" (WW) has unmigrated wiki 
> content.
> WARNING: Page "Profiling" (WW) has unmigrated wiki content.
> WARNING: Page "Tiles 2 Plugin" (WW) has unmigrated wiki content.
> WARNING: Page "Roles Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "Profiling Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "DebuggingInterceptor" (WW) has unmigrated wiki content.
> WARNING: Page "Result Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "Struts 1 Plugin" (WW) has unmigrated wiki content.
> WARNING: Page "autocompleter" (WW) has unmigrated wiki content.
> WARNING: Page "Cookie Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "double validator" (WW) has unmigrated wiki content.
> WARNING: Page "dojo head" (WW) has unmigrated wiki content.
> WARNING: Page "dojo anchor" (WW) has unmigrated wiki content.
> WARNING: Page "bind" (WW) has unmigrated wiki content.
> WARNING: Page "dojo submit" (WW) has unmigrated wiki content.
> WARNING: Page "dojo textarea" (WW) has unmigrated wiki content.
> WARNING: Page "dojo div" (WW) has unmigrated wiki content.
> WARNING: Page "DWR Plugin" (WW) has unmigrated wiki content.
> WARNING: Page "File Upload" (WW) has unmigrated wiki content.
> WARNING: Page "InputConfig Annotation" (WW) has unmigrated wiki content.
> WARNING: Page "inputtransferselect" (WW) has unmigrated wiki content.
> WARNING: Page "short validator" (WW) has unmigrated wiki content.
> WARNING: Page "conditionalvisitor validator" (WW) has unmigrated wiki content.
> WARNING: Page "CookieProvider Interceptor" (WW) has unmigrated wiki content.
> WARNING: Page "DeprecationInterceptor" (WW) has unmigrated wiki content.
> WARNING: Page "Postback Result" (WW) has unmigrated wiki content.
> WARNING: Page "datetextfield" (WW) has unmigrated wiki content.
> {noformat}
> Thus is because we're using unsupported {{snippet}} macro which can be 
> dropped soon, eg.
> {noformat}
> {snippet:id=javadoc|javadoc=true|url=org.apache.struts2.components.DateTextField}
> {noformat}
> To solve the above problems all code snippets have to be moved from java 
> source code into wiki pages.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to