Re: [xwiki-users] XEM Installation Question

2011-07-13 Thread Thomas Mortagne
On Tue, Jul 12, 2011 at 10:05 PM, Ashtar Communications
ashtarcommunicati...@gmail.com wrote:
 I am trying to get XEM installed on my shared hosting provider, and am
 running into some trouble with the MySQL user permissions part.

 The tutorial says:

 
 In order for XEM to be able to create new wikis on demand, you will need to
 give all rights to your database user. For example for MySQL, execute:
 mysql -u root -e grant all privileges on *.* to xwiki@127.0.0.1 identified
 by 'xwiki'
 

 This command does not work when run on my SSH client. I contacted my hosting
 provider to ask whether it was possible to assign admin privileges, and they
 said:

 It is not possible to change privileges for a database user. The database
 uses have the most commonly needed privileges set by default. Instead of
 creating a user as explained in those instructions, you should just be able
 to use provide the user of the database you created through your Hosting
 Control Center.

 Am I right that this response means that XEM will not install correctly,
 despite their assurances that I have commonly needed privileges?

As said in the tutorial, XEM need this right to create new wikis and
only for that. If you can't give it global right then it just mean you
will have to create the database yourself for each wiki before
creating the wiki from the XEM UI, that's all.


 Has anyone had success setting up XEM on a GoDaddy hosting account?  If not,
 it might be time to switch...

 Thank you,

 Aaron Hardy
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XWiki email not working

2011-07-13 Thread goldring, richard
Hi All,
 
I'm still not able to email using Email a wiki page or via the Watch
plugin.
 
I've set up my email server (sendmail) on my Solaris server and set the
appropriate setting in XWiki to talk to it and using the code below (taken
from the XWiki website) to successfully send an email (presumably this uses
the email plugin??) :
 
{{velocity}}
#if($xwiki.hasAccessLevel('admin'))
#if($!{request.action} == 'send_mail'  $!{request.lastname} == '')
  ## Check submission and honey pot.
  #if($!request.recipient != ''  $!request.subject != '')
#set($result = $xwiki.mailsender.sendTextMessage(no-re...@xwiki.com
mailto:no-re...@xwiki.com , $request.recipient, $request.subject,
$!request.message))
#if($result == -1)
{{error}}A problem occurred while sending the mail.{{/error}}
#else
{{info}}Everything went OK.{{/info}}
#end
  #else
{{error}}Please specify at least a recipient and a subject{{/error}}
  #end
#end
 
{{html wiki=true}}
form action= method=post
 input name=action value=send_mail type=hidden /
  ## this is a honey-pot hidden text field hat hopefully robots will not
leave empty
 div class=hidden
 input name=lastname type=text /
 /div
 fieldset
**TO:**br /
   input type=text name=recipient /br /
**SUBJECT:**br /
   input type=text name=subject /br /
**MESSAGE:**br /
   textarea name=message style=width:99%; rows=10Your test message
here./textarea
 /fieldset
 div
   span class=buttonwrapperinput type=submit class=button
value=Send //span
 /div
/form
{{/html}}
#else
{{error}}Oops. Area restricted to Admins, sorry.{{/error}}
#end
{{/velocity}}
 
 
BUT . in my XWiki wiki (I have the latest version) when I select to
email a wiki page and press the Send button nothing seems to happen (I
assume the email dialog should close when you press the Send button and an
email should be sent), also when adding a Watch on the wiki or wiki page and
the page is changed then no email is sent to the user who has put the watch
on the page  does anyone know why the emails aren't getting sent
Having the facility to email a wiki page and to watch wiki pages would
certainly help get more people to use our wiki.
 
Any clues for fixing this would be most appreciated!
 
Thanks.
 
Richard

Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent.  Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Tree navigation like confluence wiki

2011-07-13 Thread Vincent Massol

On Jul 12, 2011, at 10:18 PM, Florian Rhomberg wrote:

 Hello!
 Thank you for your response. I tried this code and it looked quite nide but I 
 have some problems. Do I have to upload any images? 

