Re: [xwiki-users] tab characters in editor

2008-11-05 Thread Mike A.
1. No.
2. No way it should be a different character.
3. Maybe it could be configurable. So if a user wants such
functionality, he will be informed about JavaScript. Besides that,
from W3C statistics, 95% users have JavaScript enabled. Anyway, if the
user has it disabled, he will get his default tab action :)
 Quoting Marius Dumitru Florea : Thomas Mortagne wrote:
  Hi,
  
  On Tue, Nov 4, 2008 at 7:33 PM, Regan Gill  wrote:
  Hi,
 
  I have set up xwiki for my company's wiki. One complaint I am
getting a
  lot from users is that the tab key doesn't insert a tab when
editing,
  instead it works like a form and moves the focus. Is there a good
reason
  for this or just something no one got around to implementing?
  
  If you are using Firefox, I think it's the default behavior of
this
  browser (when IE insert a tab character) in an input field.
  
  Now, maybe we can catch the tab key event in some way... but I
will
  let more WYSIWYG experienced guys answer for this ;)
 It can be done. From JavaScript we can prevent the default behavior
of 
 the browser and add our own logic. But then we would have to ask
more 
 questions:
 * do all the users expect the tab to indent?
 * which character should be used? space or real tab. If space, how
many?
 * what if the JavaScript is disabled?
 Regards,
 Marius
  
  Thanks,
  Regan
  ___
  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
 Best regards, Mike

Links:
--
[1] mailto:[EMAIL PROTECTED]
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Recent changes in What's new

2008-11-17 Thread Mike A.
Hi!
In recent changes, we've got a lot of changes like username in XWiki
 2008 Nov 11 at 11:49 User Name  . It's created when the users logs
in (authentication is using LDAP). So, any way to disable these kind
of changes from showing in What's new?
 Best regards, Mike
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't log on in Internet Explorer

2008-12-19 Thread Mike A.
In xwiki.cfg, have you specified the login name name (bind_dn) as
domainusername (in xwiki.cfg it would be domain\{0})?
Firefox can authentificate using only username, but IE needs to
specify domain also.
 Quoting Nick Watts : I have XWiki 1.6.1.13621 installed on Tomcat
6.0.18.  I am having some
 problems logging in when using IE 7.  I'm putting in what I know is
a valid
 username and password, but after submitting the login form I am
brought back
 to the login screen.  I found a closed issue in Jira that may be the
same
 problem I'm running into
(http://jira.xwiki.org/jira/browse/XWIKI-2211).  I
 have never had a problem with Firefox or Safari, only IE.  Something
to add
 to the mix though is that I was able to login with IE from within
the LAN
 where XWiki is installed using my work laptop.  If I try to login
with IE on
 the same laptop, but across the Internet, the login fails.  Does
anyone have
 any insight into this problem?
 -- 
 Nick Watts
 blog: thewonggei.wordpress.com
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Best regards, Mike

Links:
--
[1] mailto:nick.a.wa...@gmail.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Out of memory

2009-01-06 Thread Mike A.
Hi!
Using XWiki 1.6.1.13621 for some time without any problems. Today, I
can't delete a page (which contains just few lines of text) or add /
delete an attachment (4.3mb) with Java Heap Space error (see below). 
XWiki max upload size = ~32mb
MySQL max_allowed_packet = 64M
In tomcat5.5, java max heap size = 128M.
Any help?
-
  Error number 11014 in 11: Out Of Memory Exception
com.xpn.xwiki.XWikiException: Error number 11014 in 11: Out Of Memory
Exception
 at
com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2738)
 at
com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2716)
 at
com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72)
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
 at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
 at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
 at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
 at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
 at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
 at java.lang.Thread.run(Thread.java:619)

 Best regards, Mike
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] xwiki backup/restore

2009-01-06 Thread Mike A.
Hi!
Maybe you can try split xar in smaller packages (it's pretty editable
as it is an archive). Some time ago we did that, but we just removed
the contanet we didn't need, so I don't know if it can be actually
splitted.
 Quoting James Chen : Hi Everyone,
 We have a very old version of xwiki installed on a linuxbox, by a
previous
 admin who installed it manually with mysql and tomcat. I've
installed the
 latest version of xwiki (1.7) onto another box using the standalone
 installer, and I'm trying to import all the xwiki pages from the old
box to
 the new one. From what I've read, the standalone installer uses its
own
 hypersonic sql, and I'm having trouble figuring out if and how I can
import
 the old files to the new one. Is there a way to consolidate a mysql
dump to
 a hypersonic database? I've also tried exporting the XAR file from
the old
 xwiki and importing into the new one through the web interface, but
I'm
 getting a max_uploadsize error (I've already tried changing the
limit in the
 Preference class editor, but it still gives me the same error).
 I've been stuck a while, and I feel like I've run out of options.
Does
 anyone have any suggestions?
 Thanks,
 James
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Best regards, Mike

Links:
--
[1] mailto:jlc...@lbl.gov
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] xwiki backup/restore

2009-01-06 Thread Mike A.
Ok, I've increased tomcat memory to 256M, and added an attachment
(4mb) successfully. But I still cannot delete a page.
 Quoting Mike A. : Hi!
 Maybe you can try split xar in smaller packages (it's pretty
editable
 as it is an archive). Some time ago we did that, but we just
removed
 the contanet we didn't need, so I don't know if it can be actually
 splitted.
 Quoting James Chen : Hi Everyone,
 We have a very old version of xwiki installed on a linuxbox, by a
 previous
 admin who installed it manually with mysql and tomcat. I've
 installed the
 latest version of xwiki (1.7) onto another box using the standalone
 installer, and I'm trying to import all the xwiki pages from the
old
 box to
 the new one. From what I've read, the standalone installer uses its
 own
 hypersonic sql, and I'm having trouble figuring out if and how I
can
 import
 the old files to the new one. Is there a way to consolidate a mysql
 dump to
 a hypersonic database? I've also tried exporting the XAR file from
 the old
 xwiki and importing into the new one through the web interface, but
 I'm
 getting a max_uploadsize error (I've already tried changing the
 limit in the
 Preference class editor, but it still gives me the same error).
 I've been stuck a while, and I feel like I've run out of options.
 Does
 anyone have any suggestions?
 Thanks,
 James
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Best regards, Mike
 Links:
 --
 [1] mailto:jlc...@lbl.gov
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Best regards, Mike

Links:
--
[1] mailto:_m...@inbox.lv
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Out of memory

2009-01-07 Thread Mike A.
Solved. 
When I've changed tomcat memory size and restarted it, the still wasn't able to 
be 
deleted (Out of Memory). 
Today, I've restarted tomcat again and now it worked ok (page deletion, 
attachment 
addition).

Quoting Sergiu Dumitriu ser...@xwiki.com:
 Mike A. wrote:
  Ok, I've increased tomcat memory to 256M, and added an attachment
  (4mb) successfully. But I still cannot delete a page.
 
 What is the error you get? Still OutOfMemory?
 
   Quoting Mike A. : Hi!
   Maybe you can try split xar in smaller packages (it's pretty
  editable
   as it is an archive). Some time ago we did that, but we just
  removed
   the contanet we didn't need, so I don't know if it can be actually
   splitted.
   Quoting James Chen : Hi Everyone,
   We have a very old version of xwiki installed on a linuxbox, by a
   previous
   admin who installed it manually with mysql and tomcat. I've
   installed the
   latest version of xwiki (1.7) onto another box using the
 standalone
   installer, and I'm trying to import all the xwiki pages from the
  old
   box to
   the new one. From what I've read, the standalone installer uses
 its
   own
   hypersonic sql, and I'm having trouble figuring out if and how I
  can
   import
   the old files to the new one. Is there a way to consolidate a
 mysql
   dump to
   a hypersonic database? I've also tried exporting the XAR file from
   the old
   xwiki and importing into the new one through the web interface,
 but
   I'm
   getting a max_uploadsize error (I've already tried changing the
   limit in the
   Preference class editor, but it still gives me the same error).
   I've been stuck a while, and I feel like I've run out of options.
   Does
   anyone have any suggestions?
   Thanks,
   James
 
 
 -- 
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


Best regards, Mike

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


[xwiki-users] Visio diagram / map

2009-01-16 Thread Mike A.
Hi!

Is it possible to import a Visio diagram (with links) into XWiki page? I mean 
the 
functionality like in Sharepoint: you save the diagram as a web page and then 
import 
it. 

Best regards, Mike

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


[xwiki-users] Inline forms

2009-01-22 Thread Mike A.
Hi!
How can I edit inline form structure? For now, each inline form (Edit
- Inline) is created as table and I, for example, want to change how
it's displayed.
 Best regards, Mike
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Inline forms

2009-01-22 Thread Mike A.
Thanks!
 Quoting Guillaume Lerouge : You need to edit your class'
ClassSheet.
 Edit the page you're looking at in wiki mode. Look for something
like
 #includeTopic(Space.SomethingClassSheet)
 On the right of the page, click on  edit included document
 Space.SomethingClassSheet 
 Using HTML, CSS  Velocity you can now change the contents of the
ClassSheet
 that defines how items from that class will be displayed in inline
view.
 Hope this helps,
 Guillaume
 On Thu, Jan 22, 2009 at 12:34 PM, Mike A.  wrote:
  Hi!
  How can I edit inline form structure? For now, each inline form
(Edit
  - Inline) is created as table and I, for example, want to change
how
  it's displayed.
   Best regards, Mike
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 -- 
 Guillaume Lerouge
 Product Manager - XWiki
 Skype ID : wikibc
 http://guillaumelerouge.com/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Best regards, Mike

Links:
--
[1] mailto:guilla...@xwiki.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] New macros not loaded

2009-01-22 Thread Mike A.
Hi!
I've created some simple macros (for html otput), but they are not
loaded after I restart tomcat (5.5). Old macros work fine, but the new
are just rendered as a text.
Tomcat log contains one error, don't know if it's the reason macros
don't work:
--
INFO: Pausing Coyote HTTP/1.1 on http-8180
Jan 22, 2009 3:08:48 PM org.apache.catalina.connector.Connector
pause
SEVERE: Protocol handler pause failed
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.(Socket.java:366)
at java.net.Socket.(Socket.java:209)
at
org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:492)
at
org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:289)
at org.apache.jk.server.JkMain.pause(JkMain.java:681)
at
org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:163)
at
org.apache.catalina.connector.Connector.pause(Connector.java:1032)
at
org.apache.catalina.core.StandardService.stop(StandardService.java:489)
at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
at
org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.catalina.startup.Bootstrap.stop(Bootstrap.java:307)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.commons.daemon.support.DaemonLoader.stop(DaemonLoader.java:200)
--
 Best regards, Mike
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] New macros not loaded

2009-01-22 Thread Mike A.
It's Velocity.
For example,
#macro(test)
This works!
#end
 Quoting Thomas Mortagne : Hi,
 On Thu, Jan 22, 2009 at 2:22 PM, Mike A.  wrote:
  Hi!
  I've created some simple macros (for html otput), but they are
not
  loaded after I restart tomcat (5.5). Old macros work fine, but the
new
  are just rendered as a text.
 What do you mean by new macro ? Is it Velocity, Radeox or XWiki 2.0
macro ?
  Tomcat log contains one error, don't know if it's the reason
macros
  don't work:
  --
  INFO: Pausing Coyote HTTP/1.1 on http-8180
  Jan 22, 2009 3:08:48 PM org.apache.catalina.connector.Connector
  pause
  SEVERE: Protocol handler pause failed
  java.net.ConnectException: Connection timed out
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at
  java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
 at
 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
 at
  java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
 at
  java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
 at java.net.Socket.connect(Socket.java:519)
 at java.net.Socket.connect(Socket.java:469)
 at java.net.Socket.(Socket.java:366)
 at java.net.Socket.(Socket.java:209)
 at
 
org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:492)
 at
  org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:289)
 at org.apache.jk.server.JkMain.pause(JkMain.java:681)
 at
 
org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:163)
 at
 
org.apache.catalina.connector.Connector.pause(Connector.java:1032)
 at
 
org.apache.catalina.core.StandardService.stop(StandardService.java:489)
 at
 
org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
 at
  org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
  Method)
 at
 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
  org.apache.catalina.startup.Bootstrap.stop(Bootstrap.java:307)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
  Method)
 at
 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 
org.apache.commons.daemon.support.DaemonLoader.stop(DaemonLoader.java:200)
  --
   Best regards, Mike
  ___
  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
 Best regards, Mike

Links:
--
[1] mailto:thomas.morta...@xwiki.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] New macros not loaded

2009-01-22 Thread Mike A.
XWiki 1.7.14685
Macros are defined in /xwiki/templates/macros.vm
 Quoting Thomas Mortagne : So
 what version of XE are you using ?
 where did you defined the new macros ?
 if you defined it in a wiki page, how are you loading it ?
 On Thu, Jan 22, 2009 at 3:48 PM, Mike A.  wrote:
  It's Velocity.
  For example,
  #macro(test)
  This works!
  #end
   Quoting Thomas Mortagne : Hi,
   On Thu, Jan 22, 2009 at 2:22 PM, Mike A.  wrote:
Hi!
I've created some simple macros (for html otput), but they are
  not
loaded after I restart tomcat (5.5). Old macros work fine, but
the
  new
are just rendered as a text.
   What do you mean by new macro ? Is it Velocity, Radeox or XWiki
2.0
  macro ?
Tomcat log contains one error, don't know if it's the reason
  macros
don't work:
--
INFO: Pausing Coyote HTTP/1.1 on http-8180
Jan 22, 2009 3:08:48 PM
org.apache.catalina.connector.Connector
pause
SEVERE: Protocol handler pause failed
java.net.ConnectException: Connection timed out
   at java.net.PlainSocketImpl.socketConnect(Native
Method)
   at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   at
   
 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
   at java.net.Socket.connect(Socket.java:519)
   at java.net.Socket.connect(Socket.java:469)
   at java.net.Socket.(Socket.java:366)
   at java.net.Socket.(Socket.java:209)
   at
   
 
org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:492)
   at
   
org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:289)
   at org.apache.jk.server.JkMain.pause(JkMain.java:681)
   at
   
 
org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:163)
   at
   
 
org.apache.catalina.connector.Connector.pause(Connector.java:1032)
   at
   
 
org.apache.catalina.core.StandardService.stop(StandardService.java:489)
   at
   
 
org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
   at
org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
   at
   
 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at
   
 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at
org.apache.catalina.startup.Bootstrap.stop(Bootstrap.java:307)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
   at
   
 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at
   
 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at
   
 
org.apache.commons.daemon.support.DaemonLoader.stop(DaemonLoader.java:200)
--
 Best regards, Mike
___
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
   Best regards, Mike
 
  Links:
  --
  [1] mailto:thomas.morta...@xwiki.com
  ___
  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
 Best regards, Mike

Links:
--
[1] mailto:thomas.morta...@xwiki.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Continuation of numbered list after code

2009-01-27 Thread Mike A.
Ok, I confirm, that on version 1.7 it doesn't breake the list:
* item1
 * item2{code}
here goes your code
{code}
* item3
 Quoting Ken Teague : Vincent Massol said the following on 1/27/2009
1:47 PM:
  ouch...
  
  This version is not supported anymore since... let me check... at 

  least 2 years ago ;)
  
  I suggest migrating to 1.7.1 (might have some small issues since
it's  
  an upgrade from a very long time ago).
 Fair enough.  I said the same thing (ouch) when I checked my
current
 version to what's available now.
 I can look at upgrading when time permits, but, until then, can I
ask
 someone with the latest version to try and get a list continuation
after
 code is inserted in the middle of the list?  I'd like to see if
that
 will solve my problem before I push for an upgrade.  Thanks in
advance.
 - Ken
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Best regards, Mike

Links:
--
[1] mailto:ktea...@pobox.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Attachment name

2009-01-28 Thread Mike A.
Hi!
Is it possible to automatically change attachment name to lowercase /
uppercase when uploading it (so when using some picture, you wouldn't
need to specify it's name as a case sensitive)?
 Best regards, Mike
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] table border color - XE 1.8M1

2009-01-29 Thread Mike A.
 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
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Best regards, Mike

Links:
--
[1] mailto:mariusdumitru.flo...@xwiki.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] table border color - XE 1.8M1

2009-01-29 Thread Mike A.
If it's default xwiki table, then edit the style.css
(/xwiki/skins/yourskin/style.css as I remember):
.wiki-table {
margin: 1em 0;
}
1em will be for top and bottom margin.
if this doesn't help, try wrapping your table into special div:
yourtable
and the style would be:
.table-container table {
margin: 1em 0;
}
 Quoting goldring, richard : Mike,
 Thanks.
 Where/how do I set the style - what steps? Is this some global wiki
style
 thing or can it be per page or space?
 Regards,
 Richard
 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org]on
Behalf
 Of Mike A.
 Sent: 29 January 2009 13:49
 To: XWiki Users
 Subject: Re: [xwiki-users] table border color - XE 1.8M1
 Also noted that the table gets centred on the page - can't seem to
 left or
 Have you tried setting margin to 0 in style? It can't be a bug,
it's
 all about style how's table being positioned.
 Quoting Marius Dumitru Florea : Hi,
 goldring, richard wrote:
  Yes I concurr - my users would find the WYSIWYG table border
 editing very
  useful, plus sizing of tables.
  Also noted that the table gets centred on the page - can't seem
to
 left or
 This seems like a bug. Maybe you can open a jira issue and specify
 there 
 which are the steps to reproduce.
  right justify it. Also can't insert tables within tables. Also
the
 bulleting
  breaks when switching between the WYSIWYG editor and the wiki
 editor.
 In 1.8M1 the XWiki 2.0 syntax doesn't support block level elements
 (like 
 lists or tables) inside table cells. By 1.8 final we'll have a
 syntax 
 for (so called) embedded documents which will allow us to have
