Hi, all,
I got a problem whenever a user is denied access to a page, it is then
redirected to a localhost on the client browser machine, I defined the some
workspaces or pages are not allowed for unregistered users, then when a
user tries to login, it will redirect the user to
localhost/xwiki/bin/view/Main/WebHome.
Also how to setup the rights for XWikiLogin page?, since admin can only set
up rights after admin login and admin has to go to that page to setup
rights.
Thanks for your help.
Dave
I just did something like this. I am just a novice at XWiki but I was able to figure out how to create a filter page and get it to work.
On the page that I needed the filter results I did this:
{{velocity}}
#set($originalMsg = $msg)
#set($msg = $services.dynamicMessageToolFactory.createDynamicMessageTool($msg, {
'canogaviewreleasetracker.livetable.doc.name': $msg.get('platform.appwithinminutes.liveTableEditorDocNameColumnName')
}))
#set($columnsProperties = {
'doc.name': {'type': 'text', 'link': 'view', 'size': 10, 'filterable': true, 'sortable': true}
})
#set($options = {
'resultPage' : 'CanogaView.CORE_2_2_4_ReleaseFilterJSON',
'translationPrefix': 'canogaviewreleasetracker.livetable.',
'rowCount': 15,
'maxPages': 10,
'selectedColumn': '_actions',
'defaultOrder': 'asc'
})
#set($columns = ['doc.name'])
#livetable('canogaviewreleasetracker' $columns $columnsProperties $options)
#set($msg = $originalMsg)
{{/velocity}}
The important point is the "resultPage". From the page "CoanogaView.CORE_2_2_4_ReleaseFilterJSON", I have this:
{{include document="XWiki.LiveTableResultsMacros" /}}
{{velocity}}
#gridresultwithfilter("CanogaView Release Tracker.CanogaViewReleaseTrackerClass" $request.collist.split(",") "" " and doc.name like 'CORE 2.2.4%'")
{{/velocity}}
So what this filter is doing is filtering on the "doc.name" that begins with "CORE 2.2.4". Hopefully you can extrapolate from this.
Brett
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Moritz Hesse (EA GmbH)
Sent: Monday, May 07, 2012 10:40 AM
To: users(a)xwiki.org
Subject: [xwiki-users] Filter items in live table
Hi,
I have created an app w/ minutes to manage some issue tickets. I am using a field to track the status (open, pending, closed). How can I blind out items which are not closed?
Kind regards,
Moritz
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
I recently moved my XWiki installation to a new server. Unfortunately now
some of my macros no longer work. I am still new to XWiki so I apologize
if my question is an easy one. Can anyone help me figure out my error from
the exception below?
org.xwiki.rendering.macro.MacroExecutionException: Failed to highlight content
at org.xwiki.rendering.internal.macro.code.CodeMacro.parseContent(CodeMacro.java:121)
at org.xwiki.rendering.internal.macro.code.CodeMacro.parseContent(CodeMacro.java:51)
at org.xwiki.rendering.macro.box.AbstractBoxMacro.execute(AbstractBoxMacro.java:149)
at org.xwiki.rendering.macro.box.AbstractBoxMacro.execute(AbstractBoxMacro.java:53)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:196)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:141)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:81)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:253)
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 com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:57)
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:827)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:806)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:837)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:585)
at sun.reflect.GeneratedMethodAccessor398.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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:186)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:152)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1816)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1753)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:841)
at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
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:186)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:152)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1816)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:238)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:184)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:184)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:184)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:184)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:184)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
Caused by: org.xwiki.component.manager.ComponentLookupException:
Failed to lookup component [role =
[org.xwiki.rendering.parser.HighlightParser] hint = [default]]
at org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:307)
at org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:112)
at org.xwiki.component.internal.DefaultComponentManager.lookup(DefaultComponentManager.java:72)
at org.xwiki.rendering.internal.macro.code.CodeMacro.highlight(CodeMacro.java:153)
at org.xwiki.rendering.internal.macro.code.CodeMacro.parseContent(CodeMacro.java:118)
... 110 more
Caused by: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "__pyclasspath__/pygments/__init__.py", line 37, in <module>
File "__pyclasspath__/pygments/util.py", line 12, in <module>
ImportError: No module named re
at org.python.core.PyException.fillInStackTrace(PyException.java:70)
at java.lang.Throwable.<init>(Throwable.java:56)
at org.python.core.PyException.<init>(PyException.java:46)
at org.python.core.PyException.<init>(PyException.java:43)
at org.python.core.PyException.<init>(PyException.java:61)
at org.python.core.Py.ImportError(Py.java:290)
at org.python.core.imp.import_first(imp.java:750)
at org.python.core.imp.import_name(imp.java:834)
at org.python.core.imp.importName(imp.java:884)
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importOne(imp.java:903)
at pygments.util$py.f$0(__pyclasspath__/pygments/util.py:232)
at pygments.util$py.call_function(__pyclasspath__/pygments/util.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:386)
at org.python.core.util.importer.importer_load_module(importer.java:109)
at org.python.core.ClasspathPyImporter.ClasspathPyImporter_load_module(ClasspathPyImporter.java:63)
at org.python.core.ClasspathPyImporter$ClasspathPyImporter_load_module_exposer.__call__(Unknown
Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
at org.python.core.imp.loadFromLoader(imp.java:513)
at org.python.core.imp.find_module(imp.java:467)
at org.python.core.PyModule.impAttr(PyModule.java:100)
at org.python.core.imp.import_next(imp.java:715)
at org.python.core.imp.import_logic(imp.java:777)
at org.python.core.imp.import_name(imp.java:839)
at org.python.core.imp.importName(imp.java:884)
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importFromAs(imp.java:978)
at org.python.core.imp.importFrom(imp.java:954)
at pygments$py.f$0(__pyclasspath__/pygments/__init__.py:91)
at pygments$py.call_function(__pyclasspath__/pygments/__init__.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:386)
at org.python.core.util.importer.importer_load_module(importer.java:109)
at org.python.core.ClasspathPyImporter.ClasspathPyImporter_load_module(ClasspathPyImporter.java:63)
at org.python.core.ClasspathPyImporter$ClasspathPyImporter_load_module_exposer.__call__(Unknown
Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
at org.python.core.imp.loadFromLoader(imp.java:513)
at org.python.core.imp.find_module(imp.java:467)
at org.python.core.imp.import_next(imp.java:713)
at org.python.core.imp.import_name(imp.java:824)
at org.python.core.imp.importName(imp.java:884)
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importOne(imp.java:903)
at org.python.pycode._pyx15.f$0(<string>:6)
at org.python.pycode._pyx15.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1261)
at org.python.core.Py.exec(Py.java:1305)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)
at org.xwiki.rendering.internal.parser.pygments.PygmentsParser.initialize(PygmentsParser.java:165)
at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:360)
at org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:298)
... 114 more
--
Dale Magnuson
dale.magnuson(a)gmail.com
Hi,
I have created an app w/ minutes to manage some issue tickets. I am using a
field to track the status (open, pending, closed). How can I blind out items
which are not closed?
Kind regards,
Moritz
Hi List,
I would like the front page of my wiki to show /amongst others/ the
last articles of the global blog. I tried to add a "blog" object to
the Main.WebHome page, but that causes it's entire content to be
replaced... Is there a way to "include" a blog object in such a way
that the rest of the page (mostly just text) remains visible?
Thanks in advance for your time,
Frits
Hi, all,
I got a problem with our xwiki site setup, I have apache webserver and
tomcat behind with xwiki 3.5 deployed, when I do login, logout or clicking
buttons on the server machine browser with
http://localhost:8082/xwiki/bin/login/XWiki/XWikiLogin, I can login,
everything works fine, but if I use external public internet to access our
xwiki site like: http://mydomain.com/xwiki/bin/login/XWiki/XWikiLogin, I
got the login page shown up, but if I login, it redirects me to
localhost/xwiki/bin/view/Main/WebHome, which points to my localhost, not my
server mydomain.com machine, then from the browser address bar, if I change
the localhost url to this url:
http://mydomain.com/xwiki/bin/view/Main/WebHome, I can see the page
correctly.
Hers is my httpd.conf file setup:
ProxyPass /xwiki http://localhost:8082/xwiki
ProxyPassReverse /xwiki http://localhost:8082/xwiki
Any clue what is going on?
Thanks
Dave
Je suis absent(e) du bureau jusqu'au 29/05/2012
Remarque : ceci est une réponse automatique à votre message "users Digest,
Vol 58, Issue 10" envoyé le 5/4/2012 7:59:12 PM.
C'est la seule notification que vous recevrez pendant l'absence de cette
personne.
I tried doing exactly what I see in this tutorial:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial
to to the Minimal StyleSheet eXtension. I do everything as the tutorial says but there is no effect.
So is the tutorial wrong or does the option "Always on this wiki" not work?
I can do:
{{velocity}}
$xwiki.ssx.use("XWiki.MyFirstStylesheetExtension")
{{/velocity}}
In a page and have it work, but I want to have an extension for all of the Wiki so I want to use the "Always on this wiki".
Thanks for any pointers one might give.
Brett
I have edited the XWiki Tag Class
http://<server>/xwiki/bin/view/XWiki/TagClass<http://%3cserver%3e/xwiki/bin/view/XWiki/TagClass>
and set the Tags property. The name is "tags and I have edited the Values to be the list of tags I want. However on a page, I do not see the list of tags when I click on the Tags(+). Is this only effective for a newly created page or should the tags appear on the existing pages?
Any help or thoughts will be appreciated.
Brett
The XWiki development team is pleased to announce the release of XWiki
Enterprise and XWiki Enterprise Manager 4.0.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the first release of the 4.x cycle. See
http://enterprise.xwiki.org/xwiki/bin/view/Main/Roadmap for more
informations about the 4.x cycle.
The highlights of this release are:
* reduced document database id collision. It has been well tested but
you might want to make sure you have a working backup of your
database.
* new LDAP administration UI
* Annotations merged with Comments
* Extension Manager improvements
* App Within Minutes improvements
* User profile customization
* User directory improvements and user customized view
* ColorThemes gradients customizable from ColorTheme Wizard
* New IRC Bot Application
On development side:
* Extension Manager (without xar support and wiki UI) is now part of
XWiki Commons project and can be easily used outside of XWiki
* Component roles are now based on java.lang.reflect.Type instead of
java.lang.Class which mean you can now have different roles with the
same class and different generic types (e.g. )
* New Velocity tool to serialize Java objects to JSON format
* Class reference always local
* New Rights Implementation (Experimental). You can enable and test it
in xwiki.cfg.
* New technical content hiding system
* A new ApplicationReadyEvent event has been introduce for component
that need to access the database at init.
For more information see the Release notes at
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise40
and http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXEM40
Thanks
-The XWiki dev team
Hi All,
i imported the tab extension from
http://extensions.xwiki.org/xwiki/bin/view/Extension/Tabs+Macro. But it
does not work fine. Switch tab does not work and content of all tab shows
under first tab. I have fixed the issue as it required the small
modification. How should i check in the fixed version or is there any point
of contact whom i can intimate about the change.
Hi all, stumped on a little trick in inline mode:
I created a sheet for a class, so users will use an inline mode form.
However, I want them to be able to change the title of the document, like
so:
#if ($context.action != 'view')
$doc.display('title')
{{html}}#template('tagedit.vm'){{/html}}
#end
as you can see, I am able to add a tag editor in inline mode, but the title
does not show up, and can not be edited. I'd hate to use a different object
for the title, any suggestions?
Thanks!
Hi, all,
I am trying to add an addComments sub-menu item to image button from the
menu bar of WYSIWYG editor, what it does is to add comments for an image
inserted in the editor because I need to explain what each image is about
after I put it in the editor, I checked the
class:XWiki.WysiwygEditorConfigClass and the wysiwyg.js, I added a
sub-menu in
the WysiwygEditorConfigClass for image menu, but after that, I got lost,
this sub-menu button is supposed to connect to a plugin to trigger java to
run I believe since it is a plugin and each sub-menu like
imageInsertAttached, imageInsertURL is a plugin, but I could not find the
code where it calls a plugin, so how is the sub-menu button hooked to the
plugin? when a user clicks on the submenu button in the editor (inline
form) page, which javascript function gets called?
Thanks very much in advance!!
Dave
I have been running a simple xwiki farm with 2 sub wikis for some time and
I recently tried to add a macro with a groovy script in the sub-wiki and
got the "You don't have the right to execute this script". I tried to
grant programming to the user by logging into the wiki farm site and
granting programming to the group and to the user I am using in the
sub-wiki. I imported the Admin tools application and ran the Programming
rights Check and applied the config.
I still am not able to grant the user programming rights and my macro with
the script will not run, same permissions error.
I have tried to create a new user in the wiki farm and grant programming to
it, but when I login to the subwiki it has no permissions so I don't
believe I have him setup quite right.
This is running XWiki Enterprise 2.3.1.29183 build, not sure where to go
from here.
Any help appreciated.
Bob
Hi, all,
I am using jQuery for javascript, since it is conflicting with prototype, I
use the jQuery help extension:
http://extensions.xwiki.org/xwiki/bin/view/Extension/jQuery+Helpers, so far
everything works fine on Firefox, the problem is the IE7, I got jQuery is
undefined error from the UI library: $xwiki.jsx.use("jQuery.jQueryUI"), I
can see the javascript code in firebug with last par of the code:
.bind("blur",h)})})})(jQuery);
I noticed that there is a ";" in the end, but in IE7, I checked the code
from Microsoft Script Editor when I debug, it shows no ";", not sure if
that is the problem.
In IE7, I clicked the jQuery helper extension demo pages:
bin/view/jQuery/Demo1 page and bin/view/jQuery/Demo2 page, they both gave
me "jQuery is undefined" error. so this error happens to the extension as
well.
Could anybody help me with is issue?
Thanks very much.
Dave
Hi,
The below solution does not create a new document with the expected object;
{{html}}
<form action="${newATEQA}.getURL("objectadd","language=$lang")" id="newdoc"
method="post">
<div>
<input type="hidden" name="parent" value="${doc.fullName}"/>
<input type="hidden" name="template"
value="CdLSATEPublic.CdLSATEPublicTemplate"/>
<input type="hidden" name="sheet" value="1"/>
<input type="hidden" name="spaceName" value="CdLSATEPublic"/>
<input type="hidden" name="CdLSATEPublicClass_ID" value="6"/>
<input type="hidden" name="CdLSATEPublicClass_ CountryCode" value="us"/>
<input type="hidden" name="CdLSATEPublicClass_language" value="en"/>
Document: <input type="text" name="CdLSATEPublicClass_subject"
value="Enter your question here" class="withTip" size="50"/>
<span class="buttonwrapper"><input type="submit" value="Create this
FAQ" class="button"/></span>
</div>
</form>
{{/html}}
I've define a new document name, the intention is that the new document
will be created as a child of the current document with the language
specified and a object of specified class with the attributes as specified
in Inputs.
But I get a dialog for creating a new page that des not exist (which is
correct from the wiki perspective), if i select OK it will create a empty
document with a empty object
What should i do to make this work?
Gerritjan
The XWiki development team is proud to announce the availability of
XWiki Commons, XWiki Rendering, XWiki Platform, XWiki Enterprise and
XWiki Enterprise Manager 3.5.1.
This is the first bugfix release for the 3.5 series, and, since 3.5 is
the final major release in the 3.x cycle, a bugfix release for the whole
3.x cycle. The main focus has been on quality assurance, improving the
compatibility with various database systems, polishing the new sheet
mechanism, the new extension manager, the skin, the WYSIWYG, and other
parts of the XWiki platform.
See the full release notes at
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise351
for more details.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi All,
I had a look on projects powered with xwiki. Really i am completely
amazed!!!. Just to start with,I am planning to use the xwiki site to use
it as my blog page.i have created the DivBlog space and gave Unregistered
Users the view rights on DivBlog.Everything looks great here. But i want to
hide icons like WIKI,Space and Page name (all on top left corner of global
menu bar), LOGIN(on top right corner) for unregistered users.
Similary iwant to hide the Export and More Action options for unregistered
users(on menu bar of page). On top of it, i want to introduce 3 tabs(or
links) on top of page (exactly
in the palce of global menu bar showing space name and page name). Can i do
such configuration in xwiki?How should i go about it.?
Just a suggestion if there is document which can state these kind of
customization , i am
sure it will help the masses.
Like Tabs mentioned at
http://www.xwiki.org/xwiki/bin/view/References/ALPHABib
Like Home,Repository,Blog,WikiLinks are mentioned at
https://ec.europa.eu/employment_social/anticipedia/xwiki/bin/view/Main/
Hi!
Please, could we expect XEM 4.0 in April?
Thanks!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm
At http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging, it is
stated that By default XWiki is configured so that SLF4J uses Logback.
XWiki's
Logback configuration is located in the WEB-INF/classes/logback.xml file
for For XWiki 3.1 and beyond. But if user want to use log4j instaed of
logback,
where it needs to be configured.
I did not find any property related to that in xwiki.cfg or
xwiki.properties.What i tried deleting the logback.xml and putting my
log4j.properties instaed. But xwiki
does not pick log4j.properties. As per my understanding, xwiki is using
SLF4J, there should be hook somewhere where we should be able to change to
log4j insteadd
of logback.
Is it possible to view the version history for the XWiki.XWikiPreferences
page? Version is 4.0rc1.
I've made updates using the object editor to set "Maximum Upload Size" and
added an appropriate comment in version history. I now find that I can't
access the "History" information due to the special handling of this page.
Any hints would be much appreciated.
--
View this message in context: http://xwiki.475771.n2.nabble.com/View-Version-History-for-XWiki-XWikiPrefe…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I'm new to XWiki and just installed 4.0rc1. I've set up users, created
some basic pages, and everything seems ok at first. Then I tried
"AppWithinMinutes" to create a basic application with one or two simple
fields. The wizard flows fine, but when In my new app, I used the "Add
Entry" action, which seemed to work fine, but when I go back to the app
page, *no entries are listed in the livetable*. If I go back to
AppWithinMinutes page, no applications are listed in that livetable either.
I've tried a second app, and tried other entries, but I can never get
anything to appear in a livetable entry, either for my custom app or the
AppWithinMinutes page. There are no errors in catalina.out. I've
installed a few extensions, so maybe that's a problem? I don't know how to
even proceed debugging this problem. Here are my installed extensions:
Google Apps Integration 1.0
Installed
by: Ludovic Dubost
Allows to import/export from XWiki Attachments to Google Docs and use
the Google Apps editors
Task Manager Application 1.0 M3
Installed
by: Ludovic Dubost, Guillaume Lerouge
A simple task management application
Calc Macro 1.0
Installed
by: Ludovic Dubost (XWiki SAS)
Perform simple calculations and sums in Wiki tables
Semantic Tagging Application 1.0
Installed
by: Oana Tabaranu, Anna-Maria Metzak
Extends the tagging mechanism of the XWiki Platform
PlantUML Macro 1.1
Installed
by: Maxime Sinclair
Draw UML or DITAA diagrams using PlantUML
Google Document Viewer Macro 1.0
Installed
by: Jerome Velociter
Displays an embedded PDF or MS Powerpoint document using a viewer by Google
Hi ,
How can insert the image between the macro. For example i want to display
the image on the page just after login.e
https://loaclhost/myWiki/bin/view/Main/WebHome.
The location i want to display is along the side of welcome message. But as
i click WYSIWYG. i see the velocity macro, and i click
image-->attachedImage but it does not insert the image anywhere. Is it
possible to insert the image at any intended position because content is
generated at run time. Looking for from both editors i.e WYSIWYG and wiki
editor
I know the way to insert the image on newly created page, But what about
to insert the existing page using macros.
Hi Moritz,
On Mon, Apr 23, 2012 at 1:27 PM, Moritz Hesse (EA GmbH)
<moritz.hesse(a)ea-gmbh.de> wrote:
> Hi,
>
> as I am new to XWiki I am trying to gain some inspiration and ideas how to
> successfully use it for our business purposes.
>
> I have created an app (application within a minute) to organize and manage
> our projects. We have designed a structure of fix sub-wikipages, which we
> want to attach to every application item.
>
> Example: let's say we have a project #123 and some metainformation like
> project leader etc. which is all organized in the application fields. And
> now we want some subpages like 1. project-todos, project-documentation,
> project-log etc.
>
> What possible ways do exist to automatize the creation of the subpages, so
> that each time I create a project item in that app, all the predefined
> subpages will be created by the system.
>
> I don't expect you to write me the complete solution. But I would really
> appreciate if you could just drop some buzzwords or some links, that point
> me the proper direction.
I know two ways to achieve what you want:
(1) Use the observation module. You can write an event listener that
is called each time a new document is created. See
http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial
for a tutorial on how to do this, and
http://extensions.xwiki.org/xwiki/bin/view/Extension/Title+Post+Processing+…
as a simple example.
(2) Customize the sheet used to create application entries/items. You
can modify the HTML form to post to the same page and thus catch the
save action and perform there additional stuff. This is a bit more
complicated and has the downside that you won't be able to update the
sheet when you edit the application (e.g. add new field) because you
would loose your custom changes. If you don't know what a sheet is,
see http://extensions.xwiki.org/xwiki/bin/view/Extension/Sheet+Module
. If your application is named Foo, then on the FooClass page (which
holds the application structure/fields) you'll find a link to the
sheet.
Hope this helps,
Marius
>
> Thanks in advance,
> best regards,
> Moritz
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users