Hello,
If you are certain of an error in FAQ Tutorial, you can edit the page and fix it IMO.
Xwiki is ... a wiki.
Thxs.
Pascal B
--------------------------------------------
En date de : Lun 30.1.17, Jesse Bright <jesse(a)abrightfamily.com> a écrit :
Objet: Re: [xwiki-users] FAQ Tutorial - Custom Creation Form
À: "XWiki Users" <users(a)xwiki.org>
Date: Lundi 30 janvier 2017, 16h36
I figured this out while
fixing the live table. The tutorial code references the
class and template pages as "FAQ.FAQClass" and
"FAQ.FAQTemplate". However the pages actually
created from the Class Editor wizard have a space:
"FAQ.FAQ Class" and "FAQ.FAQ Template".
After adding the space everything is working as expected. I
may have made a mistake in following the tutorial but it
didn't feel like it. Perhaps the tutorial needs updated
to reflect changes in the Class Editor.
Regards,
Jesse
Bright
Regards,
Jesse
>
On Jan 30, 2017, at 6:00 AM, Jesse <jesse(a)abrightfamily.com>
wrote:
>
> I am
trying to follow along while modifying the code to reflect
my app location which is “Corrections.2016” and it all
seems to work fine until I try to do the custom form
creation, which when submitted takes me to an "about
blank” page. Any thoughts on what I did wrong?
>
>
#if("$!targetDocName" != '' &&
$xwiki.exists($targetDocName))
>
{{warning}}The target document already exists. Please choose
a different name, or [[view the existing
document>>$targetDocName]]{{/warning}}
> #elseif("$!targetDocName" !=
'')
> {{warning}}You don't
have permission to create that document{{/warning}}
> #end
>
> {{html}}
> <form
action="" id="newdoc"
method="post">
>
<div>
> <input
type="hidden" name="parent"
value="${doc.fullName}"/>
> <input type="hidden"
name="template"
value="Corrections.2016.2016Template"/>
> <input type="hidden"
name="sheet" value="1"/>
> <input type="hidden"
name="spaceName"
value="Corrections.2016"/>
> Code Section: <input
type="text" name="docName"
value="Enter the code section here"
class="withTip" size="50"/>
> <span
class="buttonwrapper"><input
type="submit" value="Create this code
section" class="button"/></span>
> </div>
>
</form>
> {{/html}}
>
> Regards,
>
> Jesse Bright
Howdy,
Is it possible to setup an XWiki such that:
- Users can register AND validate email.
- After registration, users who have not been “approved” can only see one page that says “Please wait for approval for access to this wiki."
- Approved users have normal access controls.
Right now I have removed all rights from the XWikiAllGroup and I manually move users into the XWikiRegisteredUsers group (maybe a bad name since all users are registered, it just means I approved them for access). The only problem with this setup is that new users cannot validate their email until I have added them to the XWikiRegisteredUsers group. I have not yet figured out how to control access to that special Email Authorization page.
Thanks for any info!
Craig
Hello,
If you want something very simple to create, you can also use a class/sheet/template to make your checkbox:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial/FAQTutorialMa…
or : http://www.theserverside.com/news/1363830/XWiki-A-Platform-for-Collaborativ… (Understanding Classes and Objects create a todo app)
If you don't want store checkbox data, users could use the template (or another page)
Pascal BASTIEN
--------------------------------------------
En date de : Jeu 26.1.17, Jesse Bright <jesse(a)abrightfamily.com> a écrit :
Objet: [xwiki-users] List with Checkboxes
À: users(a)xwiki.org
Date: Jeudi 26 janvier 2017, 5h51
I am making a several lists with
tasks and associated checkboxes. The checkbox data will not
be stored or used in any way. It's only purpose is as a
reminder of tasks which have been completed.
My best idea for achieving this is to write a wiki macro
using the HTML macro to insert a checkbox input. However
this means I have to develop list tabbing behavior and write
my macro reference repeatedly in each list space.
Does any one know of a better or easier way to create a
checkbox list?
Regards,
Jesse
Hello,
After having succesfully migrated from a 300 pages mediawiki to xwiki
(which worked like a charm with the FilterStream app), I need to find a way
to automate modifications to the migrated xwiki pages.
In mediawiki, I could create "highlighted boxes" in which I put code by
simply adding a space caracter as the very first caracter of each line.
FilterStream application converted this empty space to "}}}" and "{{{"
which is totally the right way to convert this from the MW syntax to XWiki
syntax, but doesn't fit my needs.
Ideally, I'd like to convert every "{{{" tags to "{{code}}" and every "}}}"
tags to "{{/code}}"
Do you have any idea how to achieve this ?
Regards
Denis GERMAIN
The XWiki development team is proud to announce the availability of XWiki
9.0 Release Candidate 1.
This version opens the new 9.x cycle. It contains all improvements
introduced in versions 8.4.1 to 8.4.4, and brings admin and developer
features mostly. Among other things, XWiki deals better with big
attachments now.
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/Data/XWiki/9.0RC1/
Thanks for your support
-The XWiki dev team
I am making a several lists with tasks and associated checkboxes. The checkbox data will not be stored or used in any way. It's only purpose is as a reminder of tasks which have been completed.
My best idea for achieving this is to write a wiki macro using the HTML macro to insert a checkbox input. However this means I have to develop list tabbing behavior and write my macro reference repeatedly in each list space.
Does any one know of a better or easier way to create a checkbox list?
Regards,
Jesse
Ho great I didn't see that! Thxs Thomas
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HSharevariableb…
--------------------------------------------
En date de : Mar 24.1.17, Thomas Mortagne <thomas.mortagne(a)xwiki.com> a écrit :
Objet: Re: [xwiki-users] How to sort hashmap with velocity?
À: "Pascal BASTIEN" <pbasnews-xwiki(a)yahoo.fr>, "XWiki Users" <users(a)xwiki.org>
Date: Mardi 24 janvier 2017, 18h28
Note that if you are
using XWiki 8.3+ you don't need to go trough
xcontext to pass data between velocity macro
and other script macros.
Velocity variables
ends up in Groovy (as global variables) and the
opposite.
Ok, then I inesert groovy code between 2 velocity bloc to sort my map:
...
#end ##Fin foreach
$xcontext.put("xSiglesArray", $SiglesArray)
#end ## fin temporaire pour insérer le code groovy
{{/velocity}}
{{groovy}}
if(xcontext.get("xSiglesArray")){
SiglesArrayGv = xcontext.get("xSiglesArray");
// Trie le tableau (insensitive case )
SiglesArrayGv=SiglesArrayGv.sort { it.key.toLowerCase() };
xcontext.put("xSiglesArray", SiglesArrayGv);
xcontext.put("DoRegen", true);
}
{{/groovy}}
{{velocity}}
##
##Regénére la page et trie les entrées (suite)
#if ( $xcontext.get("DoRegen")== 'true' && $xcontext.get("xSiglesArray") )
##
#set ($SiglesArray= $xcontext.get("xSiglesArray"))
#foreach($Anchor in $AnchorsArray)
##
Thxs
--------------------------------------------
En date de : Jeu 19.1.17, Thomas Mortagne <thomas.mortagne(a)xwiki.com> a écrit :
Objet: Re: [xwiki-users] How to sort hashmap with velocity?
À: "Pascal BASTIEN" <pbasnews-xwiki(a)yahoo.fr>, "XWiki Users" <users(a)xwiki.org>
Date: Jeudi 19 janvier 2017, 14h58
On Thu, Jan 19, 2017 at
11:25 AM, Pascal BASTIEN
<pbasnews-xwiki(a)yahoo.fr>
wrote:
> Hello,
>
> with velocity I have a hashmap: sort of
variable with (key:value) that I want to sort, then I
use:
> #set ($myHashMap =
$collectionstool.getSortedMap(String, String))
> $myHashMap.put('Mykey3','My
value 3')
> http://platform.xwiki.org/xwiki/bin/view/ScriptingDocumentation/?url=http:%…
>
> It's working well
... except with uppercase because I want a sort with
insensitive case.
>
>
I tried to decrypt Javadoc and I found I could use:
String.CASE_INSENSITIVE_ORDER
> #set
($myHashMap =
$collectionstool.getSortedMap(String.CASE_INSENSITIVE_ORDER,
String))
> #set ($myHashMap =
$collectionstool.getSortedMap(String::compareToIgnoreCase,
String)) with java8
> but unfortunaly it
doesn't work (I have xwiki error)
Velocity is very far from supporting Java
syntax. Plus here you seems
to be mixing
CollectionsTool and TreeMap javadoc. CollectionsTool
contains only one getSortedMap() method and it
has no parameter.
There
does not seems to be any way to get a TreeMap configured
with
String.CASE_INSENSITIVE comparator in
Velocity. The main issue is that
you
can't create an object or access a static variable in
Velocity so
no way to use a method that
takes a Comparator as parameter even if
there was one (which is not the case for
maps).
Right now the only
alternatives seems to be:
* use Groovy
* write a script service in Java that provide
the feature
* patch CollectionsTool to add a
way to pass a comparator to the various methods
>
> Any idea to sort my
hashmap with with insensitive case?
>
> (Unfortunaly the better way I found is an
ugly way: I mix velocity with a piece of groovy but I'm
not satisfied at all because I use velocity loop and other
if.)
>
> Thxs for any
help.
>
> Pascal
B
--
Thomas
Mortagne
Hi,
I’m trying to use the Searchjql function to read data from our Jira server via the scripting api.
The Jira api allows to read any existing field, but I don’t understand how this can be done via the scripting api.
The second question I have is how to make a Json file out the answer which can be fed into a livetable.
There is also one issue I have. We have set up access to our jira server by password protected accounts only. If you have a pssword which contains a “$“ the api fails.
Any help is welcome.
Thanks, Wolfgang
Hi Markdown lovers,
Just wanted to announce that I’ve completely written XWiki support for the Markdown syntax (using flexmark-java instead of pegdown). It’s available as the “markdown/1.2” syntax inside of XWiki.
See http://extensions.xwiki.org/xwiki/bin/view/Extension/Markdown+Syntax+1.2 for details.
Please try it out and let me know how it goes.
If you find bugs please report them at http://jira.xwiki.org/browse/MARKDOWN
Thanks
-Vincent
Hi, I’m using XWiki in Slovak language which uses accents, which consequently causes problems with urls. The urls becomes ugly containing encoded characters with accents. Does XWiki have integration point out of the box to replace the page name with custom one, with stripped accents from it?
Thank you
Mirec
I want to implement Carousel slider just as the one on
xwiki.org/xwiki/bin/view/Carousel/Slider
But I dont know how to do it.
I tried Totem extension. Its good but has 1 problem. In its Carousel
implementation, Totem uses only images attached and doesnt show the
description.
Is their any other way around? I want the slider exactly as on xwiki.org
Perhaps, it should be well documented as it is the most important component
for Home pages.
Thank you in advance
Hi,
I would like to calculate the age of a person in years
I have the date of birth stored in a XWiki class-object in a property of type Date/Time
The age should be calculated against NOW! (Sysdate in local-user time, although the rounding in years does not make this a very important requirement.
Also I would like to be able to calculate a duration by subtracting two dates stored in a
XWiki class-object in a property of type Date/Time
Please a velocity-based guidance how to do this? (JoDaTime based)
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
I am interested in creating an easy to navigate document library. I was thinking of using the File Manager Extension (as this is what it's built for) - but the documentation is light on some specifics.
-I am wondering if I can copy this to a new space (currently xwiki/bin/view/FileManager) and run multiple file libraries on the site, each with their own permissions (space based)? When I copy the FileManager space to a new space, I get the warning that I need to migrate to the new structure. Will this affect anything other than the specific space it is in?
-Also wondering if I can add a metadata field somehow? One of the things I liked about using a file library in SP is the ability to list additional fields (ie. notes about why the file is important, contents, etc...) in the grid. Is this easy to do?
Paul Pinkerton
ACLCO/ KnowledgeNow
Hi,
I want to embed a teasered version of the blog into a page on my XWiki as it
is done on
https://www.xwiki.org/xwiki/bin/view/Main/News
On my page a used the same include as on xwiki.org but the blog entries are
not displayed. Just get the "xe.blog.code.notblog" message. I used the
default blog application (nothing special). Is any special
handling/configuration required to get the teasered inline blog?
{{velocity}}
{{include document="Blog.BlogSheet"/}}
{{/velocity}}
Thanks for your help.
Canny
--
View this message in context: http://xwiki.475771.n2.nabble.com/Inline-blog-with-teaser-in-a-page-tp76024…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi list,
Vincent Massol has asked for code review after official docker image
annoncement and though I am no Docker expert, I have found a few leads to
reduce image size and might have some suggestions to improve it.
With 3 little changes I have gained about 500 MB, but I still have to make
sure everything still works.
- 200 of those MB where gained by a commonly used trick : adding
"--no-install-recommends" option to apt-get.
Some packages that are commonly installed with libreoffice might have been
skipped and I still have to determine if it's OK or not.
- The other 300 MB are safe. Most of it comes from "RUN chown -R
tomcat8:tomcat8 /var/lib/tomcat8" being moved inside the same layer as the
curl xwiki.war && unzip.
docker images
REPOSITORY TAG IMAGE
ID CREATED SIZE
xwiki-mysql-tomcat after
b05844c94dd0 7 seconds ago 1.157 GB
xwiki-mysql-tomcat before
174d549368d5 2 hours ago 1.689 GB
As soon as I have checked this works, I'll do a pull request.
In the meantime, code is online on
https://github.com/zwindler/docker-xwiki-1/tree/clear_apt
Regards
Denis GERMAIN
Hi All,
On an infrequently maintained xwiki instance (.deb on Ubuntu), which
was running 8.4.1, the default editor is WYSIWYG
In Administration | Edit Mode Settings | DEFAULT EDITOR, the dropdown
box contains Wysiwyg and Text, and does NOT contain CKEditor
If a page in the wiki is selected, the edit icon has the options in
the dropdown for WYSIWYG, CKEditor, Wiki & Inline form, then below it,
Objects and Class. If CKEditor is selected, the edit window is not
shown.
I tried an update to 8.4.4, and there is no change in Administration |
Edit Mode Settings | DEFAULT EDITOR, but when a page is edited, it now
shows in the place where I would expect to see the edit window the
below
Content
#ckeditor($parameters)
I'm lost as to where to look next, and would welcome some guidance.
Cheers
Arne
Hello,
with velocity I have a hashmap: sort of variable with (key:value) that I want to sort, then I use:
#set ($myHashMap = $collectionstool.getSortedMap(String, String))
$myHashMap.put('Mykey3','My value 3')
http://platform.xwiki.org/xwiki/bin/view/ScriptingDocumentation/?url=http:%…
It's working well ... except with uppercase because I want a sort with insensitive case.
I tried to decrypt Javadoc and I found I could use: String.CASE_INSENSITIVE_ORDER
#set ($myHashMap = $collectionstool.getSortedMap(String.CASE_INSENSITIVE_ORDER, String))
#set ($myHashMap = $collectionstool.getSortedMap(String::compareToIgnoreCase, String)) with java8
but unfortunaly it doesn't work (I have xwiki error)
Any idea to sort my hashmap with with insensitive case?
(Unfortunaly the better way I found is an ugly way: I mix velocity with a piece of groovy but I'm not satisfied at all because I use velocity loop and other if.)
Thxs for any help.
Pascal B
Hey,
thank you very much :) This helped a lot! Now the raw content is not shown.
Unfortunately I have another problem now: The text inside {{html}} tags (and so on) seems not to be indexed.
Best regards,
Patrick
Hello,
I have a problem with pdf export extensions. I want to export multiple sites in a defined space which is no problem at all.
But it starts getting serious when I want to include links.
The &includelinks=1 for example works fine but it only includes the direct links to the website.
I need a possibility to change the links to the website to pdf intern links.
Can you see a way how this could work?
That means that I want to export for example a front page with links to other pages and export them as well and have an internal link to the pages below the front page in the pdf file .
Thank you in advance.
Kind regards
Timo Dachs-Wegmann
-IT-
--------------------------------------
I am attempting to follow the guidance at
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorialManual
The idea of this page is to walk one through the creation of a new data
type. However the page is out of date. For example on the
xwiki/bin/view/XWiki/XWikiClasses page, things are not the same as the
tutorial image in the "Create a new data type" section. The tutorial says
one could fill out the space and class fields with "FAQ" but the 8.4.3 xwiki
does not offer a space field. The most recent comment made in Nov 2016
states
This example no longer works correctly in 8.4. However, it will if...
After you create the WebHome (FAQs) page.
Delete the FAQClass object from WebHome
For a new xwiki user this kind of stuff is confusing. I am hesitant to
proceed because I don't know what the missing "space" field implies and am
not sure if I'll get tripped up by the FAQClass issue. I already ran the
"Apps within Minutes" FAQ tutorial, so I'm concerned that I'll have a
namespace collision with this new FAQ application unless I know what the
space issue implies.
--
View this message in context: http://xwiki.475771.n2.nabble.com/The-FAQ-Tutorial-Manual-is-somewhat-out-o…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am looking to use xwiki as a communication tool for my volunteer leadership team for a campaign for the Leukemia and Lymphoma Society. I am the LLS Man and Woman of the Year Campaign Manager.
Owner name: Luis Gomez
Wiki name: mwoyorlando
Thank you,
Luis Gomez
Man & Woman of the Year Campaign Manager, Orlando
Leukemia and Lymphoma Society
407-965-6575
NOTICE: This message, including all attachments transmitted with it, is for the use of the addressee only. It may contain proprietary, confidential and/or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient, you must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message. If you believe you have received this message in error, please delete it and all copies of it from your system and notify the sender immediately by reply email. Thank you.