Hi I'm trying to make a page creation dialog. For the sake of clarifying
my question here are the things I would like to do
1. On creation of a new page/object there have to be two
attachments. Preferable with standardized names.
a. So I was thinking of a dialog like "upload attachment 1" and
"upload attachment 2", and save them as attachments in the page with
name 'att1' and 'att2' regardless of their original filenames.
b. Before they get saved, I must resize them due to copyright
protection. And save the original sized attachments someplace where only
admins/privileges user access them.
2. A few fields needs to be filled out (not a must, but should be
best practis to do at this point).
For 2. I have created a normal class, template and sheet.
But for 1. I've a little lost.
Should I write some kind of velocity or groovy script or do I need to
write a new plugin or application?
Especial the name mapping and the fact I would like to save the same
upload different places bugs me, but there must be a simple solution?
Where or how would I save a attachment so only admins can see it? On the
same page (constraints on download link, protected attachment)? Create a
shadow Space.page? Or all in one page? (there will be 12000 +
attachments).
Anny help, thoughts or other suggestions are most welcome
-Rune (pulven)
I have a problem with this solution. I use XWiki Enterprise 1.9.3 and I just
created a new htmlheader.vm with only the lines described. The skin was
destroyed. If I don't create it, the file doesn't exist in the skin. Does
someone know what I have to add to the file to not loose the skin AND have
the Favicon?
I know it's the whole concept behind a "wiki", but is the content of xwiki.org open to anyone for modification? For example, I figured out how to install the Calendar Plugin and Event Calendar Application and thought I could add the installation steps to http://code.xwiki.org/xwiki/bin/view/Plugins/CalendarPlugin since it's not documented. Or is content like that only added through specific people?
Trevor
Hi All,
I am tryiing to install BulletinBoard Application in xwiki.I followed the
installation procedure.
# Step 2 : Tell the wiki where to find the right languages resources.
* In the administration menu, click on the "Preferences" tab.
* Click on the "Advanced" sub-menu.
* Scroll in this menu until you can see "Internationalization Document
Bundles:" written.
* In that field, copy-paste the following text : "BBCode.Translations,"
* Save the page.
The problem here is I am not atall getting a preference Tab and Advanced
submenu.Thats why I am getting the text like
bb_bbcodespace
# b_createnewbbs bb_adminbb
# bb_changelookbbs bb_skinbbs
# bb_changetranslationsbb bb_translationsbb
# bb_apanelisavailable bb_bbpanel. bb_usepanelwizard bb_gotopanelwizard?
Also If I am trying to add a new topic by going to bb_category :
CategoryClassTemplate I am not able to save that.I am encountering with the
following error
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2008)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2022)
at com.xpn.xwiki.XWiki.useDefaultAction(XWiki.java:5822)
at
com.xpn.xwiki.web.XWikiServletURLFactory.addName(XWikiServletURLFactory.java:237)
at
com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:181)
at com.xpn.xwiki.doc.XWikiDocument.getURL(XWikiDocument.java:1025)
at com.xpn.xwiki.api.Document.getURL(Document.java:590)
at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
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.ASTIfStatement.render(ASTIfStatement.java:87)
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.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Can anybody please help on this.
Thanks
Debasis
--
View this message in context: http://n2.nabble.com/Probem-with-nstallation-of-Bulletin-board-Application-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I've been looking through the XWiki documentation and have been wondering about setting a parent when creating a new page.
I can only see two effects:
1) visually, in the page descriptor (eg. in space "Projects": "Projects: Project Template > Project1" (with a parent) vs " Projects: Project1" (without a parent).
2) in the "document index" tree view where pages are shown in their parent/child hierarchy
Other than that, is there any purpose to setting a parent?
Thanks,
Trevor
Hello,
I'm trying to connect to my XWiki 1.9.2 instance using XWiki Eclipse.
In the XWiki connection settings dialog box, the field "Server URL" is set
to "http://<server>/xwiki". And when I click on Finish, I get the following
error message :
Error connecting to remote XWiki: 'Failed to create input stream: Server
returned HTTP response code: 401 for URL:
http://<real_server>/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=79C01C68A222CC518927BECE744B53F2?srid=W0osUbgb'.
Please check your settings.
I know that 401 is for Unauthorized but my username and password are valid.
Is there something to configure in xwiki.cfg ?
Could anyone help me ? Thank you.
Maxime Mathieu
Maybe somebody can help me for this subject:
As a understand, Xwiki is a platform, on which I can add more and more
applications. I tried to install Xwiki Enterprise (successfully) and also, I
tried different applications on it. All is ok, but I need application "File
Manager" same as in Xwiki Workspace. I think, that I can take this
application separately and will add it to Xwiki Enterprise, same as other
applications. But I didn't find this application separately. I search all
site and all forums but dind't find any solution. Maybe I can import direct
xwiki-workspaces.xar - in this variant, please explain, which documents I
should select in a import process (I think not all of them).
--
View this message in context: http://n2.nabble.com/Using-File-Manager-Application-from-Xwiki-Workspace-in…
Sent from the XWiki- Users mailing list archive at Nabble.com.