Hello,
I installed xwiki a few days ago and I'm still learning the ropes. I created
a new class called VersionInformation with its associated template and
sheet.
I'm able to create objects and display them in a livetable, but I have a
hard time using the queryFilters option.
My class has a Version field which I'd like to filter on.
Here is my code:
{{velocity}}
#set($columns = ["Name", "CoreTag", "ReleaseDate"])
#set($columnsProperties = {
"Name": { "link" : "none" }
})
#set($options = {
"className":"Development.Resources.Version
Information.VersionInformationClass",
"tagCloud" : true,
"rowCount": 20,
"queryFilters" : $4_0QueryFilter
})
#livetable("4_0_VersionInformation" $columns $columnsProperties $options)
{{/velocity}}
I have no clue as to how the 4_0QueryFilter variable should be created. I'm
guessing something along the lines of
#set($4_0_QueryFilter = $services.query.xwql("Version='4.0'") )
but that doesn't work. I tried other variations on that with a WHERE
statement, with the .execute() and so on but no success so far.
Can somebody help me out on this?
Thanks
Phil
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-filter-livetable-tp7598115.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm pretty sure this can't be done currently, but I still wanted to double
check.
It seems that Chrome and Firefox prevent linking to local files - so the
IFrame macro, when pointing to file://someserver/somefile.html, doesn't
display anything.
For some reason IE allows it, so I do see the content of my frame when
displaying the page with IE.
I was thinking maybe the xwiki.getURLContent would fetch the content of my
local html file and generate the content server side so that my web browser
wouldn't know the difference, but it doesn't seem to work with my file://
link.
Does somebody have an idea of how I could go about including a local html
file in xwiki pages?
Thanks,
Phil
--
View this message in context: http://xwiki.475771.n2.nabble.com/Including-local-file-webpage-tp7598333.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have update the XWiki 6.4.2 to 7.1.4 with using
"xwiki-enterprise-jetty-hsqldb-7.1.4.zip" on window server with success then
i import 6.4.2 xar to 7.1.4 and import some ui,such as
xwiki-platform-watchlist-ui.xar,o-rg.xwiki.platform-xwiki-platform-admin~.xar,o-rg.xwiki.platform-xwiki-platform-activ~.xar
etc.
when i do some thing in the XWiki/XWikiPreferences
What causes the following error?
error.error <http://xwiki.475771.n2.nabble.com/file/n7598342/error.error>
--
View this message in context: http://xwiki.475771.n2.nabble.com/oddity-after-upgrade-from-6-4-2-to-7-1-4-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Someone asked the following question on a feedback survey on xwiki.org but didn’t leave this email address so it’s hard to respond to him/her… :)
Thus I’m doing it here. The question is "Could you please provide md5 sum of releases (war files at least) to assist the process of automatic deployment via saltstack. “
The answer is that we’re already providing thus! We actually provide both md5 and sha1 as can be seen here for version 7.4.2 of the WAR:
http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/enterprise/xwi…
Specifically:
* md5: http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/enterprise/xwi…
* sha1: http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/enterprise/xwi…
Thanks
-Vincent
On 6 Mar 2016 at 13:40:42, Response Report (report(a)formassembly.com) wrote:
Your form "Downloading XWiki (xwiki.org)" has received the following response:
Submitted on: 06/03/16 13:40:41
Completion time: n/a
Tell us about
Q. Utility
R. Other
Q. Usage
R. At home
Q. Period
R. Less than 6 months
Q. System
R. Linux
Q. Version
R. Latest
How would you grade our
Q. Usability
R. 2
Q. Simplicity
R. 2
Q. Stability
R. 4
Q. Design
R. 4
Q. Speed
R. 4
Would you like to get into details?
Q. Suggest Improvements
R.
Q. Anything else
R. Could you please provide md5 sum of releases (war files at least) to assist the process of automatic deployment via saltstack.
Where should we send the data?
Q. Send to
R.
Who are you?
Q. Name
R.
Q. Email
R.
Q. Job Title
R.
Q. Country
R.
Ubuntu 14.04 with xwiki installed from xwiki repo
after apt-getupdate and apt-get dist-upgrade and a reboot, ran through
the distribution wizard on first login, no errors seen, but the front
page looked like http://pasteboard.co/1ZhrOEed.png
I followed "The wizard fails to appear at startup" on
http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard
and deleted the .../jobs/status/distribution/status.xml file, then
restarted, the distribution wizard was not seen, but the "pages" are
now working again
Cheers
The XWiki development team is proud to announce the availability of XWiki
8.0 Release Candidate 1. This release candidate brings a couple of
improvements, notably the ability to register a user from the Distribution
Wizard and to auto-generate the main wiki descriptor at start up. The Chart
Macro comes with new parameters and the UI for page rename/copy has better
labels. On the technical side, this release brings the first, experimental,
version of the minimalistic XWiki distribution.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki80RC1
The following people have contributed code to this release (sorted
alphabetically):
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Marius Dumitru Florea
Thomas Mortagne
vasquez
Vincent Massol
Thanks for your support
-The XWiki dev team
Hi,
Is it possible to create a new object of a custom class using the RESTful API?
The documentation page only lists the following POST method, which
doesn't accept a class name:
/wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/objects[?start=offset&number=n]
I have tried things like the following:
curl -u Admin:admin -X POST -H "Content-type: text/plain" -H "Accept:
application/xml" -d "@test.xml"
http://localhost/xwiki/rest/wikis/xwiki/spaces/Test/pages/Test/objects/XWik…
Where test.xml contains some variation on:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<properties xmlns="http://www.xwiki.org">
<property type="com.xpn.xwiki.objects.classes.TextAreaClass" name="Text">
<attribute value="Text" name="name"/>
<attribute value="Test" name="prettyName"/>
<attribute value="0" name="unmodifiable"/>
<attribute value="0" name="disabled"/>
<attribute value="100" name="size"/>
<attribute value="10" name="rows"/>
<attribute value="" name="customDisplay"/>
<attribute value="Text" name="editor"/>
<attribute value="6" name="number"/>
<attribute value="0" name="picker"/>
<attribute value="" name="validationMessage"/>
<attribute value="" name="validationRegExp"/>
<value>
This is some text.
</value>
</properties>
Curl returns this:
<html>
<head>
<title>Status page</title>
</head>
<body>
<h3>The method specified in the request is not allowed for the resource identifi
ed by the request URI</h3><p>You can get technical details <a href="http://www.w
3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.6">here</a>.<br>
Please continue your visit at our <a href="/">home page</a>.
</p>
</body>
</html>
Simpler syntax without the XML file still fails for me. In fact, I
can't seem to even get the basic "create object" method to work, even
without the class. For example:
curl -u Admin:admin -X POST
http://localhost/xwiki/rest/wikis/xwiki/spaces/Test/pages/Test/objects
Just comes back with a "malformed syntax" error.
Is there an example anywhere of how to do this?
Thank you,
Aaron
I am looking to modify the editor in two ways:
1) I would like to change the default editor to the new CKEditor per these instructions: http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration#H… I get stuck at: "In order to open the CKEditor by default (i.e. replace the default editor) you can edit the CKEditor.EditMenuEntry page in Objects mode..."
2) I would like to change the “Is Minor Edit” to checked by default and these are the only instructions I can find: http://lists.xwiki.org/pipermail/users/2009-August/012857.html I can locate many files in the /usr/lib/xwiki/templates folder that start with the word ‘edit’ but none of them are ‘editactions.vm’.
I am sorry if these are two totally different questions but they both seem to be related, as in each case I am unable to find the avenue for changing the default editor behavior. Thanks for your time.
Regards,
Jesse