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)
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.
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-firing-tp7589872.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
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 $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