block
 level elements inside table cells and list items. Till then we have
 to 
 face this limitation.
 Marius
  
  -Original Message-
  From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org]on
 Behalf
  Of Marius Dumitru Florea
  Sent: 28 January 2009 16:59
  To: XWiki Users
  Subject: Re: [xwiki-users] table border color - XE 1.8M1
  
  
  Sebastian Kannengiesser wrote:
  Thanx guys for your responses,
 
  despite the problem that automatic switching between syntax 1.0
 and
  syntax 2.0 does not work here (just via deleting content and
 saving
  empty document with new syntax setting works), with Syntax 2.0,
 i.e.
  the new wysiwyg editor, I don't have a right-click popup menu
  anymore to set table properties at all or is there a new way to
 do
  
  At this moment you cannot change the table border using the new
 WYSIWYG 
  editor. Unfortunately, AFAIK, this feature hasn't been planed for
 1.8. 
  You can open a JIRA issue and we'll handle it in the 1.9 time
 span. 
  Until then you can still style your table with the XWiki 2.0
 syntax, 
  from the Wiki editor, by writing something like:
  
  (% style=background-color: gray; %)
  |= foo|=bar
  |(% style=font-size:24pt; %)a|(% class=loading %)b
  
  this. Sorry guys, for my many problems, but I think these are
 some
  very elemental Wiki features that I just can't get to work by
 using my
  intuition. Help is really appreciated. I plan to convince my
 company
  of using XWiki in a large style, but these features just have to
 work.
  
  We'll try to make this features available as soon as possible.
  
  Thanks,
  Marius
  
  Many thanx.
 
  Cheers,
  Sebastian
 
  On Wed, Jan 28, 2009 at 10:54 AM, Marius Dumitru Florea
   wrote:
  Sebastian Kannengiesser wrote:
  Hi guys,
 
  thanx for your quick replies.
 
  I was using wysiwyg and syntax 1.0. Wiki Code generated is:
 
  1: {table}
  2: 2  |2 
  3:  2|2
  4: {table}
 
  @Vincent: How can I find out, if the editor I'm using is the
 new or
  old one? As I said, I'm using XE-1.8M1 Revision:15566
  The old WYSIWYG is enabled for XWiki 1.0 syntax (which you're
 using). To
  try the new one you have to switch to XWiki 2.0 syntax.
 
  Hope this helps,
  Marius
 
  Cheers,
  Sebastian
 
 
  On Wed, Jan 28, 2009 at 10:31 AM, Thomas Mortagne
   wrote:
  Hi,
 
  If you look at the source in wiki mode, what is the syntax
 generated
  by the WYSIWYG ?
 
  On Wed, Jan 28, 2009 at 10:24 AM, Sebastian Kannengiesser
   wrote:
  Hi guys,
 
  changing border color for tables (i.e setting 00 for
 making them
  black) has no effect on the table, when saving the document.
 (using
  eysiwyg editor)
 
  Cheers,
  Sebastian
 
  PS: Should i better post to another list or preferable
should
 i
  register on your jira, and post stuff there?
  ___
  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
 
  ___
  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

[xwiki-users] Page access rights

2009-02-02 Thread Mike A.
Hi!
I've created a space and denied all access to it to all groups. As an
admin (not superadmin), I can still view this space. Then I've denied
view right to this specific admin, but he can still view this
space.
The user I'm testing space with was created from Active Directory
automatically.
XWiki Enterprise 1.6.1.13621
 Best regards, Mike
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] top navigation bar on toucan skin is flickering/flashing while scrolling

2009-02-20 Thread Mike A.
Hi!
I don't use toucan skin, but I think (I've experienced this problem
before) that the really small background patterns (like 4x4 px) are
causing the slowdown. Try to use, for example, 80x80 px backround
pattern. 
 Quoting Sergiu Dumitriu : Henning Sprang wrote:
  Hi,
  A thing that I already recognized since a long time, but now it
  affects me more because I really start using xwiki in production,
  daily, and look more often in the documentation on the .org
website:
  
  On Ubuntu Linux with firefox (3.0.6), the
administration/navigation
  bar on top of every xwiki page is flickering a lot when scrolling
hte
  page instead of just keep being there as it is probably intended.
  
  it keeps there in the end, but it flashes heavily, which makes me
very
  nervous and is bad for the eyes.
  On my own site I change is by making albatross the default - here
it
  works poerfectly as intended. The bar is always there but no
  flickering at all when scrolling.
  
  I see, the problem doiesn't happen with Opera on UBuntu so I can
work
  around it, but sure I'd rather like to use firefox.
  Am I the only one experiencing this? Did somebody try to look into
this ?
  
  At a glance I see no great difference between the css settings of
the
  two skins that could make this effect happen, but I'll look
further
  into it.
 Yes, this is a known issue, annoying a lot of people, including some
of
 the devs (those that aren't using Macs), see
 http://jira.xwiki.org/jira/browse/XSTOUCAN-9 for more details (the
 comments are full of information and tips).
 -- 
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Best regards, Mike

Links:
--
[1] mailto:ser...@xwiki.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] top navigation bar on toucan skin is flickering/flashing while scrolling

2009-02-22 Thread Mike A.
There are a lot of small backgrounds. Just try to disable them and
you'll#160; see that there would be no slowdown :)
 Quoting Henning Sprang : On Fri, Feb 20, 2009 at 2:25 PM, Mike A. 
wrote:
  Hi!
  I don't use toucan skin, but I think (I've experienced this
problem
  before) that the really small background patterns (like 4x4 px)
are
  causing the slowdown. Try to use, for example, 80x80 px backround
  pattern.
 It's right that the background pattern is small - at least in
height
 it's 4, width is about 1024 so it's full-page.
 But enlarging it to a height of 80 did not solve the problem.
 Maybe another background image is the problem - I only tried with
 bg-GRAY.png - maybe another image is the one making problems...
 Henning
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Best regards, Mike

Links:
--
[1] mailto:henning.spr...@gmail.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Document tree

2009-03-25 Thread Mike A.
Hi!
Document tree has no limit. For example, I do have a space ADT, which
has a lot of pages. In document tree, I can expand ADT as many times
as I want:
ADT
--ADT
---ADT
 -ADT
--- page 1
 --- page2
--- page 3
I'm using XWiki 1.6.1.13621.
Best regards, Mike
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Active Directory users

2009-04-01 Thread Mike A.
Hi!
How can I specify that all users found in AD will map to
XWikiAllGroup?
I do have a group AAA in AD with specific users, and if I specify it
for mapping, all works ok.
// cn=AAA, ou=Group1, dc=domain, dc=com
I also have a group ALL, which contains all groups found (e.g. group
AAA is member of ALL) in AD. If I specify it for mapping, even login
doesn't work.
 // cn=Users, dc=domain, dc=com
XWiki Enterprise 1.8.17790
Thanks in advance.
 Best regards, Mike
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Active Directory users

2009-04-01 Thread Mike A.
,
com.xpn.xwiki.plugin.packaging.PackagePlugin,
com.xpn.xwiki.plugin.query.QueryPlugin,
com.xpn.xwiki.plugin.svg.SVGPlugin,
com.xpn.xwiki.plugin.charts.ChartingPlugin,
   
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,
com.xpn.xwiki.plugin.image.ImagePlugin,
com.xpn.xwiki.plugin.captcha.CaptchaPlugin,
   
com.xpn.xwiki.plugin.userdirectory.UserDirectoryPlugin,
   
com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsImpl,
   
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,
com.xpn.xwiki.plugin.autotag.AutoTagPlugin,
com.xpn.xwiki.plugin.lucene.LucenePlugin,
com.xpn.xwiki.plugin.diff.DiffPlugin,
   
com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,
com.xpn.xwiki.plugin.jodatime.JodaTimePlugin,
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,
   
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,
com.xpn.xwiki.plugin.watchlist.WatchListPlugin, 
   
com.xpn.xwiki.wysiwyg.server.plugin.WysiwygPlugin, 
com.xpn.xwiki.plugin.tag.TagPlugin
#-# Enable light monitoring of the wiki performance. Records various
statistics, like number of requests processed,
#-# time spent in rendering or in the database, medium time for a
request, etc. Disable for a minor increase of
#-# performance and a bit of memory.
# xwiki.monitor=1
#-# Maximum number of last requests to remember.
# xwiki.monitor.lastlistsize=20
#-# Stats configuration allows to globally activate/deactivate stats
module (launch storage thread, register events...).
#-# Enabled by default.
# xwiki.stats=1
#-# When statistics are globally enabled, storage can be
enabled/disabled by wiki using the XWikiPreference property
statistics.
#-# Note: Statistics are disabled by default for improved
performances/space.
xwiki.stats.default=0
#-# It is also possible to choose a different stats service to record
statistics separately from XWiki.
# xwiki.stats.class=com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl
#-# This parameter will activate the eXo Platform integration
xwiki.exo=0
#-# GraphViz plugin configuration. The GraphViz plugin is not
configured by default.
#-# To enable it, add com.xpn.xwiki.plugin.graphviz.GraphVizPlugin
to the list of plugins
#-# in the xwiki.plugins property.
#-# Uncomment and set the locations of the Dot and Neato executables
# xwiki.plugin.graphviz.dotpath=c:/Program
Files/ATT/GraphViz/bin/dot.exe
# xwiki.plugin.graphviz.neatopath=c:/Program
Files/ATT/GraphViz/bin/neato.exe
xwiki.plugin.laszlo.baseurl=/openlaszlo/xwiki/
xwiki.plugin.laszlo.path=c:/Program Files/Apache Software
Foundation/Tomcat 5.0/webapps/openlaszlo/xwiki/
xwiki.plugin.image.cache.capacity=30
xwiki.plugin.captcha=0
#-# Calendar Prev/Next Month bounds.
#-# The calendar generates links to the previous/next months for a
limited range, by default 6 months back and 12 months
#-# after. A value of 0 means that there is no limit in that
direction.
# xwiki.calendar.bound.prev=6
# xwiki.calendar.bound.next=12
#-# Lucene search engine
#-# Location where to place the lucene index files. The default is
the lucene subdirectory in the container's work
#-# diectory. Change it if you want to store indexes in another
place.
# xwiki.plugins.lucene.indexdir=/usr/local/xwiki/lucene
#-# The text analyzer to use for indexing.
#
xwiki.plugins.lucene.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
#-# The number of seconds to wait between reindexes. A smaller value
ensures that new documents will be indexed faster,
#-# but with a minor performance reduction. Adjust according to your
wiki load.
# xwiki.plugins.lucene.indexinterval=20
#-# The maximum size of the indexing queue. After this limit is
reached, the reindex thread will have to wait until the
#-# queue is consumed. Note that this does not affect documents
submitted through the notification mechanism, only the
#-# full reindex option.
# xwiki.plugins.lucene.maxQueueSize=1000
#---
# Misc
#
#-# Temporary directory where XWiki can put files (during exort and
upload, for example).
# xwiki.temp.dir=/tmp/xwiki
#-# XWiki work directory
# xwiki.work.dir=/usr/local/xwiki
xwiki.work.dir=work
---
 Quoting Thomas Mortagne : On Wed, Apr 1, 2009 at 12:05, Mike A. 
wrote:
  Hi!
  How can I specify that all users found in AD will map to
  XWikiAllGroup?
 All users from LDAP are already supposed to be automatically mapped
to
 XWikiAllGroup without any mapping configuration (any user created
on
 XWiki is supposed to be in XWikiAllGroup whatever the
authentication
 system). Are you sure your LDAP users are not automatically added
to
 XWikiAllGroup group ?
 Could you copy/paste your xwiki.cfg configuration ?
  I do have a group AAA in AD with specific users, and if I specify
it
  for mapping, all

[xwiki-users] Authentication with groovy

2009-04-22 Thread Mike A.
Hi!
I want to retrieve some content from the web site (on the same domain
as XWiki) using groovy. I've already got success for not protected
site, but when the site requires username/password, then the script
fails. So I somehow need to pass already logged in XWiki user
credentials.
XWiki 1.6, configured LDAP authentication for AD.
Here's the script:
 Best regards, Mike
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Authentication with groovy

2009-04-22 Thread Mike A.
Ups, here's the code:
import java.util.*; 
import java.text.*;
import java.io.*;
import java.net.*;
String baseURL = ;
URL url = new URL(baseURL);
URLConnection urlconnection = url.openConnection();
BufferedReader bufRead = new BufferedReader(new
InputStreamReader(urlconnection.getInputStream()));
String start = ;
String end = ;
String line = null;
try {
while (line = bufRead.readLine()) {
if (line != null) {
if (line.indexOf(start) != -1) {
while (line.indexOf(end) == -1) {
line = bufRead.readLine();
 out.println(line);
} 
}
} else break;
}
} catch(Exception e) {
e.printStackTrace();
} finally {
bufRead.close();
}
 Quoting Mike A. : Hi!
 I want to retrieve some content from the web site (on the same
domain
 as XWiki) using groovy. I've already got success for not protected
 site, but when the site requires username/password, then the script
 fails. So I somehow need to pass already logged in XWiki user
 credentials.
 XWiki 1.6, configured LDAP authentication for AD.
 Here's the script:
 Best regards, Mike
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Best regards, Mike

Links:
--
[1] mailto:_m...@inbox.lv
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Installing on Glassfish - xwiki barfs on start-up

2010-09-08 Thread Mike
Hi, Xwiki users.

I followed the instructions (at least I was pretty sure I did) for
installing xwiki on my glassfish 2.1.1 server using MySQL.  However, I am
greeted with the attached disappointment upon navigating to
http://localhost:8080/xwiki.

Has anyone experienced this, can can you point me to a fix?

Many thanks.

Regards

Mike

Timestamp
Sep 7, 2010 23:10:02.234
Log Level
SEVERE
Logger
javax.enterprise.system.container.web
Name-Value Pairs
_ThreadID=45;_ThreadName=Thread-28651;_RequestID=e086fd0c-cb2a-48ba-8242-3315679eab56;
Record Number
148
Message ID
WebModule[/xwiki]PWC1257
Complete Message
Error configuring application listener of class
org.xwiki.container.servlet.XWikiPlexusServletContextListener
java.lang.ClassNotFoundException:
org.xwiki.container.servlet.XWikiPlexusServletContextListener at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1578)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4598)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5364)
at com.sun.enterprise.web.WebModule.start(WebModule.java:345) at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:986)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:970)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704) at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1649) at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1254) at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)
at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
at
com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:609)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:653)
at
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:773)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:390)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:373)
at
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) at
sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90) at
$Proxy1.invoke(Unknown Source) at
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
at
com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:170)
at
com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:159)
at
com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:538)
at java.lang.Thread.run(Thread.java:619)
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Installing on Glassfish - xwiki barfs on start-up

2010-09-08 Thread Mike
The war that I downloaded is called

xwiki-enterprise-web-2.4

Is this the correct download?

Thanks for your help!

Regards,

Mike

On Wed, Sep 8, 2010 at 6:30 AM, Marius Dumitru Florea 
mariusdumitru.flo...@xwiki.com wrote:

 Hi Mike,

 On 09/08/2010 02:12 PM, Mike wrote:
  Hi, Xwiki users.
 
  I followed the instructions (at least I was pretty sure I did) for
  installing xwiki on my glassfish 2.1.1 server using MySQL.  However, I am
  greeted with the attached disappointment upon navigating to
  http://localhost:8080/xwiki.
 
  Has anyone experienced this, can can you point me to a fix?

 What version of XWiki Enterprise did you install?
 XWikiPlexusServletContextListener isn't used anymore since XE 2.0.
 Either you have an old XE version or you web.xml file was badly merged.

 Hope this helps,
 Marius

 
  Many thanks.
 
  Regards
 
  Mike
 
  Timestamp
  Sep 7, 2010 23:10:02.234
  Log Level
  SEVERE
  Logger
  javax.enterprise.system.container.web
  Name-Value Pairs
 
 _ThreadID=45;_ThreadName=Thread-28651;_RequestID=e086fd0c-cb2a-48ba-8242-3315679eab56;
  Record Number
  148
  Message ID
  WebModule[/xwiki]PWC1257
  Complete Message
  Error configuring application listener of class
  org.xwiki.container.servlet.XWikiPlexusServletContextListener
  java.lang.ClassNotFoundException:
  org.xwiki.container.servlet.XWikiPlexusServletContextListener at
 
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1578)
  at
 
 org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4598)
  at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:5364)
  at com.sun.enterprise.web.WebModule.start(WebModule.java:345) at
 
 org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:986)
  at
 org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:970)
  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)
 at
  com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1649)
 at
  com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1254)
 at
 
 com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
  at
 
 com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
  at
 
 com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)
  at
 
 com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)
  at
 
 com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)
  at
 
 com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
  at
 
 com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
  at
 
 com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)
  at
 
 com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
  at
 
 com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
  at
 
 com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
  at
 
 com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
  at
 
 com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:609)
  at
 
 com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:653)
  at
 
 com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:773)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597) at
 
 com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:390)
  at
 
 com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:373)
  at
 
 com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
  at
 
 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
  at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
 at
  sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597) at
  com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
 at
  $Proxy1.invoke(Unknown Source) at
 
 com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304

Re: [xwiki-users] Installing on Glassfish - xwiki barfs on start-up

2010-09-08 Thread Mike
No, it's a fresh install.

On 9/8/10, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote:
 On 09/08/2010 02:51 PM, Mike wrote:
 The war that I downloaded is called

 xwiki-enterprise-web-2.4

 Is this the correct download?

 I just downloaded it myself from xwiki.org and I can't find any
 reference to XWikiPlexusServletContextListener in WEB-INF/web.xml . We
 have dropped it in favor of XWikiPlexusServletContextListener . So
 GlashFish shouldn't try to load this class. Do you have any previous
 versions of XE installed on the same server?

 Hope this helps,
 Marius


 Thanks for your help!

 Regards,

 Mike

 On Wed, Sep 8, 2010 at 6:30 AM, Marius Dumitru Florea
 mariusdumitru.flo...@xwiki.com  wrote:

 Hi Mike,

 On 09/08/2010 02:12 PM, Mike wrote:
 Hi, Xwiki users.

 I followed the instructions (at least I was pretty sure I did) for
 installing xwiki on my glassfish 2.1.1 server using MySQL.  However, I
 am
 greeted with the attached disappointment upon navigating to
 http://localhost:8080/xwiki.

 Has anyone experienced this, can can you point me to a fix?

 What version of XWiki Enterprise did you install?
 XWikiPlexusServletContextListener isn't used anymore since XE 2.0.
 Either you have an old XE version or you web.xml file was badly merged.

 Hope this helps,
 Marius


 Many thanks.

 Regards

 Mike

 Timestamp
 Sep 7, 2010 23:10:02.234
 Log Level
 SEVERE
 Logger
 javax.enterprise.system.container.web
 Name-Value Pairs

 _ThreadID=45;_ThreadName=Thread-28651;_RequestID=e086fd0c-cb2a-48ba-8242-3315679eab56;
 Record Number
 148
 Message ID
 WebModule[/xwiki]PWC1257
 Complete Message
 Error configuring application listener of class
 org.xwiki.container.servlet.XWikiPlexusServletContextListener
 java.lang.ClassNotFoundException:
 org.xwiki.container.servlet.XWikiPlexusServletContextListener at

 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1578)
 at

 org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4598)
 at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:5364)
 at com.sun.enterprise.web.WebModule.start(WebModule.java:345) at

 org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:986)
 at
 org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:970)
 at
 org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)
 at
 com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1649)
 at
 com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1254)
 at

 com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
 at

 com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
 at

 com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)
 at

 com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)
 at

 com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)
 at

 com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
 at

 com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
 at

 com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)
 at

 com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
 at

 com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
 at

 com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
 at

 com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
 at

 com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:609)
 at

 com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:653)
 at

 com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:773)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at

 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at

 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597) at

 com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:390)
 at

 com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:373)
 at

 com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
 at

 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
 at
 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
 at
 sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source

[xwiki-users] Anybody able to deploy Xwiki on glassfish 2.1.1 using mysql?

