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.