Hallo,
i followed this instruction
http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application to
define some tags for tagging in structured mode.
Because of the statment "Bundled With XWiki Enterprise, XWiki Enterprise
Manager, XWiki Watch" i did not download and install the XAR file.
Evrything seemed to went well. But if i klicked on the plus sign near
the label 'tags' on a page no tags were suggested. I am expected to get
a list of the predefined tags. Also no tags were showed in the document
information box in the edit mode of a page.
XWiki version is 3.5.
Any ideas what went wrong? Or is maybe the tagging in structured mode in
3.5 broken?
Maybe somone can help. Thanks in advance.
Richard
>
> Date: Wed, 11 Apr 2012 14:23:38 +0200
> From: Jean-Vincent Drean <jv(a)xwiki.com>
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] vm files in Cloud
>
> Hi,
>
> On Wed, Apr 11, 2012 at 2:03 PM, Martin Evans <website(a)studenthubs.org>
> wrote:
> > Hi, I have a Cloud distribution, which means I don't have access to the
> .vm
> > files. When I want to make a change to the behaviour of my wiki, this
> > causes big problems. Sometimes I can over-ride the vm file by adding in a
> > new TextArea field, but it's normally impossible to know where to put it.
>
> What do you mean ? Are you looking at
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins ?
> Is there anything unclear ?
>
> > Then there is the problem of default behaviour. If I insert a blank
> > TextArea to over-ride vm behaviour, I get nothing. I need to access the
> vm
> > file to see what's currently written there before making a change. But
> the
> > vm files do not appear in the search. Does anyone have any experience of
> > this frustrating lack of functionality and ease of use?
>
> You actually do have access to the .vm through your browser.
>
> >From
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins#HD.OverridingtheSki…
> :
>
> ----------------------------------------8<----------------------------------------
> Copy the original content of the menuview.vm template and paste it in
> the property field named menuview.vm. If you don't have access to the
> server filesystem, open the template by following
> http://localhost:8080/xwiki/skins/colibri/menuview.vm
>
> ----------------------------------------8<----------------------------------------
> Of course you need to replace localhost:8080 in the URL above by the
> URL of your wiki.
>
> Now, putting my XWiki-Cloud-Admin hat on, I must say that it is not
> recommended to make this kind modifications in your skin. The cloud
> platform is upgraded every 3 month on average. If the original VM file
> has been modified in the new release your skin might be broken after
> an upgrade.
>
> --
> Jean-Vincent Drean,
> XWiki.
>
Hi Jean-Vincent, thanks for your immediate response. I shall make my
problem clearer. Not every vm file is in the /skins/colibri folder. When my
wiki was set up by XWiki, they created a new skin and I can't find the vm
files for that. However, this is just an example. Trust me it is useful to
see (if not edit) the vm files, but I can't see how to find where exactly
they lie.
Also, is it true that other features, e.g. search, use vm files? What
method should I use to locate these such files? I agree that leaving the vm
files in place is a good idea for upgrades but it's useful to view them
sometimes.
Finally, while investigating this, I noticed that I can view vm files while
not logged into the wiki. This exposes source code to the public viewers
(should they know where to look). How can I stop this?
Thanks again,
Martin
We chose XWiki back in 2009 as our wiki solution and we had successfully set up a complete farm of 4 wikis. I have been following the progress of XWiki since then, but unfortunately it was never utilized by our team, mostly because the users did not want to invest the time in learning a new WYSIWYG editor. In the end I was the only one who used it so the time has finally come to shut it down and look at an alternative solution -- perhaps a simple document manager. I saw a lot of potential in XWiki for our purposes, but didn't quite have the time to sell it to the others.
Before I remove myself from the mailing list, I just wanted to put forward one comment as feedback: don't discount the learning curve that confronts users new to the wiki. Many of them are proficient in their ways of editing documents (which usually means MS Word) and don't have the time to invest learning new document formatting tools. If you want to capture a larger share of the market, look at ways of integrating with users' favourite editors; I think that would go a long way.
You have a very impressive product, and I've been amazed at the level of commitment and professionalism that has gone into this wiki. Thanks for everybody's efforts and best of luck going forward.
Trevor
we have in our company a JAAS based security infrastructure.
Is it possible in XWiki to authenticate user via a JAAS LoginModule?
It it possbile in XWiki to authorizate user access via a J2SE Policy
Provider?
Thank you in advance
Richard
Hi, I have a Cloud distribution, which means I don't have access to the .vm
files. When I want to make a change to the behaviour of my wiki, this
causes big problems. Sometimes I can over-ride the vm file by adding in a
new TextArea field, but it's normally impossible to know where to put it.
Then there is the problem of default behaviour. If I insert a blank
TextArea to over-ride vm behaviour, I get nothing. I need to access the vm
file to see what's currently written there before making a change. But the
vm files do not appear in the search. Does anyone have any experience of
this frustrating lack of functionality and ease of use?
Martin
Hi XWiki community,
I'm a student at the ANU studying "Free and Open Source Software
Development". I'm deeply impressed with XWiki and would like to
contribute. To start, as I'm getting my head around the ins and outs,
I would like to the translations to Vietnamese via the translation
file on http://l10n.xwiki.org.
Quang
Hi All,
I'm using RESTful API, I'm trying to create Xwiki Object and attach to
existing document using
/wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/objects POST method
Object customObject = new Object();
customObject.setClassName("XWiki.MyCustomClass");
Property property = new Property();
property.setType("com.xpn.xwiki.objects.classes.StringClass");
property.setName("RefTags");
property.setValue("Food");
customObject.withProperties(property);
ClientResponse response =
resource.accept("application/xml").post(ClientResponse.class, customObject);
int httpResponseCode = response.getStatus();
Object resObj = response.getEntity(Object.class);
Problem is Class's Object gets attached to document but properties aren't.
I even tried url encode format found property#name=value
Please help / suggest solution.
Thanks in advance,
Aslam Sayyed
Hello,
I'm trying to convert a groovy class (in a wiki page) to a proper xwiki
component in Java.
Problem is : my groovy code makes heavy use of the document model, for
example :
- setting documents creator/author, dates, with and without triggering
change events (modifying also internal xwikidocument)
- accessing multiple objects of same class created in a unique page
- ...
I could not find anything to do that in the DocumentAccessBridge ...
My question is, would it be better for me to wait for the xwiki model to be
properly externalized from the old core (so I could target this from my
component), or expect missing methods to be added to the bridge, ... or add
them by myself ?
Obviously, the last option seems both too heavy and too "risky" for me.
Obviously too, rewriting my (big) groovy class for using the bridge api
seems cumbersome : I'd prefer to wait for a dedicated component for
accessing the core model.
Best regards,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Components-Bridge-to-old-core-and-objects…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of
XWiki Commons, XWiki Rendering, XWiki Platform, XWiki Enterprise and
XWiki Enterprise Manager 4.0 Release Candidate 1.
This is the first and hopefully last release candidate for XWiki
Enterprise 4.0 version. This is mostly a polishing release before the
final one.
See the full release notes at
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise40RC1
for more details.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi, all,
I have the following logback.xml file, I developed a servlet, and used
common logging library,
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Log logger = LogFactory.getLog(FileTestServlet.class);
I also added this to the logback.xml:
<logger name="next.filetest" level="debug"/>
In the code, I have the following code:
logger.debug("FileTestServlet doGet...");
But in the xwiki.log file, the message is not logged to the log file,
anything wrong? I tried to configure log4j.properties in the classes
folder, used log4j logger for logging, there is no message logged either.
Thanks for your help.
Dave
<configuration>
<appender name="xwiki"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<!--See also
http://logback.qos.ch/manual/appenders.html#RollingFileAppender-->
<file>C:\apache-tomcat-7.0.25\logs\xwiki.log</file>
<append>false</append>
<encoder>
<pattern>%d [%t] %-5p %c - %m%n</pattern>
</encoder>
<rollingPolicy
class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
<maxIndex>10</maxIndex>
<FileNamePattern>C:\apache-tomcat-7.0.25\logs\xwiki.log.%i</FileNamePattern>
</rollingPolicy>
<triggeringPolicy
class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<MaxFileSize>5MB</MaxFileSize>
</triggeringPolicy>
</appender>
<logger name="com.xpn.xwiki.render.XWikiRadeoxRenderEngine" level="warn"/>
<logger name="org.apache.fop.layoutmgr.inline.ContentLayoutManager"
level="error"/>
<logger name="org.apache.struts.util.RequestUtils" level="error"/>
<logger name="org.hibernate.type" level="warn"/>
<logger name="com.xpn.xwiki.store.migration" level="info"/>
<logger name="org.hibernate.SQL" level="debug"/>
<logger name="org.jgroups" level="error"/>
<logger name="org.hibernate" level="warn"/>
<logger name="info.informatica.doc.style.css.dom" level="error"/>
<logger name="org.hibernate.ps.PreparedStatementCache" level="warn"/>
<logger name="org.xwiki" level="info"/>
<logger name="com.xpn.xwiki" level="warn"/>
<logger name="next.filetest" level="debug"/>
<root level="DEBUG">
<appender-ref ref="xwiki"/>
</root>
</configuration>
Hello,
using a non-WYSIWIG editor my text lines can get quite large
(especially when some markup is included).
With 1.0 syntax this was no problem:
line one
still line one
is rendered in one line.
Is it possible to achieve a similar behaviour with 2.0 (2.1)?
Like:
line one ~
still line one
or:
line one \
still line one
(both examples result in two rendered lines)
(from http://en.wikipedia.org/wiki/%5C: In the context of line-oriented
text, especially source
code for some programming languages, it is often used at the end of a
line to indicate that
the trailing newline character should be ignored, so that the following
line is treated as if it
were part of the current line. In this context it may be called a
"continuation". The GNU make
manual says, "We split each long line into two lines using
backslash-newline; this is like using
one long line, but is easier to read.")
Thank You
Frank
Hey,
i've a problem, i made a class with some properties and on the class sheet
i have put
a livetable that shows the docs from another class.
Now i want to filter the livetable that is in the first class on every side
with a property of it.
But i dont know how to get the property of the first class and to set it as
a variable to the topFilter of the livetable (shows the docs from an other
class)?
Here is the code:
#set ($pure = $doc.display("number", $obj))
$pure
//HERE the variable shows the variable correctly
{Livetable}
"topFilters": '<input type="hidden" name="Project" value="$pure" />'
//HERE the variable "pure" has no content
{livetable}
Please help....
Thanks, Alex
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-set-a-class-property-as-topFilter-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I've been trying to upgrade a 3.3 installation of the
xwiki-enterprise-common package to 3.5 today. Unfortunately it seems to
have failed, leaving me with no installation:
It took me through modifications to the config files in /etc/xwiki,
enabling me to keep my changes and update where appropriate, but after
that point:
"""
Installing new version of config file /etc/xwiki/xwiki.properties ...
ln: target `/usr/lib/xwiki/WEB-INF/' is not a directory: No such file or
directory
dpkg: error processing xwiki-enterprise-common (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while
processing:
xwiki-enterprise-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Current status: 0 updates [-1].
"""
Manually creating the /usr/lib/xwiki and /usr/lib/xwiki/WEB-INF
directories and then doing an aptitude (re)install results in installation
completing and files being placed into /usr/lib/xwiki/WEB-INF; but there
are no files created in /usr/lib/xwiki, as indicated that there should be
[1]
Any suggestions?
Matt
[1]
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT#HXWi…
--
| Matt Hammond
|
| [anything you like unless it bounces] 'at' matthammond 'dot' org
Hi, all,
I installed XWiki manager on one machine, and installed Enterprise on
another machine, I cannot tell which is manager and which is enterprise
sometimes. Anyway to check that?
Also the user's guide says the manager does not support postgresql, I
checked the hibernate config file, switched from mysql to postgres, now
both versions of my xwiki are using postgres on different machine, they
both work fine, but I am not sure whether something may go wrong someday
with the manager because I switched the postgresql for it, so what are the
concerns of using postgres with xwiki manager? how do I overcome?
Thanks
Dave
Hi, all,
I got a strange problem, whenever I include the jquery script in my vm
file like this:
<script type="text/javascript"
src="/xwikim/bin/skin/resources/JScripts/jQuery/slickgrid/lib/jquery-1.7.min.js"></script>
I got the following exception; I thought it caused by jquery and
prototype conflict, but I included <script type="text/javascript">
jQuery.noConflict();
var $j = jQuery;
</script>
replaced $ for jquery with $j, but the same error, I also tried to use
$xwiki.jsfx.use(), still same, any solution for this?
Thanks
Dave
missing ; before statement
...h id [xwiki:resources.JScripts]</a><div id="xwikierror1"
style="display: none;">...
jquery....min.js (line 2, col 89)
<a href="" onclick="document.getElementById('xwikierror1').style.display='block';
return false;">Error number 4001 in 4: Error while parsing velocity
page xwiki:resources.JScripts
Wrapped Exception: Failed to evaluate content with id
[xwiki:resources.JScripts]</a><div id="xwikierror1" style="display:
none;"><pre class="xwikierror">
Error number 4001 in 4: Error while parsing velocity page
xwiki:resources.JScripts
Wrapped Exception: Failed to evaluate content with id [xwiki:resources.JScripts]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page xwiki:resources.JScripts
Wrapped Exception: Failed to evaluate content with id [xwiki:resources.JScripts]
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:122)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:94)
at com.xpn.xwiki.render.XWikiVelocityRenderer.interpret(XWikiVelocityRenderer.java:55)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:288)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:194)
at com.xpn.xwiki.XWiki.parseContent(XWiki.java:1711)
at com.xpn.xwiki.web.SkinAction.renderFileFromFilesystem(SkinAction.java:252)
at com.xpn.xwiki.web.SkinAction.render(SkinAction.java:137)
at com.xpn.xwiki.web.SkinAction.render(SkinAction.java:80)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231)
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:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1805)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to
evaluate content with id [xwiki:resources.JScripts]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:247)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
... 47 more
Caused by: org.apache.velocity.runtime.parser.ParseException: Lexical
error: org.apache.velocity.runtime.parser.TokenMgrError: Lexical error
at line 210, column 200. Encountered: "?" (63), after :
""
at org.apache.velocity.runtime.parser.Parser.parse(Parser.java:136)
at org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:1226)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:211)
... 49 more
Wrapped Exception:
org.apache.velocity.runtime.parser.ParseException: Lexical error:
org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at
line 210, column 200. Encountered: "?" (63), after :
""
at org.apache.velocity.runtime.parser.Parser.parse(Parser.java:136)
at org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:1226)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:211)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:94)
at com.xpn.xwiki.render.XWikiVelocityRenderer.interpret(XWikiVelocityRenderer.java:55)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:288)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:194)
at com.xpn.xwiki.XWiki.parseContent(XWiki.java:1711)
at com.xpn.xwiki.web.SkinAction.renderFileFromFilesystem(SkinAction.java:252)
at com.xpn.xwiki.web.SkinAction.render(SkinAction.java:137)
at com.xpn.xwiki.web.SkinAction.render(SkinAction.java:80)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231)
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:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1805)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
</pre></div>
Hi!
> ________________________________________
> From: users-bounces(a)xwiki.org [users-bounces(a)xwiki.org] On Behalf Of mohit gupta [motgupta(a)gmail.com]
> Sent: 06 April 2012 19:42
> To: XWiki Users
> Subject: [xwiki-users] Looking for these xwiki java API'S or java class containing these functionality?
>
The first thing I would like to understand someday is what does API apply to! I mean, has XWiki a single API? Or has it a lot of them? Perhaps it is only a matter of taste, but I do really like to know how to correctly use this concept.
Can Method and API be indistinctly used?
> Hi Folks,
>
> I am looking for three xwiki java api's that do the following functionality
> 1) I give the space name to api and it creates the space with default home
> page .
Perhaps this could be useful:
{{velocity}}
#set ($mydoc = $xwiki.getDocument("Dummy.WebHome"))
$mydoc.setContent("content")
$mydoc.save()
{{/velocity}}
> 2)I give userName,SpaceName and rightsName(like view,edit,delete,admin) to
> api and it gives these rights on given space name for the given username
Does this page through any light to your doubt?
http://extensions.xwiki.org/xwiki/bin/view/Extension/Setting+Rights
> 3)I give spaceName to api and it gives me whether the given space exists or
> not?
I don't know how XWiki checks if a space exists when entered in an URL, but perhaps this could help...
$xwiki.getSpaceDocsName('YourSpaceHere).size()
If size > 0 does mean that YourSpace exists!
> I was looking for three apis in classes ---com.xpn.xwiki.xwiki.java and
> com.xpn.xwiki.api.xwiki.java but i could not locate these. But i am sure
> these api's must
> be existing (as user is able to do these stuff from user interface). I will
> be grateful if i can be directed to these apis?
>
> Thanks in advance.
HTH!
Ricardo
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
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
Hi, all,
I am trying to add a file upload page to xwiki, since the FileUploadPlugin
java class is deprecated, is there any other fileupload component available
for reuse? if no, I need to create the component on my own, my concern is I
need to insert the file uploaded into database and keep it separate from
all the other wiki tables, I like to create a separate table specifically
for files uploaded, that means I need to use Hibernate in java code to
handle that, any examples about how to do that? BTW, I am coming from
IBatis background.
Thanks in advance
Dave
Hi, all,
I got a weired problem with url handling, when I am on this page:
http://mydomain.com/xwikim/bin/view/Blog/CreatePost, which gives me a
create post button to create post, I check the form action url is:
"/xwikim/bin/view/Blog/CreatePost?xpage=plain", when I click on the create
button, it comes to this url:
http://localhost/xwikim/bin/edit/Blog/Post+title?template=Blog.BlogPostTemp…,
from which I got "Unable to connect" error, I am not sure why it switched
from mydomain.com to localhost, all other links and buttons are working
fine without this kind of problem.
My setup is like that I have an apache web server installed with port 80
opened to the public internet, which forwards request to tomcat with port
8082 on localhost. all other links work fine, only the createpost has this
problem.
Any clue from any of you?
Thanks very much in advance
Dave
Hi!
By accident I found wierd XWiki behaviour. I played with 3.4.
If you rename any Group, all access rights set to this group are gone and admin should set them back once more.
Is it a bug or desired behaviour?
Kind regards,
Dmitry
Hi!
> ________________________________________
> From: users-bounces(a)xwiki.org [users-bounces(a)xwiki.org] On Behalf Of mohit gupta [motgupta(a)gmail.com]
> Sent: 07 April 2012 15:07
> To: XWiki Users
> Subject: [xwiki-users] Configuration to user different database schema for a particular space?
> Hi Folks, i want to use different database schema for a particular space
> due to some requirement, though everything else will remain same.I am not
> sure how i can go
> for this.I mean is there a way among below options:-
>
> 1)Can I mention "connection.url" in xwikiContext at request level
> or
> 2)Can I keep two hibernate.cfg files and specify to pick one of these on
> the basis of space name?
Too tricky for my basic knowledge! Of course I know nothing about the requirements that are leading you to use a different schema but, have you considered the option of using an XWiki farm? Two, in fact, any number, different perfectly integrated virtual wikis. In general, objects are stored in different database schemas, but a lot of great stuff is available out of the box to share contents and cross-manage the whole farm.
I would give Enterprise Manager a try before going for fancy solutions!
http://manager.xwiki.org/xwiki/bin/view/Main/WebHome
HTH!
Ricardo
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
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
Hi Folks, i want to use different database schema for a particular space
due to some requirement, though everything else will remain same.I am not
sure how i can go
for this.I mean is there a way among below options:-
1)Can I mention "connection.url" in xwikiContext at request level
or
2)Can I keep two hibernate.cfg files and specify to pick one of these on
the basis of space name?
Hi, all,
One question, I am trying to look at the source code of XWikiPreferences
class, AdminSheet class, but after I searched Data Type, I got a lot of
classes back, I clicked on these two classes, it always shows the rendering
result, I have no way to look at the velocity code behind the classes, but
other classes like BlogClass, I can go inside the BlogSheet and use Edit
button - Wiki to see the velocty code, why for these two classes I cannot
see the code, any ideas?
Thanks
Dave
Hi All,
I dont want to allow the user name or group name search on xwiki(either it
is on click of search button and search sugest). *Basically what i want
is if any user
put some user name or user group name in search text box , it should not
return any results. Looking for your expert suggestion how i can go for it?*
I am sure it should be possible in xwiki looking at its flexibility but
could not figure it out how. Even if i have to make some modification in
code iam open for that. Thanks in advance.
Hi Folks,
I am looking for three xwiki java api's that do the following functionality
1) I give the space name to api and it creates the space with default home
page .
2)I give userName,SpaceName and rightsName(like view,edit,delete,admin) to
api and it gives these rights on given space name for the given username
3)I give spaceName to api and it gives me whether the given space exists or
not?
I was looking for three apis in classes ---com.xpn.xwiki.xwiki.java and
com.xpn.xwiki.api.xwiki.java but i could not locate these. But i am sure
these api's must
be existing (as user is able to do these stuff from user interface). I will
be grateful if i can be directed to these apis?
Thanks in advance.