2010-09-11 Thread Mike
I've got pristine installations of both mysql 5.1.48 and glassfish 2.1.1,
and I always get:

PWC1406: Servlet.service() for servlet action threw exception
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class Wrapped Exception: Could not
initialize class net.sf.cglib.proxy.Enhancer at
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402) at
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:471) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:734) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at .

[rest of dump cut]

This is annoying, because I was able to get an earlier version of Xwiki
going, but had a server crash where everything got wiped out, and I'm
starting fresh.

Any help would be gratefully received.

Many thanks.


Regards,

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


Re: [xwiki-users] Anybody able to deploy Xwiki on glassfish 2.1.1 using mysql?

2010-09-12 Thread Mike
Thanks, Marius.  I renamed the WEB-INF/lib/cglib-2.1_3.jar out of the way
and re-deployed, but it does not look like anything has changed error-wise.

I'm disappointed because I really like Xwiki, but I'm running out of time.

Regards,

Mike

On Sun, Sep 12, 2010 at 3:46 AM, Marius Dumitru Florea 
mariusdumitru.flo...@xwiki.com wrote:

 Hi Mike,

 On 09/12/2010 06:08 AM, Mike wrote:
  I've got pristine installations of both mysql 5.1.48 and glassfish 2.1.1,
  and I always get:
 
  PWC1406: Servlet.service() for servlet action threw exception
  com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
 main
  XWiki context Wrapped Exception: Error number 3001 in 3: Cannot load
 class
  com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
 from

  param xwiki.store.migration.manager.class Wrapped Exception: Could not
  initialize class net.sf.cglib.proxy.Enhancer at

 This might be caused by a conflict between the version of cglib jar used
 by XWiki (check out WEB-INF/lib) and the one used by your web server,
 i.e. GlassFish.

 Hope this helps,
 Marius

  com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402) at
  com.xpn.xwiki.XWiki.getXWiki(XWiki.java:471) at
  com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) at
  com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at
 
 org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:734) at
  javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at
 
 org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
  at .
 
  [rest of dump cut]
 
  This is annoying, because I was able to get an earlier version of Xwiki
  going, but had a server crash where everything got wiped out, and I'm
  starting fresh.
 
  Any help would be gratefully received.
 
  Many thanks.
 
 
  Regards,
 
  Mike
  ___
  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


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


Re: [xwiki-users] Anybody able to deploy Xwiki on glassfish 2.1.1 using mysql?

2010-09-13 Thread Mike
Thanks, Reto.  I'll try it!

On Sun, Sep 12, 2010 at 11:52 AM, Reto Hotz r...@retohotz.ch wrote:

 Hi,

 Try to update cglib to 2.2.

 See also here: http://markmail.org/message/iwrmwuuk72nveay4

 Hope this helps.

 Greetings
 Reto

 Am 12.09.2010 18:25, schrieb Mike:
  Thanks, Marius.  I renamed the WEB-INF/lib/cglib-2.1_3.jar out of the way
  and re-deployed, but it does not look like anything has changed
 error-wise.
 
  I'm disappointed because I really like Xwiki, but I'm running out of
 time.
 
  Regards,
 
  Mike
 
  On Sun, Sep 12, 2010 at 3:46 AM, Marius Dumitru Florea
  mariusdumitru.flo...@xwiki.com  wrote:
 
  Hi Mike,
 
  On 09/12/2010 06:08 AM, Mike wrote:
  I've got pristine installations of both mysql 5.1.48 and glassfish
 2.1.1,
  and I always get:
 
  PWC1406: Servlet.service() for servlet action threw exception
  com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
  main
  XWiki context Wrapped Exception: Error number 3001 in 3: Cannot load
  class
  com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
  from
 
  param xwiki.store.migration.manager.class Wrapped Exception: Could not
  initialize class net.sf.cglib.proxy.Enhancer at
 
  This might be caused by a conflict between the version of cglib jar used
  by XWiki (check out WEB-INF/lib) and the one used by your web server,
  i.e. GlassFish.
 
  Hope this helps,
  Marius
 
  com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402) at
  com.xpn.xwiki.XWiki.getXWiki(XWiki.java:471) at
  com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) at
  com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at
 
 
 org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:734) at
  javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at
 
 
 org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
  at .
 
  [rest of dump cut]
 
  This is annoying, because I was able to get an earlier version of Xwiki
  going, but had a server crash where everything got wiped out, and I'm
  starting fresh.
 
  Any help would be gratefully received.
 
  Many thanks.
 
 
  Regards,
 
  Mike
  ___
  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
 
 
  ___
  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


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


Re: [xwiki-users] java.security.NoSuchAlgorithmException: Cannot find any provider supporting DES/ECB/PKCS5Padding

2011-01-06 Thread Mike
There's a good idea.

I'm running Windows XP with Sun Java 6 Update 22.

On Thu, Jan 6, 2011 at 1:07 AM, Paul Libbrecht p...@hoplahup.net wrote:

 I won't be able to answer your question but it would help to indicate which
 JVM and which OS your are using.

 paul


 Le 6 janv. 2011 Ă  01:21, Mike a Ă©crit :

  I've deployed Xwiki enterprise 2.7 on my Glassfish 2.1.1 server with
 MySQL
  as the  back-end.
 
  I can create a user, but when I try to log in to that user, I am rewarded
  with the stack dump shown below.  It's trying to find a provider
  of DES/ECB/PKCS5Padding.
 
  After about 30 minutes on Google and on Java.sun.com, I don't seem to be
  able to find where I can get this provider.
 
  Could some kind soul please give me some hints on where to look to
 download
  this?
 
  Thanks.
 
  Regards,
 
  Mike
  2011-01-05 18:17:04,890 [
 
 http://localhost:8080/xwiki-enterprise-web-2.7/bin/loginsubmit/XWiki/XWikiLogin
 ]
  ERROR xwiki.MyPersistentLoginManager  - ERROR!!
  2011-01-05 18:17:04,890 [
 
 http://localhost:8080/xwiki-enterprise-web-2.7/bin/loginsubmit/XWiki/XWikiLogin
 ]
  ERROR xwiki.MyPersistentLoginManager  - There was a problem encrypting
 the
  username or password!!
  2011-01-05 18:17:04,890 [
 
 http://localhost:8080/xwiki-enterprise-web-2.7/bin/loginsubmit/XWiki/XWikiLogin
 ]
  ERROR xwiki.MyPersistentLoginManager  - Remember Me function will be
  disabled!!
  2011-01-05 18:17:05,046 [
 
 http://localhost:8080/xwiki-enterprise-web-2.7/bin/loginsubmit/XWiki/XWikiLogin
 ]
  WARN  internal.DefaultVelocityEngine  - Deprecated usage of method
  [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login...@28,33
  2011-01-05 18:17:05,140 [
 
 http://localhost:8080/xwiki-enterprise-web-2.7/bin/view/Main/DocumentDoesNotExist
 ]
  WARN  internal.DefaultVelocityEngine  - Deprecated usage of method
  [com.xpn.xwiki.api.XWiki.parseMessage] in @18,8
  2011-01-05 18:17:53,640 [
 
 http://localhost:8080/xwiki-enterprise-web-2.7/bin/login/XWiki/XWikiLogin?xredirect=http%3A%2F%2Flocalhost%3A8080%2Fxwiki%2Denterprise%2Dweb%2D2.7%2Fbin%2Fregister%2FXWiki%2FRegister
 ]
  WARN  internal.DefaultVelocityEngine  - Deprecated usage of method
  [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login...@28,33
  2011-01-05 18:17:57,734 [
 
 http://localhost:8080/xwiki-enterprise-web-2.7/bin/loginsubmit/XWiki/XWikiLogin
 ]
  ERROR xwiki.MyPersistentLoginManager  - Failed to encrypt text: miken
  java.security.NoSuchAlgorithmException: Cannot find any provider
 supporting
  DES/ECB/PKCS5Padding
 at javax.crypto.Cipher.getInstance(DashoA13*..)
 at
 
 com.xpn.xwiki.user.impl.xwiki.MyPersistentLoginManager.encryptText(MyPersistentLoginManager.java:391)
 at
 
 com.xpn.xwiki.user.impl.xwiki.MyPersistentLoginManager.rememberLogin(MyPersistentLoginManager.java:188)
 at
 
 com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:221)
 at
 
 com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:187)
 at
 
 com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:243)
 at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:4125)
 at
 
 com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:169)
  ___
  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] java.security.NoSuchAlgorithmException: Cannot find any provider supporting DES/ECB/PKCS5Padding

2011-01-06 Thread Mike
I ran this in groovy:

println(javax.crypto.Cipher.getInstance(DES/CBC/PKCS5Padding).getProvider().toString()
+ \n +
javax.crypto.Cipher.getInstance(DES/CBC/PKCS5Padding).getProvider().getClass().getName());

and got this:

SunJCE version 1.6
com.sun.crypto.provider.SunJCE

So I wrote a little java program that did the same thing, and got the same
result.

Then, I wrote a little web app and deployed it on my server, and I got the
result that Xwiki is giving me.

So, obviously something is lacking from my server's classpath.  However, I'm
not smart enough to track down exactly what it is that is missing -- I don't
know how to find out from where a given class is being resolved.

A clue for the clueless would be gratefully received.

Many thanks.

Regards,
Mike
On Thu, Jan 6, 2011 at 8:04 PM, Caleb James DeLisle 
calebdeli...@lavabit.com wrote:

 println(javax.crypto.Cipher.getProvider().toString() + \n +
 javax.crypto.Cipher.getProvider().getClass().getName());

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


Re: [xwiki-users] java.security.NoSuchAlgorithmException: Cannot find any provider supporting DES/ECB/PKCS5Padding

2011-01-06 Thread Mike
According to GlassFish:

Java vm vendor: Sun Microsystems Inc. Java vm name = Java HotSpot(TM) Client
VM Java vm version = 17.0-b16

According to a plain java app:

Java vm vendor: Sun Microsystems Inc. Java vm name = Java HotSpot(TM) Client
VM Java vm version = 17.0-b16

I've found that javax.crypto lives in jce.jar, which I've plastered all over
my server's classpaths, and put into the Xwiki war's WEB-INF/lib but to no
avail: I still get the same result.

Call me confused.

On Thu, Jan 6, 2011 at 10:40 PM, Sergiu Dumitriu ser...@xwiki.com wrote:

 On 01/07/2011 05:27 AM, Mike wrote:
  I ran this in groovy:
 
 
 println(javax.crypto.Cipher.getInstance(DES/CBC/PKCS5Padding).getProvider().toString()
  + \n +
 
 javax.crypto.Cipher.getInstance(DES/CBC/PKCS5Padding).getProvider().getClass().getName());
 
  and got this:
 
  SunJCE version 1.6
  com.sun.crypto.provider.SunJCE
 
  So I wrote a little java program that did the same thing, and got the
 same
  result.
 
  Then, I wrote a little web app and deployed it on my server, and I got
 the
  result that Xwiki is giving me.
 
  So, obviously something is lacking from my server's classpath.  However,
 I'm
  not smart enough to track down exactly what it is that is missing -- I
 don't
  know how to find out from where a given class is being resolved.

 Can you run this in your server:

 System.out.println(System.getProperty(java.vm.vendor) +   +
 System.getProperty(java.vm.name) +   +
 System.getProperty(java.vm.version));


  A clue for the clueless would be gratefully received.
 
  Many thanks.
 
  Regards,
  Mike
  On Thu, Jan 6, 2011 at 8:04 PM, Caleb James DeLisle
  calebdeli...@lavabit.com  wrote:
 
  println(javax.crypto.Cipher.getProvider().toString() + \n +
  javax.crypto.Cipher.getProvider().getClass().getName());
 
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 


 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 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] How does XWiki fit with Open Social

2008-03-08 Thread Mike Oliver

ping, just to repost to mail list.

Mike Oliver wrote:
 
 Has anyone looked at Open Social and how it fits with XWiki? 
 Compatibilities, Complimentary features, incompatibilities, etc.
 

-- 
View this message in context: 
http://www.nabble.com/How-does-XWiki-fit-with-Open-Social-tp15918765p15919288.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


Re: [xwiki-users] How does XWiki fit with Google Universal Gadgets

2008-03-08 Thread Mike Oliver

Ping

Mike Oliver wrote:
 
 Anyone have any experience working with Google Universal Gadgets on XWiki? 
 Any issues with Compatibility?
 
 the XWiki feature to publish JSR-168 Portlets seems similar enough to me
 to warrant a feature to publish in kind as Google Universal Gadgets for
 Google Apps, iGoogle and Google Desktop.
 

-- 
View this message in context: 
http://www.nabble.com/How-does-XWiki-fit-with-Google-Universal-Gadgets-tp15918849p15919289.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


Re: [xwiki-users] Workspace bug

2008-03-20 Thread Mike Oliver

There is also a bug in the WebHome page where there should be an Up Arrow gif
that is not dislaying and the underlying header is munged.


Mike Oliver wrote:
 
 I believe I uncovered a bug in the new XWiki Workspaces
 
  
 
 When I create a page and change editors from the WYSIWYG editor to the
 wiki
 / html editor I am losing any html I had entered previously.  I had an
 iframe to a Flash application such as
 
  
 
 iframe src=http://myflashbox.com/apps/somecoolflash.jsp; width=600px
 height=600px/iframe 
 
  
 
 Then when I save and view it shows fine.  But if I edit the page and
 change
 editors all I see is.
 
  
 
  and if I switch back to
 WYSIWYG my iframe is gone, if I just save it is gone.
 
  
 
 Not very useful.
 
  
 
 
 
 
 
  http://www.corenttech.com 
 
 On Demand Solutions On Demand
 
  
 
 
 
 Michael Oliver
 Chief Technology Officer 
 
 Corent Technology
  
 http://maps.yahoo.com/py/maps.py?Pyt=Tmapaddr=3600+W+Florida+Avecsz=Hemet
 %2C+CA+92545country=us 3600 W Florida Ave
 #340
 Hemet, CA 92545 
 
 
  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
  http://www.corenttech.com http://www.corenttech.com
 AIM: [EMAIL PROTECTED] 
 
 
 tel: 
 fax: 
 mobile: 
 Skype ID:
 
  
 http://www.plaxo.com/click_to_call?src=jj_signatureTo=949-547-5700Email=m
 [EMAIL PROTECTED] 949-547-5700 
 7029740341
  
 http://www.plaxo.com/click_to_call?src=jj_signatureTo=949-547-5700Email=m
 [EMAIL PROTECTED] 949-547-5700 
 MikeOliverAZ 
 
  
 
 
 
  
 https://www.plaxo.com/add_me?u=55837372229src=client_sig_212_1_banner_join
 invite=1 Want to always have my latest info?
 
  http://www.plaxo.com/signature?src=client_sig_212_1_banner_sig Want a
 signature like this?
 
  
 
 
 
 View http://corenttech.ning.com/xn/detail/u_25igigalsj1dt  my page on
 Corent Technology
 
  
 
 
 View my page http://linkedinspin.ning.com/xn/detail/u_25igigalsj1dt  on
 CMU SEI LinkedIn SPIN
 
  
 
 
  
  
 BEGIN:VCARD
 VERSION:2.1
 N:Oliver;Michael
 FN:Michael Oliver ([EMAIL PROTECTED])
 ORG:Corent Technology
 TITLE:CTO
 TEL;WORK;VOICE:9495475700
 TEL;WORK;VOICE:(702) 866-9034
 TEL;HOME;VOICE:8014980104
 TEL;CELL;VOICE:(518) 378-6154
 TEL;PAGER;VOICE:Skype:MikeOliverAZ
 TEL;WORK;FAX:7029740341
 ADR;WORK:;;3500 W Florida Ave #340;Hemet;CA;92545;United States of America
 LABEL;WORK;ENCODING=QUOTED-PRINTABLE:3500 W Florida Ave #340=0D=0AHemet,
 CA 92545=0D=0AUnited States of America
 ADR;HOME:;;;same;;;United States of America
 LABEL;HOME;ENCODING=QUOTED-PRINTABLE:same=0D=0AUnited States of America
 URL;WORK:http://www.corenttech.com/
 EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
 REV:20080318T142314Z
 END:VCARD
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://www.nabble.com/Workspace-bug-tp16162818p16187584.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


Re: [xwiki-users] new applications for Workspaces

2008-03-21 Thread Mike Oliver

Vincent, 

I disagree, I think having a good starting place is excellent, but making it
difficult to extend is indeed dumb but not how you intended.  ;-)  So what
do you say to the guy (like me) that says, XWS is great, but I need  __fill
in the blank, Sorry Ollie, it is not intended to be for that!  I don't
think only be able to add applications that we've packaged for them is a
big arrogant for an open source project don't you think?  Think about it. 
XWS is perfect...huh?  Does it have Invite..so how to you invite someone. 
Does it have Todo?  Does it have  which are part of XE true enough but
making it hard to use them does what for you or for the people that would
otherwise use it and perhaps contribute back?


vmassol wrote:
 
 
 I also think that it's not the goal of Workspaces to be a generic  
 purpose wiki. This is for XE. Thus we need to be very careful about  
 the features that we expose in XWS since its goal is to be dumb simple!
 My take is that users should only be able to add the applications that  
 we've packaged for them (i.e. that are in the distribution). Of course  
 an admin can probably do whatever he wants since it's an XE under the  
 hood ;)
 
 WDYT?
 
 Thanks
 -Vincent
 
 
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://www.nabble.com/new-applications-for-Workspaces-tp16190336p16204672.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


Re: [xwiki-users] new applications for Workspaces

2008-03-21 Thread Mike Oliver



Jerome Velociter-2 wrote:
 
 ...But, I also believe that their is one thing
 we should at some point expose to developers: application development for
 spaces. For me this won't make XWS more complex, it will just give the
 opportunity for those who want/need, to empower their spaces with business
 apps/other apps. (and why not for us having contributed apps we can share
 on code.xwiki.org).
 
 ...
 
 Now to sum up my view on the topic I would say that:
 
 - It is certainly too early to advertise XWS application development (with
 a tutorial on workspaces.xwiki.org for example)
 - but this is something we should do at some point
 - It would be awesome if XE apps (wiki apps) and XWS apps (spaces apps)
 could be both handled by application manager, and IMHO we should tend
 towards this goal.
 
 Regards,
 Jerome.
 
 
Ok, what about a middle ground?  Say a way to easily allow access through
from XWS to (wiki apps), perhaps another panel on the left for Other Apps
and a tutorial on building that?

I look forward to adding what you desribe, but I can wait for that, I just
need a couple of things.  I don't want to go to XE and build my own XWS just
so I can get a couple of other things.



-- 
View this message in context: 
http://www.nabble.com/new-applications-for-Workspaces-tp16190336p16204740.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


Re: [xwiki-users] Invite new users in XWiki Workspaces

2008-03-21 Thread Mike Oliver