No but maybe you're using an older version of XE. What you can do is copy/paste 
the code you have in your wiki on the Main.AllDocs page (Tree tab). Just view 
the sources there and copy the content.

 Instead of the + tree symbol I get only a small circle like in creating a 
 list this small o I hope you know what I mean and instead of the folder 
 symbol I get a button and I do not get the search icon. The same is with the 
 subfolders. At the moment I only have tried to display the code in a simple 
 page.
 
 And there is only a last question:
 If I create with this code a navigation element and I open a tree an click on 
 a subpage will the tree remain open after the page is loaded or not?

I don' t think so. You'd need to modify the underlying JS code to do that I 
believe. Unfortunately I don't have much knowledge about this. Maybe someone 
else on this list will know (especially Jean-Vincent since he's the one who 
coded this ;)).

 I would generally suggest that such a navigation element like the confluence 
 wiki tree should be added to xwiki, because xwiki would be perfect to create 
 online helps.

I agree, that's http://jira.xwiki.org/jira/browse/XRENDERING-81

Now we just need one committer/contributor (could be anyone) to send a patch 
for it. I think we're starting to get several requests for this so it's going 
to go up in our collective memory of priorities at some point ;). You can also 
vote for the issue above in JIRA to make it surface vs other issues.

Thanks
-Vincent

 
 Thanks,
 Florian
 
 -Ursprüngliche Nachricht-
 Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von 
 Vincent Massol
 Gesendet: Dienstag, 12. Juli 2011 13:34
 An: XWiki Users
 Betreff: Re: [xwiki-users] Tree navigation like confluence wiki
 
 Also note that we have a tree UI component (the one used in AllDocs's tree 
 tab) but we'd like to make it more easy to reuse, see
 http://jira.xwiki.org/jira/browse/XRENDERING-81
 
 You could also look at 
 http://myxwiki.org/xwiki/bin/view/XWiki/Treeview?viewer=code to see how to 
 use it for now. It's quite easy to do.
 
 Thanks
 -Vincent
 
 On Jul 12, 2011, at 11:54 AM, Jerome Velociter wrote:
 
 Hello Florian,
 
 First I must say I like this navigation UI from confluence, too.
 
 You might also be interested by a prototype of a new tree UI here :
 http://incubator.myxwiki.org/xwiki/bin/view/Sandbox/SpaceTree
 
 Cheers,
 Jerome
 
 On Tue, Jul 12, 2011 at 11:33 AM, Florian Rhomberg  
 florian.rhomb...@nettania.at wrote:
 
 Hello!
 I want to create a treeview navigation element which looks like the 
 left menu on this confluence page:
 http://www.stripesframework.org/display/stripes/Home
 Therefore I created a new navigation element and tried to manipulate 
 the original velocity code of the treeview. It is working but I have 
 two
 problems:
 
 
 -  The main problem is that if I choose a page from a sublevel the
 whole page is reloaded and the sublevel is closed aftwerwards. How 
 can I change this, it is very annoying?
 
 -  The second problem is that the menu is not width enough. After
 some levels the pages are not displayed properly. How can I prevent this?
 
 This is my velocity code:
 
 #panelheader('SpaceTreeMenu')
 
 ## Smartclient
 $xwiki.jsfx.use('js/smartclient/initsc.js', {'forceSkinAction' : 
 true, 'defer' : false})## 
 $xwiki.jsfx.use('js/smartclient/modules/ISC_Core.js', {'defer' : 
 false})## ## TODO: remove this line ## when 
 http://forums.smartclient.com/showthread.php?t=3097 will be fixed 
 $xwiki.jsfx.use('js/smartclient/overwritesc.js', {'defer' : false})## 
 $xwiki.jsfx.use('js/smartclient/modules/ISC_Foundation.js', {'defer' :
 false})##
 $xwiki.jsfx.use('js/smartclient/modules/ISC_Containers.js', {'defer' :
 false})##
 $xwiki.jsfx.use('js/smartclient/modules/ISC_Grids.js', {'defer' : 
 false})## $xwiki.jsfx.use('js/smartclient/modules/ISC_Forms.js', 
 {'defer' : false})## 
 $xwiki.jsfx.use('js/smartclient/modules/ISC_DataBinding.js', {'defer' :
 false})##
 $xwiki.jsfx.use('js/smartclient/skins/Enterprise/load_skin.js', {'defer' :
 false})##
 ## XWikiExplorer
 $xwiki.jsfx.use('js/xwiki/xwikiexplorer/xwikiexplorer.js',
 {'forceSkinAction' : true, 'defer' : false})##
 
 div id=XWEWrapper style=height:300px;/div script 
 type=text/javascript isc.XWETreeGrid.create({
 ID: Treeview,
 // Example of default values:
 // defaultValue: Main.WebHome,
 // defaultValue: main.recentchan...@lquo.gif,
 defaultValue: ,
 htmlElement: XWEWrapper, // Mandatory HTML wrapper.
 matchElement: true, // Make the widget match HTML wrapper size.
 // Example of data sources:
 // dataSource: isc.XWEDataSource.create({}), // dataSource: 
 isc.XWESpaceDataSource.create({ space: Main }),
 dataSource: isc.XWEWikiDataSource.create({}),
 

Re: [xwiki-users] XWiki email not working

2011-07-13 Thread Vincent Massol
Hi,

Maybe it's caused by http://jira.xwiki.org/jira/browse/XE-913?

What exact version of XE are you using?

Thanks
-Vincent

On Jul 8, 2011, at 10:58 AM, goldring, richard wrote:

 Hi,
 
 I've set up my email server (sendmail) on my Solaris server and set the
 appropriate setting in XWiki to talk to it and using the code below (taken
 from the XWiki website) to successfully send an email:
 
 {{velocity}}
 #if($xwiki.hasAccessLevel('admin'))
 #if($!{request.action} == 'send_mail'  $!{request.lastname} == '')
  ## Check submission and honey pot.
  #if($!request.recipient != ''  $!request.subject != '')
#set($result = $xwiki.mailsender.sendTextMessage(no-re...@xwiki.com
 mailto:no-re...@xwiki.com , $request.recipient, $request.subject,
 $!request.message))
