Hello
I want to write a java script macro which is able to load jars from an external currently not supported source (e.g. from a maven repository). Therefore I want to exchange the used class loader. Overriding the ScriptMacroParameters#getJars() method is not possible for me, because I only want to load the classes in view and not in edit mode.
My question: How is it possible to exchange the currently injected implementation of the interface org.xwiki.rendering.internal.macro.script.AttachmentClassLoaderFactory
for my macro to exchange the used class loader or is there another recommended official way to ream my aim.
Thank you very much for your help.
Yours faithfully
Roman Summer
Hi all.
I'm using xwiki for some months and it was going very well. But today I've
got the following problem:
When I try to access any page, it loads and then it turns into a gray
background right after the loading. I can, however, access the code by the
browser.
The last thing I did before this happen was change the layout of an app via
App Within Minutes. I have not changed a single line in the source code.
I have also tried to access with another browser and restarted the server,
with no success. I think it's a problem with Javascript and how it displays
the page, but I don't know very well Javascript to check where is the error.
I'm using Tomcat 7 and Mysql 5.6. The Xwiki's version is 5.3, I think, but
I can't check it for sure because I cant see it =P.
Here's a print screen: http://imgur.com/PgL5uak
Thank you very much.
Je serai absent(e) à partir du 11/07/2014 de retour le 11/08/2014.
je suis en congés.
Je répondrai à vos messages dès mon retour.
En cas de problème technique, veuillez contacter SYNOX au 05 67 34 66 56.
Merci
I am out of the office until 11.08.2014.
Note: This is an automated response to your message "users Digest, Vol 84,
Issue 14" sent on 11.07.2014 09:06:41.
This is the only notification you will receive while this person is away.
Hello,
I'm new new new to xwiki, but I think it's pretty cool so far. I've been
killing myself trying to work out where to add javascriptextension on an
"app within minute" page. I want the javascript to create some handlers on
page load, hide some buttons, form validation etc.. for the life of me I
can't really figure out the best place to put my code. Right now I've got
some javascript working by putting an {{html}} tag with a <script> tag on
the class sheet, but somehow it doesn't feel like the right way to do it.
Any help is greatly appreciated.
The XWiki development team is proud to announce the availability of XWiki 6.1.
A lot of work has been done for the new Flamingo skin and we hope to
make it the default in 6.2.
This version also comes with many improvements but also introduce many
new APIs and tools for developers like the integration of LESS
preprocessor, a new authorization API taking care of the context and
its associated script service, a new experimental Mail API, the
support of grouped and asynchronous jobs in default job module
executor, the possibility to log from any script, a new converter to
make easier to manipulate XDOM in Velocity, and many others.
The memory used in wikis with lots of documents like
http://myxwiki.org has also been reduced a lot (around 40% in
http://myxwiki.org for example). Finally a new loading screen with
progress displayed during XWiki initialization has been introduced and
the initialization speed itself has also been improved.
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/ReleaseNotesXWiki61
Thanks
-The XWiki dev team
Is there a typo in the version number of the deb package list for the
latest 6.1 release? The version is listed as 6.1~rc+1 instead of
6.1+rc+1, a consequence of which it's lower than the milestone dev
releases. (I had to do a 'downgrade' to get it to install)
Hey all,
I'm using an SSO authenticator to login to Xwiki. The Xwiki has a logout button that doesn't appear to do anything (for SSO) once pressed . Is there a way to disable this button?
Thanks,
Chris.
Hello,
I try to use the autocompletion application (http://extensions.xwiki.org/xwiki/bin/view/Extension/AutoCompletion+Applica…) without success.
Are they a shortcut to provide methods and all other things?
I edit in xwiki mode, add my 2 velocity tags, typing $xwiki. and tab ... without result.
Thxs for ur help
Pascal B on Xwiki 6.0
Hello,
After migrating the database content of XWiki 4.0 into a new XWiki 6.0.1 engine, the GA tracking JSX is no longer loaded in the XWiki pages :-(
I checked :
. http://bimguides.vtreem.com/bin/admin/XWiki/XWikiPreferences?section=analyt… reports "Google Analytics™ is running" with the proper GA ID
. on http://bimguides.vtreem.com/bin/edit/XWiki/GoogleAnalyticsCode?editor=object the following attributes are set:
Use this extension « Always on this wiki »
Parse content: yes
caching: long (also tried default)
Still, the Google Analytics debugger extension reports that the GA JS code is not fetched by the XWiki page (and indeed, there is no GA script in the page html source).
Does anyone know if the JSX mechanics has changed between 4.0 and 6.0.1 ? (I may have overwritten working code with outdated code when I used my 4.0 mysqldump result with the fresh 6.0.1 WAR ?)
Thanks for your help!
Sylvain
Sylvain MARIE
VTREEM.com
Hello there,
My name is Bogdan and I want to use xwiki on your hosting for a prototyping
experiment I am doing with a development community trying to build some
smart things using Arduino and Pi boards.
Owner name: Bogdan Doinea
Wiki name: ioepl.myxwiki.org
Is it possible to set this up for me?
Thank you!
Bogdan
Dear administrators,
Please create a new wiki.
Description: I would like to get a wiki to discuss political issues within the
local chapter of the german green party.
Owner name: peterspieker
Wiki name: gruene-telgte.myxwiki.org
Cheers,
Peter
@djphatic:
Did you actually find a solution to your problem or did you end up creating
your own copy and renaming script?
@Eugen:
You mean to create a own script or what exactly? Because i can't find
anything at the moment that would fit as a solution, but having a script
written like this one
http://extensions.xwiki.org/xwiki/bin/view/Extension/Copy+Space+Snippet to
do so.
* does not work with subwikis
The best way IMHO would be a space template that actually does the job of
being a space template and not a simple page template. Having it this way
there is not much sense in having it since one simply could creates a page
template.
It would be much appreciated if someone would have a solution or way to do
this.
cheers,
oj
Hi devs,
Yesterday I’ve asked my wife to try out XWiki...
Exercise 1
==========
I gave her the simple task of creating a wiki page with some content to organize a party with a list of people to invite.
Here’s some feedback from this session, in the order she discovered them:
* She started reading the Welcome block (good!) but was puzzled by the terminology of ‘“spaces”. Especially since the English wording said “sorted by spaces”.
—> Improvement: Rephrased with “organized by spaces” + had a one line sentence explaining what a space is.
* Then she saw the Spaces list below and started clicking on the existing spaces.
** First Blog, she understood what it was about and decided that was not where she would put her new page.
** Then she clicked on Main and after 2 seconds of puzzlement (it didn’t do anything since she was already on the main space) the understood that it was where she was already
—> Improvement: Highlight the current space differently in the Spaces list to make it clear on what space the user is currently on
** Then she clicked on Sandbox and understood it was a page to try out stuff after reading the content. She clicked on”Sandbox Test Page 1” and found the edit button and started typing some text and saving the page. It worked fine but she understood that this wan’t her missing since I had asked her to create a new page…
* She navigated back to the home page by clicking on the Home menu entry at the top. Actually I was surprised that she used those menus to navigate very quickly and it did not seem to be an issue.
* Then she tried sending a message (don’t ask me why, this wasn’t part of her mission but she wanted to try it out, Strangely she picked the “group” item in the visibility box and then started typing my name. It did print “Group not found” and she understood she had done something wrong but still clicked “share”.
—> Nothing to do IMO here except maybe remove this message section as we discussed already
* Then I asked her again to create a new page and she didn’t know how to do that. Then after asking her to look better at the UI she found the “Add” button and clicked “Add Page”. Again the issue with “space”. It was written “Main” and she didn’t fully understand that and started typing here own content in there “anniv MAM !!” and then in the page name she put “liste invités” and clicked create. I’m not sure what happened after (I don’t recall) but she clicked on the space menu entry at the top (which was displaying “anniv MAM !!”) and this led her to the WebHome page with a message saying that the page didn’t exist and she clicked on “edit” in that message to create it. She wondered why it was written “WebHome” in the title field and why she had to type again “liste invités” there but she did it and added content to the page and saved. Then she was surprised to see in the top menu “WebHome”. She didn’t understand that. She was expecting to see “liste invités”.
* Then I asked her to create another page which she did correctly.
* Then she wanted to navigate between the 2 pages she had created but she couldn’t find how. Actually the saw the “My Recent Modifications” panel but told me that this was ok because she had just edited the pages but if that wouldn’t have been the case she wouldn’t be able to navigate. She clicked several times on the menu entries at the top (wiki, space and page level) but never thought about clicking the little arrows there… When I asked her she said she saw those arrows but didn’t think it would do any good clicking them. Actually she told me that she was puzzle by those top menu names. She said she would have preferred to see “Spaces” and “Pages” with the arrows next to them and then she would have clicked on them to see all the spaces and all the pages.
—> We need a simpler way to navigate between pages (either some navigation panel or change the way the top menu works)
* Then I asked her to create a link between her 2 pages. She couldn’t imagine how to do that. Then I asked her “what would you do if I asked you to put some of the text you created in bold” and she understood that she had to edit the page…
Exercise 2
==========
The second exercise I gave her was about changing the wiki’s home page to be her own content.
I tested it with several options:
- option 1: clicking edit on Dashboard.WebHome (XE 6.1)
- option 2: clicking edit on Main.WebHome (XE 6.1)
- option 3: clicking edit on Main.WebHome but forcing the “inline” mode (XE 6.1)
- option 4: clicking edit on Main.WebHome but with the proposal of http://jira.xwiki.org/browse/XWIKI-10586
Results in short:
- option 1: She selected the text she wanted to change with the mouse and hit backspace… resulting in navigating to the previous page in the browser. Her rationale: she had clicked edit first so she thought she was in edit mode…
- option 2: The WYSIWYG appears, she again selected the text to change and hit backspace… resulting in the whole include macro being removed… Then she didn’t understand what happened…
- option 3: The dashboard appears in inline mode but a warning is displayed with technical explanations that confused her and same problem as with option 1 anyway.
- option 4: She couldn’t use the first version I did because she didn’t understand why when she clicked edit she wasn’t in the standard edit view (as with other pages she had edited before). I tuned the text leading to http://jira.xwiki.org/secure/attachment/28082/step2.png and thereafter she could use it just fine.
Conclusion
===========
This was very useful to me. It was worse than I imagined… but I now better understand how newcomers think when they see XWiki. To summarize we need to:
- explain the concept of “space” or replace it by “folder” which is an already known concept.
- show titles everywhere in the UI instead of page names (this is very confusing for the user): top menu, index livetables, etc
- add ways to navigate between pages more easily (either by changing the top level menu or introducing some navigation panels)
- there might be something to improve on the top level menu: She saw it as navigation only whereas it’s not fully and thus it’s not obvious that it contains actions that can be done at a given level (because it displays the current position and not generic terms such as “spaces”, “pages”.
Thanks
-Vincent
Hello Sirs,
I need to implement the function "jsontool.serialize" in the code below, groovy, and I do not understand the error that is accusing, can help me solve this?
{{groovy}}def hql0 = ", BaseObject as obj where doc.fullName = obj.name and obj.className = 'E-nova.E-novaClass'";def listProjetos = services.query.hql(hql0).execute();def json = ['totalprojetos': listProjetos.size(), 'projetos':[1000] , 'edges':[1000] ];def i = 0;
for(item in listProjetos){ def hql = "select distinct list from BaseObject as obj, DBStringListProperty as prop join prop.list list where obj.className='XWiki.TagClass' and obj.id=prop.id.id and prop.id.name='tags' and obj.name ='$item' "; def tag = services.query.hql(hql).execute(); i = i + 1;
json.projetos.add({ id: xwiki.getDocument(item).getName() })}
jsontool.serialize(json);
{{/groovy}}
Ty.
Atenciosamente,
Eduardo Abritta
e-mail: eduardo.abritta(a)outlook.com | cel: (32)8472-9631
Hello,
I wanted to know if it is possible to filter by groups with CAS authenticator.
http://extensions.xwiki.org/xwiki/bin/view/Extension/Authenticator+Jasig+CAS
I must maps groups with xwikiAllgroups?
Are there a parameter like LDAP one?
#-# Only members of the following group can authenticate.
#-# The following kind of groups are supported:
#-# * LDAP static groups (users/subgroups are listed statically in the group object)
xwiki.authentication.ldap.user_group=xxxxxxx
and BTW for ldap authentication what's "LDAP static groups (users/subgroups are listed statically in the group object)" meaning?
If I add a LDAP member in my LDAP group, I must relauinch Tomcat for synchronsie xwiki group?
Thxs.
Hello everybody,
I'm using a platform I coded ~a year ago to provide an interface handling
chrooted user creation, with secure storage of password and of course file
storage.
I thought it would be a good idea, since I released the code yesterday, to
have a github repo for it.
See
http://extensions.xwiki.org/xwiki/bin/view/Extension/FTP+Wiki+%28File+Trans…
I'm not a real developper so surely the code can be improved.
I'd like to have a repo with the name of application-filetransferplatform ,
is it possible ?
Thanks
Guillaume
hi there, just upgraded to 6.0.1 from 5.4.4 and now experiencing weird
permission behavior, new added users via ldap has no rights to access the
main page, but can create spaces and even edit the main page without being
in any group at all
adding them to a group or giving the user admin rights does not change
anything.
already tried to: having the user isolated in a own group, granting the
user admin rights, CheckProgrammingRights with the admin script,
reinstalling the main ui core extension, but nothing seams to help
there are no users in the allgroup and the allgroup has no permission
active.
adding the user to that group or adding permission to that group did not
change anything...
meanwhile installing the 6.0.1 fresh on a debian to start debugging ...
best regards
Hi,
• description: Bristol Action of Bristol Township near Canandaigua, NY USA. Bristol Action is an unofficial non-profit group working to protect the environment in Bristol Township. We want to create a web site that augments our page on FaceBook. This site will contain information regarding the latest issues regarding High Volume Hydrofracturing, HVHF or ‘Fracking’ in our township and New York State. It will also contain information about alternative energy sources available in our area. Ron Smith will be the technical person as he has developed computer software for over 40 years. We will also have several people (no more than 5) updating content on the site. We would like to use the mywiki community farm to host this web site.
• owner name: smithrond
• wiki name: bristolaction (if this is not available, then usanybristolaction)
Please let me know what else you need to set up a wiki on .myxwiki.org.
Thanks,
Ronald D. Smith
ron.rdssoftware(a)gmail.com
PS: Thanks for your patience.
Ronald D. Smith
rdssoftware(a)frontier.com
ron.rdssoftware(a)icloud.com
ron.rdssoftware(a)gmail.com
Hi
We are trying to develop questionnaires within xwiki.
In order to get clear answers from people we prefer static lists above text
fields which would be more difficult to analyze.
As a approach we start with appWithinMinutes and add attributes of type
static list
Use case 1:
When we want the user to select one of a limited set of options we typical
use radio button as input control.
In edit mode this works fine.
But in collaborative mode this does not work very well for us.
What we mean by collaborative mode?
We have patients discussing the questionnaire with the expert.
Over the internet they both look at the page which holds the questionnaire
already completed by the patient...
But since default XWiki is showing only the value selected discussions
about why the patient chose the one option above the other are too
difficult.
We would like the radiobuttons view in edit mode, but disabled for
modification; especially since in view mode changing the elected option...
Would it be possible to modify the class and add something in the "Custom
Display"?
Is there a useful document on how the custom display option for classes
works?
Use case 2:
Some questions are of the type "How much would you agree"
Then the user can select between totally disagree, somewhat disagree,
neutral, somewhat agree totally agree.
We have now selected a static list with 5 options labeled as above...
But on the internet we often see sliders that can be put in 5 positions
(from left to right or from top to bottom)
Would it be possible to use such sliders via Custom Display. As a base
attribute we would then probably switch from static list to a numeric field
holding the value of the slider.
Same as in use case 1; can we also show the slider disabled in
'collaborative mode'
Many thanks for suggestions or links to documents that describe the 'custom
display'
Gerritjan