Jerome Velociter-2 wrote:
 
 
 If you are a workspace admin, click Space administration in the space
 left menu, then Space members in the administration menu. You can now
 add members of the wiki to the space, by giving them a role (admin, writer
 or reader).
 
 Hope this helps, Regards
 Jerome.
 
Well no it doesn't actually.  Perhaps it is my inadequate use of
terminology.

I create a new XWS in my domain and Admin / admin is the first user and I
create the Organization space.

I can create workspaces under that instance and add users.  I can make one
or more of those users Admins on one or more of the workspaces.  But I see
no way for those Admins on those spaces to Register new users unless I make
them Admins on the whole XWS, I don't want to have a space admin
administering the whole Place and I don't want to register all the users
anybody could possibly want in their department or project workspaces.  I
would like the ability to send an email invite from a workspace
administrator and let the recipient register and that admin grant the access
to that workspace ONLY.  


-- 
View this message in context: 
http://www.nabble.com/Invite-new-users-in-XWiki-Workspaces-tp16198814p16205456.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


Re: [xwiki-users] new applications for Workspaces

2008-03-21 Thread Mike Oliver

Vincent,


vmassol wrote:
 
 
 ...
 You have the right to disagree of course... I'm not going to enter in  
 a fight with you. If you want to contribute things then we'll all be  
 happy and love it.
 
 Thanks
 -Vincent
 
 WDYT?

 Thanks
 -Vincent
 
 
No offense intended, you did ask WDYT? and I voiced it.  I suppose I was a
bit hard on you.

I just get wrangled when someone starts thinking for me deciding what's best
for me, not that is what you intended, just how I saw it.

Ollie


-- 
View this message in context: 
http://www.nabble.com/new-applications-for-Workspaces-tp16190336p16206420.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


Re: [xwiki-users] new applications for Workspaces

2008-03-21 Thread Mike Oliver



Mike Oliver wrote:
 
 
 Ok, what about a middle ground?  Say a way to easily allow access through
 from XWS to (wiki apps), perhaps another panel on the left for Other
 Apps and a tutorial on building that?
 
 I look forward to adding what you desribe, but I can wait for that, I just
 need a couple of things.  I don't want to go to XE and build my own XWS
 just so I can get a couple of other things.
 
 

Ok, so how would we do this?  We install XE and we Create Spaces that are
themselves XWS roots that look and act just like stand alone XWS spaces and
can have their own little sets of users and we can build applications in the
super XE and expose those in pages on the child XWS spaces The Admin for the
space created on XE would then be able to invite users and auto register,
etc.

XE with wiki apps and XWS as spaces on that XE.  What would it take?

Ollie

-- 
View this message in context: 
http://www.nabble.com/new-applications-for-Workspaces-tp16190336p16210365.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] ORA-01483: invalid length for DATE or NUMBER bind variable

2008-03-29 Thread Mike Oliver

We are using XE 1.3 from the war and have been building our XWiki
successfully until today.  We are hooked up to Oracle 10g and have been able
to create content, add users, and get notices from watch jobs, so it seemed
to be working fine.

Today we started getting errors on adding content.  First on trying to
upload the mindmap.xar and then on creating a blog entry and finally on
creating a new comment.

All threw different Exceptions, but all had one root cause.

ORA-01483: invalid length for DATE or NUMBER bind variable
 

Here is one stack trace...

Error number 3201 in 3: Exception while saving document SaaS Engine
Road Map.ODGB
Wrapped Exception: Error number 13012 in 3: Exception while saving links
Wrapped Exception: could not update:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2]{version2=2,
docId=153092, version1=5}]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document SaaS Engine Road Map.ODGB
Wrapped Exception: Error number 13012 in 3: Exception while saving links
Wrapped Exception: could not update:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2]{version2=2,
docId=153092, version1=5}]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:457)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1078)
at
com.xpn.xwiki.web.CommentAddAction.action(CommentAddAction.java:61)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:188)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
 
 
Wrapped Exception:
 
com.xpn.xwiki.XWikiException: Error number 13012 in 3: Exception while
saving links
Wrapped Exception: could not update:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2]{version2=2,
docId=153092, version1=5}]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1657)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:443)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1078)
at
com.xpn.xwiki.web.CommentAddAction.action(CommentAddAction.java:61)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:188)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at

Re: [xwiki-users] Problems on customizing xwiki --copyright, logo, panel

2008-04-10 Thread Mike Oliver

Did you ever solve issue #2?  I have that same issue.

Ollie

RocRen wrote:
 
 .2. I replace the logo following the instruction on xwiki.org,
 attached my logo to /xwiki/bin/view/XWiki/DefaultSkin
 and edited objects for my logo. Every logo inside xwiki is
 ok, but the logo in login page still remained xwiki.org logo.
 (I set anyone must regist and login befor seeing anything in
 my xwiki).
  
 

-- 
View this message in context: 
http://www.nabble.com/Problems-on-customizing-xwiki---copyright%2C-logo%2C-panel-tp12537769p16608834.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


Re: [xwiki-users] changing some layout details in a single page

2008-04-10 Thread Mike Oliver

This works great for a single page, so what about a space?

-- 
View this message in context: 
http://www.nabble.com/changing-some-layout-details-in-a-single-page-tp16040881p16612682.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


Re: [xwiki-users] changing some layout details in a single page

2008-04-10 Thread Mike Oliver



Sergiu Dumitriu-2 wrote:
 
 Just edit the space preferences.
 
Of course, I realized just a second or so AFTER hitting submit.

Ollie
-- 
View this message in context: 
http://www.nabble.com/changing-some-layout-details-in-a-single-page-tp16040881p16617836.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


Re: [xwiki-users] user login / document does not exist

2008-04-16 Thread Mike Oliver



[Ricardo RodrĂ­guez] wrote:
 
 Does it happen if you go 
 through the Tomcat standalone web server at 8080 instead of using the 
 Apache front end?
 
 It could be more an Apache message than a XWiki one...
 

I have the same problem, and using Only Tomcat on 8080 with no Apache at all
and we are using XE 1.3.1 
I put in a JIRA http://jira.xwiki.org/jira/browse/XE-223



-- 
View this message in context: 
http://www.nabble.com/user-login---document-does-not-exist-tp16701245p16736620.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


Re: [xwiki-users] XWiki Watch and XWiki RSS feeds

2008-04-21 Thread Mike Oliver

will do that right now...http://jira.xwiki.org/jira/browse/XWATCH-135


Sergiu Dumitriu-2 wrote:
 
 I guess that is good feature request. Please feel free to add an issue 
 on jira.xwiki.org
 -- 
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://www.nabble.com/XWiki-Watch-and-XWiki-RSS-feeds-tp16714471p16808228.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


Re: [xwiki-users] user login / document does not exist

2008-04-21 Thread Mike Oliver

Is there a work around where we can modify DocumentDoesNotExist wiki page
with a timer that forwards to  ..bin/view/Main/ after a few seconds?


Mike Oliver wrote:
 
 I have the same problem, and using Only Tomcat on 8080 with no Apache at
 all and we are using XE 1.3.1 
 I put in a JIRA http://jira.xwiki.org/jira/browse/XE-223
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/user-login---document-does-not-exist-tp16701245p16808506.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


Re: [xwiki-users] user login / document does not exist

2008-04-22 Thread Mike Oliver

Everything else works just fine, it is just immediately after login that it
shows this.  If it were in web.xml it wouldn't work at all eh?


vmassol wrote:
 
 
 On Apr 22, 2008, at 1:22 AM, Mike Oliver wrote:
 

 That didn't help, perhaps the URI it goes to after login will give a  
 clue.

 /xwiki/xwiki/bin/view/Main/DocumentDoesNotExist
 
 That URI is not correct. There's one xwiki/ too much.
 
 Maybe the path specified in your web.xml isn't correct?
 
 -Vincent
 
 PS: I haven't followed this thread so maybe this has already been  
 discussed/
 
 
 Guillaume Lerouge wrote:

 Hi Mike,

 Is there a work around where we can modify DocumentDoesNotExist  
 wiki page
 with a timer that forwards to  ..bin/view/Main/ after a few  
 seconds?


 Edit the page in wiki mode and add

 $response.sendRedirect(Main.WebHome)

 at the top.

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

-- 
View this message in context: 
http://www.nabble.com/user-login---document-does-not-exist-tp16701245p16828973.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


Re: [xwiki-users] user login / document does not exist

2008-04-22 Thread Mike Oliver

A quick look at web.xml shows...

 error-page
error-code404/error-code
location/xwiki/bin/view/Main/DocumentDoesNotExist/location
  /error-page

So I do believe the extra /xwiki is coming from here true enough...but ah
ha! it is coming here because after login it is trowing a 404 and that is
redirecting to here.


vmassol wrote:
 
 
 On Apr 22, 2008, at 1:22 AM, Mike Oliver wrote:
 

 That didn't help, perhaps the URI it goes to after login will give a  
 clue.

 /xwiki/xwiki/bin/view/Main/DocumentDoesNotExist
 
 That URI is not correct. There's one xwiki/ too much.
 
 Maybe the path specified in your web.xml isn't correct?
 
 -Vincent
 
 PS: I haven't followed this thread so maybe this has already been  
 discussed/
 
 

-- 
View this message in context: 
http://www.nabble.com/user-login---document-does-not-exist-tp16701245p16829551.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] New Skin strange behavior

2008-04-28 Thread Mike Oliver

I have copied the albatross skin folder over to the new skin I wanted to
create, let's call it newskin.

Then I created a space and set the space prefs to that newskin.

Then I used the panel wizard to change the default layout to three columns.

Then I used firebug to make changes to screenlayout.css until I got my new
narrow panel columns and things like left margins and so forth to line up
including the menu pads on left and right, etc.

Now I have my left panel width at 54px and the right panel width at 54px
(both will be just a column of buttons when I am done.

I created a left panel with only content with #panelheader('NAV') and I got
my narrow panel on the left, cool.

So I  created a right side panel with a different header #panelheader('GUI')

But that didn't show on the right, it showed on the left under the first
one.

If I show right panels and leave the Right Panesl pref blank I get the
default panels like Quick Links., but they dont' show on the right, they
show on the left under the one above.


-- 
View this message in context: 
http://www.nabble.com/New-Skin-strange-behavior-tp16945968p16945968.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


Re: [xwiki-users] JavaScript image manipulation

2008-05-11 Thread Mike Oliver

\]Ok I found the \['example'\] but that leaves the  AEBtn_0.jpb 
I am trying to manipulate some image files using JavaScript.

But when I insert a tag as follows the javascript []'s get interpretted as a
wiki link, 

lt;a href=/Sandbox/WebHome
onMousedown=document.images['example'].src=img2.src
onMouseup=document.images['example'].src=img1.srcgt;
lt;mg src={image:AEBtn_0.jpg} name=example border=0gt;lt;/agt;



-- 
View this message in context: 
http://www.nabble.com/JavaScript-image-manipulation-tp17177802p17179133.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] Creating a Toolbar of my own

2008-05-22 Thread Mike Oliver

I am making good progress on a new Class that has properties, style sheet and
template that I created after following the Todo Tutorial.

The ToolbarClass has the following properties

Type/Name/SampleContent

String/Title/Advanced Editor
TextArea/Description/This button takes you to the advanced editor page
String/UpIcon/AEBtn0.jpg
String/DownIcon/AEBtn1.jpg
String/DisabledIcon/AEBtn2.jpt
String/GotoPage/Tools.AdvancedEditor

Also following the Todo Tutorial I created the Toolbar Space Web Home page
dashboard with 


#set ($hql = , BaseObject as obj where obj.name=doc.fullName
and obj.className='XWiki.ToolbarClass' and
obj.name'XWiki.ToolbarClassTemplate')
#set ($toolbars= $xwiki.searchDocuments($hql))
#if ($toolbars.size()  0)
  #foreach ($toolbar in $toolbars)

* [$toolbar]

#end
#else
  #info(There are no Toolbar documents in this wiki!)
#end

And I added the Comments object to the ToolbarClassTemplate
and then added a couple of document and attached the UPIcon and DownIcon
images as attachments.

Going to the Web Home of the I see the list of the two document with the
ToolbarClass object on them so cool beans just as the tutorial instructed
with the names changed and bingo we have a winner.

Now the tricky part, I want to show the attached images in the dashboard for
each document, where the property of the Toolbar object for UpIcon is used
to identifiy which attachment to display.

I tried 


#set ($hql = , BaseObject as obj where obj.name=doc.fullName
and obj.className='XWiki.ToolbarClass' and
obj.name'XWiki.ToolbarClassTemplate')
#set ($toolbars= $xwiki.searchDocuments($hql))
#if ($toolbars.size()  0)
  #foreach ($toolbar in $toolbars)

*  $xwiki.getAttachmentURL(  [$toolbar]

#end
#else
  #info(There are no Toolbar documents in this wiki!)
#end
 
where I know that AEBtn0.jpg is the attached image but that doesn't show.  

Eventually I want to use the string in the UpIcon property to identify the
image to display but unless I can get the attachement to display on another
page I cannot proceed.


-- 
View this message in context: 
http://www.nabble.com/Creating-a-Toolbar-of-my-own-tp17410485p17410485.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


Re: [xwiki-users] Creating a Toolbar of my own

2008-05-22 Thread Mike Oliver

Ok first problem solved the img link had the arguments in the wrong order so 

lt;mg
src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton)
/gt; was bad and

lt;mg
src=$xwiki.getAttachmentURL(Toolbar.AdvancedEditorButton,AEBtn0.jpg)
/gt; was good.

Now the question is, given the desire to show in the dashboard now and
eventually in a panel later the icons named in the properties of the toolbar
classes, how do I loop through the toolbars and build the displa from the
properties?


Mike Oliver wrote:
 
 I am making good progress on a new Class that has properties, style sheet
 and template that I created after following the Todo Tutorial.
 
 The ToolbarClass has the following properties
 
 Type/Name/SampleContent
 
 String/Title/Advanced Editor
 TextArea/Description/This button takes you to the advanced editor page
 String/UpIcon/AEBtn0.jpg
 String/DownIcon/AEBtn1.jpg
 String/DisabledIcon/AEBtn2.jpg
 String/GotoPage/Tools.AdvancedEditor
 
 Also following the Todo Tutorial I created the Toolbar Space Web Home page
 dashboard with 
 
 
 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
   and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 
 * [$toolbar]
 
 #end
 #else
   #info(There are no Toolbar documents in this wiki!)
 #end
 
 And I added the Comments object to the ToolbarClassTemplate
 and then added a couple of document and attached the UPIcon and DownIcon
 images as attachments.
 
 Going to the Web Home of the I see the list of the two document with the
 ToolbarClass object on them so cool beans just as the tutorial instructed
 with the names changed and bingo we have a winner.
 
 Now the tricky part, I want to show the attached images in the dashboard
 for each document, where the property of the Toolbar object for UpIcon is
 used to identifiy which attachment to display.
 
 I tried 
 
 
 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
   and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 
 * lt;mg
 src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton)
 /gt; [$toolbar]
 
 #end
 #else
   #info(There are no Toolbar documents in this wiki!)
 #end
  
 where I know that AEBtn0.jpg is the attached image but that doesn't show.  
 
 Eventually I want to use the string in the UpIcon property to identify the
 image to display but unless I can get the attachement to display on
 another page I cannot proceed.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Creating-a-Toolbar-of-my-own-tp17410485p17410953.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


Re: [xwiki-users] Creating a Toolbar of my own

2008-05-22 Thread Mike Oliver

Ok proding right along I got the icon attached to the toolbar page to display
for each in the toolbars list, but the link on the image doesn't work.

Here is the latest...

#set ($hql = , BaseObject as obj where obj.name=doc.fullName
and obj.className='XWiki.ToolbarClass' and
obj.name'XWiki.ToolbarClassTemplate')
#set ($toolbars= $xwiki.searchDocuments($hql))
#if ($toolbars.size()  0)
  #foreach ($toolbar in $toolbars)
#set ($itemdoc = $xwiki.getDocument($toolbar))
#set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass'))
#set ($imgsrc =
$xwiki.getAttachmentURL($itemdoc,$itemdoc.display('UpIcon')))

* [lt;img src=$imgsrc/gt; gt; $itemdoc.display('GotoPage')] [$toolbar]
br

#the following is just to show what's in the properties using a couple
different methods, I tried both above.
$itemdoc.display('UpIcon') | $itemdoc.display('DownIcon') |
$itemdoc.display('GotoPage') | $itemobject.getProperty('GotoPage').value
br 

#end
#else
  #info(There are no Toolbar documents in this wiki!)
#end


Mike Oliver wrote:
 
 Ok first problem solved the img link had the arguments in the wrong order
 so 
 
 lt;mg
 src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton)
 /gt; was bad and
 
 lt;mg
 src=$xwiki.getAttachmentURL(Toolbar.AdvancedEditorButton,AEBtn0.jpg)
 /gt; was good.
 
 Now the question is, given the desire to show in the dashboard now and
 eventually in a panel later the icons named in the properties of the
 toolbar classes, how do I loop through the toolbars and build the displa
 from the properties?
 
 
 Mike Oliver wrote:
 
 I am making good progress on a new Class that has properties, style sheet
 and template that I created after following the Todo Tutorial.
 
 The ToolbarClass has the following properties
 
 Type/Name/SampleContent
 
 String/Title/Advanced Editor
 TextArea/Description/This button takes you to the advanced editor page
 String/UpIcon/AEBtn0.jpg
 String/DownIcon/AEBtn1.jpg
 String/DisabledIcon/AEBtn2.jpg
 String/GotoPage/Tools.AdvancedEditor
 
 Also following the Todo Tutorial I created the Toolbar Space Web Home
 page dashboard with 
 
 
 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
  and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 
 * [$toolbar]
 
 #end
 #else
   #info(There are no Toolbar documents in this wiki!)
 #end
 
 And I added the Comments object to the ToolbarClassTemplate
 and then added a couple of document and attached the UPIcon and DownIcon
 images as attachments.
 
 Going to the Web Home of the I see the list of the two document with the
 ToolbarClass object on them so cool beans just as the tutorial instructed
 with the names changed and bingo we have a winner.
 
 Now the tricky part, I want to show the attached images in the dashboard
 for each document, where the property of the Toolbar object for UpIcon is
 used to identifiy which attachment to display.
 
 I tried 
 
 
 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
  and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 
 * lt;mg
 src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton)
 /gt; [$toolbar]
 
 #end
 #else
   #info(There are no Toolbar documents in this wiki!)
 #end
  
 where I know that AEBtn0.jpg is the attached image but that doesn't show.  
 
 Eventually I want to use the string in the UpIcon property to identify
 the image to display but unless I can get the attachement to display on
 another page I cannot proceed.
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Creating-a-Toolbar-of-my-own-tp17410485p17411628.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


Re: [xwiki-users] Creating a Toolbar of my own

2008-05-22 Thread Mike Oliver

Ok almost there...