#if($result == -1)
{{error}}A problem occurred while sending the mail.{{/error}}
#else
{{info}}Everything went OK.{{/info}}
#end
  #else
{{error}}Please specify at least a recipient and a subject{{/error}}
  #end
 #end
 
 {{html wiki=true}}
 form action= method=post
 input name=action value=send_mail type=hidden /
  ## this is a honey-pot hidden text field hat hopefully robots will not
 leave empty
 div class=hidden
 input name=lastname type=text /
 /div
 fieldset
**TO:**br /
   input type=text name=recipient /br /
**SUBJECT:**br /
   input type=text name=subject /br /
**MESSAGE:**br /
   textarea name=message style=width:99%; rows=10Your test message
 here./textarea
 /fieldset
 div
   span class=buttonwrapperinput type=submit class=button
 value=Send //span
 /div
 /form
 {{/html}}
 #else
 {{error}}Oops. Area restricted to Admins, sorry.{{/error}}
 #end
 {{/velocity}}
 
 
 BUT . in my XWiki wiki (I have the latest version) when I select to
 email a wiki page and press the Send button nothing seems to happen (I
 assume the email dialog should close when you press the Send button and an
 email should be sent), also when adding a Watch on the wiki or wiki page and
 the page is changed then no email is sent to the user who has put the watch
 on the page  does anyone know why the emails aren't getting sent
 Having the facility to email a wiki page and to watch wiki pages would
 certainly help get more people to use our wiki.
 
 Regards,
 
 Richard
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Recently Viewed on Farm

2011-07-13 Thread Vincent Massol
Hi Regan,

On Jul 12, 2011, at 9:06 PM, Regan Gill wrote:

 Hi, 
 
 
 I just got my xwiki on mywiki.org and the recently viewed panel doesn't seem 
 to work. Looking at the code it appears to rely on the stats which are turned 
 off. So is the recently viewed panel just not available on the farm?

