Re: [xwiki-users] Using XWiki without dynamic extension manager features

2014-04-24 Thread Thomas Mortagne
On Wed, Apr 23, 2014 at 9:23 PM, Sam McCall sammcc...@google.com wrote:
 Thanks Ludovic and Thomas.

 You both mention changes to xwiki.properties:
  - deactivating the extension manager/distribution wizard
  - removing all repositories

Those are the exact same thing.

If you look at Extension Manager section you will find
extension.repositories property. When it's not set it assigned with
the default repositories indicated in the documentation, to indicate
you want nothing make this property empty:

extension.repositories=


 How can I do these? Neither of these options are mentioned in the
 configuration guide[1].
 Is there a reference for xwiki.properties?

 (I tried setting extension.repositories= per the Extension Module
 Repositories page[2], but this didn't seem to have any effect. The
 extension manager is still able to discover extensions, unless I kill the
 network connection).

 Thanks, Sam

 [1] http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration
 [2]
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Module+Repositories


 On Wed, Apr 23, 2014 at 8:10 PM, Thomas Mortagne
 thomas.morta...@xwiki.comwrote:

 No it does not fetch any extension. It just try to get more
 informations about jar it could find in the classpath from the
 extension reposirories.

 You can simply tell it it does not have any repository in
 xwiki.properties if you really want it to do do those requests.

 On Wed, Apr 23, 2014 at 7:51 PM, Ludovic Dubost ludo...@xwiki.com wrote:
  Hi Sam,
 
  Once XWiki's properly installed with the default content in your main
 wiki,
  you can deactivate the extension manager and distribution wizard in
  WEB-INF/xwiki.properties. XWiki will still function with the exception of
  being able to install extensions.
 
  Ludovic
 
 
  2014-04-23 19:22 GMT+02:00 Sam McCall sammcc...@google.com:
 
  Hi xwiki-users,
 
  When I start up XWiki, it appears to fetch java packages from the a
 maven
  repository (nexus.xwiki.org). This happens without installing any
  extensions etc.
 
  Is this expected? Is there a way to install and configure XWiki such
 that a
  static codebase is used, and packages are never fetched?
 
  I only need a pretty simple set of functionality:
 
 - Basic page editing
 - Storage using a JDBC driver
 - Rendering support for a few markups, e.g. markdown
 - Authorization using a custom backend
 
  Cheers, Sam
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 
 
 
  --
  Ludovic Dubost
  Founder and CEO
  Blog: http://blog.ludovic.org/
  XWiki: http://www.xwiki.com
  Skype: ldubost GTalk: ldubost
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users



 --
 Thomas Mortagne
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Using XWiki without dynamic extension manager features

2014-04-24 Thread Thomas Mortagne
Don't forget to restart after you modified xwiki.properties.

On Thu, Apr 24, 2014 at 8:49 AM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:
 On Wed, Apr 23, 2014 at 9:23 PM, Sam McCall sammcc...@google.com wrote:
 Thanks Ludovic and Thomas.

 You both mention changes to xwiki.properties:
  - deactivating the extension manager/distribution wizard
  - removing all repositories

 Those are the exact same thing.

 If you look at Extension Manager section you will find
 extension.repositories property. When it's not set it assigned with
 the default repositories indicated in the documentation, to indicate
 you want nothing make this property empty:

 extension.repositories=


 How can I do these? Neither of these options are mentioned in the
 configuration guide[1].
 Is there a reference for xwiki.properties?

 (I tried setting extension.repositories= per the Extension Module
 Repositories page[2], but this didn't seem to have any effect. The
 extension manager is still able to discover extensions, unless I kill the
 network connection).

 Thanks, Sam

 [1] http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration
 [2]
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Module+Repositories


 On Wed, Apr 23, 2014 at 8:10 PM, Thomas Mortagne
 thomas.morta...@xwiki.comwrote:

 No it does not fetch any extension. It just try to get more
 informations about jar it could find in the classpath from the
 extension reposirories.

 You can simply tell it it does not have any repository in
 xwiki.properties if you really want it to do do those requests.

 On Wed, Apr 23, 2014 at 7:51 PM, Ludovic Dubost ludo...@xwiki.com wrote:
  Hi Sam,
 
  Once XWiki's properly installed with the default content in your main
 wiki,
  you can deactivate the extension manager and distribution wizard in
  WEB-INF/xwiki.properties. XWiki will still function with the exception of
  being able to install extensions.
 
  Ludovic
 
 
  2014-04-23 19:22 GMT+02:00 Sam McCall sammcc...@google.com:
 
  Hi xwiki-users,
 
  When I start up XWiki, it appears to fetch java packages from the a
 maven
  repository (nexus.xwiki.org). This happens without installing any
  extensions etc.
 
  Is this expected? Is there a way to install and configure XWiki such
 that a
  static codebase is used, and packages are never fetched?
 
  I only need a pretty simple set of functionality:
 
 - Basic page editing
 - Storage using a JDBC driver
 - Rendering support for a few markups, e.g. markdown
 - Authorization using a custom backend
 
  Cheers, Sam
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 
 
 
  --
  Ludovic Dubost
  Founder and CEO
  Blog: http://blog.ludovic.org/
  XWiki: http://www.xwiki.com
  Skype: ldubost GTalk: ldubost
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users



 --
 Thomas Mortagne
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



 --
 Thomas Mortagne



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] how to copy the title field in an entry page for the title field of the next an application

2014-04-24 Thread Eduardo Abritta



Good Morning Sirs, 


I would like to know how to copy the title field in an entry
page for the title field of the next an application.


Can anyone help me?


Thank you.Eduardo Abritta 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] how to copy the title field in an entry page for the title field of the next an application

2014-04-24 Thread Marius Dumitru Florea
Hi Eduardo,

On Thu, Apr 24, 2014 at 3:03 PM, Eduardo Abritta
eduardo.abri...@outlook.com wrote:



 Good Morning Sirs,


 I would like to know how to copy the title field in an entry
 page for the title field of the next an application.


 Can anyone help me?

You need to give more details. I didn't understood what you are trying
to achieve. Are you referring to an application created with App
Within Minutes (
http://extensions.xwiki.org/xwiki/bin/view/Extension/App+Within+Minutes+Application
) ?

Hope this helps,
Marius



 Thank you.Eduardo Abritta
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Fwd: ZipExplore

2014-04-24 Thread Saulo S. Bravim


Hi; 

I'm using the zipexplore to find items in a file that is 20mb, but is 
experiencing the below error: 

org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity 
Macro for content [#set($attachment=Contratos.zip)
#set($plugin=$xwiki.zipexplorer)
#foreach($file in $plugin.getFileTreeList($doc, $attachment))
  * [[$file.idpath:$plugin.getFileLink($doc, $attachment, $file.id)]]
#end]
at 
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
at 
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at 
org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:302)
at 
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:198)
at 
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:59)
at 
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:191)
at 
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:132)
at 
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:87)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
at 
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
at 
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
at 
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at 
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at 
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at 
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at 
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:997)
at 
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:976)
at 
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1007)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:619)
at sun.reflect.GeneratedMethodAccessor422.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at 
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at 
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at 
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at 
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at 
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at 
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at 
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at 
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at 
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at 
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at 
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at 
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
at 
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at 
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at 
com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluate(DefaultPrivilegedTemplateRenderer.java:125)
at 
com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluateTemplate(DefaultPrivilegedTemplateRenderer.java:75)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1687)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1627)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:918)
at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at