This line works with the Click here link, but the img link doesn't.


* lt;img src=$imgsrc/gt; [Click here$itemdoc.display('GotoPage')]
[$toolbar] br


Mike Oliver wrote:
 
 Ok proding right along I got the icon attached to the toolbar page to
 display for each in the toolbars list, but the link on the image doesn't
 work.
 
 Here is the latest...
 
 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
   and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 #set ($itemdoc = $xwiki.getDocument($toolbar))
 #set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass'))
 #set ($imgsrc =
 $xwiki.getAttachmentURL($itemdoc,$itemdoc.display('UpIcon')))
 
 * [lt;img src=$imgsrc/gt; gt; $itemdoc.display('GotoPage')]
 [$toolbar] br
 
 #the following is just to show what's in the properties using a couple
 different methods, I tried both above.
 $itemdoc.display('UpIcon') | $itemdoc.display('DownIcon') |
 $itemdoc.display('GotoPage') | $itemobject.getProperty('GotoPage').value
 br 
 
 #end
 #else
   #info(There are no Toolbar documents in this wiki!)
 #end
 
 
 Mike Oliver wrote:
 
 Ok first problem solved the img link had the arguments in the wrong order
 so 
 
 lt;mg
 src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton)
 /gt; was bad and
 
 lt;mg
 src=$xwiki.getAttachmentURL(Toolbar.AdvancedEditorButton,AEBtn0.jpg)
 /gt; was good.
 
 Now the question is, given the desire to show in the dashboard now and
 eventually in a panel later the icons named in the properties of the
 toolbar classes, how do I loop through the toolbars and build the displa
 from the properties?
 
 
 Mike Oliver wrote:
 
 I am making good progress on a new Class that has properties, style
 sheet and template that I created after following the Todo Tutorial.
 
 The ToolbarClass has the following properties
 
 Type/Name/SampleContent
 
 String/Title/Advanced Editor
 TextArea/Description/This button takes you to the advanced editor page
 String/UpIcon/AEBtn0.jpg
 String/DownIcon/AEBtn1.jpg
 String/DisabledIcon/AEBtn2.jpg
 String/GotoPage/Tools.AdvancedEditor
 
 Also following the Todo Tutorial I created the Toolbar Space Web Home
 page dashboard with 
 
 
 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
 and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 
 * [$toolbar]
 
 #end
 #else
   #info(There are no Toolbar documents in this wiki!)
 #end
 
 And I added the Comments object to the ToolbarClassTemplate
 and then added a couple of document and attached the UPIcon and DownIcon
 images as attachments.
 
 Going to the Web Home of the I see the list of the two document with the
 ToolbarClass object on them so cool beans just as the tutorial
 instructed with the names changed and bingo we have a winner.
 
 Now the tricky part, I want to show the attached images in the dashboard
 for each document, where the property of the Toolbar object for UpIcon
 is used to identifiy which attachment to display.
 
 I tried 
 
 
 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
 and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 
 * lt;mg
 src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton)
 /gt; [$toolbar]
 
 #end
 #else
   #info(There are no Toolbar documents in this wiki!)
 #end
  
 where I know that AEBtn0.jpg is the attached image but that doesn't
 show.  
 
 Eventually I want to use the string in the UpIcon property to identify
 the image to display but unless I can get the attachement to display on
 another page I cannot proceed.
 
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Creating-a-Toolbar-of-my-own-tp17410485p17411759.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


Re: [xwiki-users] Creating a Toolbar of my own

2008-05-22 Thread Mike Oliver

Bingo we have a winner...

#set ($hql = , BaseObject as obj where obj.name=doc.fullName
and obj.className='XWiki.ToolbarClass' and
obj.name'XWiki.ToolbarClassTemplate')
#set ($toolbars= $xwiki.searchDocuments($hql))
#if ($toolbars.size()  0)
  #foreach ($toolbar in $toolbars)
#set ($itemdoc = $xwiki.getDocument($toolbar))
#set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass'))
#set ($imgsrc =
$xwiki.getAttachmentURL($itemdoc,$itemdoc.display('UpIcon')))

* lt;a href=/xwiki/bin/view/$itemdoc.display('GotoPage')gt;lt;img
src=$imgsrc/gt;lt;/agt; [$toolbar] br


Mike Oliver wrote:
 
 Ok almost there...
 
 This line works with the Click here link, but the img link doesn't.
 
 
 * lt;img src=$imgsrc/gt; [Click here$itemdoc.display('GotoPage')]
 [$toolbar] br
 
 
 Mike Oliver wrote:
 
 Ok proding right along I got the icon attached to the toolbar page to
 display for each in the toolbars list, but the link on the image doesn't
 work.
 
 Here is the latest...
 
 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
  and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 #set ($itemdoc = $xwiki.getDocument($toolbar))
 #set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass'))
 #set ($imgsrc =
 $xwiki.getAttachmentURL($itemdoc,$itemdoc.display('UpIcon')))
 
 * [lt;img src=$imgsrc/gt; gt; $itemdoc.display('GotoPage')]
 [$toolbar] br
 
 #the following is just to show what's in the properties using a couple
 different methods, I tried both above.
 $itemdoc.display('UpIcon') | $itemdoc.display('DownIcon') |
 $itemdoc.display('GotoPage') | $itemobject.getProperty('GotoPage').value
 br 
 
 #end
 #else
   #info(There are no Toolbar documents in this wiki!)
 #end
 
 
 Mike Oliver wrote:
 
 Ok first problem solved the img link had the arguments in the wrong
 order so 
 
 lt;mg
 src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton)
 /gt; was bad and
 
 lt;mg
 src=$xwiki.getAttachmentURL(Toolbar.AdvancedEditorButton,AEBtn0.jpg)
 /gt; was good.
 
 Now the question is, given the desire to show in the dashboard now and
 eventually in a panel later the icons named in the properties of the
 toolbar classes, how do I loop through the toolbars and build the displa
 from the properties?
 
 
 Mike Oliver wrote:
 
 I am making good progress on a new Class that has properties, style
 sheet and template that I created after following the Todo Tutorial.
 
 The ToolbarClass has the following properties
 
 Type/Name/SampleContent
 
 String/Title/Advanced Editor
 TextArea/Description/This button takes you to the advanced editor page
 String/UpIcon/AEBtn0.jpg
 String/DownIcon/AEBtn1.jpg
 String/DisabledIcon/AEBtn2.jpg
 String/GotoPage/Tools.AdvancedEditor
 
 Also following the Todo Tutorial I created the Toolbar Space Web Home
 page dashboard with 
 
 
 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 
 * [$toolbar]
 
 #end
 #else
   #info(There are no Toolbar documents in this wiki!)
 #end
 
 And I added the Comments object to the ToolbarClassTemplate
 and then added a couple of document and attached the UPIcon and
 DownIcon images as attachments.
 
 Going to the Web Home of the I see the list of the two document with
 the ToolbarClass object on them so cool beans just as the tutorial
 instructed with the names changed and bingo we have a winner.
 
 Now the tricky part, I want to show the attached images in the
 dashboard for each document, where the property of the Toolbar object
 for UpIcon is used to identifiy which attachment to display.
 
 I tried 
 
 
 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 
 * lt;mg
 src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton)
 /gt; [$toolbar]
 
 #end
 #else
   #info(There are no Toolbar documents in this wiki!)
 #end
  
 where I know that AEBtn0.jpg is the attached image but that doesn't
 show.  
 
 Eventually I want to use the string in the UpIcon property to identify
 the image to display but unless I can get the attachement to display on
 another page I cannot proceed.
 
 
 
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Creating-a-Toolbar-of-my-own-tp17410485p17412204.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


Re: [xwiki-users] Creating a Toolbar of my own

2008-05-22 Thread Mike Oliver

Well we stopped using XWiki Workspaces as we are building custom solutions
and if my memory serves me correctly you responded once with the comment
that Workspaces was meant to be quick and dirty not for development.

XE is great.


Guillaume Lerouge wrote:
 
 Glad you found a solution to your issue, even though we weren't that
 helpful
 on it ;-)
 By the way, AFAIR you were using XWiki Workspaces, I'd be glad to hear
 from
 you and gather some feedback about how you're using the solution, what you
 enjoy about it and so on...
 
 Guillaume
 
 On Thu, May 22, 2008 at 9:55 PM, Mike Oliver [EMAIL PROTECTED]
 wrote:
 

 Bingo we have a winner...

 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
  #foreach ($toolbar in $toolbars)
#set ($itemdoc = $xwiki.getDocument($toolbar))
#set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass'))
#set ($imgsrc =
 $xwiki.getAttachmentURL($itemdoc,$itemdoc.display('UpIcon')))

 * lt;a href=/xwiki/bin/view/$itemdoc.display('GotoPage')gt;lt;img
 src=$imgsrc/gt;lt;/agt; [$toolbar] br


 Mike Oliver wrote:
 
  Ok almost there...
 
  This line works with the Click here link, but the img link doesn't.
 
 
  * lt;img src=$imgsrc/gt; [Click here$itemdoc.display('GotoPage')]
  [$toolbar] br
 
 
  Mike Oliver wrote:
 
  Ok proding right along I got the icon attached to the toolbar page to
  display for each in the toolbars list, but the link on the image
 doesn't
  work.
 
  Here is the latest...
 
  #set ($hql = , BaseObject as obj where obj.name=doc.fullName
   and obj.className='XWiki.ToolbarClass' and
  obj.name'XWiki.ToolbarClassTemplate')
  #set ($toolbars= $xwiki.searchDocuments($hql))
  #if ($toolbars.size()  0)
#foreach ($toolbar in $toolbars)
  #set ($itemdoc = $xwiki.getDocument($toolbar))
  #set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass'))
  #set ($imgsrc =
  $xwiki.getAttachmentURL($itemdoc,$itemdoc.display('UpIcon')))
 
  * [lt;img src=$imgsrc/gt; gt; $itemdoc.display('GotoPage')]
  [$toolbar] br
 
  #the following is just to show what's in the properties using a couple
  different methods, I tried both above.
  $itemdoc.display('UpIcon') | $itemdoc.display('DownIcon') |
  $itemdoc.display('GotoPage') |
 $itemobject.getProperty('GotoPage').value
  br
 
  #end
  #else
#info(There are no Toolbar documents in this wiki!)
  #end
 
 
  Mike Oliver wrote:
 
  Ok first problem solved the img link had the arguments in the wrong
  order so
 
  lt;mg
 
 src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton)
  /gt; was bad and
 
  lt;mg
 
 src=$xwiki.getAttachmentURL(Toolbar.AdvancedEditorButton,AEBtn0.jpg)
  /gt; was good.
 
  Now the question is, given the desire to show in the dashboard now
 and
  eventually in a panel later the icons named in the properties of the
  toolbar classes, how do I loop through the toolbars and build the
 displa
  from the properties?
 
 
  Mike Oliver wrote:
 
  I am making good progress on a new Class that has properties, style
  sheet and template that I created after following the Todo Tutorial.
 
  The ToolbarClass has the following properties
 
  Type/Name/SampleContent
 
  String/Title/Advanced Editor
  TextArea/Description/This button takes you to the advanced editor
 page
  String/UpIcon/AEBtn0.jpg
  String/DownIcon/AEBtn1.jpg
  String/DisabledIcon/AEBtn2.jpg
  String/GotoPage/Tools.AdvancedEditor
 
  Also following the Todo Tutorial I created the Toolbar Space Web
 Home
  page dashboard with
 
 
  #set ($hql = , BaseObject as obj where obj.name=doc.fullName
 and obj.className='XWiki.ToolbarClass' and
  obj.name'XWiki.ToolbarClassTemplate')
  #set ($toolbars= $xwiki.searchDocuments($hql))
  #if ($toolbars.size()  0)
#foreach ($toolbar in $toolbars)
 
  * [$toolbar]
 
  #end
  #else
#info(There are no Toolbar documents in this wiki!)
  #end
 
  And I added the Comments object to the ToolbarClassTemplate
  and then added a couple of document and attached the UPIcon and
  DownIcon images as attachments.
 
  Going to the Web Home of the I see the list of the two document with
  the ToolbarClass object on them so cool beans just as the tutorial
  instructed with the names changed and bingo we have a winner.
 
  Now the tricky part, I want to show the attached images in the
  dashboard for each document, where the property of the Toolbar
 object
  for UpIcon is used to identifiy which attachment to display.
 
  I tried
 
 
  #set ($hql = , BaseObject as obj where obj.name=doc.fullName
 and obj.className='XWiki.ToolbarClass' and
  obj.name'XWiki.ToolbarClassTemplate')
  #set ($toolbars= $xwiki.searchDocuments($hql))
  #if ($toolbars.size()  0)
#foreach ($toolbar in $toolbars)
 
  * lt;mg
 
 src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton)
  /gt; [$toolbar]
 
  #end

Re: [xwiki-users] Creating a Toolbar of my own

2008-05-23 Thread Mike Oliver

Yes Glad to do that, but I think I will wait until I finish, I still want to
do some ordering and filtering so the Toolbar Class objects can support more
than one toolbar.  When I am done I will put up an example.

Ollie

goldring, richard wrote:
 
 Mike,
 
 Can you document useful code snipets like this on the XWiki site? Thanks.
 
 Regards,
 
 Richard
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
 Of Mike Oliver
 Sent: 22 May 2008 20:56
 To: users@xwiki.org
 Subject: Re: [xwiki-users] Creating a Toolbar of my own
 
 
 
 Bingo we have a winner...
 
 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
   and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 #set ($itemdoc = $xwiki.getDocument($toolbar))
 #set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass'))
 #set ($imgsrc =
 $xwiki.getAttachmentURL($itemdoc,$itemdoc.display('UpIcon')))
 
 * lt;a href=/xwiki/bin/view/$itemdoc.display('GotoPage')gt;lt;img
 src=$imgsrc/gt;lt;/agt; [$toolbar] br
 
 
 Mike Oliver wrote:
 
 Ok almost there...
 
 This line works with the Click here link, but the img link doesn't.
 
 
 * lt;img src=$imgsrc/gt; [Click here$itemdoc.display('GotoPage')]
 [$toolbar] br
 
 
 Mike Oliver wrote:
 
 Ok proding right along I got the icon attached to the toolbar page to
 display for each in the toolbars list, but the link on the image doesn't
 work.
 
 Here is the latest...
 
 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
 and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 #set ($itemdoc = $xwiki.getDocument($toolbar))
 #set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass'))
 #set ($imgsrc =
 $xwiki.getAttachmentURL($itemdoc,$itemdoc.display('UpIcon')))
 
 * [lt;img src=$imgsrc/gt; gt; $itemdoc.display('GotoPage')]
 [$toolbar] br
 
 #the following is just to show what's in the properties using a couple
 different methods, I tried both above.
 $itemdoc.display('UpIcon') | $itemdoc.display('DownIcon') |
 $itemdoc.display('GotoPage') | $itemobject.getProperty('GotoPage').value
 br 
 
 #end
 #else
   #info(There are no Toolbar documents in this wiki!)
 #end
 
 
 Mike Oliver wrote:
 
 Ok first problem solved the img link had the arguments in the wrong
 order so 
 
 lt;mg

 src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton)
 /gt; was bad and
 
 lt;mg

 src=$xwiki.getAttachmentURL(Toolbar.AdvancedEditorButton,AEBtn0.jpg)
 /gt; was good.
 
 Now the question is, given the desire to show in the dashboard now and
 eventually in a panel later the icons named in the properties of the
 toolbar classes, how do I loop through the toolbars and build the
 displa
 from the properties?
 
 
 Mike Oliver wrote:
 
 I am making good progress on a new Class that has properties, style
 sheet and template that I created after following the Todo Tutorial.
 
 The ToolbarClass has the following properties
 
 Type/Name/SampleContent
 
 String/Title/Advanced Editor
 TextArea/Description/This button takes you to the advanced editor page
 String/UpIcon/AEBtn0.jpg
 String/DownIcon/AEBtn1.jpg
 String/DisabledIcon/AEBtn2.jpg
 String/GotoPage/Tools.AdvancedEditor
 
 Also following the Todo Tutorial I created the Toolbar Space Web Home
 page dashboard with 
 
 
 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
   and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 
 * [$toolbar]
 
 #end
 #else
   #info(There are no Toolbar documents in this wiki!)
 #end
 
 And I added the Comments object to the ToolbarClassTemplate
 and then added a couple of document and attached the UPIcon and
 DownIcon images as attachments.
 
 Going to the Web Home of the I see the list of the two document with
 the ToolbarClass object on them so cool beans just as the tutorial
 instructed with the names changed and bingo we have a winner.
 
 Now the tricky part, I want to show the attached images in the
 dashboard for each document, where the property of the Toolbar object
 for UpIcon is used to identifiy which attachment to display.
 
 I tried 
 
 
 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
   and obj.className='XWiki.ToolbarClass' and
 obj.name'XWiki.ToolbarClassTemplate')
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 
 * lt;mg

 src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton)
 /gt; [$toolbar]
 
 #end
 #else
   #info(There are no Toolbar documents in this wiki!)
 #end
  
 where I know that AEBtn0.jpg is the attached image but that doesn't

Re: [xwiki-users] Order by property of a class

2008-05-25 Thread Mike Oliver

Ok maybe I need a new set of eyes, but the following works and returns all
the toolbar documents...
#set ($hql = , BaseObject as obj, 
 StringProperty prop 
 where obj.name=doc.fullName and  obj.className='XWiki.ToolbarClass' and 
obj.name'XWiki.ToolbarClassTemplate' and 
obj.id=prop.id.id)

The ToolbarClass has a Number Property called 'Order' but this doesn't
work...

#set ($hql = , BaseObject as obj, 
 StringProperty prop 
 where obj.name=doc.fullName and  obj.className='XWiki.ToolbarClass' and 
obj.name'XWiki.ToolbarClassTemplate' and 
obj.id=prop.id.id and 
prop.id.name='Order')


Erin Schnabel-3 wrote:
 
 
 Hi,

 I am querying for all the users whose addresses are matching a
 particular pattern. (there is an address property in the UserClass).
 Also I want to the results to be sorted by another property, username.

 I found a similar query in this mailing list thread :
 http://www.nabble.com/select-objects-by-class-and-sort-by-property-tf710844.html#a1871554

 I tried forming the following query but it is wrong.
 , BaseObject as obj, StringProperty as prop, StringProperty as otherprop
 join obj.id=otherprop.id.id and otherprop.id.name='username' where
 obj.name=doc.fullName and obj.className='Users.UserClass' and
 obj.id=prop.id.id and  prop.id.name='address' and prop.value like
 '%someaddress%'  order by otherprop.value

 Can anyone tell me what the correct query should be like.

 Thanks in advance
 Roopesh

 --
 DigitalGlue, India

 
 You have the .id.id matching happening a little inconsistently. I've seen
 this work:
 
 , BaseObject as obj,
   StringProperty as prop,
   StringProperty as otherprop
   where
   (obj.name=doc.fullName and obj.className='Users.UserClass') AND
   (obj.id=prop.id.id and prop.id.name='address' and prop.value like
 '%someaddress%') AND
   (obj.id=otherprop.id.id and otherprop.id.name='username')
   order by otherprop.value
 
 I stick parens in there for sanity's sake. I can always tell when I'm
 working with one property vs. the other because of visual grouping. But
 that's just me... ;)
 
 Erin
 
 
 -- 
 Waste of a good apple. --Samwise Gamgee
 
 
 
 
 --
 You receive this message as a subscriber of the [EMAIL PROTECTED]
 mailing list.
 To unsubscribe: mailto:[EMAIL PROTECTED]
 For general help: mailto:[EMAIL PROTECTED]
 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
 
 