Indeed, stats are currently off on the myxwiki farm. 

In the past they were quite resource hungry and we wanted the best performance 
possible on the myxwiki farm. However we've improved them a while back already 
so we might try to turn them on and see how they affect the performance on a 
public wiki (they're quite fine on an internal wiki but they cost more on a 
visible public wiki since they record all pages viewed).

How badly do you need this feature?

Thanks
-Vincent
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [myxwiki] new wiki request

2011-07-13 Thread Vincent Massol
Hi Kurt,

Sorry for the delay. You wiki has been created at
http://kurtkincaid.myxwiki.org/

Enjoy it and please report here any issue or anything not working. Improvement 
ideas are also very welcome.

Thanks
-Vincent on behalf of the xwiki community

On Jun 17, 2011, at 3:22 PM, Kincaid, Kurt wrote:

 Username: KurtKincaid
 Requested Server Name: kurtkincaid
 Usage: Personal documentation, note taking, personal task list/project
 tracking, etc.
 
 Sincerely,
 
 Kurt Kincaid
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki email not working

2011-07-13 Thread goldring, richard
Hi,

I'm using version 2.7.1 of XE.

Regards,

Richard 

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
Vincent Massol
Sent: 13 July 2011 08:30
To: XWiki Users
Subject: Re: [xwiki-users] XWiki email not working

Hi,

Maybe it's caused by http://jira.xwiki.org/jira/browse/XE-913?

What exact version of XE are you using?

Thanks
-Vincent

On Jul 8, 2011, at 10:58 AM, goldring, richard wrote:

 Hi,
 
 I've set up my email server (sendmail) on my Solaris server and set 
 the appropriate setting in XWiki to talk to it and using the code 
 below (taken from the XWiki website) to successfully send an email:
 
 {{velocity}}
 #if($xwiki.hasAccessLevel('admin'))
 #if($!{request.action} == 'send_mail'  $!{request.lastname} == 
 '')  ## Check submission and honey pot.
  #if($!request.recipient != ''  $!request.subject != '')
#set($result = 
 $xwiki.mailsender.sendTextMessage(no-re...@xwiki.com
 mailto:no-re...@xwiki.com , $request.recipient, $request.subject,
 $!request.message))
#if($result == -1)
{{error}}A problem occurred while sending the mail.{{/error}}
#else
{{info}}Everything went OK.{{/info}}
#end
  #else
{{error}}Please specify at least a recipient and a 
 subject{{/error}}  #end #end
 
 {{html wiki=true}}
 form action= method=post
 input name=action value=send_mail type=hidden /  ## this is a 
 honey-pot hidden text field hat hopefully robots will not leave empty 
 div class=hidden input name=lastname type=text / /div 
 fieldset
**TO:**br /
   input type=text name=recipient /br /
**SUBJECT:**br /
   input type=text name=subject /br /
**MESSAGE:**br /
   textarea name=message style=width:99%; rows=10Your test 
 message here./textarea /fieldset div
   span class=buttonwrapperinput type=submit class=button
 value=Send //span
 /div
 /form
 {{/html}}
 #else
 {{error}}Oops. Area restricted to Admins, sorry.{{/error}} #end 
 {{/velocity}}
 
 
 BUT . in my XWiki wiki (I have the latest version) when I select 
 to email a wiki page and press the Send button nothing seems to happen 
 (I assume the email dialog should close when you press the Send button 
 and an email should be sent), also when adding a Watch on the wiki or 
 wiki page and the page is changed then no email is sent to the user 
 who has put the watch on the page  does anyone know why the emails
aren't getting sent
 Having the facility to email a wiki page and to watch wiki pages would 
 certainly help get more people to use our wiki.
 
 Regards,
 
 Richard
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent.  Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Error when deleting a page from wiki

2011-07-13 Thread Andrew Parkinson
Please can anyone help me with my problem below: 

