Hi,
Whether anyone tried the RealTime Wiki Editor in the following link:
http://extensions.xwiki.org/xwiki/bin/view/Extension/RealTime+Wiki+Editor
After I installed it following the installation procedure, only admin
account can choose to edit with RealTime Wiki Editor. But users only can
Edit the page, cannot choose which editor to use.
So how could it let different accounts edit in real time, hope someone to
solve this inquiry for me. Thanks a lot.
Best regards,
Lawson
My question is about the memory that groovy uses. If I write groovy code and
put it in a web page. Then two people open that web page at the same time,
does the groovy code interact from both instances?
What I am trying to determine is if I put the following code on a page, if
there will be issues?
def observation = Utils.getComponent(ObservationManager.class)
observation.removeListener("Renamer")
def listener = new DocumentRenamer(xwiki, xcontext)
observation.addListener(listener)
…
[View More]The line that removes the listener uses a string. That string matches what
is returned by the getName() of the listener class to identify it. My
concern is that if person A opens the web page, it will create a listener
called "Renamer". Then person B opens the page, the above code would remove
person A listener before adding its listener.
Another way to say it is, Is there one ObservationManager for all pages on
the server or does each page have its own ObservationManager?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Groovy-Is-memory-space-shared-between-pag…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
[View Less]
I put the following in a XWiki.JavaScriptExtension and it doesn't work.
document.observe('xwiki:dom:saved', function() {
alert("Hello");
});
I can see it in my final document. It gets converted to the following.
document.observe("xwiki:dom:saved",function(){alert("Hello")});
But, I never see the Hello alert. This seems pretty simple. Can someone
tell me what I am missing?
--
View this message in context: http://xwiki.475771.n2.nabble.com/xwiki-dom-saved-not-…
[View More]firing-tp7589872.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
[View Less]
Hi guys,
When a user create a new skin, she might have to change the CSS classes
provided by some UI components. But she cannot simply override the class in
her own style.css because uicomponents css are currently called after the
skin in the HTML page.
To fix it, in Flamingo, I currently copy the uicomponents css code into my
style.css, and then modify it. Thanks to LESS, I am able to split my big
CSS file into several LESS files, so the code still looks good. Then, I
remove every calls to $…
[View More]xwiki.ssfx.use('uicomponents/...') in my templates.
But it might not be a good solution to have uicomponents splitted in
different locations like this.
What is your opinion about this?
Thanks,
Louis-Marie
[View Less]
Hi devs,
I'm trying to use an older version of the Maven XAR Plugin, but it seems like the version tag is only a minimum declaration. Since the project is not Java7 yet, the build fails. I tried to set the version in square brackets [${commons.version}] to require a hard version of the extension, but this shows no effect.
<extension>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-tool-xar-handlers</artifactId>
<version>${…
[View More]commons.version}</version>
</extension>
Is there any solution or do I have to upgrade the project to Java7?
Thanks and regards,
Josef
[View Less]
OK, I think this one is going to be easy. I have searched but I cannot find
a solution.
I am trying to check if fields have values when the form is put in edit
mode. If they don't have values, then I want to give it a value which is
the name of the document.
#if ($doc.getValue('processName').trim().length() == 0)
#set($!processName="Bob")
$!request.setParameter('processName', "Bob")
#end
I do not get an error, but "$doc.display('processName')" input box has
nothing in it.
P.…
[View More]S. In this code I just hard coded "Bob". After I get this working, I will
change it to get the document name.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Set-Field-Value-in-Velocity-tp7589829.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
[View Less]
I have a form. I want the title to be changed to a combination of two fields
on the form whenever it is saved. Can someone point me in the right
direction to learn how to accomplish this?
Sorry if this is a newbie question.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Change-Title-On-Save-tp7589667.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of
XWiki 6.0 Milestone 1.
This release is the first release for the 6.x cycle. It introduces the
move to Java 7 as minimum version, a new experimental skin and various
improvements on existing features.
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/ReleaseNotesXWiki60M1
Thanks
-The XWiki dev team
At my location we run a locked-down wiki for our operations manual. With the
new Menu Application when a user was unregistered, the Menu Application
would throw an error on the Login screen. I was able to fix this by editing
Menu.UIExtensionSheet in wiki mode. I changed one line for the horizontal
menu. The vertical menus don't work on any of my wiki servers so I was not
able to fix and test that. (See
http://xwiki.475771.n2.nabble.com/Looking-for-Menu-Application-Bug-Verifica…)
Here is the …
[View More]line I changed:
Old
#set ($menuPanel = "{{menu type=""vertical collapsible open""}}{{include
reference=""$doc.prefixedFullName"" /}}{{/menu}}")
New
#set ($menuPanel = "{{velocity}}
${escapetool.h}panelheader(""$doc.plainTitle"")
{{menu type=""vertical collapsible open""}}{{include
reference=""$doc.prefixedFullName"" /}}{{/menu}}
${escapetool.h}panelfooter()
{{/velocity}}")
I hope this helps someone. :)
--
View this message in context: http://xwiki.475771.n2.nabble.com/Menu-Application-Hide-when-user-doesn-t-h…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
[View Less]