-- 
View this message in context: 
http://www.nabble.com/Order-by-property-of-a-class-tp11559782p17457718.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


Re: [xwiki-users] Order by property of a class

2008-05-25 Thread Mike Oliver

Oh and BTW I did try NumberProperty which isn't mapped and BaseProperty which
didn't execute.

I also searched for and didn't find a list of the Property Types in the
Documentation.


Mike Oliver wrote:
 
 Ok maybe I need a new set of eyes, but the following works and returns all
 the toolbar documents...
 #set ($hql = , BaseObject as obj, 
  StringProperty prop 
  where obj.name=doc.fullName and  obj.className='XWiki.ToolbarClass' and 
 obj.name'XWiki.ToolbarClassTemplate' and 
 obj.id=prop.id.id)
 
 The ToolbarClass has a Number Property called 'Order' but this doesn't
 work...
 
 #set ($hql = , BaseObject as obj, 
  StringProperty prop 
  where obj.name=doc.fullName and  obj.className='XWiki.ToolbarClass' and 
 obj.name'XWiki.ToolbarClassTemplate' and 
 obj.id=prop.id.id and 
 prop.id.name='Order')
 
 
 Erin Schnabel-3 wrote:
 
 
 Hi,

 I am querying for all the users whose addresses are matching a
 particular pattern. (there is an address property in the UserClass).
 Also I want to the results to be sorted by another property, username.

 I found a similar query in this mailing list thread :
 http://www.nabble.com/select-objects-by-class-and-sort-by-property-tf710844.html#a1871554

 I tried forming the following query but it is wrong.
 , BaseObject as obj, StringProperty as prop, StringProperty as otherprop
 join obj.id=otherprop.id.id and otherprop.id.name='username' where
 obj.name=doc.fullName and obj.className='Users.UserClass' and
 obj.id=prop.id.id and  prop.id.name='address' and prop.value like
 '%someaddress%'  order by otherprop.value

 Can anyone tell me what the correct query should be like.

 Thanks in advance
 Roopesh

 --
 DigitalGlue, India

 
 You have the .id.id matching happening a little inconsistently. I've seen
 this work:
 
 , BaseObject as obj,
   StringProperty as prop,
   StringProperty as otherprop
   where
   (obj.name=doc.fullName and obj.className='Users.UserClass') AND
   (obj.id=prop.id.id and prop.id.name='address' and prop.value like
 '%someaddress%') AND
   (obj.id=otherprop.id.id and otherprop.id.name='username')
   order by otherprop.value
 
 I stick parens in there for sanity's sake. I can always tell when I'm
 working with one property vs. the other because of visual grouping. But
 that's just me... ;)
 
 Erin
 
 
 -- 
 Waste of a good apple. --Samwise Gamgee
 
 
 
 
 --
 You receive this message as a subscriber of the [EMAIL PROTECTED]
 mailing list.
 To unsubscribe: mailto:[EMAIL PROTECTED]
 For general help: mailto:[EMAIL PROTECTED]
 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Order-by-property-of-a-class-tp11559782p17457937.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


Re: [xwiki-users] Order by property of a class

2008-05-25 Thread Mike Oliver

I didn't find the documentation, but I did experiment and LongProperty does
work, and looking at the Class I created the Number property does have an
attribute type of number long...doe.


Mike Oliver wrote:
 
 Oh and BTW I did try NumberProperty which isn't mapped and BaseProperty
 which didn't execute.
 
 I also searched for and didn't find a list of the Property Types in the
 Documentation.
 
 
 Mike Oliver wrote:
 
 Ok maybe I need a new set of eyes, but the following works and returns
 all the toolbar documents...
 #set ($hql = , BaseObject as obj, 
  StringProperty prop 
  where obj.name=doc.fullName and  obj.className='XWiki.ToolbarClass' and 
 obj.name'XWiki.ToolbarClassTemplate' and 
 obj.id=prop.id.id)
 
 The ToolbarClass has a Number Property called 'Order' but this doesn't
 work...
 
 #set ($hql = , BaseObject as obj, 
  StringProperty prop 
  where obj.name=doc.fullName and  obj.className='XWiki.ToolbarClass' and 
 obj.name'XWiki.ToolbarClassTemplate' and 
 obj.id=prop.id.id and 
 prop.id.name='Order')
 
 
 Erin Schnabel-3 wrote:
 
 
 Hi,

 I am querying for all the users whose addresses are matching a
 particular pattern. (there is an address property in the UserClass).
 Also I want to the results to be sorted by another property,
 username.

 I found a similar query in this mailing list thread :
 http://www.nabble.com/select-objects-by-class-and-sort-by-property-tf710844.html#a1871554

 I tried forming the following query but it is wrong.
 , BaseObject as obj, StringProperty as prop, StringProperty as
 otherprop
 join obj.id=otherprop.id.id and otherprop.id.name='username' where
 obj.name=doc.fullName and obj.className='Users.UserClass' and
 obj.id=prop.id.id and  prop.id.name='address' and prop.value like
 '%someaddress%'  order by otherprop.value

 Can anyone tell me what the correct query should be like.

 Thanks in advance
 Roopesh

 --
 DigitalGlue, India

 
 You have the .id.id matching happening a little inconsistently. I've
 seen
 this work:
 
 , BaseObject as obj,
   StringProperty as prop,
   StringProperty as otherprop
   where
   (obj.name=doc.fullName and obj.className='Users.UserClass') AND
   (obj.id=prop.id.id and prop.id.name='address' and prop.value like
 '%someaddress%') AND
   (obj.id=otherprop.id.id and otherprop.id.name='username')
   order by otherprop.value
 
 I stick parens in there for sanity's sake. I can always tell when I'm
 working with one property vs. the other because of visual grouping. But
 that's just me... ;)
 
 Erin
 
 
 -- 
 Waste of a good apple. --Samwise Gamgee
 
 
 
 
 --
 You receive this message as a subscriber of the
 [EMAIL PROTECTED] mailing list.
 To unsubscribe: mailto:[EMAIL PROTECTED]
 For general help: mailto:[EMAIL PROTECTED]
 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Order-by-property-of-a-class-tp11559782p17458218.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] Panel aware of page

2008-05-25 Thread Mike Oliver

Is there a way that a panel can be aware of the current page context so I can
enable and disable graphics based on which page is currently active?
-- 
View this message in context: 
http://www.nabble.com/Panel-aware-of-page-tp17458341p17458341.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


Re: [xwiki-users] Panel aware of page

2008-05-28 Thread Mike Oliver

Solved,

The line below
#if($doc.fullName == $itemdoc.fullName ) 

was comparing apples to oranges.

the itemdoc had a property that wasused to create the link and it was called
GotoPage

so 

#if($doc.fullName == $gotoprop.value )

and now the icons get toggled properly.
 

Mike Oliver wrote:
 
 Hmmm, so why doesn't this work? I get results from the query, and build
 the display.  I want the panel where this resides to have an UpIcon and a
 DownIcon for all pages where the panel is displayed except when the panel
 is displayed on the current page where I want both the UpIcon and DownIcon
 the same as the DownIcon.
 
 Currently the if statement always evaluates false.
 
 #set ($hql = , BaseObject as obj, 
  LongProperty prop 
  where obj.name=doc.fullName and  obj.className='XWiki.ToolbarClass' and 
 obj.name'XWiki.ToolbarClassTemplate' and 
 obj.id=prop.id.id and prop.id.name='Order' 
 order by prop.value)
 #set ($toolbars= $xwiki.searchDocuments($hql))
 #if ($toolbars.size()  0)
   #foreach ($toolbar in $toolbars)
 #set ($itemdoc = $xwiki.getDocument($toolbar))
 #set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass'))
 #if($doc.fullName == $itemdoc.fullName )
 #set ($imgsrc0 =
 $xwiki.getAttachmentURL($itemdoc,$itemdoc.display('DownIcon')))
 #set ($imgsrc1 =
 $xwiki.getAttachmentURL($itemdoc,$itemdoc.display('DownIcon')))
 #else
 #set ($imgsrc0 =
 $xwiki.getAttachmentURL($itemdoc,$itemdoc.display('UpIcon')))
 #set ($imgsrc1 =
 $xwiki.getAttachmentURL($itemdoc,$itemdoc.display('DownIcon')))
 #end
 ...
 
 Mike Oliver wrote:
 
 Bingo we have a winner, yes that's what I was looking for.
 
 
 Sergiu Dumitriu-2 wrote:
 
 Guillaume Lerouge wrote:
 #if($doc.name = SpaceName.PageName)Some graphics here
 
 You meant #if($doc.fullName == SpaceName.PageName), right?
 
 #else
 Some other graphics here
 #end
 
 Is that what you would need ?
 
 Guillaume
 
 On Sun, May 25, 2008 at 5:57 PM, Vincent Massol [EMAIL PROTECTED]
 wrote:
 
 On May 25, 2008, at 4:16 PM, Mike Oliver wrote:

 Is there a way that a panel can be aware of the current page context
 so I can
 enable and disable graphics based on which page is currently active?
 $doc?
 
 
 -- 
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Panel-aware-of-page-tp17458341p17516147.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


Re: [xwiki-users] doctree again

2008-06-23 Thread Mike Oliver

me too please!

Nohinder wrote:
 
 the doctree jar available on the xwiki.org is only one level. is there a
 n-level tree available?
 
 
 
 
 Take care ,
 Gabriela Radu :)
 www.gabrielaradu.com
 
 
 
   
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://www.nabble.com/doctree-again-tp18027953p18076911.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] Landing page

2008-06-23 Thread Mike Oliver

How/Where can I setup the landing page after login.

If I as a user have a URL to a page such as
/xwiki/bin/view/Project+Workspace/ and save that as a bookmark, when I go
there I get the login page, but then I am not taken to that page but to the
Main Web Home, I must hit the bookmark a second time to navigate to the
desired page.

Can I set a property someplace that allows a user to set his or her own
landing page other than Main?  Can I change the behavior so the original URI
is retained after login so the user goes directly to that page after login?


-- 
View this message in context: 
http://www.nabble.com/Landing-page-tp18079091p18079091.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] Brainstorming XWiki Favorites

2008-07-01 Thread Mike Oliver

We are looking at creating an internal Favorites system.  with large XWiki's
it is easy for a user to forget where things are and search is not always
productive. Tags don't offer enough info to help much.

So we are thinking about creating a Favorites class with fields for name,
link/path and description. then a panel that shows your favorites.

Does that sound right to the group or is there a better way?


-- 
View this message in context: 
http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18222048.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


Re: [xwiki-users] Brainstorming XWiki Favorites

2008-07-01 Thread Mike Oliver

Ok if we assume this is a good idea, then is it correct to assume we can
follow the Photo Album paradigm and create a class and sheet for favorites,
and then create a page that shows the favorites in a filtered list?  I
suspect the panel will only be for creating favorites while in a page and
adding the name and description before saving.

The list of favorites would be a page the user can get to from the panel.

Can I filter on the user that created the record of the favorites class?

Ollie

Wright, Philip wrote:
 
 Idea is to allow the user to create the description?  If so sounds like a
 GREAT idea.
 
 
  
 
 Philip Wright
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.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


Re: [xwiki-users] Brainstorming XWiki Favorites

2008-07-01 Thread Mike Oliver

Well two reasons, one is that for the watchlist, which will show you a list
of all the pages and spaces you are watching, is a sort of favorites, but
what if you want to navigate to a place over and over again and it is buried
down in a space someplace?  Then what if you don't want to watch it and be
notified for some reason, and then lastly what if you want to save a
description so you can look at your favorites and pick Oh that WebHome.

Ollie

Guillaume Lerouge wrote:
 
 Hi Mike,
 
 
 Can I filter on the user that created the record of the favorites class?

 
 Sure... But why don't you have your users use the Watchlist feature that
 basically already is XWiki's favorites system for individual users ?
 
 Cf http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication
 ,
 it's bundled with all recent versions of XWiki Enterprise AFAIR ...
 
 You might still want to add that description field though...
 
 Guillaume
 
 
 

 Ollie

 Wright, Philip wrote:
 
  Idea is to allow the user to create the description?  If so sounds like
 a
  GREAT idea.
 
 
 
 
  Philip Wright
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.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

 
 
 
 -- 
 http://wikibc.blogspot.com/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18224067.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


Re: [xwiki-users] Brainstorming XWiki Favorites

2008-07-01 Thread Mike Oliver

Ok so I can't count, that's three reasons.

I created a Favorites class in XWiki with three properties, Name(string),
Link(string) and Description(textarea).

I create a sheet and template  and attached the Favorites Object to the
template.

I then created a page with 

#set ($hql = , BaseObject as obj where obj.name=doc.fullName
and obj.className='XWiki.FavoritesClass' and
obj.name'XWiki.FavoritesClassTemplate')
#set ($favs= $xwiki.searchDocuments($hql))
#if ($favs.size()  0)
  #foreach ($fav in $favs)
* [${fav.Name}{$fav.Link}]
  #end
#else
  #info(There are no Favorites in this wiki!)
#end

and since I had not yet created the first Favorite it showed No Favorites in
this wiki.  Cool

Then I went back to the XWiki Favorites Class and created a new document and
populated the Name Property, Link Property and Description properties and
went back to the page with the search above...

it shows the literal fav.Name in the name of the link and Link as the URI
for the target.

if $fav the FavoritesClass object?  I am guessing not.



Mike Oliver wrote:
 
 Well two reasons, one is that for the watchlist, which will show you a
 list of all the pages and spaces you are watching, is a sort of favorites,
 but what if you want to navigate to a place over and over again and it is
 buried down in a space someplace?  Then what if you don't want to watch it
 and be notified for some reason, and then lastly what if you want to save
 a description so you can look at your favorites and pick Oh that
 WebHome.
 
 Ollie
 
 Guillaume Lerouge wrote:
 
 Hi Mike,
 
 
 Can I filter on the user that created the record of the favorites class?

 
 Sure... But why don't you have your users use the Watchlist feature that
 basically already is XWiki's favorites system for individual users ?
 
 Cf http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication
 ,
 it's bundled with all recent versions of XWiki Enterprise AFAIR ...
 
 You might still want to add that description field though...
 
 Guillaume
 
 
 

 Ollie

 Wright, Philip wrote:
 
  Idea is to allow the user to create the description?  If so sounds
 like a
  GREAT idea.
 
 
 
 
  Philip Wright
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.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

 
 
 
 -- 
 http://wikibc.blogspot.com/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18225432.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


Re: [xwiki-users] Brainstorming XWiki Favorites

2008-07-01 Thread Mike Oliver

Good ideas, I followed the ToDo example and created a Favorites space to
store the documents but agree better to store them by user.  I guess I can
get it working in the ToDo model first and then move the location of the
documents and change the filter accordingly.

Our messages passed on the wires where Posted my first pass.

Ollie


Guillaume Lerouge wrote:
 
 Indeed. I'd still advise looking at how the watchlist feature is
 implemented
 since it somehow manages to store user preferences in their profiles and
 you're going to need that feature in your implementation I guess...
 
 Not sure whether there's been any recent discussion on creating
 easy-to)use
 user profiles extension points - though this kind of use cases (as well as
 a
 bunch of others) show they're needed. I think there is a way to access
 them
 right now without changing the UserClassSheet (maybe by adding new kind of
 objects to user profile pages...)
 
 Re your implementation, I'd advise having the list of favorited pages
 stored
 in one (or many) objects attached to the user profile page of the current
 user and writing a panel taking the currently logged user UserName as a
 parameter, retrieving the data from those favorite objects stored on his
 user page and displaying their values in the panel ...
 
 Guillaume
 
 
 
 Ollie

 Guillaume Lerouge wrote:
 
  Hi Mike,
 
 
  Can I filter on the user that created the record of the favorites
 class?
 
 
  Sure... But why don't you have your users use the Watchlist feature
 that
  basically already is XWiki's favorites system for individual users ?
 
  Cf
 http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication
  ,
  it's bundled with all recent versions of XWiki Enterprise AFAIR ...
 
  You might still want to add that description field though...
 
  Guillaume
 
 
 
 
  Ollie
 
  Wright, Philip wrote:
  
   Idea is to allow the user to create the description?  If so sounds
 like
  a
   GREAT idea.
  
  
  
  
   Philip Wright
  
  
  
 
  --
  View this message in context:
 
 http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.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
 
 
 
 
  --
  http://wikibc.blogspot.com/
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 

 --
 View this message in context:
 http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18224067.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

 
 
 
 -- 
 http://wikibc.blogspot.com/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18225762.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


Re: [xwiki-users] Brainstorming XWiki Favorites

2008-07-01 Thread Mike Oliver

Yes actually I do plan on moving it and making it by user, but thought I best
get it working first, picollo passo

yes I guess I did miss somethign thanks.

Ollie

Guillaume Lerouge wrote:
 

 Ok so I can't count, that's three reasons.
 
 
 That's the benefit of iterative designs, you've been able to correct
 yourself in no time ;-)
 
 
 I created a Favorites class in XWiki with three properties, Name(string),
 Link(string) and Description(textarea).

 I create a sheet and template  and attached the Favorites Object to the
 template.

 I then created a page with

 #set ($hql = , BaseObject as obj where obj.name=doc.fullName
and obj.className='XWiki.FavoritesClass' and
 obj.name'XWiki.FavoritesClassTemplate')
 #set ($favs= $xwiki.searchDocuments($hql))
 #if ($favs.size()  0)
  #foreach ($fav in $favs)
