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.
Hi,
We found XWiki groups really useful as a metaphor for rather different types of entities.
But we are facing a problem. Please, could you follow this reasoning?
Given an user, let's say, USER01, she/he will belong to a given number of XWiki groups. Our doubt is, how to represent/stora the particularities of a given user when he/she is included in a given group.
Let's me to describe an example. Any user in our organization could play different roles. For instance, for given set of groups he/she could play a coordinator role. But this fact won't affect /conditonate his/her roles when assigned to a different group.
The only solution I could think off is to create one property per group a given user belongs to to store his/her role in this group.
Please, could you figure out a better solution?
Thanks for your help!!!
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
I am out of the office until 04/10/2012.
I will not have access to email, but will get back to you when I return.
Happy Easter! :-)
Note: This is an automated response to your message "users Digest, Vol 57,
Issue 6" sent on 04/06/2012 3:07:46.
This is the only notification you will receive while this person is away.
Hi,
I am a doctoral student at the International Graduate School of Zittau,
Germany (www.ihi-zittau.de).
I would like to create a new wiki to try some collaborative academic paper
writing (and potential extension development to integrate with Mendeley or
Refworks) on XWiki. In particular, I like the granular version tracking,
access control, and .rtf export, which allows citation tags to be
postprocessed for a finished academic paper submission.
My user name on www.myxwiki.org is "ruediklein". The server name should be "
ihi-zittau.myxwiki.com" or "ruediklein.myxwiki.com", if the first one is
not available.
Thanks,
Ruedi
--
Secretary Treasurer of the Product Development and Management Association
(PDMA) <http://www.pdma.org>
*“Connecting Innovators Worldwide”*
Hi fokes,
I wanted to share my ideas on the search application.
The results don't really show a lot of information right now.
The field "located in" is confusing to many users, as it does not show the
path but the wiki, the space and the page the page itself/the attachment is
in. At the very least, when the search does not expand to multiple wiki's,
the 'location' should not start with "xwiki" (everything is at 'xwiki').
I can imagine showing the sniplet of text that matches the search query
would be difficult to program, or even the first 200 chars of that page.
Showing tags in the found page would probably be a better addition showing
info on the result page.
For attachments, only a 'paperclip' is shown while in the attachment pane,
a symbol for image, ms-word etc is shown.
Matching words could be emphasised (bold or italic) in the results, so it's
easy to spot why it was a result. Especially when tags and a sniplet of the
content is shown.
Results from the 'current' space the user was in might be shown on top,
too. Like Delicious shows results from the user's stack as the first 3
results, followed by the 'general' results. The logic to me is that a user
wants pages from the space he originated his search from, as that's the
topic he is currently interested in (eg he starts his search in the space
'best practices', he might be most interested in best practices.
As my proposed improvements no doubt mean more processing time, I'd
decrease the results to 15 per page. Users hardly look further than the
first 10 anyway.
I hope I can get your thoughts on these improvements so I might promote
this to feature requests in JIRA :)
Greets, Joris
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 Milestone 2.
This version mainly introduces:
* various ways of customizing users directory and profiles
* comments and annotation merge
* LDAP administration UI
See the full release notes at
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
for more details.
Thanks
-The XWiki dev team
Dear,
I installed the Social Login extension from the control panel in the
last xwiki-xem manager with two sub-wiki, I can't get the login working.
I attached the full error, it's a null pointer exceptions, but I can't
find a reference to the exact macro line.
Thank you,
Gianluca
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate
Script Macro for content [import org.brickred.socialauth.AuthProvider
import org.brickred.socialauth.AuthProviderFactory
/**
* Displays a form with a single field for a new SSO user to pickup
its usernamem
*/
def outputUsernameCreationForm = { defaultValue, provider ->
if (!defaultValue)
defaultValue = ""
xwiki.ssx.use('XWiki.SocialLogin')
println """
{{html clean=false}}
<form class="xform" action=${doc.getURL('view')} method="post"
id="createUsernameForm">
<div class="centered">
<fieldset class="xwikimessage">
<legend><span>${msg.get('xwiki.socialLogin.youMustBeNewHere')}</
span></legend>
<input type="hidden" name="xaction" value="createProfile" />
<p class="message">
${msg.get('xwiki.socialLogin.createProfileMessage',
[provider])}
</p>
<dl>
<dt>${msg.get('xwiki.socialLogin.pickupUsername')}</dt>
<dd><input type="text" name="username" value="$
{defaultValue}" /></dd>
</dl>
<div class="buttons">
<span class="buttonwrapper">
<input class="button" type="submit" value="$
{msg.get('xwiki.socialLogin.createMyAccount')}" />
</span>
</div>
</fieldset>
</div>
</form>
{{/html}}
"""
}
/**
* Authenticate a user and make it remembered in XWiki authentication
system
*/
def authenticateUser = { userDoc ->
def password =
userDoc
.getObject('XWiki.SocialLoginClass').getProperty('password_cache').value
def xwikiAuthenticator =
xwiki.@xwiki.getAuthService().@authenticators.get('xwiki')
def psm = xwikiAuthenticator.@persistentLoginManager
psm.rememberLogin(request, response, userDoc.fullName, password)
response.sendRedirect(xwiki.getURL('Main.WebHome', 'view'))
}
// Load oauth properties file
def properties = new java.util.Properties()
properties
.load
(com
.xpn
.xwiki
.web
.Utils
.getComponent
("org
.xwiki.container.Container").applicationContext.getResourceAsStream("/
WEB-INF/oauth_consumer.properties"))
/**
* Initiate the OAuth dance with the requested provider
*/
if(!request.callback && request.provider) {
try {
def provider = AuthProviderFactory.getInstance(request.provider,
properties)
println provider
String url =
provider.getLoginRedirectURL(doc.getExternalURL('view','callback=1'));
// Store in session
request.session.setAttribute("org.brickred.socialauth.AuthProvider",
provider);
request
.session.setAttribute("org.brickred.socialauth.AuthProvider.hint",
request.provider);
response.sendRedirect(url)
}
catch(Exception e) {
println """
{{error}}
${msg.get('xwiki.socialLogin.genericError', [e.message])}
{{/error}}
"""
}
}
/**
* We've got a response from the provider, let's treat it
*/
else if (request.callback){
try {
// get the provider back from session
def provider =
request.session.getAttribute("org.brickred.socialauth.AuthProvider");
def providerID =
request
.session.getAttribute("org.brickred.socialauth.AuthProvider.hint");
// verify the authentication
def profile = provider.verifyResponse(request);
// Search for this user in database
def query = services.query.xwql("from
doc.object(XWiki.XWikiUsers) as user,
doc.object(XWiki.SocialLoginProfileClass) as profile where
profile.provider = '" + providerID + "' and profile.validatedId = '" +
profile.validatedId + "'")
for (result in query.execute()) {
authenticateUser(xwiki.getDocument(result))
}
// Not authenticated/redirected yet ? -> You must be new here
// You will have to pick-up a username and dad will create an
account for you
// Store the social profile in the session
request.session.setAttribute("org.brickred.socialauth.Profile",
profile);
// Try to guess what username the user will want to use
def guessedUsername = profile.displayName
// Outputs the form to create the username
outputUsernameCreationForm(guessedUsername, providerID)
} catch(Exception e) {
println """
{{error}}
${msg.get('xwiki.socialLogin.genericError', [e.message])}
{{/error}}
"""
}
}
/**
* Create a new user profile from the social profile result
*/
else if (request.xaction && request.xaction == 'createProfile') {
def profile =
request.session.getAttribute("org.brickred.socialauth.Profile")
def provider =
request
.session.getAttribute("org.brickred.socialauth.AuthProvider.hint");
def username = request.username
if (username && username != '' && !xwiki.exists("XWiki." +
username)) {
// Everything clear, let's proceed
def userDocName = "XWiki." + username
// Generate a random password
password = xwiki.generateRandomString(16)
def propMap = [:]
propMap.put("active", "1")
propMap.put("email", profile.email)
propMap.put("first_name", profile.firstName)
propMap.put("last_name", profile.lastName)
propMap.put("password", password)
xwiki.(a)xwiki.createUser(username, propMap, xcontext.@context)
def userDoc = xwiki.getDocument(userDocName)
def socialProfile =
userDoc.getObject('XWiki.SocialLoginProfileClass', true)
socialProfile.set('provider', provider)
socialProfile.set('fullName', profile.fullName)
socialProfile.set('firstName', profile.firstName)
socialProfile.set('lastName', profile.lastName)
socialProfile.set('displayName', profile.displayName)
socialProfile.set('email', profile.email)
socialProfile.set('profileImageURL', profile.profileImageURL)
socialProfile.set('gender', profile.gender)
socialProfile.set('dob', profile.dob)
socialProfile.set('validatedId', profile.validatedId)
socialProfile.set('country', profile.country)
socialProfile.set('location', profile.location)
def socialPrefs = userDoc.getObject('XWiki.SocialLoginClass', true)
socialPrefs.set('password_cache', password)
socialPrefs.set('preferred_provider', provider)
userDoc
.saveWithProgrammingRights
(msg.get('xwiki.socialLogin.updatedSocialProfile'), true)
authenticateUser(userDoc)
}
else {
if (!username || username == '')
println """
{{error}}
${msg.get('xwiki.socialLogin.youMustPickUsername')}
{{/error}}
"""
else if (xwiki.exists('XWiki.' + username))
println """
{{error}}
${msg.get('xwiki.socialLogin.usernameAlreadyTaken')}
{{/error}}
"""
outputUsernameCreationForm("", provider);
}
}
/**
* View mode
*/
else {
println """
{{info}}
${msg.get('xwiki.socialLogin.nothingToDo')}
{{/info}}
"""
}]
at
org
.xwiki
.rendering
.macro
.script
.AbstractJSR223ScriptMacro
.evaluateBlock(AbstractJSR223ScriptMacro.java:174)
at
org
.xwiki
.rendering
.macro
.script
.AbstractJSR223ScriptMacro
.evaluateBlock(AbstractJSR223ScriptMacro.java:52)
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:187)
at
org
.xwiki
.rendering
.internal
.transformation
.macro.MacroTransformation.transform(MacroTransformation.java:132)
at
org
.xwiki
.rendering
.internal
.transformation
.DefaultTransformationManager
.performTransformations(DefaultTransformationManager.java:83)
at
org
.xwiki
.display
.internal
.DocumentContentDisplayer.display(DocumentContentDisplayer.java:248)
at
org
.xwiki
.display
.internal
.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124)
at
org
.xwiki
.display
.internal
.DocumentContentDisplayer.display(DocumentContentDisplayer.java:54)
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:
862)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:
841)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:
872)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:586)
at sun.reflect.GeneratedMethodAccessor3514.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:184)
at
com
.xpn
.xwiki
.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1791)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1728)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:839)
at sun.reflect.GeneratedMethodAccessor3337.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.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:228)
at
org
.xwiki
.velocity
.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at
com
.xpn
.xwiki
.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1791)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
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:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:
538)
at org.eclipse.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1352)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
at org.eclipse.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1323)
at
org
.xwiki
.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:
144)
at org.eclipse.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1323)
at
com
.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.eclipse.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1323)
at
org
.xwiki
.container
.servlet
.filters
.internal
.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:
217)
at org.eclipse.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1323)
at
org
.xwiki
.container
.servlet
.filters
.internal
.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:
109)
at org.eclipse.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1323)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:
476)
at
org
.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:
119)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:
517)
at
org
.eclipse
.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
at
org
.eclipse
.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:
406)
at
org
.eclipse
.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at
org
.eclipse
.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
at
org
.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:
117)
at
org
.eclipse
.jetty
.server
.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:
247)
at
org
.eclipse
.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:
149)
at
org
.eclipse
.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:346)
at
org
.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:
589)
at org.eclipse.jetty.server.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:1048)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:
214)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:
411)
at
org
.eclipse
.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:
535)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint
$1.run(SelectChannelEndPoint.java:40)
at org.eclipse.jetty.util.thread.QueuedThreadPool
$3.run(QueuedThreadPool.java:529)
at java.lang.Thread.run(Thread.java:679)
Caused by: javax.script.ScriptException: javax.script.ScriptException:
java.lang.NullPointerException
at
org
.codehaus
.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:
122)
at
org
.xwiki
.rendering
.macro
.script.AbstractJSR223ScriptMacro.eval(AbstractJSR223ScriptMacro.java:
277)
at
org
.xwiki
.rendering
.macro
.script
.AbstractJSR223ScriptMacro
.evaluateBlock(AbstractJSR223ScriptMacro.java:209)
at
org
.xwiki
.rendering
.macro
.script
.AbstractJSR223ScriptMacro
.evaluateBlock(AbstractJSR223ScriptMacro.java:169)
... 105 more
Caused by: javax.script.ScriptException: java.lang.NullPointerException
at
org
.codehaus
.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:
323)
at
org
.codehaus
.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:
116)
... 108 more
Caused by: java.lang.NullPointerException
Hi - I work for the government of the City of New York, which isn't specifically an individual or a non-profit organization, but certainly isn't a commercial organization either.
We are interested in standing up an XWiki instance to support a short-term (3 month) public review and commenting period of some technology policies and standards. Specifically, they are related to our strategy of opening up much of our government data for free use. See here for more details: http://www.nyc.gov/html/doitt/html/open/data.shtml
While there would probably be very few registered users and relatively little visitor traffic, the content of the wiki would be publicly visible without requiring a login.
In addition, this would enable us to carefully evaluate the use of the xwiki platform for deployment for other Internet-facing wiki efforts which we know will be needed within the next year or two.
My user name is technickle, and the server name / domain would ideally be nycopendata.myxwiki.org
Thanks for your consideration!
-Andrew
Hi,
What is the best strategy for upgrading (2.7 -> 3.5.1) and making sure everything is based on the latest?
I was thinking the following;
Export the old Wiki (full Export)
Delete the Wiki
Clean installed Wiki
Import the Export
Import the XAR of a fresh Wiki
Problem with above;
With last step I overwrite and lose all modified pages (especially XWikiusers group)
All imported pages are not modified to latest XWiki syntax
profiles of XWikiUsers are based on OLD object definition
Object def changes in BLOG (if any?)
Script changes in Register procedure
any other?
Gerritjan
Hi!
Even though this is a bit off-topic, could you tell me what is the newest Glassfish release that I could run in a java "1.5.0" box? Is there anybody running this environment? Pleaes, what is your experience with it?
I keep having memory management problems with a XWiki Enterprise 2.4.30451 installation I do need to keep alive for some more months! Perhaps giving Glassfish a trial could help? I'm currently running Tomcat.
Thank you so much!!
--
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
Please help!
I have a vmware virtual machine with installed, configured and working XWiki
3.5 (Win2003, Glassfish, OracleXE 11.2). Today I copied this vm into another
location. After starting - all working, except for the attachment
functionality (directly from vm also). At any xwiki page, I pressed
"Browse...", select file, push "attach" - after small time page refreshed -
but my new attach-file didn't appear in a attachement list. All older
attachments (attached before copying virtual machine) - working (I can
download them, view using office_viewer ... In Glassfish domain log - no any
specific issues ...
Please help! What can be a problem?
--
Thanks beforehand!
Eugen
--
View this message in context: http://xwiki.475771.n2.nabble.com/Need-help-Attachments-doesn-t-work-tp7392…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Somebody could explain me why xwiki uses
$theme.pageContentBackgroundColor as border color in
resources/js/xwiki/table/livetable.css ?
A background color as border color : that's weird only for me ?
That's a problem for us because if we want use a dark color as border,
columns label are unreadable (dark on dark).
Why not use border color from color theme instead ?
Thank you
Best regards
NCG
Hi,
how is it possible to intantiate a valid MacroTransformationContext?
I tried this:
MacroTransformationContext mc=new
MacroTransformationContext(new TransformationContext());
mc.setSyntax(Syntax.XWIKI_2_0);
contentParser.parse(ts.getContent(),mc,true,true);
but it threw the following Exception:
org.xwiki.rendering.macro.MacroExecutionException: Failed to parse
content [ == Werner == * test ]
at
org.xwiki.rendering.internal.macro.DefaultMacroContentParser.parseXDOM(DefaultMacroContentParser.java:122)
at
org.xwiki.rendering.internal.macro.DefaultMacroContentParser.parse(DefaultMacroContentParser.java:77)
at
org.centauron.xwiki.XWikiConnector.getCodeSnipsFromPage(XWikiConnector.java:117)
at
org.centauron.xwiki.XWikiConnector.getCodeSnipsFromPage(XWikiConnector.java:105)
...
Hi, Anca,
Thanks very much for your response, I understand how data are saved to
database now, but I got another question:
In the following code from BlogPostSheet
<dl>
<dt>$msg.get('xe.blog.sheet.title')</dt>
<dd>$doc.display('title', 'edit', $entryObj)</dd>
<dt>$msg.get('xe.blog.sheet.content')</dt>
<dd>$doc.display('content', 'edit', $entryObj)</dd>
<dt>Feature ID:</dt>
<dd>$doc.display('FID', 'view', $entryObj)</dd>
<dt>Package ID:</dt>
<dd>$doc.display('PID', 'view', $entryObj)</dd>
<div class="clearfloats"></div>
</dd>
</dl>
If I change the 'view' to 'edit' for both FID and PID, then both of FID and
PID will be saved to database, and I can query retrieve them, but I have
use view, then they are not saved to database. the problem is I donot want
these two fields editable, so I have to use view, any workaround for this?
so the bottom line is I want them to be saved to database and not editable
from the inline form.
Thanks again for your help.
Dave
On Wed, Mar 28, 2012 at 4:47 AM, Anca Luca <lucaa(a)xwiki.com> wrote:
> Hi Dave,
>
> You should read http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**
> Architecture<http://platform.xwiki.org/xwiki/bin/view/DevGuide/Architecture>, but I understand that it might be cryptic for a first time usage so here
> we go:
> must know that xwiki is a java engine, so there is some java code that
> does things, it's not all done in velocity.
> Basically, there is a java "platform" that can handle documents, objects
> in documents, classes, etc (load, save) and then there is the velocity
> scripting that you can do in wiki pages which **uses** this core (injected
> variables like $xwiki, $doc). See here about how this scripting in pages
> works: http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**Scripting<http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting>.
> Also, there are some interesting information about the data model here
> http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**DataModel<http://platform.xwiki.org/xwiki/bin/view/DevGuide/DataModel>.
>
> The 'platform' project on git contains all this 'platform' code: java
> sources, default templates, default js, css, etc, which you can enhance in
> wiki pages (but we don't do everything in wiki pages, so you should not
> look for it only in wiki pages).
>
> Also, there are a bunch of "default" velocity templates that handle the
> default layout and actions for the wiki (in the webapps/xwiki/templates
> folder of the installation). For example, the save and view button is
> generated by these templates, along with the url to which the data in the
> form is posted.
>
> I recommend firebug and LiveHttpheaders extensions of firefox to study
> what data is posted to which URL, etc what data is received. from then on,
> with the help of http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**
> Architecture#**HUnderstandinghowHTTPrequestsa**rehandled<http://platform.xwiki.org/xwiki/bin/view/DevGuide/Architecture#HUnderstandi…>, you should be able to find the code that actually does the save.
>
> Have fun,
> Anca
>
>
> On 03/28/2012 05:42 AM, du du wrote:
>
>> Also from the following BlogPostSheet wiki code, after users type in
>> message from the inline form, users click Save& View button, how are the
>>
>> messages saved to database?
>> see the attached code:
>> {{include document="Blog.BlogCode"/}}
>>
>> {{include document="Blog.CategoriesCode"**/}}
>>
>> {{velocity filter="none"}}
>> {{html clean="false" wiki="true"}}
>> $xwiki.jsx.use('Blog.**ManageCategories', {'mode' : 'select'})##
>> $xwiki.ssx.use('Blog.**ManageCategories')##
>> #getEntryObject($doc $entryObj)
>> #if("$!entryObj" == '')
>> #warning($msg.get('xe.blog.**sheet.notpost'))
>> ## Keep testing the inline action for backward compatibility with older
>> blog posts.
>> #elseif($xcontext.action != 'edit'&& $xcontext.action != 'inline')
>> ## View mode
>> #isPublished($entryObj $isPublished)
>> #isHidden($entryObj $isHidden)
>> ## displayBlog requires a list of documents, and whether to display only
>> an extract or the full entry.
>> #displayBlog([$tdoc] 'single' false false)
>> #else
>> <dl>
>> <dt>$msg.get('xe.blog.sheet.**title')</dt>
>> <dd>$doc.display('title', 'edit', $entryObj)</dd>
>> <dt>$msg.get('xe.blog.sheet.**content')</dt>
>> <dd>$doc.display('content', 'edit', $entryObj)</dd>
>> <dt>$msg.get('xe.blog.sheet.**summary')</dt>
>> <dd>$doc.display('extract', 'edit', $entryObj)</dd>
>> <dt>$msg.get('xe.blog.sheet.**category')</dt>
>> <dd>
>> #**displayCategoryManagementTree(**'' 'selectable')
>> <div class="clearfloats"></div>
>> </dd>
>> </dl>
>> #template('tagedit.vm')
>> #isPublished($entryObj $isPublished)
>> #if($isPublished)
>> #if($doc.creator == $xcontext.user)
>> #publishMessageBox($msg.get('**xe.blog.sheet.publicationdate'**,
>> [${doc.display('publishDate', 'view', $entryObj)}]))
>> #set($hideArticle = ${doc.display('hidden', 'edit', $entryObj)})
>> #hideMessageBox($msg.get('xe.**blog.sheet.hidearticle',
>> [${hideArticle}]))
>> #end
>> #else
>> #set($defaultDate =
>> $xwiki.getDocument($**blogPostTemplate).getObject($**blogPostClassname).*
>> *getProperty('publishDate').**value.time)
>> #if($entryObj.getProperty('**publishDate').value.time ==
>> $defaultDate)
>> ## The publish date was not set, force it to be the creation date
>> $entryObj.set('publishDate', $doc.creationDate)
>> #end
>> #publishMessageBox("$msg.get('**xe.blog.sheet.notpublished')
>> <label>**$msg.get('xe.blog.**sheet.publish') ${doc.display('published',
>> 'edit', $entryObj)}**</label>\\<label>**$msg.get('xe.blog.sheet.**
>> setdate')
>> ${doc.display('publishDate', 'edit', $entryObj)}</label>")
>> #end
>> #end
>> {{/html}}
>> {{/velocity}}
>>
>> Thanks
>> Dave
>>
>> On Tue, Mar 27, 2012 at 11:36 PM, du du<dddu88(a)gmail.com> wrote:
>>
>> Hi, all
>>>
>>> I am studying the BlogClass, BlogPostClass, I checked the Blog.BlogCode,
>>> there are alot of velocity scripts, I can see the search documents from
>>> db,
>>> but could not find any code related to insert document records into
>>> database, so how is the document created from blog saved into database?
>>> please point me to the script code in the Blog.BlogCode.
>>>
>>> Thanks
>>>
>>> Dave
>>>
>> ______________________________**_________________
>>
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>>
>
> ______________________________**_________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/devs<http://lists.xwiki.org/mailman/listinfo/devs>
>
Hi, all
I am studying the BlogClass, BlogPostClass, I checked the Blog.BlogCode,
there are alot of velocity scripts, I can see the search documents from db,
but could not find any code related to insert document records into
database, so how is the document created from blog saved into database?
please point me to the script code in the Blog.BlogCode.
Thanks
Dave
Hello,
My Dashboard page suddenly broke, with no apparent reason (I was renaming a
page ...)
First everything seemed to be broken in my wiki : home page full of velocity
exceptions, renaming, copying, ..., conducing to velocity exceptions.
I think I focused down to what might be the root cause when I visualized the
Main.Dashboard page. It displays, but the activity stream fails with this
exception (see at the end).
Strangely, I'm able to connect to the database and run simple queries on
activitystream_events table.
Any help welcome,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-3-5-Exception-from-activity-stream-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
On Mar 27, 2012, at 10:13 AM, Grüner Heinrich wrote:
> Hi Vincent,
> in my api "parse" returns a List<Block> and parseXDOM returns a XDOM.
> But I am still on 3.1 release.
Ok that's why. In 3.1 this component was private (it has an "internal" part in the package name),this means you're not supposed to use it because it's not a user public api and it can change at any time.
We've made it in 3.3M1:
https://github.com/xwiki/xwiki-rendering/commit/a3f012852f7b7caeaaf6205dca4…
The new API starting in 3.3M1:
https://github.com/xwiki/xwiki-rendering/blob/master/xwiki-rendering-transf…
Thanks
-Vincent
PS: Please don't answer privately to me and instead always send mails to the list so that we all see them and we can all answer and learn from them :)
> Am 27.03.2012 09:31, schrieb Vincent Massol:
>> Hi Stefan,
>>
>> On Mar 27, 2012, at 9:24 AM, Stefan Bernsdorf wrote:
>>
>>> Hi Vincent,
>>>
>>> thanks for replying.
>>> There is a typo in your example. You have to remove .getChildren() in the code.
>>>
>>>
>>> List
>>> <Block> blocks = this.contentParser.parse(content, context, true, context.isInline()).getChildren();
>> Thanks but it looks correct. parse() will return a XDOM and execute() needs a list of Blocks so you need to get them with XDOM.getChildren().
>>
>> Thanks
>> -Vincent
>>
>>>
>>> Am 27.03.2012 08:49, schrieb Vincent Massol:
>>>> Hi Stefan
>>>>
>>>> On Mar 26, 2012, at 11:43 PM, Grüner Heinrich wrote:
>>>>
>>>>
>>>>> Hi,
>>>>> i want the content of my Macro to be parsed as XWiki Syntax.
>>>>> How would that be possible.
>>>>> I cant find no parsing Method in AbstractMacro. When I want to extend AbstractScriptMacro then the initializing of the macro fails.
>>>>>
>>>> See http://rendering.xwiki.org/xwiki/bin/view/Main/ExtendingMacro#HParsingMacro…
>>>>
>>>>
>>>> Thanks
>>>> -Vincent
>>
>
Hi Stefan,
On Mar 27, 2012, at 9:24 AM, Stefan Bernsdorf wrote:
> Hi Vincent,
>
> thanks for replying.
> There is a typo in your example. You have to remove .getChildren() in the code.
>
>
> List
> <Block> blocks = this.contentParser.parse(content, context, true, context.isInline()).getChildren();
Thanks but it looks correct. parse() will return a XDOM and execute() needs a list of Blocks so you need to get them with XDOM.getChildren().
Thanks
-Vincent
>
> Am 27.03.2012 08:49, schrieb Vincent Massol:
>> Hi Stefan
>>
>> On Mar 26, 2012, at 11:43 PM, Grüner Heinrich wrote:
>>
>>
>>> Hi,
>>> i want the content of my Macro to be parsed as XWiki Syntax.
>>> How would that be possible.
>>> I cant find no parsing Method in AbstractMacro. When I want to extend AbstractScriptMacro then the initializing of the macro fails.
>>>
>> See http://rendering.xwiki.org/xwiki/bin/view/Main/ExtendingMacro#HParsingMacro…
>>
>>
>> Thanks
>> -Vincent
Hi, i have a problem with deinstalling MySQL completly from my notebook.
I have the xwiki running on my normal pc, but i also want to work on it on
the notebook.
But after watching a lot of forums about that i can't configure the MySQL
server.
So i thought about asking here because i just only know one way of getting
through it --> completly new windows installation.
Have someone any idea how to get it with MySQL or is it easier with Postgre
or Xampp?
It is not so easy to install xwiki because there is only a tutorial for
debian users and not for windows...
I hope someone can help me...
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-get-MySQL-after-installed-running-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
i want the content of my Macro to be parsed as XWiki Syntax.
How would that be possible.
I cant find no parsing Method in AbstractMacro. When I want to extend
AbstractScriptMacro then the initializing of the macro fails.
Thanks, Stefan.
Hi.
We're using xWiki as a help/eLearning system and we'll like to know if
there is a way to create a new document version that will not be
published until it has been reviewed and approved, so the users will not
see the new version until the approval for the new one has been granted.
Thanks un advance and best regards.
In the XAR-Files there are some XML documents and in this docs there are some
operator where i dont know what it means.
In the files there is a line
<guid> a long number such as a serial key <guid>
dont know what it is
and
<date>13 numbers<date> here i dont know how the date is set.
Would be really good if someone could help me?
--
View this message in context: http://xwiki.475771.n2.nabble.com/What-are-the-guid-operator-in-xml-docs-wi…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I am currently doing Masters in Computer Science from SUNY, New York.
I want to participate in GSOC 2012 and so I went through the projects list
offered by XWiki.
I wanted to ask about the project named "Issue tracking and time tracking
extensions". This project sounds interesting so I would definitely would
like to work on that.
So I wanted to know is there any previous work done on this project so that
I could make my base out of it or it has to be started as a new project.
And what are the pre-requisites required for carrying out this project.
And any more information regarding this project will really be helpful.
Thanks and regards.
PRANKUR GUPTA
Masters Student (CSE)
State University of New York
Stony Brook University
Hi,
I'm struggling with the way of setting values for properties using forms. I think I understand how to use displayEdit (some minor customization of calendar application is up and running here!) but I'm not able to set a value for another properties "programmatically". Something that simple as setting the value of one property with the current user.
Please, could you point me to some example?
Thanks for your help!
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
Hi, Sergiu Dumitriu
I tried your way like this:
{{velocity output='false'}}
$response.setContentType('application/xml')
#set ($out = $response.getOutputStream())
#set ($s = "<?xml version='1.0' encoding='ISO-8859-1'?><test>test
done</test>")
$out.write($s.getBytes('ISO-8859-1'))
{{/velocity}}
But this still has the same parsing error:
XML Parsing Error: no element found
Location:
http://localhost:8080/xwikim/bin/get/Geo/hellotest?outputSyntax=plain
Line Number 1, Column 1:
^
I tried both from the ajax call and the link:
http://localhost:8080/xwikim/bin/get/Main/hellotest?outputSyntax=plain
and I got the same error.
Any more clue?
Thanks for your help.
Dave
On Sat, Mar 24, 2012 at 10:41 AM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
> On 03/24/2012 09:33 AM, du du wrote:
>
>> Hi, Thomas,
>>
>> Thanks for your response, I changed to this url:
>>
>> http://localhost:8080/xwikim/**bin/get/Main/hellotest?**
>> outputSyntax=plain<http://localhost:8080/xwikim/bin/get/Main/hellotest?outputSyntax=plain>
>>
>> But I got responseXML containing this error:
>>
>> XML Parsing Error: no element found Location:
>> http://localhost:8080/xwikim/**bin/get/Main/hellotest?**
>> outputSyntax=plain<http://localhost:8080/xwikim/bin/get/Main/hellotest?outputSyntax=plain>Line
>> Number 1, Column 1:
>>
>> then I changed to this velocity code:
>>
>> {{velocity output='false'}}
>> $response.setContentType('**application/xml')
>> #set ($out = $response.getOutputStream())
>>
>> $out.write("<?xml version='1.0' encoding='ISO-8859-1'?><test>**test
>> done</test>")
>>
>
> $out is an OutputStream, which doesn't have a write(String) method. You
> must give it a byte[] argument, so this works:
>
> #set ($s = "<?xml version='1.0' encoding='ISO-8859-1'?><test>**test
> done</test>")
> $out.write($s.getBytes('ISO-**8859-1'))
>
>
> $out.flush()
>> ##$out.close()
>> {{/velocity}}
>>
>> Still the same parsing error, any clue?
>>
>> Thanks
>>
>> Dave
>>
>>
>>
>> On Sat, Mar 24, 2012 at 4:38 AM, Thomas Mortagne
>> <thomas.mortagne(a)xwiki.com>**wrote:
>>
>> On Sat, Mar 24, 2012 at 3:23 AM, du du<dddu88(a)gmail.com> wrote:
>>>
>>>> Hi, all,
>>>>
>>>> I followed this link:
>>>> http://platform.xwiki.org/**xwiki/bin/DevGuide/**WritingComponents<http://platform.xwiki.org/xwiki/bin/DevGuide/WritingComponents>
>>>> created a component which return xml data.
>>>> Also I created a hellotest page inside the main space, and wrote the
>>>> following velocity code:
>>>>
>>>> {{velocity output='false'}}
>>>> $response.setContentType('**application/xml')
>>>>
>>>> #set ($xmldata= $services.hello.getHelloXML())
>>>> $xmldata
>>>>
>>>> ##$context.setFinished(true)
>>>> #set ($out = $response.getOutputStream())
>>>> $out.write($xmldata)
>>>> $out.flush()
>>>>
>>>> {{/velocity}}
>>>>
>>>> I tested this code, I can get the xml data, now I use this ajax code to
>>>> retrieve the xml data:
>>>>
>>>> var xmlhttp = GetXmlHttp();
>>>> if (xmlhttp) {
>>>> xmlhttp.open("GET", url, true);
>>>> xmlhttp.onreadystatechange = function () {
>>>> if (xmlhttp.readyState == 4) {
>>>> xmlResult = xmlhttp.responseText;
>>>> ......
>>>> xmlhttp.send(null);
>>>> }
>>>> The url I used is:
>>>> url = '
>>>> http://localhost:8080/xwikim/**bin/view/Main/hellotest?**
>>>> outputSyntax=plain<http://localhost:8080/xwikim/bin/view/Main/hellotest?outputSyntax=plain>
>>>> '
>>>>
>>>> when I debug with firefox to see the data inside xmlhttp either
>>>> responseText or response, they were all a html document for the
>>>> hellotest
>>>> with the tags like body, div, etc, it is basically helltest.html file if
>>>> you view the source code of this html page. I tried to change the output
>>>>
>>> to
>>>
>>>> true, the result is the same.
>>>>
>>>
>>> That's because with this URL you get UI around your content (whatever
>>> is the syntax of your content), for this kind of use case you should
>>> use /get/ action instead of /view/.
>>>
>>>
>>>> Question: how can I get the xml data? where am I wrong?
>>>>
>>>> Thanks very much in advance.
>>>>
>>>>
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> ______________________________**_________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/devs<http://lists.xwiki.org/mailman/listinfo/devs>
>
Hi, all,
I followed this link:
http://platform.xwiki.org/xwiki/bin/DevGuide/WritingComponents
created a component which return xml data.
Also I created a hellotest page inside the main space, and wrote the
following velocity code:
{{velocity output='false'}}
$response.setContentType('application/xml')
#set ($xmldata= $services.hello.getHelloXML())
$xmldata
##$context.setFinished(true)
#set ($out = $response.getOutputStream())
$out.write($xmldata)
$out.flush()
{{/velocity}}
I tested this code, I can get the xml data, now I use this ajax code to
retrieve the xml data:
var xmlhttp = GetXmlHttp();
if (xmlhttp) {
xmlhttp.open("GET", url, true);
xmlhttp.onreadystatechange = function () {
if (xmlhttp.readyState == 4) {
xmlResult = xmlhttp.responseText;
......
xmlhttp.send(null);
}
The url I used is:
url = '
http://localhost:8080/xwikim/bin/view/Main/hellotest?outputSyntax=plain'
when I debug with firefox to see the data inside xmlhttp either
responseText or response, they were all a html document for the hellotest
with the tags like body, div, etc, it is basically helltest.html file if
you view the source code of this html page. I tried to change the output to
true, the result is the same.
Question: how can I get the xml data? where am I wrong?
Thanks very much in advance.
Dave
Hello XWiki experts,
how do you debug:
org.xwiki.component.manager.ComponentLookupException: Can't find descriptor for the component [role = [org.xwiki.logging.LoggerManager] hint = [default]]
It seems to prevent startup of my XWiki.
thanks in advance
Paul
Yeah, that 'view' and 'allow' thing was an optionen before... But this doesn't fixes the issue...
Example: Person a is a registered writer... he should write some pages and might edit them later... but noone else should be able to edit or see that page until its released by a moderator for the public viewers and other registered members...
I think this will be a case for a own extension if xwiki fills our other needs ... but thx anyway :)
--
Kevin Böhme <k.boehme(a)gci.de>
Handelsregister Dortmund HRB 7037
Geschäftsführer: Holger Kluth
> -----Ursprüngliche Nachricht-----
> Von: Edo Beutler mailto:ebeutler@synventis.com
> Gesendet: 23.03.2012 16:28:49
> An: XWiki Users mailto:users@xwiki.org
> Betreff: Re: [xwiki-users] Moderation / Comments & Pages
>
> Hi Kevin
>
> For pages you just have to set the rights accordingly: 'allow' 'view'
> and 'edit' for moderator and author. This implies every one else can't
> view the page.
> I think for comments it might be a bit trickier since they are saved
> in an object on the commented page. If nobody knows about an extention
> for that you might have to write one ;-)
>
> Hope this helps
> Edo
>
> On Fri, Mar 23, 2012 at 9:17 AM, Kevin Böhme <k.boehme(a)gci.de> wrote:
> > Hi list,
> >
> > we're taking a look at xwiki right now and aren't able to find a way to moderate comments and new pages... Is there any module that makes this possible?
> >
> > The goal: Let users create comments and pages and just show them if the page is confirmed... BUT the author should be able to see this page and make more edits while the page isn't free to view by third party...
> >
> > Any ideas?
> >
> > --
> > Kevin Böhme <k.boehme(a)gci.de>
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Hi list,
we're taking a look at xwiki right now and aren't able to find a way to moderate comments and new pages... Is there any module that makes this possible?
The goal: Let users create comments and pages and just show them if the page is confirmed... BUT the author should be able to see this page and make more edits while the page isn't free to view by third party...
Any ideas?
--
Kevin Böhme <k.boehme(a)gci.de>
A message from Amsterdam, the Netherlands :)
JAMSTERDAM is a irregular invite-only jamming session held in Amsterdam,
the Netherlands. The group's origin lies with CouchSurfing and now it's
growing organically based on member introductions.
Now that we've completed our first 10 jam sessions successfully we are
looking for a proper wiki to collaborate on as a group and store bits of
knowledge about jamming along the way.
myxwiki username: andrew AT jamsterdam DT org
desired name: jamsterdam.myxwiki.org
It would really help us if we could install a plugin such as
http://extensions.xwiki.org/xwiki/bin/view/Extension/Social+Login but I'll
figure that out if possible at a later date :)
Thank you very much for your services, we hope you will accept us!!
Hi,
I'd like to have a wiki instance created for personal education, product
evaluation and demonstration purposes...
I registered with the username 'alcibiade' and would like the wiki instance
registered with domain name 'alcibiade'
Best regards,
--
Yannick Kirschhoffer
Software Architect
e-Mail: alcibiade(a)alcibiade.org
Twitter: @Kirschhoffer
Blog: http://www.alcibiade.org/
Google Talk: yannick.kirschhoffer(a)gmail.com
SourceForge: https://sourceforge.net/users/alcibiadefr
Buy my posters online at http://www.zazzle.fr/alcibiade
---------- Message transféré ----------
De : Yannick Kirschhoffer <alcibiade(a)alcibiade.org>
Date : 21 mars 2012 10:15
Objet : [myxwiki] new wiki request
À : users(a)xwiki.org
Bonjour,
J'aimerais une instance de wiki pour me permettre de me former sur le
fonctionnement de XWiki après la présentation d'hier soir...
Merci !
--
Yannick Kirschhoffer
Software Architect
e-Mail: alcibiade(a)alcibiade.org
Twitter: @Kirschhoffer
Blog: http://www.alcibiade.org/
Google Talk: yannick.kirschhoffer(a)gmail.com
SourceForge: https://sourceforge.net/users/alcibiadefr
Buy my posters online at http://www.zazzle.fr/alcibiade
Hello,
I'm trying to use the lightbox.js to provide a nice UI for creating new
custom pages/objects.
Note : it's not the Lightbox application or macro, but the javascript from
lightbox.js ...
Idea is to provide a page with following use-case :
- user clicks on "create" button
- a pop-up (new Lightbox(a,b,c)) is opened
- content of this Lightbox is a new page in inline edit mode, on newly
created object fields
- user should be able to save or cancel (something like user registration)
What I don't know is what to provide to Lightbox parameters in order to
achieve that.
For the first url, I've given something like
'/xwiki/bin/edit/Space/MyNewPage?editor=inline&template=MyTemplate&sheet=MySheet&xpage=plain'.
But in this case, the modal pop-up contains the fields in inline mode, but
without the buttons to save/cancel/preview/...
Another question is what to provide as saveurl and redirecturl (2 last
parameters of Lightbox) ?
Thanks for help,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Using-Lightbox-to-create-new-page-objet-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi XWiki users,
The XWiki projects needs your help. We'd like to improve the documentation on xwiki.org but we need your help to tell us what should be improved in your opinion.
To do so we've created a JIRA project for listing stuff to do:
http://jira.xwiki.org/browse/XWIKIORG
It would be a great help if you could register there and create JIRA issues for anything you think should be improved on xwiki.org.
Please try to create very specific and focused issues so that they are actionable easily (for example an issue saying "Improve xwiki.org documentation" would not help much ;) but one that would say for example: "Provide documentation on how to use the DBListClass" is useful).
Thanks a lot for your help!
-Vincent on behalf of the XWiki Dev Team
I went thru XWiki Classes, Objects, and Properties topic given at
http://platform.xwiki.org/xwiki/bin/view/DevGuide/DataModel. I understand
the concept
of Classes, Objects, and Properties as i am familiar with java. Here is the
statement given at the same link
*This area explains XWiki's data model of Classes, Properties, and Objects
for those users who want to build applications primarily at the
presentation level.
(which makes it second generation wiki). It will help you understand how
you can achieve significant features by programming at this level alone.*
Basically i want to understand how i can capitalize the concept of Classes,
Properties, and Object at presentation level. To understand this throrouly
i created
two scenarios:-
First i created the space MySpace and created two pages i.e page1 under
this space. here are th scenarios
scenario1:- i edit the class MySpace.page1 and added a property password
ang gave some values for field Name, Pretty Name,Custom Display etc and
saved it.
*But i did not see any change at presentation level of MySpace.page1.*
scenario1:- Similarily i edit the objects for MySpace.page1 and added a
class mail ang gave some values for field Subject,Language, Text,HTML
etc and saved it.
*But again i did not see any change at presentation level of MySpace.page1.*
*It would be great if somebody can explain with small example what i can
achieve with edit the class and editing the object.* *For Example :-Like
what i can expect after edition in my scenarios.*
*I think its a vey useful feature but somehow it is not documented in
detail at that link or may be i am not able to understand. Looking for your
expert somments.*
**
**
Thanks
Hi
What is the best practice to extend AppWithinMInutes created sheets to manage the following controls;
- UI Control for URL's, i've defined it as a short text field, And I would like to make it easy for the user to enter a valid url or link to XWiki page
- UI Control for Email addresses (same as above)
Currently the appWithinMinutes generates:
; <label for="CdLSAssociations.CdLSAssociationsClass_0_website">$doc.displayPrettyName('website', false, false)</label>##
(% class="xHint" %)$msg.get('')
: $doc.display('website')
Gerritjan
Hi!
I've found this looking for the current state of the calendar application...
http://incubator.myxwiki.org/xwiki/bin/view/Drafts/CalendarApplication
As far as I see, the features desscribed there are far ahead from the current Calendar Application available here...
http://extensions.xwiki.org/xwiki/bin/view/Extension/Calendar+Application
Please, is there any new draft/beto release of the new application described in the Incubator site? Has it been already developed? Is it just an idea?
Several of the features described there will extremelly welcome by our research team!
Any new will be welcome! 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
I have XAR file of 72MB . When i Import it thru XWI UI i get java heap out
of memory error. I have mentioened the value of JAVA_OPTS
as -Xms1024m -Xmx1024m. My hardware specification is 32 bit windows
operating system and 4 GB RAM. and using the tomcat as webserver.
If i increase the value of JAVA_OPTS to -Xms1536m -Xmx1536m, tomcat does
not even start(Probably reason is 32 bit operating system and
4 GB RAM). I can not increase change the server configuration
somehow.How should i go about resolving this issue?
The only thing i can take help for now is do all the set up stuff on 8GB
machine and do restore of database on 4GB machine.
But again i am worried with some repurcussion of this approach i.e if
there is a deltion/rename of some column etc ,
on new xwiki version an. then it will be hard time for me to restore the
databse.
Looking for quick response. i am sure you guys also must had faced this
issue in past. Kindly share your experiences
For your information same xar file gets imported on 64 bit operating
system and 8GB RAM but how should i successfully resolve
import of 72MB XAR file on 32 bit OS and 4 GB RAM? i can not upgrade this
client machine due to some restrictions.
I had the same problem and managed to make it work ...
But in my case I think it was the plugin badly declared (I had forgotten the
'\'), seems not to be the case for you. Maybe you could try to reinstall the
ratings application extension from the extension manager now that the plugin
is installed.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Ratings-Application-not-working-tp7379389…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Which version of struts XWiki enerprise web war 3.5 supports?
I see this:
xwiki-enterprise-web-3.5-3.5.war/WEB-INF/lib/struts-1.2.9.jar
and also this in the strusts.tld
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<!-- ============== Tag Library Description Elements ============= -->
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>STRUTSFrameworkTagLibrary</shortname>
<uri>http://jakarta.apache.org/taglibs/struts-1.0</uri>
Is this OK?
BTW I have not been able to deply on
Geronimo
Version 2.2.1
Build 2010.12.03-17:56:38.228+0800
Thank you.
Mau
Hi All,
i for got my 11 digit admin password. Kindly let me know how can i recover
it ? Also want to know is there a way i can direct get from database in
decrypted form.
Thanks.
I am out of the office until 03/21/2012.
I will not have access to email, but will get back to you when I return.
Note: This is an automated response to your message "users Digest, Vol 56,
Issue 42" sent on 03/20/2012 0:37:53.
This is the only notification you will receive while this person is away.
Hello xwiki experts,
in my GoogleCheckout plugin, I am receiving the service notifications fine.
However sometimes saving the objects that indicate the order statements time out because saving the document takes a bit too long.
I could launch a background thread to save it but isn't my xwiki-context somewhat going to evaporate once the request is closed?
thanks in advance
Paul
Hi.
I have a problem with hibernate versioning of non-ascii characters. I'm
following all recommendations from
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding (database
Postgresql, DB's locale pl_PL.UTF-8), but it does not work - there is
always a problem with viewing old versions (see
http://jira.xwiki.org/browse/XWIKI-7539).
I'm wondering, if it is possible, that nobody else has that problem.
I've tried with xwiki 3.4, xwiki 3.5, even with xwiki 3.3 launched with
empty postgresql database versioning does not work correct.
The only properly working installation is my old, many times upgraded
xwiki database, where in xwr_patch column of xwikircs table are stored
patches for previous doc versions. All installations where xwr_patch
contains number of large object have problems with versioning.
Any help will be appreciated.
R.
Please, Ralf, have you installed Firebug? It is a great and indispensable piece of software while working, among other things, with layouts!!!!
What is the element you are trying to customize?
Cheers!
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
________________________________________
From: users-bounces(a)xwiki.org [users-bounces(a)xwiki.org] On Behalf Of Ralf Quebbemann [ralfq(a)gmx.de]
Sent: 17 March 2012 11:26
To: XWiki Users; users(a)xwiki.org
Subject: Re: [xwiki-users] How to change the default font size of the colibri skin
Hi Ricardo,
thanks for your answer. I already checked The admin skin guide but the extension is new to me. I will give it a try.
Also i already tried changes to the css but i cant seem to find The correct Element so far.
Bye
ralf
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
Ricardo.Julio.Rodriguez.Fernandez(a)sergas.es schrieb:
Hi Ralf, please, see below,
_____________________________________________
From: users-bounces(a)xwiki.org [users-bounces(a)xwiki.org] On Behalf Of qupera [ralfq(a)gmx.de]
Sent: 17 March 2012 10:42
To: users(a)xwiki.org
Subject: Re: [xwiki-users] How to change the default font size of the colibri skin
> Hi there,
>
> hm, no answer yet. Is it that difficult? Or is the question somewhat
> unclear? Did nobody ever change the font or the font size of a skin?
>
> Or is it so easy and I am too dumb to see it?
>
> Do I have to provide more informations?
>
> Please let me know and thanks in advance
>
> Ralf
To the best of my knowledge there is not a concept like "default font or font size of a skin". XWiki relays on a reach CSS based system to customized any aspect of the layout. Unfortunately I've been far from XWiki development for a while and can't give you a clear insight about this issue, but I think I can provide some hints. Please, check this out...
1. Use this link as a reference for any question posted here: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins
2. Install and extensively use some tool like Firebug for Firefox. It easily allow you test the effect of CSS changes and track it to the required files in XWiki skins files.
3. Check and understand this interesting feature http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Extension+Plugin
Thus, the change of the font or font size depends somehow on what component we are speaking about. Others will correct me if there is something like a "roor level" to define font styles within XWiki!
I'm sure list users will do their best/our best to answer any more precise question
HTH!!!
Ricardo
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-change-the-default-font-size-of-th…
Sent from the XWiki- Users mailing list archive at Nabble.com.
_____________________________________________
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
_____________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
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, Andrey, Thanks for your response, so just think it as taking an image
url from another site or a database table and you need to insert the image
into the inline form of the blog post inline editor programmatically when
the inline form shows up, how would you do that? I checked the
XWikiwysiwyg.js file, it will be called before the inline form editor shows
up, so this could be a good place to add code, if you have any idea, please
let me know.
Thanks again
David
On Sat, Mar 17, 2012 at 6:15 PM, Andrey Mavrin <andrey.mavrin13(a)gmail.com>wrote:
> 2012/3/17 du du <dddu88(a)gmail.com>
>
> > Hi, all,
> > I am playing around with the blog post application, when users click the
> > create post button, it brings up the inline form for users to put text
> in,
> > I have another requirement, we need to write some velocity code somewhere
> > to retrieve an image url from a database, so when the inline form shows
> up
> > after users click create post button, the image automatically shows up in
> > the inline form, users then type in more text, my question is where
> should
> > I put the code in? also the BlogPostClass and BlogPostTemplate have
> > TextArea objects, which create GWT inline form, this is where I need to
> put
> > image in programmatically, so I am thinking about accessing the GWT code
> to
> > insert image, could anybody point me to the right direction about how to
> > approach this to put image into the inline form programmatically?
> > Thanks
> > David
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
>
> I really like the idea, and I would like to undertake it, as I think about
> what the user chose the location for pictures and text
>
> well I'm wondering whether your application to take the results from
> another site? For example, if two sites have the same polls, if they can
> share information?
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
Hi Andrey,
I appreciate your enthusiasm :)
As you can see from the program's timeline [1], until the 25th of March
(including) we can discuss the available project proposals [2] or analyse
new ones. Student application period starts on the 26th of March.
Please feel free to ask any questions regarding the current proposals that
you are interested in or even to propose a new project yourself.
Thanks,
Eduard
----------
[1] http://www.google-melange.com/gsoc/events/google/gsoc2012
[2]
http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/WebHome#HProposedPro…
On Sat, Mar 17, 2012 at 11:59 PM, Andrey Mavrin
<andrey.mavrin13(a)gmail.com>wrote:
> I am ready to accept this project, just give me a chance and I'll prove
> that
> I can
>
> 2012/3/17 Paul Libbrecht <paul(a)hoplahup.net>
>
> > Sorry Eduard,
> >
> > I now understand there's no connection between the mentor request and the
> > questions on the page before.
> >
> > paul
> >
> >
> > Le 17 mars 2012 à 19:03, Paul Libbrecht a écrit :
> >
> > > Eduard,
> > >
> > > the mentor questionnaire sounds to be veeeeery much student like.
> > > Can it be it's the wrong one?
> > > Any reason I am asked the school I am enrolled in?
> > > I am actually, but... I want to be a mentor here!
> > >
> > > paul
> > >
> > >
> > > Le 17 mars 2012 à 15:33, Eduard Moraru a écrit :
> > >
> > >> If you plan to be a mentor this summer, don`t forget to *register* as
> > such
> > >> on XWiki's melange page
> > >> http://www.google-melange.com/gsoc/org/google/gsoc2012/xwiki.
> > >
> >
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
Hi, all,
I am playing around with the blog post application, when users click the
create post button, it brings up the inline form for users to put text in,
I have another requirement, we need to write some velocity code somewhere
to retrieve an image url from a database, so when the inline form shows up
after users click create post button, the image automatically shows up in
the inline form, users then type in more text, my question is where should
I put the code in? also the BlogPostClass and BlogPostTemplate have
TextArea objects, which create GWT inline form, this is where I need to put
image in programmatically, so I am thinking about accessing the GWT code to
insert image, could anybody point me to the right direction about how to
approach this to put image into the inline form programmatically?
Thanks
David
i can change the date format thru localization. But this format is
applicable to all locales. Is there a way i can configure the date format
speific to locale.
For example:- For US, i want to make define the date format as MM/dd/yyyy
and for UK want to define it dd/MM/yyyy. Is there a way i can do it?
Hi there,
hm, no answer yet. Is it that difficult? Or is the question somewhat
unclear? Did nobody ever change the font or the font size of a skin?
Or is it so easy and I am too dumb to see it?
Do I have to provide more informations?
Please let me know and thanks in advance
Ralf
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-change-the-default-font-size-of-th…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Folks,
On login page there is a link forgot username and forgot password. When i
click nothing happens.Same page gets refreshed. I am not sure do we need to
do any configuration to make it work?
What i observed, first i clicked forgot password and then did the login. I
an directly taken to reset password page. Where i click reset password,
Again nothing happens? I am not sure what is the thinking behind this
functianlity. If user forgets the password how he will do the login ?.
Thanks.
Hello!
I install XWiki Enterprise 3.5 with MySQL 5.5.17 and Tomcat7 on
windows server 2003.
Then I download and import default wiki.
I switch to russian language in preferences\localisation and try to
search word "Песочница" (Sandbox on russian)
search url looks like this: server:9080/xwiki/bin/view/Main/Search?text=Песочница
On opened page i see "Поиск: ÐеÑоÑниÑа " and no results.
I can create, edit and see pages with russian text well. Only search dont work.
I also try to search word "Песочница" on site xwiki.org.
search url looks like this: http://www.xwiki.org/xwiki/bin/view/Main/Search?text=%26%231055%3B%26%23107…
On opened page I see "Search:
Песочница" and
xwiki nod found russian translation of page Sandbox.
Can you suggest something? Thank you
Hello
I am a new user of X-Wiki Cloud.
I am trying to use it to develop a Knowledge base for our Project. I chose
to use X-Wiki Cloud because it appeared to be the WIKI tool that had the
best set of Big Time Capabilities and because it was Extensible and would
work with many different architectures. It seemed to offer the most
flexibility for the long haul.
To date I have opened a free account and started to post some content &
links. However; I am having a VERY difficult time understanding how
I organize & manage Spaces, Pages & General Content. I am particularly
frustrated in that, I cannot seem to find a way to manage the headings or
titles (SPACES) that appear on our Dashboard. X-Wiki Cloud starts one out
with things like Annotation Code, AppWithinMInutes,
ApplicationSecurityBackgroundInformation, Blog, . I do not need to see
those Tool Boxes, nor do I want my partner to see them as he learns how to
use the X-Wiki Cloud tool.
Right now I am struggling as I try to manage it and 'Dumb it Down' so I can
start out learning it & using it to build a relatively simple Knowledge
Base.
Can anyone help me with this?
Ken Jennings
Toronto Canada
Hi,
When the XWiki development team wants to introduce some new features or
when we need some improvements on existing functionality, I sometimes make
proposals on how these features/improvements should look like. You can see
some of my work at
http://incubator.myxwiki.org/xwiki/bin/view/Improvements/WebHome
IMO XWiki is a great tool for developers because they can change anything
they like and make XWiki bend to their will. Also, XWiki talks a lot the
'developer/administrator' language that new users find cryptic. Some also
say that the learning curve for XWiki is steep and that beginners have lots
of problems in understanding the structure, finding the documentation,
navigating, etc.
I'm sure every developer that used XWiki as a base for constructing their
project got into these 'new user' issues and tried to fix them as best as
they could. Although XWiki is an open source project where anyone can
contribute, sometimes time is not on our side and makes it difficult to
contribute back.
I would be very curious on how some 'independent' XWiki developers solved
some of the usability issues XWiki is facing: how they made it more easy to
use, more good looking, more intuitive, more clear, more simple.
Right now I'm thinking on how to improve the homepage, but I would love to
see *screenshots* of any aspect that was improved (profile, administration,
rights, history, comments, anything).
Sharing these screenshots could inspire others make their project better
and would step outside the 'just an idea' mode. Also there is a chance we
could integrate them in the platform so that everyone can benefit.
Thank you for your help,
Caty
I have an event listener as described here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Title+Post+Processing+…
Now I need to Register it automaticaly.
I already read in this context previous discusions and jira-issue:
http://jira.xwiki.org/browse/XWIKI-4936http://xwiki.475771.n2.nabble.com/Registering-an-event-listener-automatical…
As a result - I understand that for now don't exist easy method to did it.
But one of the possible temporary solution for now:
- write an Scheduler job, which will start every 5 minutes, check if
listener already registered, and if not - register it.
According to this, I trying to write such Scheduler job, but I have some
troubles ... Maybe somebody can help me.
I trying like this:
groovyObject = xwiki.parseGroovyFromPage("MySpace.MyPage")
groovyObject.setObjects(xwiki, context)
print(groovyObject.TitleUpdater())
but I get an error:
...
Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException:
startup failed:
script1331756758851315922078.groovy: 1: Ambiguous expression could be either
a parameterless closure expression or an isolated open code block;
solution: Add an explicit closure parameter list, e.g. {it -> ...}, or
force it to be treated as an open block by giving it a label, e.g. L:{...} @
line 1, column 1.
...
When I try to find which line give me this error, I found that my first line
(groovyObject = xwiki.parseGroovyFromPage("MySpace.MyPage")
give me this error. I don't understand why - space name and page name are
correct ...
Can somebody help me?
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/Register-an-EventListener-by-Scheduler-jo…
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 Milestone 1.
This release brings reduced document database id collision and quite a
few improvements and bug fixes.
See the full release notes at
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
for more details.
Thanks
-The XWiki dev team
Hello XWiki experts,
in my saga to upgrade curriki to xwiki 3.5, I seem to meet a rather functioning xwiki (though see my other mail about a missing component).
http://hoplahup.homeip.net/xwiki/bin/admin/XWiki/XWikiPreferences?editor=gl…
A hard edge is, however that I cannot administer because the source does neither contain the values nor the form elements.
Here's the email section of my xwiki-admin with the skin toucan.
I am a bit lost how to debug this, it sounds to be related to document.display that would fail. But how to debug that?
The object and wiki editors sound to work.
thanks in advance
paul
<form id="email" method="post" action="/xwiki/bin/saveandcontinue/XWiki/XWikiPreferences" onsubmit="cancelCancelEdit()" class="xform half">
<fieldset class="sender">
<legend>Default sender email address</legend>
<dl>
<dt>
<label class="admin_email">Admin email
</label>
</dt>
</dl>
</fieldset>
<fieldset class="smtp">
<legend>SMTP</legend>
<dl>
<dt>
<label class="smtp_server">Server
</label>
</dt>
<dt>
<label class="smtp_port">Port
</label>
</dt>
<dt>
<label class="smtp_server_username">SMTP Server Username (optional)
</label>
</dt>
<dt>
<label class="smtp_server_password">SMTP Server Password (optional)
</label>
</dt>
<dt>
<label class="javamail_extra_props">Additional JavaMail properties
</label>
</dt>
</dl>
</fieldset>
<div class="hidden">
<input type="hidden" name="form_token" value="asdasdsd" />
<input type="hidden" name="xcontinue" value="/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Email&space=XWiki" />
<input type="hidden" name="xredirect" value="/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Email&space=XWiki" />
<input type="hidden" name="classname" value="XWiki.XWikiPreferences" />
</div>
<div class="bottombuttons">
<p class="admin-buttons">
<span class="buttonwrapper"><input class="button" type="submit" name="formactionsac" value="Save" /></span>
</p>
</div> </form>
Hi Fedin Dmitry,
It's generally better to ask questions on the users list so that
everyone can answer to you and, more important, someone who have the
same question as you will have the answer too.
As for openoffice I'm not sure why it's not on myxwiki.org actually.
Anyone ? Did we just forgot ?
2012/3/12 Дмитрий Федин <dafedin(a)mail.ru>:
> Hello, Thomas Mortagne!
>
> I have my xwiki which hosted at the xwiki farm (dafedin.myxwiki.org) but i have not the connection to openoffice server to simply editing! Tell me please, can i get the ability to get conection to openoffice server?
>
> I installed the XWord but it works slowly and has many "bugs"! I can't to publish my document as the xwiki page. I can to edit pages wich exists but not all pages can be opened.
>
> With respect,
> Fedin Dmitry
--
Thomas Mortagne
Hi,
I need to find a solution for offering a way to the users to upload attachments to certain pages directly from the form editing mode. (Instead of having to build the page first, save it and attach the file later. Reason: the page is basically just a wrapper for the attached document(s), so it is very counter-intuitive to have to build the wrapper BEFORE you can upload in this case.)
Another way to describe what I need using the FAQ tutorial (http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial): Imagine you want to allow users to attach screenshots to FAQs directly when defining an FAQ. So you probably need to change the document sheet in such a way that in form editing mode a file upload selector is shown below the answer and question fields (that part is easy simply using HTML) and when saving the selected file is uploaded as an attachment to the current page (the tricky part I guess, I have no clue how to start). Allowing to upload multiple files at once would be nice, but isn't an absolute must.
Is this possible? Any hints are greatly appreciated!
Cheers,
Olaf
Hi,
i played a litle bit with the new release 3.4 and debian on virtual
machines.
First i tried out the standalone installation on the testing
distribution wheezy. The installation works well. But the page
'Administration: Rights' does not show the users and the groups. Did not
investigate the situation further.
Instead tried to install form the debian package
xwiki-enterprise-tomcat-pgsql. Here got the error 'depends on libpg-java
(>= 8.4) [UNAVAILABLE]'.
Should XWiki run on wheezy at all?
So I changed to the stable distribution squeeze. The installation of the
deb package xwiki-enterprise-tomcat-pgsql works well here (did not try
the standalone installation anymore). The Wiki is also runing well, with
one exception: The browser shows a message box with the text 'Server
returned TRANSPORT_ERROR with no error message' somtimes. But all seems
to be ok.
So far my feedback.
The issues with the testing distribution are no problem for me. Feel
confortable enough with the stable distribution but would like to get
rid of the above-mentioned errer messages. Any ideas how to solve this.
Thanks
Ritchi
Hello?
I have my xwiki which hosted at the xwiki farm (dafedin.myxwiki.org) but i have not the connection to openoffice server to simply editing! Tell me please, can i get the ability to get conection to openoffice server?
I installed the XWord but it works slowly and has many "bugs"! I can't to publish my document as the xwiki page. I can to edit pages wich exists but not all pages can be opened.
With respect
@Brian - I think I noticed that too, if you let it suggest it works.
Otherwise the JS wedges up.
@Sergiu - Not sure where I can find out how many tags I have. The tag
cloud is pretty big but the TagCloud page doesn't take long to render.
From: Brian Forsythe <brian.t.forsythe(a)gmail.com>
> To: XWiki Users <users(a)xwiki.org>
> Cc:
> Date: Thu, 8 Mar 2012 22:51:44 -0500
> Subject: Re: [xwiki-users] XWiki 3.5 - Add tag box JavaScript problem
> yeah, I've experienced it as well. what it 'feels' like is that it's
> still looking for the previous tag and hangs because the input field
> has changed. if you baby it and allow it to suggest the previous tag,
> it doesn't do that. definitely a bug.
>
> On Thu, Mar 8, 2012 at 12:06 PM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
> > On 03/08/2012 11:31 AM, Joshua Davis wrote:
> >>
> >> The 'Add tag(s)' box is sometimes wedging up my browser (infinite
> >> JavaScript loop?) when I type a tag name and then a comma. Happens in
> FF
> >> and Chrome. It seems to be stuck trying to load prototype.js or
> >> something. I'm not sure why it's doing that.
> >>
> >> Has anyone else experienced this? It's fairly annoying to have my
> browser
> >> suddenly wedge up while I'm typing.
> >
> >
> > It never happened to me. How many tags do you have in the wiki? How many
> > documents? I suspect a slowdown might be caused by the query that tries
> to
> > suggest existing tags, but that should happen on the server (database),
> not
> > in the browser.
> > --
> > Sergiu Dumitriu
> > http://purl.org/net/sergiu/
> >
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
I want to configure the accessdenied.vm( it is the page where i see the
message You are not allowed to view this document or perform this action.).
i want to provide the backlink on accessdenied.vm page which takes the user
back to page where he is coming from. If it is not possible , even if
backlink takes to home page of the space
he is coming from will be fine.*Please provide me the inputs if it is
configurable or with the small code snippet which i can iclude in
accessdenied.vm*
Intention of doing this is if user lands up on accessdenied page he has to
go back by click on back button on browser but to make the application
better i want the back link on accessdenied page itself . Thanks in
advance.
Hi!
I'm trying to clear up a XWiki Enterprise 2.4.30451 installation as much as possible.
Tones of messages ending by WARN org.apache.tomcat.util.http.Parameters - Parameters: Invalid chunk ignored are currently logged.
Please, could you help me to solve these doubts?
1. As far as I see by browsing XWiki lists and Jira, this is more a cosmetic problem that a serious issue. Please, am I right?
2. f the answer above is yes, is there any way to avoid these message to be logged?
3. What is the responsible process for throwing these message? It is hard to believe that a big amount of pages in our farm are reached in very few minutes!
Thanks for your help!!!
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
As of now all xwiki logs like log.error etc print the error on tomcat
console. I want to redirect it to some file instead of server console.I
don't see any setting in xwiki.cfg .Please let me know setting to redirect
to some file. Thanks in advance.
The 'Add tag(s)' box is sometimes wedging up my browser (infinite
JavaScript loop?) when I type a tag name and then a comma. Happens in FF
and Chrome. It seems to be stuck trying to load prototype.js or
something. I'm not sure why it's doing that.
Has anyone else experienced this? It's fairly annoying to have my browser
suddenly wedge up while I'm typing.
Hello
I am a member of the IWW Sheffield branch
http://iwwgmbsheffield.wordpress.com/. We are a labour union. I am
looking to set up a wiki for us to work on introductory material for new
members initially, and potentially other union business in the future.
My xwiki username: JohnMarshall
The server name we would like: IWWSheffield.
Thanks
John Marshall
Hi,
I want to access a XWikiDocument from a thread
executed outside of common XWikiRequests.
Is it possible to initialize a valid XWikiContext class or to get access
to the XWikiDocument class?
Thanks, Stefan.
Hi!
I keep trying to understand the meaning and importance of the log recorded errors of our XWiki Enterprise 2.4.30451 installation. I found tones of errors of this type...
2012-03-07 15:05:50,301 [http://www.deondesenon.com/bin/edit/Users/line%208,%20column%2023?parent=Us…] WARN api.User - Unhandled exception checking if user null belongs to group XWiki.XWikiAdminGroup
java.lang.NullPointerException
All errors of this type concern one wiki in the farm with several alias. And all of them refer to one of two groups: XWiki.XWikiAdminGroup and another one created to handled a category of new users called XWiki.XWikiSnoopersGroup.
Please, could you help me to identify the source of this error to try to correct it?
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