(Apologies if I am going about this request the wrong way, it is the
first time I've used this method - if I am doing something wrong please
advise corrections...)

 

I have a page in a space in my wiki that I cannot delete - this is a
page that the users need not see, and the ?link needs removing to
prevent 'recreating' the page. 

I have tried several ways to remove this but it is persistent.

 

I have tried -

*   Directly deleting the page. [results in the error below - and
leaves the link to the page with a '?' as being ready to create if
clicked]
*   Moving the page to another space e.g. the Sandbox [results in
the page being copied to the sand box, but still leaves the link to the
page with a '?' as being ready to create if clicked]
*   Creating an entirely new space and recreating all the other
pages (not moving them) except the unwanted page, and then deleting the
old space. [results in the deleted space showing with a '?' as being
ready to create if clicked - and there is still reference to the
unwanted page in this old space in the document index]
*   I have checked all permissions and reset them on the unwanted
page/link/space to allow deletion - and I am trying to perform these
actions as Admin. [results in same as above]

 

The error displayed when I delete the page is:

 

Notice

A problem occurred while trying to process your request. Please contact
the webmaster if this happens again.

 

Detailed information:

Error number 0 in 3: Exception while hibernate execute

Wrapped Exception: could not insert:
[com.xpn.xwiki.doc.XWikiDeletedDocument]

com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while
hibernate execute

Wrapped Exception: could not insert:
[com.xpn.xwiki.doc.XWikiDeletedDocument]

at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseSt
ore.java:1040)

at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateB
aseStore.java:1086)

at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWiki
HibernateRecycleBinStore.java:68)

at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3994)

at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3986)

at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5816)

at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5805)

at
com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:85)

at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)

at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)

at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)

at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)

at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)

at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1166)

at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion
Filter.java:152)

at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)

at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)

at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)

at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
68)

at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)

at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:295)

at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)

at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)

at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)

at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)

at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2
16)

at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)

at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:230)

at

Re: [xwiki-users] Tree navigation like confluence wiki

2011-07-13 Thread Jerome Velociter
Florian,

I've copied your code in a page, wrapped in

{{velocity}}
{{html}}
// the code here
{{/html}}
{{/velocity}}

(so in syntax xwiki/2.0) ; and it works fine for me : I have the + and
folder icons appearing properly.

Can you tell us more about your setup ? (XWiki version, app server, is there
a front-end too, etc.)

Jerome