* [${fav.Name}{$fav.Link}]
  #end
 #else
  #info(There are no Favorites in this wiki!)
 #end

 and since I had not yet created the first Favorite it showed No Favorites
 in
 this wiki.  Cool
 
 
 Ok, I hadn't understood that those favorites were the same for all users,
 I
 thought they would be user-specific, hence my previous remarks.
 
 
 Then I went back to the XWiki Favorites Class and created a new document
 and
 populated the Name Property, Link Property and Description properties and
 went back to the page with the search above...

 it shows the literal fav.Name in the name of the link and Link as the URI
 for the target.

 if $fav the FavoritesClass object?  I am guessing not.
 
 
 From figure 23 on that page :
 http://www.theserverside.com/tt/articles/article.tss?l=XWiki it seems
 you're
 missing the $xwiki.getDocument() API call in your code :
 
 #foreach ($todo in $todos)
   #set ($todoDoc = $xwiki.getDocument($todo))
   #set ($todoObj = $todoDoc.getObject(XWiki.TodoClass))
 [$todoObj.Description$todo] | $todoObj.Assignee | $todoObj.TargetDate |
 $todoObj.Status
 #end
 
 Hope this helps,
 
 Guillaume
 
 


 Mike Oliver wrote:
 
  Well two reasons, one is that for the watchlist, which will show you a
  list of all the pages and spaces you are watching, is a sort of
 favorites,
  but what if you want to navigate to a place over and over again and it
 is
  buried down in a space someplace?  Then what if you don't want to watch
 it
  and be notified for some reason, and then lastly what if you want to
 save
  a description so you can look at your favorites and pick Oh that
  WebHome.
 
  Ollie
 
  Guillaume Lerouge wrote:
 
  Hi Mike,
 
 
  Can I filter on the user that created the record of the favorites
 class?
 
 
  Sure... But why don't you have your users use the Watchlist feature
 that
  basically already is XWiki's favorites system for individual users ?
 
  Cf
 http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication
  ,
  it's bundled with all recent versions of XWiki Enterprise AFAIR ...
 
  You might still want to add that description field though...
 
  Guillaume
 
 
 
 
  Ollie
 
  Wright, Philip wrote:
  
   Idea is to allow the user to create the description?  If so sounds
  like a
   GREAT idea.
  
  
  
  
   Philip Wright
  
  
  
 
  --
  View this message in context:
 
 http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.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
 
 
 
 
  --
  http://wikibc.blogspot.com/
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18225432.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

 
 
 
 -- 
 http://wikibc.blogspot.com/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18226236.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] Prevent unregistered users... option not working in WikiPreferences Rights

2008-08-20 Thread Mike Jakubik
Hi,

 

I have recently installed version 1.5 (on postgresql) and the Prevent
unregistered users from viewing pages,.. options are not selectable. I need
to setup the Wiki so that it is private and does not accept new
registrations. The checkbox fields are not clickable, I have also tried a
fresh 1.6 install and I get the same behavior. Could someone please help me
to lock down the Wiki? I have searched for this but all the answers and
documentation seem to be out of date.

 

Thank You.

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


Re: [xwiki-users] Prevent unregistered users... option not working in WikiPreferences Rights

2008-08-22 Thread Mike Jakubik
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Sergiu Dumitriu
 Sent: Friday, August 22, 2008 9:08 AM
 To: XWiki Users
 Subject: Re: [xwiki-users] Prevent unregistered users... option not
 working in WikiPreferences  Rights
 
 Mike Jakubik wrote:
  However I am still unable to figure out a way to disable
 registrations.
  There is no such option and disabling the Register right for the
  XWikiAllGroup seems to have no effect.
 
  Does anyone know how this can be done in 1.5?
 
 
 Grant register just to one administrator user, without specifying deny
 to anybody.

Ok, I managed to get it to work now. The problem was that I did not see the
Unregistered User user as it is the same color as the header :P Thanks a
lot.


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


[xwiki-users] 1.6 to 1.8.1 upgrade problems

2009-04-15 Thread Mike Jakubik
Hello,

I have just updated my version 1.6 Xwiki to the latest 1.8.1 and i
imported the new web XAR. The wiki is mostly functioning fine, however
some features are not displaying correctly.

: The calendar no longer displays, instead i get the following code shown:

---
$cparams.put(categories, $rqcategories)

$cview.getHTMLCalendar($cparams, )
---

: Office imported does not display options correctly, instead i get:

---
xe.officeimporter.import.options

xe.officeimporter.import.filtering
---

: I also see the following error in tomcats log, but i believe this can
be safely ignored.

---
SEVERE: Exception fixing docBase: {0}
java.io.FileNotFoundException:
/usr/local/apache-tomcat6.0/webapps/wiki/META-INF/MANIFEST.MF (No such
file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:179)
---

Any help would be appreciated.

Thanks.

-- 
Intertainservices
4101 Yonge St., Suite 506
Toronto, Ontario, M2P 1N6

Phone:  +1 416 225-8475 x303
Fax:  +1 416 535 9094
Cell:  +1 416 562 5378
E-mail:   mike.jaku...@intertainservices.com

This message, including any attachments, is privileged and may contain 
confidential information intended only for the person(s) named above. 
Any other distribution, copying or disclosure is strictly prohibited. 
If you are not the intended recipient or have received this message in 
error, please notify me immediately by reply email and permanently 
delete the original transmission, including any attachments, without 
making a copy.


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


[xwiki-users] Moving spaces and their contents

2009-04-21 Thread Mike Jakubik
Hello,

I am trying to move a space and all it's children pages to a different 
space, which already exists and has content. If i move the space 
Webhome1 to Webhome2 the contents of Webhome1 will become orphaned. Is 
this possible without having to rename/move each page manually?

