[xwiki-users] Xwiki list

2008-11-03 Thread Mike A.
Hi!
How can I prevent a list-item from being breaked? I mean, if I want
to place some text, then an image and, finally, some message (#info(),
#alert() etc.) in a list-time, all would appear as the whole
list-item.
For now, I can only get text + image or text + message. I do use a
macro for an image, like #image(src title). So, the problem seems to
be in the two following macros: #image()#info(). 
I've also tried #image()\
#info().
That doesn't do the job too.
 Best regards, Mike
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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 :
> 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.
"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
 >>>
 >> ___
 >> 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
 > 
 > Thales UK Ltd (Wells) DISCLAIMER: The information contained in
this e-mail
 

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 

[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Ā  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.
lugin,
com.xpn.xwiki.plugin.flickr.FlickrPlugin,
com.xpn.xwiki.plugin.mail.MailPlugin,
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 us

[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