On Tue, Jul 12, 2011 at 10:18 PM, Florian Rhomberg 
florian.rhomb...@nettania.at wrote:

 Hello!
 Thank you for your response. I tried this code and it looked quite nide but
 I have some problems. Do I have to upload any images?
 Instead of the + tree symbol I get only a small circle like in creating a
 list this small o I hope you know what I mean and instead of the folder
 symbol I get a button and I do not get the search icon. The same is with the
 subfolders. At the moment I only have tried to display the code in a simple
 page.

 And there is only a last question:
 If I create with this code a navigation element and I open a tree an click
 on a subpage will the tree remain open after the page is loaded or not?

 I would generally suggest that such a navigation element like the
 confluence wiki tree should be added to xwiki, because xwiki would be
 perfect to create online helps.

 Thanks,
 Florian

 -Ursprüngliche Nachricht-
 Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag
 von Vincent Massol
 Gesendet: Dienstag, 12. Juli 2011 13:34
 An: XWiki Users
 Betreff: Re: [xwiki-users] Tree navigation like confluence wiki

 Also note that we have a tree UI component (the one used in AllDocs's tree
 tab) but we'd like to make it more easy to reuse, see
 http://jira.xwiki.org/jira/browse/XRENDERING-81

 You could also look at
 http://myxwiki.org/xwiki/bin/view/XWiki/Treeview?viewer=code to see how to
 use it for now. It's quite easy to do.

 Thanks
 -Vincent

 On Jul 12, 2011, at 11:54 AM, Jerome Velociter wrote:

  Hello Florian,
 
  First I must say I like this navigation UI from confluence, too.
 
  You might also be interested by a prototype of a new tree UI here :
  http://incubator.myxwiki.org/xwiki/bin/view/Sandbox/SpaceTree
 
  Cheers,
  Jerome
 
  On Tue, Jul 12, 2011 at 11:33 AM, Florian Rhomberg 
  florian.rhomb...@nettania.at wrote:
 
  Hello!
  I want to create a treeview navigation element which looks like the
  left menu on this confluence page:
  http://www.stripesframework.org/display/stripes/Home
  Therefore I created a new navigation element and tried to manipulate
  the original velocity code of the treeview. It is working but I have
  two
  problems:
 
 
  -  The main problem is that if I choose a page from a sublevel
 the
  whole page is reloaded and the sublevel is closed aftwerwards. How
  can I change this, it is very annoying?
 
  -  The second problem is that the menu is not width enough.
 After
  some levels the pages are not displayed properly. How can I prevent
 this?
 
  This is my velocity code:
 
  #panelheader('SpaceTreeMenu')
 
  ## Smartclient
  $xwiki.jsfx.use('js/smartclient/initsc.js', {'forceSkinAction' :
  true, 'defer' : false})##
  $xwiki.jsfx.use('js/smartclient/modules/ISC_Core.js', {'defer' :
  false})## ## TODO: remove this line ## when
  http://forums.smartclient.com/showthread.php?t=3097 will be fixed
  $xwiki.jsfx.use('js/smartclient/overwritesc.js', {'defer' : false})##
  $xwiki.jsfx.use('js/smartclient/modules/ISC_Foundation.js', {'defer' :
  false})##
  $xwiki.jsfx.use('js/smartclient/modules/ISC_Containers.js', {'defer' :
  false})##
  $xwiki.jsfx.use('js/smartclient/modules/ISC_Grids.js', {'defer' :
  false})## $xwiki.jsfx.use('js/smartclient/modules/ISC_Forms.js',
  {'defer' : false})##
 $xwiki.jsfx.use('js/smartclient/modules/ISC_DataBinding.js', {'defer' :
  false})##
  $xwiki.jsfx.use('js/smartclient/skins/Enterprise/load_skin.js', {'defer'
 :
  false})##
  ## XWikiExplorer
  $xwiki.jsfx.use('js/xwiki/xwikiexplorer/xwikiexplorer.js',
  {'forceSkinAction' : true, 'defer' : false})##
 
  div id=XWEWrapper style=height:300px;/div script
  type=text/javascript isc.XWETreeGrid.create({
  ID: Treeview,
  // Example of default values:
  // defaultValue: Main.WebHome,
  // defaultValue: main.recentchan...@lquo.gif,
  defaultValue: ,
  htmlElement: XWEWrapper, // Mandatory HTML wrapper.
  matchElement: true, // Make the widget match HTML wrapper size.
  // Example of data sources:
  // dataSource: isc.XWEDataSource.create({}), // dataSource:
  isc.XWESpaceDataSource.create({ space: Main }),
  dataSource: isc.XWEWikiDataSource.create({}),
  displaySuggest: true, // Display the input at the bottom.
  displayLinks: true, // Node titles are HTML links.
  displayAttachments: true, // Display pages attachments.
  displayAttachmentsOnTop: true // Display attachments before page
 children.
  }).draw();
  /script
 
  #panelfooter()
 
  I hope someone can help me! Thank you!
  Florian
  ___
  users mailing list
  users@xwiki.org
  

Re: [xwiki-users] MindMap Macro : ClassNotFoundException freemind.main.FreeMindApplet.class

2011-07-13 Thread tooms4444
Hello,

I had the very same problem today. The MindMap xar was installed and a
MindMap space appeared, but visualization failed with CNFE until I put the
jar in WEB-INF/lib. Then... xWiki refused to start anymore.
I had to remove the jar in order to fix the tomcat launch.