view/Webhome1/*  -  view/Webhome2/Webhome1/*

Thanks.

-- 
Intertainservices
4101 Yonge St., Suite 506
Toronto, Ontario, M2P 1N6

Phone:  +1 416 225-8475 x303
Fax:  +1 416 535 9094
Cell:  +1 416 562 5378
E-mail:   mike.jaku...@intertainservices.com

This message, including any attachments, is privileged and may contain 
confidential information intended only for the person(s) named above. Any other 
distribution, copying or disclosure is strictly prohibited.  If you are not the 
intended recipient or have received this message in error, please notify me 
immediately by reply email and permanently delete the original transmission, 
including any attachments, without making a copy.

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


Re: [xwiki-users] Moving spaces and their contents

2009-04-22 Thread Mike Jakubik
This is already built in to the core wiki, and does not do what i need.

hel-o wrote:
 Mayby this could help:

 http://code.xwiki.org/xwiki/bin/view/Snippets/RenameSpacePageSnippet

 hel.


 Mike Jakubik wrote:
   
 Hello,

 I am trying to move a space and all it's children pages to a different 
 space, which already exists and has content. If i move the space 
 Webhome1 to Webhome2 the contents of Webhome1 will become orphaned. Is 
 this possible without having to rename/move each page manually?

 view/Webhome1/*  -  view/Webhome2/Webhome1/*

 Thanks.

 -- 
 Intertainservices
 4101 Yonge St., Suite 506
 Toronto, Ontario, M2P 1N6

 Phone:  +1 416 225-8475 x303
 Fax:  +1 416 535 9094
 Cell:  +1 416 562 5378
 E-mail:   mike.jaku...@intertainservices.com

 This message, including any attachments, is privileged and may contain
 confidential information intended only for the person(s) named above. Any
 other distribution, copying or disclosure is strictly prohibited.  If you
 are not the intended recipient or have received this message in error,
 please notify me immediately by reply email and permanently delete the
 original transmission, including any attachments, without making a copy.

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


 


 -
 
 h...@hel.at

   

-- 
Intertainservices
4101 Yonge St., Suite 506
Toronto, Ontario, M2P 1N6

Phone:  +1 416 225-8475 x303
Fax:  +1 416 535 9094
Cell:  +1 416 562 5378
E-mail:   mike.jaku...@intertainservices.com

This message, including any attachments, is privileged and may contain 
confidential information intended only for the person(s) named above. Any other 
distribution, copying or disclosure is strictly prohibited.  If you are not the 
intended recipient or have received this message in error, please notify me 
immediately by reply email and permanently delete the original transmission, 
including any attachments, without making a copy.

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


[xwiki-users] Webhome specific quicklinks

2009-04-22 Thread Mike Jakubik
Hello,

Is there a way to have different quicklinks displayed depending on which 
webhome your in?

Thanks.

-- 
Intertainservices
4101 Yonge St., Suite 506
Toronto, Ontario, M2P 1N6

Phone:  +1 416 225-8475 x303
Fax:  +1 416 535 9094
Cell:  +1 416 562 5378
E-mail:   mike.jaku...@intertainservices.com

This message, including any attachments, is privileged and may contain 
confidential information intended only for the person(s) named above. Any other 
distribution, copying or disclosure is strictly prohibited.  If you are not the 
intended recipient or have received this message in error, please notify me 
immediately by reply email and permanently delete the original transmission, 
including any attachments, without making a copy.

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


Re: [xwiki-users] Moving spaces and their contents

2009-04-23 Thread Mike Jakubik
Thanks, ill give that a try.

Ed Callahan wrote:
 We've been making copies of spaces via export for documentation translation.
 We export the space, explode the xar, edit the package.xml and run a
 find/replace on the contents to the new space name before
 re-packing/importing back in. This generally works well preserving
 relations, etc within the content.
 In your case you would want to delete the old space, of course.

 Hope this is helpful.

 -EdC

 http://dev.wavemaker.com/wiki/



   
 Message: 6
 Date: Wed, 22 Apr 2009 13:33:05 -0400
 From: Mike Jakubik mike.jaku...@intertainservices.com
 Subject: Re: [xwiki-users] Moving spaces and their contents
 To: XWiki Users users@xwiki.org
 Message-ID: 49ef54d1.80...@intertainservices.com
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 This is already built in to the core wiki, and does not do what i need.

 hel-o wrote:
 
 Mayby this could help:

 http://code.xwiki.org/xwiki/bin/view/Snippets/RenameSpacePageSnippet

 hel.


 Mike Jakubik wrote:

   
 Hello,

 I am trying to move a space and all it's children pages to a different
 space, which already exists and has content. If i move the space
 Webhome1 to Webhome2 the contents of Webhome1 will become orphaned. Is
 this possible without having to rename/move each page manually?

 view/Webhome1/*  -  view/Webhome2/Webhome1/*

 Thanks.

 --
 Intertainservices
 4101 Yonge St., Suite 506
 Toronto, Ontario, M2P 1N6

 Phone:  +1 416 225-8475 x303
 Fax:  +1 416 535 9094
 Cell:  +1 416 562 5378
 E-mail:   mike.jaku...@intertainservices.com

 This message, including any attachments, is privileged and may contain
 confidential information intended only for the person(s) named above.
 
 Any
 
 other distribution, copying or disclosure is strictly prohibited.  If
 
 you
 
 are not the intended recipient or have received this message in error,
 please notify me immediately by reply email and permanently delete the
 original transmission, including any attachments, without making a copy.

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



 
 -
 
 h...@hel.at


   
 --
 Intertainservices
 4101 Yonge St., Suite 506
 Toronto, Ontario, M2P 1N6

 Phone:  +1 416 225-8475 x303
 Fax:  +1 416 535 9094
 Cell:  +1 416 562 5378
 E-mail:   mike.jaku...@intertainservices.com

 This message, including any attachments, is privileged and may contain
 confidential information intended only for the person(s) named above. Any
 other distribution, copying or disclosure is strictly prohibited.  If you
 are not the intended recipient or have received this message in error,
 please notify me immediately by reply email and permanently delete the
 original transmission, including any attachments, without making a copy.


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

-- 
Intertainservices
4101 Yonge St., Suite 506
Toronto, Ontario, M2P 1N6

Phone:  +1 416 225-8475 x303
Fax:  +1 416 535 9094
Cell:  +1 416 562 5378
E-mail:   mike.jaku...@intertainservices.com

This message, including any attachments, is privileged and may contain 
confidential information intended only for the person(s) named above. Any other 
distribution, copying or disclosure is strictly prohibited.  If you are not the 
intended recipient or have received this message in error, please notify me 
immediately by reply email and permanently delete the original transmission, 
including any attachments, without making a copy.

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


[xwiki-users] Error in Xwiki 2.0 when searching.

2009-10-23 Thread Mike Ruocco

When we try to search this is what we get. What am I missing?


Thanks for any help!

org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate
Velocity Macro for content [$xwiki.jsfx.use(uicomponents/search/search.js,
false)##
$xwiki.ssfx.use(uicomponents/search/search.css, true)##
## Disable the document extra data: comments, attachments, history...
#set($docextras = [])
#set ($rssmode = ($!request.xpage == 'plain'))
## ---
## Space filtering
## ---
#set($spaces = $xwiki.spaces)
#set($selectedSpace = $!request.space)
## ---
## Space macros
## ---
#macro(spaceoption $space $selectedSpace)
  option value=${space} #if($selectedSpace ==
$space)selected=selected#end$space/option
#end
#macro(spaceselect $selectedSpace $spaces)
  select name=space title=$msg.get('xe.search.bar.spaces.title')
option value= #if($selectedSpace ==
'')selected=selected#end$msg.get('xe.search.bar.spaces.all')/option
#foreach($space in $spaces)
  #if (!$blacklistedSpaces.contains($space))
#spaceoption($space $selectedSpace)
  #end
#end
  /select
#end
##
##
#set($text = $!request.getParameter('text'))
#set($utext = $util.encodeURI($text))
##
{{html}}
form action= id=searchBar
div class=centered
  input type=text name=text class=searchQuery #if($text == '')
defaultText#end #if($text == '')
value=$msg.get('xe.search.bar.query.tip') #else
value=$xwiki.getXMLEncoded(${text}) #end
title=$msg.get('xe.search.bar.query.title')/
  #spaceselect($selectedSpace $spaces)
  input type=submit class=searchButton
value=$msg.get('xe.search.bar.submit')
title=$msg.get('xe.search.bar.submit.title')/
/div
/form
{{/html}}
##
#set($space = $selectedSpace)
#set($datedlist = $util.arrayList)
#if($!text == '')
  ## No search
#else
  #set($text = $text.replaceAll(', '').replaceAll(%, \\%))
  #set($nbitems = 50)
  ## --
  ## Exclude Blacklisted spaces ($blacklistedSpaces is set in xwikivars.vm)
  ## Also exclude WebPreferences.
  ## --
  #set ($webClause = '')
  #foreach ($blacklistedSpace in $blacklistedSpaces)
#set ($webClause = ${webClause} doc.space  '$blacklistedSpace' and)
  #end
  #if(!$hasAdmin  !$isAdvancedUser)
#set ($webClause = ${webClause} doc.name'WebPreferences' and)
  #end
  ## ---
  ## Display only a given space if $request.space is defined
  ## ---
  #if($!space != '')
#set ($webClause = ${webClause} doc.space='$space' and)
  #end
  #macro(addelement $item $list)
#if($xwiki.hasAccessLevel('view', $context.user,
${context.database}:${item}))
  #set($itemdoc = $xwiki.getDocument($item))
  ## All items will be sorted by the date; since the list is obtained
from several queries, we can't order in the HQL.
  ## Prefix all item names with the date for sorting the combined
results.
  #set($sdate = $xwiki.formatDate($itemdoc.date, 'MMddHHmmss'))
  #set($sitem = ${sdate}${item})
  #if(!$list.contains($sitem))
#set($discard = $list.add($sitem))
  #end
#end
  #end
  ## ---
  ## Search in the page names
  ## ---
  #set ($sql = where $webClause upper(doc.fullName) like upper('%$!text%')
order by doc.date desc)
  #foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
  #end
  ## ---
  ## Search in page content
  ## ---
  #set ($sql = where $webClause upper(doc.content) like upper('%$!text%')
order by doc.date desc)
  #foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
  #end
  ## ---
  ## Search in text fields (simple String properties)
  ## ---
  #set($sql= , BaseObject as obj, StringProperty as prop where $webClause
obj.name=doc.fullName and prop.id.id = obj.id and upper(prop.value) like
upper('%$!text%'))
  #foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
  #end
  ## ---
  ## Search in big text fields (textarea properties)
  ## ---
  #set($sql= , BaseObject as obj, LargeStringProperty as prop where
$webClause obj.name=doc.fullName and prop.id.id = obj.id and
upper(prop.value) like upper('%$!text%'))
  #foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
  #end
#end
#set($list = $util.arrayList)
#foreach($item in 

Re: [xwiki-users] Error in Xwiki 2.0 when searching.

2009-10-24 Thread Mike Ruocco

Hello

We are using SQL 2005 SP3.

Thanks


On 10/24/09 8:42 AM, Sergiu Dumitriu-2 [via XWiki] 
ml-node+3883942-241514...@n2.nabble.com wrote:

On 10/23/2009 04:23 PM, Mike Ruocco wrote:

 When we try to search this is what we get. What am I missing?


 Thanks for any help!


 Caused by: com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception
 while searching documents with SQL [select distinct doc.space, doc.name,
 doc.date from XWikiDocument as doc where (doc.hidden  true or doc.hidden
 is null) and  upper(doc.content) like upper('%search...%') order by doc.date
 desc]

What database are you using?

Mike Ruocco
Network Engineer
INPUT
11720 Plaza America Drive, Suite 1200, Reston, Virginia 20190
Direct: 703+707+3506; Fax 703-707-6201
mruo...@input.com
http://www.input.com

This email and any files transmitted with it are confidential and are intended 
solely for the use of the individual or entity to which they are addressed. If 
you are not the intended recipient or the person responsible for delivering the 
email to the intended recipient, be advised that you have received this email 
and any such files in error and that any use, dissemination, forwarding, 
printing or copying of this email and/or any such files is strictly prohibited. 
If you have received this email in error please immediately notify 
postmas...@input.commailto:postmas...@input.com and destroy the original 
message and any such files.

{*}

-- 
View this message in context: 
http://n2.nabble.com/Error-in-Xwiki-2-0-when-searching-tp3879029p3883947.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] Problem editing pages

2009-11-02 Thread Mike Ruocco
Hello,

We are having a problem with Xwiki 2.0.2. Everything was working for a few days 
but now when people go to edit their pages they do not get a drop down for the 
Edit button. You can only click edit and it brings you to the Wysiwyg editor. 
If there are links to other pages in the page we are editing and when we try to 
save you get the below error. When you try to switch to Wiki edit mode on the 
right hand side you get the same error.  How can we fix this?? Really need some 
help here. Let me know if you need more info.

Thanks

content: Exception while parsing HTML

Mike Ruocco
Network Engineer
INPUT
11720 Plaza America Drive, Suite 1200, Reston, Virginia 20190
Direct: 703+707+3506; Fax 703-707-6201
mruo...@input.com
http://www.input.com

This email and any files transmitted with it are confidential and are intended 
solely for the use of the individual or entity to which they are addressed. If 
you are not the intended recipient or the person responsible for delivering the 
email to the intended recipient, be advised that you have received this email 
and any such files in error and that any use, dissemination, forwarding, 
printing or copying of this email and/or any such files is strictly prohibited. 
If you have received this email in error please immediately notify 
postmas...@input.commailto:postmas...@input.com and destroy the original 
message and any such files.

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


[xwiki-users] Problem Editing Pages

2009-11-03 Thread Mike Ruocco
Hello Guillaume,

Yes the problem does seem to be when links are in titles. Other links in the 
body do not seem to cause an issue. Please advise.

Thanks

Message: 6
Date: Tue, 3 Nov 2009 09:41:40 +0100
From: Guillaume Lerouge guilla...@xwiki.com
Subject: Re: [xwiki-users] Problem editing pages
To: XWiki Users users@xwiki.org
Message-ID:
1c35d2320911030041s6eef152ahee1da76f8a694...@mail.gmail.com
Content-Type: text/plain; charset=UTF-8

Hi,

On Tue, Nov 3, 2009 at 8:31 AM, Marius Dumitru Florea  
mariusdumitru.flo...@xwiki.com wrote:

 Hi Mike,

 Mike Ruocco wrote:
  Hello,
 

  We are having a problem with Xwiki 2.0.2. Everything was working for 
  a
 few days but now when people go to edit their pages they do not get a 
 drop down for the Edit button. You can only click edit and it brings 
 you to the Wysiwyg editor. If there are links to other pages in the 
 page we are editing and when we try to save you get the below error. 
 When you try to switch to Wiki edit mode on the right hand side you 
 get the same error.  How can we fix this?? Really need some help here. Let me 
 know if you need more info.


Try looking at your pages in wiki edition mode and see whether there are links 
in titles or links otherwise mixed with content. This has trigerred issues in 
the past and we need to know what exactly is failing in order to fix it.

Thanks for the report.


 Check if the user profile is set to simple edit mode. Try switching to 
 advanced edit mode instead. See

 http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HSimplea
 ndAdvancededitionmodes

 Even in simple edit mode you can force the Edit button to load the 
 wiki editor by going to Administration  General and setting Default 
 Editor to use to Text.

 Also, it's good to know that you can also force the wiki editor by 
 using a URL like edit/Space/Page?editor=wiki .

 
  Thanks
 

  content: Exception while parsing HTML


By the way Marius, I also experienced that issue a couple times while testing 
and it's pretty frustrating because when it happens the user gets stuck on 
the page - clicking on cancel also returns the Exception while parsing 
HTML issue.

Is there a way we could at least make the Cancel button work in such cases? 
So that the user can return to the pre-breakage situation?

Guillaume


 Regarding the WYSIWYG issue, can you tell me what browser are you 
 using and, if the issue is easily reproducible, can you give me an 
 example of wiki text that fails to be saved by the WYSIWYG editor?

 Thanks,
 Marius

 
  Mike Ruocco
  Network Engineer
  INPUT
  11720 Plaza America Drive, Suite 1200, Reston, Virginia 20190
  Direct: 703+707+3506; Fax 703-707-6201 mruo...@input.com 
  http://www.input.com


Mike Ruocco
Network Engineer
INPUT
11720 Plaza America Drive, Suite 1200, Reston, Virginia 20190
Direct: 703+707+3506; Fax 703-707-6201
mruo...@input.com
http://www.input.com


This email and any files transmitted with it are confidential and are intended 
solely for the use of the individual or entity to which they are addressed. If 
you are not the intended recipient or the person responsible for delivering the 
email to the intended recipient, be advised that you have received this email 
and any such files in error and that any use, dissemination, forwarding, 
printing or copying of this email and/or any such files is strictly prohibited. 
If you have received this email in error please immediately notify 
postmas...@input.com and destroy the original message and any such files.{*}
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XMLRPC and sql 2005 questions

2010-02-06 Thread Mike Davis

1) Is there a way to search/create objects using XMLRPC?  I can get and update 
pages and attachments, but I want to be able to create or query objects of 
classes that I have created.  I'm using perl if anyone has code samples.  I saw 
there is a search function on the confluence API but I couldn't get the syntax 
correct and it wasn't clear if it can access objects: 
http://confluence.atlassian.com/display/CONFDEV/Remote+API+Specification#RemoteAPISpecification-Search

2) Is there a way to remotely access a sql 2005 database from an xwiki script?  
A groovy wrapper for java jdbc or something.  I want to query the database and 
put the results in a livetable, but the db lives on a completely separate 
server.  

Thanks!

-Mike
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/201469229/direct/01/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Is WYSIWYG editor available for TextArea?

2010-03-15 Thread Mike Davis

Hello, we'd like to use the bulletinboard application 
(http://code.xwiki.org/xwiki/bin/view/Applications/BulletinBoardApplication), 
but we want to allow WYSIWYG editing of a post so links and perhaps photos can 
be embedded.  Right now, the class for each post only has a author, date, and 
the text is a TextArea.  So, I guess I have two questions:

1) Is there a handle for the WYSIWIG editor to be embedded in a page?

2) Can it be used on a TextArea or does it have to be used on a document?

It looks to me like we might have to make every post it's own document to get 
WYSIWIG, but wanted to check first.

 

Current code that is displaying the text input box:

span class=bbsmalltitle a name=postmessage href=#postmessage 
$msg.bb_postmessage /a /span
form method=post action=$doc.getURL(objectadd) class=postreply
input type=hidden name=xredirect value=$doc.getURL()#$lastpostid /
input type=hidden name=classname value=BBCode.PostClass /
input type=hidden name=BBCode.PostClass_postauthor value=$context.user /
textarea rows=10 cols=65 id=BBCode.PostClass_postcontent 
name=BBCode.PostClass_postcontent //textareabr /
input id=BBCode.PostClass_postbutton type=submit value=Post! /
/form

 

Thanks,

-Mike
  
_
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_3
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XML parser for displaying on pages

2010-03-29 Thread Mike Davis

I want to parse XML attachments to a page and display the data in a table or 
list on the page.  Does this functionality exist?  Just checking before I write 
my own code.
  
_
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_2
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] users Digest, Vol 32, Issue 67

2010-03-31 Thread Mike Davis

I want to parse XML attachments to a page and display the data in a
  table or list on the page. Does this functionality exist? Just checking
  before I write my own code.
  
   So you have attachments which are XML files and you want to parse them
  and display their content in a wiki table ?
  
   If so, I'd suggest you use the {{groovy}} macro and use the groovy xml
  slurper to do the work. You should be able to write this in less than 10
  lines :)
  
   http://groovy.codehaus.org/Reading+XML+using+Groovy%27s+XmlSlurper
  
   Thanks
   -Vincent
 
  Thanks, got that up and running in only a few minutes! Now I'd like a way
  to have the user click on one level of the xml hierarchy I display and have
  it expand to show the children of that section (I have the hierarchy
  iteration code, just not the gui code). Something graphically like a
  macro error (the one that says Failed to execute macro: groovy) and then
  you click to expand and view the content.
 
 
 http://code.xwiki.org/xwiki/bin/view/Snippets/ShowHideDIVSnippet
 
 Guillaume


Ok, I have that code working (ShowHidDIV) in a velocity macro with {{html}} 
tags around the div.  Unfortunately, when I pass the xmlslurper object to a 
velocity macro, I can no longer access fields of the object, it looks like it's 
all being converted to a big string.  My code:

{{groovy}}

xmlFile = new String(doc.getAttachment(file.xml).content)
def slurp = new XmlSlurper().parseText(xmlFile)
def allReg = slurp.Register
xcontext.put(allReg,allReg)

{{/groovy}}

 

{{velocity}}
#set($allReg=$xcontext.get(allReg))

{{html}}
div onclick=toggleClass($('REG'), 'hidden')
Show/Hide
/div
div id=REG class=hidden
$allReg.field
/div
{{/html}}
{{/velocity}}


But like I said, I can't access the fields of allReg in the velocity script: 
$allReg.field just returns the whole string from the slurper.  So I need a way 
to either embed html in the groovy code with access to the groovy variables, or 
a way to correctly pass a slurper object using xcontext.

 

Thanks,

-Mike

 
  
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850553/direct/01/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Creating class properties with groovy

2010-04-07 Thread Mike Davis

I want to create properties for a new class on a blank document with groovy.  I 
can do the following:

def doc = xwiki.getDocument(space.docname)
c = doc.getxWikiClass();

and look at elements of a class that already exists by doing:

prop = c.get('propertyname')

propToEdit = prop.getPropertyClass

propToEdit.setValues('a|b|c')

 

But, how can I add a new property to a class that has no existing 
properties/fields?

 

Thanks,

-Mike
  
_
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Creating class properties with groovy

2010-04-12 Thread Mike Davis




 Similar question has appeared in this list earlier with no good answer.
 Though I suspect, this approach seems necessary is due to weak design.
 Can you describe use case why it seems necessary in place of database
 list,
 where you can set hql query for filtering necessary elements?
 
 Valdis

Essentially I'm creating a sort of template for a space that I will want to 
duplicate later.  I have scripts that create objects from a spreadsheet 
specifically for a certain class in this space.

Rather than duplicating the class by hand on the next space I want these 
scripts/objects on, I'd like to be able to quickly and safely duplicate the 
class, so I wanted to write a quick groovy script to do it.

If there is an easier way of doing this, I'd appreciate any ideas.

-Mike

  I want to create properties for a new class on a blank document with 
  groovy.  I can do the following:
  
  def doc = xwiki.getDocument(space.docname)
  c = doc.getxWikiClass();
  
  and look at elements of a class that already exists by doing:
  
  prop = c.get('propertyname')
  
  propToEdit = prop.getPropertyClass
  
  propToEdit.setValues('a|b|c')
  
   
  
  But, how can I add a new property to a class that has no existing 
  properties/fields?
  
   
  
  Thanks,
  
  -Mike

  
_
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] C++ bindings

2010-05-10 Thread Mike Davis

This is sort of a random shot, just hoping someone has implemented something 
similar before.  There is a C++ API used to securely connect to and query a 
database.  The database is maintained by IT, so I need to go through this API 
rather than directly accessing the database (in which case I would use JDBC 
with groovy).  

I was wondering if there is a way to write groovy bindings for C++ functions.  
I know this can be done with Java for C++ (JNI/Jace/etc), but does anyone have 
any experience doing such a thing with groovy or in a wiki context?

Thanks,
-Mike
  
_
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Permission problems after XAR import

2010-06-15 Thread Mike Jakubik
On 6/14/2010 6:14 PM, Caleb James DeLisle wrote:

 To get this working simply edit XWiki.RegistrationConfig and 
 AnnotationCode.AnnotationConfig
 so they are saved with your user name.


Thanks for the help guys, that fixed the problem.

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


Re: [xwiki-users] Auto Reply: Re: Bad HQL queries

2010-07-23 Thread Mike Jakubik
You setup a vacation message on a maillist? honestly..

On 7/22/2010 6:41 PM, jim.grisan...@oracle.com wrote:
 I'm out of the office from July 14 to July 29. For questions about 
 opensolaris.org, send mail to website-ad...@opensolaris.org.

 Jim
 ___
 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


[xwiki-users] Unknown macro after upgrade

2011-01-11 Thread Mike Jakubik
Hello,

I just upgraded from 2.3 to 2.7, after importing the new XAR the Main
space is showing Unknown macro: activity, spaces, and tagcloud. Whats
going on here? I imported everything from the new XAR. Also as a side
note, all of the Wiki Preferences  pages are showing a pre/pre in
the content.

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


Re: [xwiki-users] Unknown macro after upgrade

2011-01-11 Thread Mike Jakubik
On Tue, 2011-01-11 at 16:19 -0500, Mike Jakubik wrote:

 Hello,
 
 I just upgraded from 2.3 to 2.7, after importing the new XAR the Main
 space is showing Unknown macro: activity, spaces, and tagcloud. Whats
 going on here? I imported everything from the new XAR. Also as a side
 note, all of the Wiki Preferences  pages are showing a pre/pre in
 the content.
 
 Thanks.


This seems to be the result of the following bug.

http://jira.xwiki.org/jira/browse/XWIKI-5668

I had to add the default Admin to my wiki and re-import the XAR to fix
this. However the mysterious pre tags remain.

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


Re: [xwiki-users] Unknown macro after upgrade

2011-01-11 Thread Mike Jakubik
On Wed, 2011-01-12 at 00:49 +0100, Sergiu Dumitriu wrote:

 On 01/11/2011 11:28 PM, Mike Jakubik wrote:
  On Tue, 2011-01-11 at 16:19 -0500, Mike Jakubik wrote:
 
  Hello,
 
  I just upgraded from 2.3 to 2.7, after importing the new XAR the Main
  space is showing Unknown macro: activity, spaces, and tagcloud. Whats
  going on here? I imported everything from the new XAR. Also as a side
  note, all of the Wiki Preferences  pages are showing a pre/pre in
  the content.
 
  Thanks.
 
 
  This seems to be the result of the following bug.
 
  http://jira.xwiki.org/jira/browse/XWIKI-5668
 
  I had to add the default Admin to my wiki and re-import the XAR to fix
  this. However the mysteriouspre  tags remain.
 
 The pre comes from the fact that the old preferences documents were 
 created in syntax xwiki/1.0, while the administration application 
 (included sheets) are now in syntax xwiki/2.0.
 


Thanks for the info, but shouldn’t  importing the new XAR bring in the
new pref documents? How can i fix this?

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


Re: [xwiki-users] Unknown macro after upgrade

2011-01-12 Thread Mike Jakubik
On Wed, 2011-01-12 at 11:10 +0100, Vincent Massol wrote:

 I know nobody reads the Release Notes but it's a good read :)
 (since XWiki.org is down I can't verify it's in the release notes but I'm 
 pretty sure I put it there - just don't remember in which one for which 
 version).
 
 So the solution is to edit XWiki.XWikiPreferences, change the syntax to 2.0 
 (don't do the auto conversion when asked) and replace #include* by {{include 
 document=.../}}.


I usually do, but missed this since i was upgrading from a much older
version. In any case i found the procedure, the pre tags are now gone.

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


[xwiki-users] Xwiki 3.2+ broken with PostgreSQL

2012-01-11 Thread Mike Jakubik
Hello,

I decided to upgrade my xwiki from 3.1 to 3.3 today, only to find out
that since 3.2 postgresql support in the wiki is broken. That's two
stable releases that have this problem, is this being worked on or is
postgresql support dead?

Below is the error, searching around i see other people complaining
about this, but no fix.

Thanks.

---
exception

javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document xwiki:XWiki.XWikiUsers
Wrapped Exception: Error number 3211 in 3: Exception while updating
archive XWiki.XWikiUsers
Wrapped Exception: Error number 0 in 3: Exception while hibernate
execute
Wrapped Exception: could not load an entity:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2]{docId=495778886,
 version2=1, version1=4}]

org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)

org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)

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

org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)

org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)

root cause

com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document xwiki:XWiki.XWikiUsers
Wrapped Exception: Error number 3211 in 3: Exception while updating
archive XWiki.XWikiUsers
Wrapped Exception: Error number 0 in 3: Exception while hibernate
execute
Wrapped Exception: could not load an entity:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2]{docId=495778886,
 version2=1, version1=4}]
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:419)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:488)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)

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

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)

org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)

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

org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)

org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)


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


Re: [xwiki-users] Xwiki 3.2+ broken with PostgreSQL

2012-01-12 Thread Mike Jakubik
On Thu, 2012-01-12 at 11:58 +0100, Vincent Massol wrote:
 Actually found a better solution as described on 
 https://community.jboss.org/wiki/HibernateCoreMigrationGuide36
 
 Don't change xwiki.hbm.xml but instead add the following in your 
 hibernate.cfg.xml:
 
 property name=jdbc.use_streams_for_binaryfalse/property
 
 Let me know how it goes.
 
 Thanks
 -Vincent

Vincent,

Thanks for the info, I'll try this later and let you know.

Thanks.

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


[xwiki-users] XWiki 4.4.1 Running Under Tomcat 7.0.35 Does Not Shutdown Cleanly

2013-01-31 Thread Mike Schaffner
Has anyone seen the severe errors below in their Tomcat catalina.log file after 
shutting Tomcat down?

Does anyone know what to do about it? It causes problems when restarting the 
XWiki web application.

Thanks in advance for your help.

Mike

[mschaffner@ebo-elab01 logs]$ ../bin/version.sh
Using CATALINA_BASE:   /usr/share/apache-tomcat-7.0.35
Using CATALINA_HOME:   /usr/share/apache-tomcat-7.0.35
Using CATALINA_TMPDIR: /usr/share/apache-tomcat-7.0.35/temp
Using JRE_HOME:/usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre
Using CLASSPATH:   
/usr/share/apache-tomcat-7.0.35/bin/bootstrap.jar:/usr/share/apache-tomcat-7.0.35/bin/tomcat-juli.jar
Server version: Apache Tomcat/7.0.35
Server built:   Jan 10 2013 10:52:49
Server number:  7.0.35.0
OS Name:Linux
OS Version: 2.6.43.8-1.fc15.x86_64
Architecture:   amd64
JVM Version:1.6.0_22-b22
JVM Vendor: Sun Microsystems Inc.



[mschaffner@ebo-elab01 logs]$ cat catalina.out
Jan 31, 2013 2:13:02 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal 
performance in production environments was not found on the java.library.path: 
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jan 31, 2013 2:13:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [http-bio-8080]
Jan 31, 2013 2:13:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [ajp-bio-8009]
Jan 31, 2013 2:13:02 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1064 ms
Jan 31, 2013 2:13:02 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 31, 2013 2:13:02 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.35
Jan 31, 2013 2:13:02 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory 
/usr/share/apache-tomcat-7.0.35/webapps/examples
Jan 31, 2013 2:13:03 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory 
/usr/share/apache-tomcat-7.0.35/webapps/ROOT
Jan 31, 2013 2:13:03 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory 
/usr/share/apache-tomcat-7.0.35/webapps/xwiki
2013-01-31 14:13:16,811 [localhost-startStop-1] WARN  
o.x.e.i.ServletEnvironment - No permanent directory configured. Using 
temporary directory [/usr/share/apache-tomcat-7.0.35/temp].
2013-01-31 14:13:20,955 [localhost-startStop-1] INFO  
istributionInitializerListener - Distribution up to date
Jan 31, 2013 2:13:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory 
/usr/share/apache-tomcat-7.0.35/webapps/host-manager
Jan 31, 2013 2:13:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory 
/usr/share/apache-tomcat-7.0.35/webapps/manager
Jan 31, 2013 2:13:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory 
/usr/share/apache-tomcat-7.0.35/webapps/docs
Jan 31, 2013 2:13:21 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [http-bio-8080]
Jan 31, 2013 2:13:21 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [ajp-bio-8009]
Jan 31, 2013 2:13:21 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 18581 ms
Jan 31, 2013 2:17:50 PM org.apache.catalina.core.StandardServer await
INFO: A valid shutdown command was received via the shutdown port. Stopping the 
Server instance.
Jan 31, 2013 2:17:50 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler [http-bio-8080]
Jan 31, 2013 2:17:50 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler [ajp-bio-8009]
Jan 31, 2013 2:17:50 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named 
[com.google.inject.internal.util.$Finalizer] but has failed to stop it. This is 
very likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named 
[Core extension repository updater] but has failed to stop it. This is very 
likely to create a memory leak.
Jan 31, 2013 2:17:50 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread named 
[Job Manager daemon thread] but has failed to stop it. This is very likely to 
create a memory leak.
Jan

  1   2   >