Hi Folks,
Looking at extensiility of xwiki, i am looking to make a typical forum
application on top of xwiki. The forum will be basically a discussion forum
where each user will be given user id and password. There will be
pre-defined topics like Realestate,Sale-Purchase,miscellaneous,etc . Each
user can start a thread on any forum and continue the discussion. It would
be a great help , if some can point me to reference project where similar
stuff has been done or
guide me how to start with? Thanks in advance.
I am on Main.AllDocs and I enter '+' into the space field and two documents
show up - try it yourself http://bit.ly/J7oIGU
I don't want these pages or spaces to exist so I press delete. It tells me
the page does not exist when I try this.
> Are you sure there is only one page ? Maybe you have a "WebHome" page
> too in this spaces ? Did you checked with document index ?
>
> How do you delete/access the page ?
>
> On Wed, Apr 18, 2012 at 6:54 PM, Martin Evans <website(a)studenthubs.org>
> wrote:
> > I currently have two spaces, one called "Environment And Sustainability"
> > and the other called "Environment+And+Sustainability". If I try to delete
> > the only page in the erroneous space it says "The requested document
> could
> > not be found". So if the page isn't there, why is the space there?
> >
> > Martin
>
Hello,
Could someone tell me how to start Xwiki so that it listen at a given IP address and port?
The port is passed to the start script (I wish to use a standard 80), but how do I make it to listen at a specified IP only?
Thanks.
Sincerely,
Konstantin
Got is working, Thanks
Dave
2012/4/18 du du <dddu88(a)gmail.com>
> ---------- 转发的消息 ----------
> 发件人:"du du" <dddu88(a)gmail.com>
> 日期:2012-4-18 上午8:06
> 主题:Re: [xwiki-users] [xwiki-devs] xwiki:dom:loaded event callback function
> never got called
> 收件人:"XWiki Users" <users(a)xwiki.org>, "XWiki Developers" <devs(a)xwiki.org>
>
>
> I tried to use wiki="false", or remove //<![CDATA[ and //]]>, still the
> event callback function never get called, any other reason?
>
> Thanks for your response, please help.
>
> Dave
>
>
> On Wed, Apr 18, 2012 at 5:33 AM, Marius Dumitru Florea <
> mariusdumitru.florea(a)xwiki.com> wrote:
>
>> Hi Dave,
>>
>> On Wed, Apr 18, 2012 at 6:43 AM, du du <dddu88(a)gmail.com> wrote:
>> > Hi all,
>> >
>> > I have the following velocity code in xwiki page, I can see the fid and
>> > fname values when I retrieve entryobj from the server side, so I want to
>> > use javascript to add the fid and fname to image link node as
>> parameters of
>> > the href url. the problem is the javascript loaded event function never
>> got
>> > called, why?
>> >
>> > Thanks very much.
>> >
>> > Dave
>> >
>> > {{velocity filter="none"}}
>> > {{html clean="false" wiki="true"}}
>> > <script type="text/javascript">
>>
>> > //<![CDATA[
>>
>> wiki="true" causes // to generate an EM HTML tag. Just look at the
>> page HTML source (all browsers have this option) and you'll see that
>> your SCRIPT tag is messed up.
>>
>> My advice is to:
>>
>> * use a JavaScript extension (
>>
>> http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial#HM…
>> ) instead of in-line SCRIPT tag
>> * try to avoid HTML macro with wiki="true" or, if it's not possible,
>> try to reduce as much as possible its content, i.e. wrap only the code
>> that really needs it.
>>
>> Hope this helps,
>> Marius
>>
>> > document.observe("xwiki:dom:loaded", function(){
>> > var imageNode = document.getElementById('tmViewImages');
>> > var url = imageNode.href;
>> > var index = url.indexOf("?");
>> > if(index!=-1)
>> > url = url.substring(0,index-1);
>> > url=url+"?FID=$!fid&FName=$!fname";
>> > imageNode.href=url;
>> >
>> > //]]>
>> > </script>
>> >
>> > #getEntryItemObject($doc $entryObj)
>> >
>> > #if("$!entryObj" == '')
>> > #warning($msg.get('xe.blog.sheet.notpost'))
>> > ## Keep testing the inline action for backward compatibility with older
>> > blog posts.
>> > #elseif($xcontext.action != 'edit' && $xcontext.action != 'inline')
>> > ## View mode
>> >
>> > #set($fid=$entryObj.getProperty('FID').value)
>> > #set($fname=$entryObj.getProperty('FName').value)
>> > fid view: $fid
>> > fname view: $fname
>> > _______________________________________________
>> > devs mailing list
>> > devs(a)xwiki.org
>> > http://lists.xwiki.org/mailman/listinfo/devs
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
Hi, All,
I got a lot of prototype problems as following which cause all the menus at
the top are not functional correctly, when I use mouse highlight each menu,
there are no sub menu items shown up. Such as Export, the Export as PDF and
others do not show up.
Sys is not defined
}else{H.attachEvent("on"+E,F)
prototype.js (line 2172)
H.attachEvent is not a function
}else{H.attachEvent("on"+E,F)
prototype.js (line 2172)
H.attachEvent is not a function
}else{H.attachEvent("ondataavailable",F);
prototype.js (line 2168)
H.attachEvent is not a function
}else{H.attachEvent("ondataavailable",F);
prototype.js (line 2168)
H.attachEvent is not a function
I am using jquery like this:
$xwiki.ssfx.use('JScripts/jQuery/slickgrid/css/smoothness/jquery-ui-1.8.16.custom.css',
{'forceSkinAction' : true, 'language' : $context.language})
$xwiki.ssfx.use('JScripts/jQuery/slickgrid/examples.css',
{'forceSkinAction' : true, 'language' : $context.language})
$xwiki.ssfx.use('JScripts/jQuery/slickgrid/jGrid_style.css',
{'forceSkinAction' : true, 'language' : $context.language})
$xwiki.ssfx.use('JScripts/jQuery/slickgrid/slick.grid.css',
{'forceSkinAction' : true, 'language' : $context.language})
<script type="text/javascript" src="/xwikim/bin/skin/resources/
JScripts/jQuery/slickgrid/lib/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="/xwikim/bin/skin/resources/
JScripts/jQuery/slickgrid/lib/jquery.event.drag-2.0.min.js"></script>
<script type="text/javascript" src="/xwikim/bin/skin/resources/
JScripts/jQuery/slickgrid/slick.core.js"></script>
<script type="text/javascript" src="/xwikim/bin/skin/resources/
JScripts/jQuery/slickgrid/slick.editors.js"></script>
<script type="text/javascript" src="/xwikim/bin/skin/resources/
JScripts/jQuery/slickgrid/slick.grid.js"></script>
<script type="text/javascript" src="/xwikim/bin/skin/resources/
JScripts/jQuery/slickgrid/slick.formatters.js"></script>
<script type="text/javascript" src="/xwikim/bin/skin/resources/
JScripts/jQuery/slickgrid/slick.dataview.js"></script>
<script type="text/javascript"
src="/xwikim/bin/skin/resources/JScripts/jGrid.js"></script>
Does anybody have a clue why I go these kind of errors?
Thanks
Dave
Hi,
On Apr 18, 2012, at 4:24 PM, Moritz Hesse (EA GmbH) wrote:
>> you can use the "rename" feature to change the page name.
>>
>> Right now, to change the page title you have to switch to "advanced" mode
>> in your user profile and edit the page in wiki mode.
>
> Funny thing: the title field is empty in wiki editing mode. This is what
> wonders me a little. And furthermore: Can I separately change name and title
> (what would be extremely helpful in my case…).
You can check http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HTitleBehavior
Thanks
-Vincent
Hi,
I would like to provide feedback regarding the Wiki Enterprise 3.5 and
4.0-RC-1 Windows EXE Installer.
I used the Wiki Enterprise 3.5 Windows EXE Installer on Windows 7 in
English. After the install screen, the NEXT button is frozen. I am
able to click on the PREVIOUS button, and that appears to re-install.
Before going through all the steps, with the PREVIOUS button leading
to re-installing, and NEXT not working, I have to click QUIT. The
software however is installed correctly.
When I try and investigate what's happening, I try >java -jar
xwiki-enterprise-installer-windows-3.5.exe, I encounter an exception
with the inactive NEXT button.
I have tried using the installer for 4.0-RC-1 and encounter the same problem.
>java -jar xwiki-enterprise-installer-windows-3.5.exe
could not create shortcut instance
java.lang.Exception: error loading library
java.lang.Exception: can't locate library
at com.izforge.izpack.util.Librarian.loadArchSpecificLibrary(Unknown
Source)
at com.izforge.izpack.util.Librarian.loadLibrary(Unknown Source)
at com.izforge.izpack.util.os.ShellLink.initialize(Unknown Source)
at com.izforge.izpack.util.os.ShellLink.<init>(Unknown Source)
at com.izforge.izpack.util.os.Win_Shortcut.initialize(Unknown Source)
at com.izforge.izpack.panels.ShortcutPanel.panelActivate(Unknown Source)
at com.izforge.izpack.installer.InstallerFrame.switchPanel(Unknown
Source)
at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown
Source)
at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown
Source)
at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionPerformed(Unknown
Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
java.lang.NullPointerException
at com.izforge.izpack.util.os.Win_Shortcut.getProgramsFolder(Unknown
Source)
at com.izforge.izpack.panels.ShortcutPanel.getProgramsFolder(Unknown
Source)
at com.izforge.izpack.panels.ShortcutPanel.panelActivate(Unknown Source)
at com.izforge.izpack.installer.InstallerFrame.switchPanel(Unknown
Source)
at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown
Source)
at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown
Source)
at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionPerformed(Unknown
Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Regards,
Quang
Hi Moritz,
you can use the "rename" feature to change the page name.
Right now, to change the page title you have to switch to "advanced" mode
in your user profile and edit the page in wiki mode.
There is a JIRA issue in order to display the "title" field by default when
editing a page created with AppWithinMinutes, but it has not been
implemented yet.
Guillaume
On Tue, Apr 17, 2012 at 18:06, Moritz Hesse (EA GmbH) <
moritz.hesse(a)ea-gmbh.de> wrote:
> > * page name is the page name used in the URL to the page
> > * title is how the page is displayed in the UI.
>
> That makes sense. But anyway: How do I change them?
>
> Bests,
> Moritz
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Hi all,
I have the following velocity code in xwiki page, I can see the fid and
fname values when I retrieve entryobj from the server side, so I want to
use javascript to add the fid and fname to image link node as parameters of
the href url. the problem is the javascript loaded event function never got
called, why?
Thanks very much.
Dave
{{velocity filter="none"}}
{{html clean="false" wiki="true"}}
<script type="text/javascript">
//<![CDATA[
document.observe("xwiki:dom:loaded", function(){
var imageNode = document.getElementById('tmViewImages');
var url = imageNode.href;
var index = url.indexOf("?");
if(index!=-1)
url = url.substring(0,index-1);
url=url+"?FID=$!fid&FName=$!fname";
imageNode.href=url;
//]]>
</script>
#getEntryItemObject($doc $entryObj)
#if("$!entryObj" == '')
#warning($msg.get('xe.blog.sheet.notpost'))
## Keep testing the inline action for backward compatibility with older
blog posts.
#elseif($xcontext.action != 'edit' && $xcontext.action != 'inline')
## View mode
#set($fid=$entryObj.getProperty('FID').value)
#set($fname=$entryObj.getProperty('FName').value)
fid view: $fid
fname view: $fname
Hi,
How can I register a java event listener against a space created event? I
would need this to add some stuff to another database everytime a new space
was created.
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/On-Space-Created-Event-tp7473505p7473505.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I have a Admin user account with my wiki setup, starting some time ago,
when I login, I type Admin, then type admin password, the Admin user name
field automatically turns into admin, which has lower case "a", that means
different user account, which is not Administrator account, I have no way
to login as Administrator, I have to use firebug debugger to open the
underline html field and put Admin as the value to login.
Any way to fix this?
Thanks
Dave
Is it possible to use script variables inside PlantUML macro?
I tried:
{{velocity}}
{{plantuml}}
...
{{/plantuml}}
{{velocity}}
but this method doezn't work. Maybe existing another solution?
--
Thanks beforehand
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/script-variables-inside-PlantUML-macro-tp…
Sent from the XWiki- Users mailing list archive at Nabble.com.
On Apr 17, 2012, at 6:06 PM, Moritz Hesse (EA GmbH) wrote:
>> * page name is the page name used in the URL to the page
>> * title is how the page is displayed in the UI.
>
> That makes sense. But anyway: How do I change them?
See http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HTitleBehavior
Thanks
-Vincent
Hi,
On Apr 17, 2012, at 4:25 PM, Moritz Hesse (EA GmbH) wrote:
> How can I rename items in my applications? I can only modify all the values
> of my specified fields but not the name or title of the items.
>
> Thx + kind regards,
> Moritz
>
> By the way: What is the difference between the page title and the page name?
> They appear to be the same in my applications.
* page name is the page name used in the URL to the page
* title is how the page is displayed in the UI.
-Vincent
How can I rename items in my applications? I can only modify all the values
of my specified fields but not the name or title of the items.
Thx + kind regards,
Moritz
By the way: What is the difference between the page title and the page name?
They appear to be the same in my applications.
On 04/17/12 10:50, Moritz Hesse (EA GmbH) wrote:
> Detailed information:
> Error number 0 in 11: Uncaught exception
> Wrapped Exception: Java heap space
> com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
> Wrapped Exception: Java heap space
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:254)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> at
> org.apache
You have to increase amount of RAM for your JVM process.
See
http://www.xwiki.org/xwiki/bin/view/FAQ/HowToSolveAJavaHeapMemoryError
If you have a big .xar to import, you may have to:
* export your source wiki space-by-space (see
http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+Export+By+Space+…)
* split your .xar manually (unzip/edit packages.xml/zip part of dirs -
risky if you have weird page names)
* use some BIG machine (I've used EC2 High-Memory instance)
Cheers,
R.
Hi,
after upgrading to 3.5 the Admin lost its ability to change the
WebPreferences like "showcomment".
In the "Administration: Page Elements" - Section only a Save Button is
shown, but the elements are not editable.
Any suggestions?
Thanks, Stefan.
Hi - I'm trying to add a checkbox to the account registration form (XWiki Enterprise 3.5). I can add the field so it renders on the form:
##
## The terms of service agreement, checking.
#set($field =
{'name' : 'tos_agree',
'label' : '<hr />I have read and agree to the above terms of use.',
'params': {
'type' : 'checkbox'
}
})
#set($discard = $fields.add($field))
However, I would like to validate that the checkbox has been checked before allowing the registration to take place. I do not need to store the checkbox value in the user objects. I've tried several validation variations based upon the examples in the registration code and other places, but nothing has worked, so I thought I would turn to the community for some help.
Thanks in advance!
-Andrew
City of New York
I'm playing around with dynamically extracting YouTube's captions into a
XWiki document via my macro
http://m.nielsmayer.com/bin/view/Macros/YouTubeCaptioner
Examples:
http://m.nielsmayer.com/bin/view/Sandbox/Google+Talk%3A+Mindfulness+with+Jo…http://m.nielsmayer.com/bin/view/Sandbox/XWiki+-+the+french+open+source+cou…http://m.nielsmayer.com/bin/view/Macros/YouTubeCaptioner_Test (Steve Jobs
Stanford Commencement Address)
An interesting possibility entailed by the above approach is that XWiki's
annotation system can be used to annotate the extracted deep-links to the
video. Unfortunately, in the first two examples, when annotations are
turned on, the video display disappears.
Any suggestions on having both annotations and YouTube's video player on
the same document at the same time? Seems as if the page gets redisplayed
when annotations get turned on, but the YouTube-suggested "hook" to create
the player out of JavaScript doesn't get called. I changed YouTube's code
to load the YouTube javascript out of XWiki as suggested by
http://platform.xwiki.org/xwiki/bin/view/DevGuide/JavaScriptAPI#HDOMEvents2…,
but it didn't help.
Here's my code for the macro YouTubeCaptioner:
---------------------------------
{{velocity}}
{{html}}
<div id="ytplayer"></div>
<script type="text/javascript">
// Load the IFrame Player API code asynchronously. If you load the iframe
// the normal way (
//
http://developers.google.com/youtube/player_parameters#Manual_IFrame_Embeds)
// you get cross-domain-error attempting to retrieve the YouTube player
object
// in JavaScript from parent frame that is in different domain. Some
browsers
// seem stricter than others in enforcing this potential security
exploit, but
// Chrome will definitely prevent it. Instead, must create the player in
// JavaScript (
//
http://developers.google.com/youtube/player_parameters#IFrame_Player_API )
// so that the caption links in the Groovy section below can reference the
// YouTube embedded player as 'player'
//
// NPM: augmented original YouTube suggested init with suggestion from
//
http://platform.xwiki.org/xwiki/bin/view/DevGuide/JavaScriptAPI#HDOMEvents2…
// in the hopes that annotations will display at same time as video
player.
function youtube_init() {
var tag = document.createElement('script');
tag.src = "https://www.youtube.com/player_api";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
}
(XWiki && XWiki.domIsLoaded && init()) ||
document.observe("xwiki:dom:loaded", youtube_init);
// Replace the 'ytplayer' element with an <iframe> and
// YouTube player after the API code downloads.
var player;
function onYouTubePlayerAPIReady() {
player = new YT.Player('ytplayer', {
height: '390',
width: '90%',
videoId: '${xcontext.macro.params.videoId}', //pass in videoID
parameter of macro
cc: '1' //force closed
captions display
});
}
</script>
{{/html}}
##
## Make Groovy-generated HTML Table filterable and sortable in browser via
JavaScript
## http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HTables
##
$xwiki.ssfx.use("js/xwiki/table/table.css")
$xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true)
{{/velocity}}
{{groovy}}
import org.apache.commons.lang.StringEscapeUtils;
def url = ("http://www.youtube.com/api/timedtext?v="
+ xcontext.macro.params.videoId //pass in videoID parameter
of macro
+ (xcontext.macro.params.ttOptions ?
xcontext.macro.params.ttOptions : "")
+ "&format=1&lang=en"
).toURL().text;
def root = new XmlSlurper().parseText(url);
println "(% class='grid filterable doOddEven' id='tableid' %)";
println "|=Caption|=Start Time|=Duration";
root.children().each() {
def dec = it.text().replace("\n", " ").replace(">>", "\n####");
//remove linebreaks embedded in captions
dec = StringEscapeUtils.unescapeXml(dec);
println
"|[[{{{${dec}}}}>>path:javascript:player.seekTo(${it.attributes().start},
true);]]|${it.attributes().start}|${it.attributes().dur}";
}
{{/groovy}}
---------------------------------
Also, I've noticed that when selecting items in a table for annotation, you
have to select the entire table-row, in order for the selection to be
displayed successfully. Is this a general feature of XWiki's annotations or
a specific problem caused by my examples, which annotate dynamically
generated content.
-- Niels
http://m.nielsmayer.com <-- my new http://Jelastic.com cloud-hosted XWiki
Hi All,
2 questions regarding the printing of pages:
1. is it possible to "force" a page break for printouts of Wiki-pages to make sure, that a certain amount of information is on 1 page?
2. is it possible to repeat part of a wiki-table (caption)automatically on each page?
I need to use those as a middle step before moving to xwiki completely regarding Quality-related documents..
Thanks,
Sebastian
--
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
I'm wondering if I ran into a bug or I just don't understand the
methods very well for Livetable macro. When I order with
'selectedColumn', all pages without a value for that property
disappear from the results.
See the example below, but I've tried various types of properties.
{{velocity}}
#set($columns = ["doc.name", "_Deadline"])
#set($options = {
"className":"App.DemoClass",
"selectedColumn": "_Deadline"
})
#livetable("bydeadline" $columns $columnsProperties $options)
{{/velocity}}
Thanks for your ideas!
I tested the new hidden documents feature in xwiki 4.0RC1. I do not see
any impact of the "Hidden document" flag.
I can see hidden documents as unregistered user and also as user with
user preferences "Display hidden documents" set to "No".
Changes on the hidden document are visible in the activity stream for
such users.
Is it working?
Hi,
I have just upgraded our XWiki 3.1 to the current 3.5 version.
When trying to import into the main wiki the default pages XAR (xwiki-enterprise-ui-all-3.5.xar - from which I had removed the appropriate pages and updated the package.xml) from the Administration: Import page, I chose the file and hit upload and nothing happens.
I have tried a number of times and the result is the same.
Trying to find out what is wrong I looked at the tomcat logs and My catalina.out file is full of hundreds of errors and warnings similar to the following:
Has anyone any idea what is going on or what I might try next??
==================================================================================================================================
…
2012-04-12 14:44:25,836 [http://<my server name>/bin/import/XWiki/XWikiPreferences?editor=globaladmin§ion=Import] WARN c.x.x.w.XWikiMessageTool - The document [MindMap.Translations] is listed as an internationalization document bundle but it does not exist.
…
2012-04-12 14:44:26,462 [Lucene Index Rebuilder] WARN c.x.x.w.XWikiMessageTool - The document [MindMap.Translations] is listed as an internationalization document bundle but it does not exist.
…
[http://<my server name>/favicon.ico] WARN c.x.x.w.XWikiMessageTool - The document [MindMap.Translations] is listed as an internationalization document bundle but it does not exist.
…
2012-04-12 14:44:30,794 [New I/O client worker #229-1] WARN h.c.p.n.NettyAsyncHttpProvider - Unexpected error on close
java.lang.IllegalStateException: An Executor cannot be shut down from the thread acquired from itself. Please make sure you are not calling releaseExternalResources() from an I/O worker thread.
…
2012-04-12 14:45:05,762 [http://<my server name>/xwiki/bin/import/XWiki/Import?editor=globaladmin§ion=Import] ERROR o.i.j.JmxUtil - ISPN000034: There's already an cache manager instance registered under 'org.infinispan' JMX domain. If you want to allow multiple instances configured with same JMX domain enable 'allowDuplicateDomains' attribute in 'globalJmxStatistics' config element
…
2012-04-12 14:45:05,768 [http://<my server name>/xwiki/bin/import/XWiki/Import?editor=globaladmin§ion=Import] ERROR c.x.x.w.XWikiAction - Uncaught exception during XWiki initialisation:
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Failed to get cache factory component
…
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [justicepump], type = [WIKI], parent = [null]]]]
Wrapped Exception: Error number 3202 in 3: Exception while reading document [name = [XWikiGlobalRights], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [justicepump], type = [WIKI], parent = [null]]]]
Wrapped Exception: a different object with the same identifier value was already associated with the session: [com.xpn.xwiki.doc.XWikiDocument#981637980]
...
2012-04-12 15:46:25,496 [http://<my server name>/bin/view/Main/] WARN o.i.m.DefaultCacheManager - ISPN000156: You are not starting all your caches at the same time. This can lead to problems as asymmetric clusters are not supported, see ISPN-658. We recommend using EmbeddedCacheManager.startCaches() to start all your caches upfront.
…
2012-04-12 15:47:07,816 [Lucene Index Updater] WARN c.x.x.p.l.AttachmentData - error getting content of attachment [cat2.jpg] for document [name = [LightboxMacro], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]]
org.apache.tika.exception.TikaException: Can't read JPEG metadata
...
==================================================================================================================================
Has anyone any idea what is going on or what I might try next??
Thanks for any insight you might have,
Tim
18-20. April http://www.medetel.luwww.medetel.lu in Luxembourg
THE INTERNATIONAL eHEALTH, TELEMEDICINE AND HEALTH ICT FORUM For Education,
Networking and Business
Will anybody from the XWiki community be there?
I will be there, send me a mail if you are interested to meet and discuss
XWiki there.
Volker from Oslo. XWiki ((at)) radiology.no.
--
View this message in context: http://xwiki.475771.n2.nabble.com/18-20-april-THE-INTERNATIONAL-eHEALTH-TEL…
Sent from the XWiki- Users mailing list archive at Nabble.com.