Precisely, what I did was dowloading freemind-browser-0.9.0.zip, unzipping
it in a new webapps/freemind directory, then creating a *symbolic link* as
webapps/xwiki/WEB-INF/lib/freemind.jar targeting
webapps/freemind/freemindbrowser.jar ; then NPE occured related to log4j
(log4j-1.2.16.jar is present in xwiki libs, but it might not be sufficient
?)

Thanks in advance for any help.

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/MindMap-Macro-ClassNotFoundException-freemind-main-FreeMindApplet-class-tp3573160p6578515.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Is the Logo on the login page changeable?

2011-07-13 Thread Werner Greßhoff

Hello,

customization of skins is a very fine solution for changing page
structures, cause it survives updates. In pre XWiki 3.1 we edited
the global.vm of the colibri skin and our header was shown on all
pages, including the login. In XWiki 3.1 there is no global.vm
(in colibri) anymore and the skin customizing doesn't work on the
login page, so how can we change that page, too?
--
Mit freundlichen Grüßen

Werner Greßhoff
Dezernat 2 - Digitale Dienste
Universitäts- und Landesbibliothek Münster
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Share by email html not showing images

2011-07-13 Thread Ramon Gomes Brandão

 Hi Ramon,

 On Jul 11, 2011, at 3:12 PM, Ramon Gomes Brandão wrote:

 Hi,

 Sorry if this questions are recurrent, but I can't find any references
 on that. When I use the share by email feature on a page that contains
 images, with the page within the email body, the page's images appear
 broken on the html email. How can I fix that?
 That's supposed to work. Please create a jira issue on http://jira.xwiki.org 
 so that we can look into this issue. Thanks!

I've created an issue on JIRA - http://jira.xwiki.org/jira/browse/XE-982

 Another related question: how can I change the way notification emails
 show the changes on a watched page? It's not relevant to my users that
 html formatting info like text align etc are shown in the diff email.
 How can I change this?
 See 
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Watchlist+Application#HAdministrators:CustomizingtheWatchListemailtemplate
Thanks, I'll give a look.

 Thanks
 -Vincent

 I'm using XE 3.1M1.


 Regards,
 -- 

 * *

 * *

 *Ramon Gomes Brandão*

 *//*
Regards,
Ramon Brandão
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Is the Logo on the login page changeable?

2011-07-13 Thread Sergiu Dumitriu
On 07/13/2011 10:22 AM, Werner Greßhoff wrote:
 Hello,

 customization of skins is a very fine solution for changing page
 structures, cause it survives updates. In pre XWiki 3.1 we edited
 the global.vm of the colibri skin and our header was shown on all
 pages, including the login. In XWiki 3.1 there is no global.vm
 (in colibri) anymore and the skin customizing doesn't work on the
 login page, so how can we change that page, too?


You can add a new global.vm file under colibri if you want to. It used 
to be there because colibri needed to override the default one found 
under /webapps/xwiki/templates/, but since now Colibri is the default 
skin, it no longer needs to override anything, the other skins (toucan 
and albatross) have to do the override.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] MindMap Macro : ClassNotFoundException freemind.main.FreeMindApplet.class

2011-07-13 Thread Sergiu Dumitriu
On 07/13/2011 06:36 AM, tooms wrote:
 Hello,

 I had the very same problem today. The MindMap xar was installed and a
 MindMap space appeared, but visualization failed with CNFE until I put the
 jar in WEB-INF/lib. Then... xWiki refused to start anymore.
 I had to remove the jar in order to fix the tomcat launch.

 Precisely, what I did was dowloading freemind-browser-0.9.0.zip, unzipping
 it in a new webapps/freemind directory, then creating a *symbolic link* as
 webapps/xwiki/WEB-INF/lib/freemind.jar targeting
 webapps/freemind/freemindbrowser.jar ; then NPE occured related to log4j
 (log4j-1.2.16.jar is present in xwiki libs, but it might not be sufficient
 ?)

 Thanks in advance for any help.

Can you pastebin the whole exception that you get?

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Is the Logo on the login page changeable?

2011-07-13 Thread Vincent Massol
Hi Werner,

