<
From version < 26.1 >
edited by Sorin Burjan
on 2010/10/21
To version < 27.1 >
edited by Sorin Burjan
on 2010/10/21
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -276,6 +276,12 @@
276 276  )))
277 277  )))
278 278  
279 +It is **strongly recommended** to set up a testing/development environment, enable this feature and fully test all the code. In most cases things should work with no additional changes. If the default edit mode is not used, or if the default velocity templates are not used, it should be enough to add the following line:
280 +
281 +{{code language="html"}}
282 +<input type="hidden" name="form_token" value="$!{services.csrf.getToken()}" />
283 +{{/code}}
284 +
279 279  == Migration Notes ==
280 280  
281 281  The main entry point for the search UI is now the Main.Search page that will use the configured search engine (Lucene by default). If you want to refer to Lucene or Database search explicitly you can use the ##Main.LuceneSearch## and ##Main.DatabaseSearch## pages. Note that nothing is broken here (##Main.WebSearch## page is still there and internally it includes the ##Main.DatabaseSearch## page), it's just the new clean way of targeting the search page.
... ... @@ -299,8 +299,4 @@
299 299  [ERROR] org.xwiki.rendering.transformation.TransformationManager: Method 'public void performTransformations(org.xwiki.rendering.block.Block, org.xwiki.rendering.transformation.TransformationContext)' has been added to an interface
300 300  {{/code}}
301 301  
302 -It is **strongly recommended** to set up a testing/development environment, enable this feature and fully test all the code. In most cases things should work with no additional changes. If the default edit mode is not used, or if the default velocity templates are not used, it should be enough to add the following line:
303 303  
304 -{{code language="html"}}
305 -<input type="hidden" name="form_token" value="$!{services.csrf.getToken()}" />
306 -{{/code}}

Get Connected