On Jul 13, 2011, at 4:22 PM, Werner Greßhoff wrote:

 Hello,
 
 customization of skins is a very fine solution for changing page
 structures, cause it survives updates. In pre XWiki 3.1 we edited
 the global.vm of the colibri skin and our header was shown on all
 pages, including the login. In XWiki 3.1 there is no global.vm
 (in colibri) anymore

Are you sure about this? I've checked the code and I can see a global.vml. I've 
also logged out of my wiki and I can see the global header being displayed.

Thanks
-Vincent

 and the skin customizing doesn't work on the
 login page, so how can we change that page, too?
 -- 
 Mit freundlichen Grüßen
 
 Werner Greßhoff
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Activity Stream date time format?

2011-07-13 Thread Vincent Massol
Hi Jan,

On Jul 11, 2011, at 8:16 AM, Jan Slegr wrote:

 Hi,
 
 
 
 can be date and time format changed in Activity Stream (XWiki 3.1 used)
 somehow?
 
 
 
 It's displayed as 10 VII, 11:19 by default and it ignores XWiki
 localization date preference and I'd like to change it to something like
 10.7.2011, 11:19. I tried to check Activity Stream code, but have had no
 luck to find the correct place where it can be changed so far.

Indeed you're right, the Activity Stream is wrong and it should use the XWiki 
date format that is configured in the admin.

The code you're looking for is located in the ActivityMacro Object on the 
Main.Activity page
(http://localhost:8080/xwiki/bin/edit/Main/Activity?editor=object):

...
## Formatters
##--
#set ($eventDateFormatter = 'dd MMM, HH:mm')
#set ($eventFullDateFormatter = '/MM/dd HH:mm')
#set ($activityListDateFormatter = 'dd MMM')
...

Would be great if you could create a jira issue for this at 
http://jira.xwiki.org.

Hope it helps,
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Xwiki Enterprise standalone installed, but does not launch.

2011-07-13 Thread Campbell, John
Hi, folks.

 

I’m trying to do some local testing of XWiki Enterprise, because it looks like 
a great resource for me to manage my group’s documentation, but I’m running 
into some issues.

 

I downloaded the Windows executable and installed XE locally (on the C: drive 
of a Windows 7 system), and everything seemed to install correctly. I have the 
start and stop desktop icons.

 

I clicked the start icon and a DOS window flashed open and closed. When I tried 
to open XWiki in my browser at http://localhost:8080/, I received a “This 
webpage is not available” message. I’m not sure if I have a port issue, and I 
didn’t see anything in the users mailing list archives that related to this 
issue. Does this problem sound familiar to anyone, and if so, how can it be 
fixed?

 

Thanks.

_

John Campbell

NOC Technical Writer

WildBlue Communications, Inc.

720.493.6324  ◊  john.campb...@viasat.com mailto:john.campb...@viasat.com 

 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Is the Logo on the login page changeable?

2011-07-13 Thread Werner Greßhoff

Hello Sergiu, hello Vincent,

so I'll customize the global.vm in the templates directory, thanks
for your help!
I still would prefer to customize the skin but there's still the problem
with the login page (which indeed is no problem at all when I change
global.vm). Or is this perhaps a farm problem?

Am 13.07.2011 18:47, schrieb Sergiu Dumitriu:

On 07/13/2011 10:22 AM, Werner Greßhoff wrote:

Hello,

customization of skins is a very fine solution for changing page
structures, cause it survives updates. In pre XWiki 3.1 we edited
the global.vm of the colibri skin and our header was shown on all
pages, including the login. In XWiki 3.1 there is no global.vm
(in colibri) anymore and the skin customizing doesn't work on the
login page, so how can we change that page, too?



You can add a new global.vm file under colibri if you want to. It used
to be there because colibri needed to override the default one found
under /webapps/xwiki/templates/, but since now Colibri is the default
skin, it no longer needs to override anything, the other skins (toucan
and albatross) have to do the override.




--
Mit freundlichen Grüßen

Werner Greßhoff
Dezernat 2 - Digitale Dienste
Universitäts- und Landesbibliothek Münster
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users