Re: [xwiki-users] mailto links & code blocks

2008-11-14 Thread Vincent Massol

On Nov 14, 2008, at 7:27 PM, Vincent Massol wrote:

> Hi Lewis,
>
> On Nov 14, 2008, at 6:13 PM, Lewis Denizen wrote:
>
>> Hi xwiki-users,
>>
>> I've been using XE 1.6 for quite some time and it's one of the best
>> apps
>> that I've ever used (thank you so much)!
>
> Thanks a lot for the praise. You're sure to earn a quick response with
> such comments ;)
>
>> Few small questons/issues.
>> Whenever I create a mailto: link in xwiki 2.0 syntax, I can't put
>> spaces in
>> it:
>>
>> [[mailto:[EMAIL PROTECTED]@test.com&subject=This is a test]]
>>
>> It used to be possible with the xwiki 1.0 syntax, though.
>
> I'm checking this since this looks like a bug.

Fixed now, will be in XE 1.7M3.

See http://jira.xwiki.org/jira/browse/XWIKI-2838

Thanks for reporting this.

-Vincent

> I'm really glad to see people are starting to use the XWiki 2.0
> syntax. It's brand new and not fully finished yet (will be for 1.7
> final) so all feedback is much appreciated.
>
>> Also, I'd like to know how people are managing to place code
>> snippets in
>> xwiki 2.0 syntax.  In the past, I had used the {code} macro, but now
>> that
>> it's gone, what do people use?  Do people just wrap it in a 
>> now?  How
>> about code syntax highlighting?
>
> It's being rewritten by Thomas Mortagne right now. It's almost ready
> actually. We're now using Pygments (http://pygments.org) under the
> hood so you get access to syntax highlighting for all the following
> languages:
> http://pygments.org/languages/
>
> Now if you only need to escape content and not do any formatting/
> highlighting you can use the new verbatim syntax. For example:
>
> {{{ whatever here }}}
>
> or
>
> {{{
> whatever here
> }}}
>
> Thanks
> -Vincent
>
>> Keep up the good work!
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] mailto links & code blocks

2008-11-14 Thread Vincent Massol
Hi Lewis,

On Nov 14, 2008, at 6:13 PM, Lewis Denizen wrote:

> Hi xwiki-users,
>
> I've been using XE 1.6 for quite some time and it's one of the best  
> apps
> that I've ever used (thank you so much)!

Thanks a lot for the praise. You're sure to earn a quick response with  
such comments ;)

>  Few small questons/issues.
> Whenever I create a mailto: link in xwiki 2.0 syntax, I can't put  
> spaces in
> it:
>
> [[mailto:[EMAIL PROTECTED]@test.com&subject=This is a test]]
>
> It used to be possible with the xwiki 1.0 syntax, though.

I'm checking this since this looks like a bug.

I'm really glad to see people are starting to use the XWiki 2.0  
syntax. It's brand new and not fully finished yet (will be for 1.7  
final) so all feedback is much appreciated.

> Also, I'd like to know how people are managing to place code  
> snippets in
> xwiki 2.0 syntax.  In the past, I had used the {code} macro, but now  
> that
> it's gone, what do people use?  Do people just wrap it in a   
> now?  How
> about code syntax highlighting?

It's being rewritten by Thomas Mortagne right now. It's almost ready  
actually. We're now using Pygments (http://pygments.org) under the  
hood so you get access to syntax highlighting for all the following  
languages:
http://pygments.org/languages/

Now if you only need to escape content and not do any formatting/ 
highlighting you can use the new verbatim syntax. For example:

{{{ whatever here }}}

or

{{{
whatever here
}}}

Thanks
-Vincent

> Keep up the good work!
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Wikifarm cpu 100%

2008-11-14 Thread Sergiu Dumitriu
Samuel Lee wrote:
> Hello,
> I'm running an xwiki farm with 3 xwikis.  Even when loading a simple  
> text page, the request is very slow.
> 
> I'm running on a CentOS box, using java in Tomcat and a mysql  
> database.  Mysql usually hits 99.9% CPU and hangs there for a while.   
> Tomcat goes to about 50%.
> 
> We have it authenticating against an LDAP server, but the slowness  
> occurs even when loading the login screen.
> 
> I've turned off global statistics.
> 
> Any ideas as to what might be going on?

You should see what queries are running on the database, and how much
time they take.

As Vincent said, indexes are very important when the number of documents
increases.

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


[xwiki-users] mailto links & code blocks

2008-11-14 Thread Lewis Denizen
Hi xwiki-users,

I've been using XE 1.6 for quite some time and it's one of the best apps
that I've ever used (thank you so much)!  Few small questons/issues.
Whenever I create a mailto: link in xwiki 2.0 syntax, I can't put spaces in
it:

[[mailto:[EMAIL PROTECTED]@test.com&subject=This is a test]]

It used to be possible with the xwiki 1.0 syntax, though.

Also, I'd like to know how people are managing to place code snippets in
xwiki 2.0 syntax.  In the past, I had used the {code} macro, but now that
it's gone, what do people use?  Do people just wrap it in a  now?  How
about code syntax highlighting?

Keep up the good work!
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Wikifarm cpu 100%

2008-11-14 Thread Vincent Massol
Hi Samuel,

This is really strange since the DB is almost not doing anything on  
our typical installs.

Here are some tips:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances

I'd suggest checking:
* That you have indexes set correctly
* That you have stats turned off (they are quite DB-hungry)

Thanks
-Vincent

On Nov 14, 2008, at 6:02 PM, Samuel Lee wrote:

> Hello,
> I'm running an xwiki farm with 3 xwikis.  Even when loading a simple
> text page, the request is very slow.
>
> I'm running on a CentOS box, using java in Tomcat and a mysql
> database.  Mysql usually hits 99.9% CPU and hangs there for a while.
> Tomcat goes to about 50%.
>
> We have it authenticating against an LDAP server, but the slowness
> occurs even when loading the login screen.
>
> I've turned off global statistics.
>
> Any ideas as to what might be going on?
>
> Sam
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Wikifarm cpu 100%

2008-11-14 Thread Samuel Lee
Hello,
I'm running an xwiki farm with 3 xwikis.  Even when loading a simple  
text page, the request is very slow.

I'm running on a CentOS box, using java in Tomcat and a mysql  
database.  Mysql usually hits 99.9% CPU and hangs there for a while.   
Tomcat goes to about 50%.

We have it authenticating against an LDAP server, but the slowness  
occurs even when loading the login screen.

I've turned off global statistics.

Any ideas as to what might be going on?

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


[xwiki-users] Problem with 'Inline Tag Edition Snippet'

2008-11-14 Thread BrianJones

Hello, 

Seems to me there is a bug with this snippet. It renders fine, displays the
existing tags, etc. The problem arises when you try to add new tags using
this. 

Ex: 

I replace the 'Tag Panel' code with the snippet code, and change the 'panel
type' to 'view', then add the panel to one of the menu bars (left or right). 

I browse to a space that has no tags on it, and use the panel to add 2 new
tags (type the tags in the textbox and press 'update' button).  The two tags
were like this: 

tag_1|tag_2 

But, when I click the 'update' button, it applies the tag to the page, but
instead of seeing two tags titled 'tag_1' and 'tag_2', I see one tag titled
'tag_1 tag_2'. 

Has anyone else seen this problem, or know how to fix it? The code snippet
is available here. 
-- 
View this message in context: 
http://n2.nabble.com/Problem-with-%27Inline-Tag-Edition-Snippet%27-tp1499342p1499342.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] Please, badly need help with HQL...

2008-11-14 Thread Vincent Massol
Hi Adoro,

One you have something fully working, would be nice if you could  
contribute this back on code.xwiki.org as a code snippet.

Thanks
-Vincent

On Nov 14, 2008, at 4:58 PM, adoro wrote:

>
> Hi Sergiu,
> thank you so much for your help,
> the "wanted pages" query works fine if I use it for certain spaces:
>
> #set($sql= "select link.fullName, link.link.id from XWikiLink link  
> where
> link.fullName like 'MySpace.%' and not exists
> (select doc.fullName from XWikiDocument doc where doc.fullName =
> link.id.link) order by 1")
>
> #set($results= $xwiki.search($sql))
> #if ($results.size() == 0)
> #warning('Es gibt keine gewünschte Seiten')
> #else
> {table}
> Space|Document|Link
> #foreach ($row in $results)
>  #foreach ($col in $row)
>#if ($velocityCount==1)
> #set($docFullName=$col)
>#elseif ($velocityCount==2)
> #set($emptyLink=$col)
> #set($el=$emptyLink.getLink())
> #set($spaceName=$xwiki.getDocument($docFullName).space)
> #end
>  #end
> $spaceName|[$docFullName]|$el
> #end
> {table}
> #end
>
> Best Regards,
> Alla
>
>
> Sergiu Dumitriu-2 wrote:
>>
>>
>> This should work:
>>
>> #set($query = "select link.id.link from XWikiLink link where not  
>> exists
>> (from XWikiDocument doc where doc.fullName = link.id.link)")
>> #foreach($item in $xwiki.search($query))
>> * $item
>> #end
>>
>> Note that several bad entries are placed there because the link
>> detection process does not pre-run velocity, so lots of entries  
>> actually
>> point to velocity variables or javascript code. Definitely the  
>> backlinks
>> need to be revised in the new rendering.
>>
>> Sergiu Dumitriu
>> http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Please, badly need help with HQL...

2008-11-14 Thread adoro

Hi Sergiu,
thank you so much for your help,
the "wanted pages" query works fine if I use it for certain spaces:

#set($sql= "select link.fullName, link.link.id from XWikiLink link where
link.fullName like 'MySpace.%' and not exists
(select doc.fullName from XWikiDocument doc where doc.fullName =
link.id.link) order by 1")

#set($results= $xwiki.search($sql))
#if ($results.size() == 0)
#warning('Es gibt keine gewünschte Seiten')
#else
{table}
Space|Document|Link
#foreach ($row in $results)
  #foreach ($col in $row)
#if ($velocityCount==1)
 #set($docFullName=$col) 
#elseif ($velocityCount==2)
 #set($emptyLink=$col)
 #set($el=$emptyLink.getLink())
 #set($spaceName=$xwiki.getDocument($docFullName).space)
 #end
  #end
$spaceName|[$docFullName]|$el
#end
{table}
#end

Best Regards,
Alla


Sergiu Dumitriu-2 wrote:
> 
> 
> This should work:
> 
> #set($query = "select link.id.link from XWikiLink link where not exists
> (from XWikiDocument doc where doc.fullName = link.id.link)")
> #foreach($item in $xwiki.search($query))
>  * $item
> #end
> 
> Note that several bad entries are placed there because the link
> detection process does not pre-run velocity, so lots of entries actually
> point to velocity variables or javascript code. Definitely the backlinks
> need to be revised in the new rendering.
> 
> 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://n2.nabble.com/Please%2C-badly-need-help-with-HQL...-tp1493848p1499075.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] Display a PDF in a XWiki page

2008-11-14 Thread Guillaume Lerouge
You could try with an iframe (  wrote:

> Greetings
>
> I have a XWiki page with a pdf attached. How can I display this pdf
> attachement in my XWiki page?
>
> Thanks in advance
> Bruno Neves
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://blog.xwiki.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] JBossCacheCacheConfiguration Failed to load configuration file

2008-11-14 Thread Thomas Mortagne
On Thu, Nov 13, 2008 at 4:26 PM, Tronicek <[EMAIL PROTECTED]> wrote:
>
> Just an adjustment:
> the errors are only seen while xwiki.cfg entries are set active. Looking
> like:
>
> --
>
> #-# [Since 1.5M2]
> #-# The cache component implementation to use as "normal" (can be local or
> distributed depending on the implementation)
> #-# cache component.
> xwiki.cache.cachefactory.hint=jbosscache
>
> #-# [Since 1.5M2]
> #-# The cache component to use as local cache component.
> xwiki.cache.cachefactory.local.hint=jbosscache/local

Theses options should not change anything since 1.6 as it's already
the default values.

>
> --
>
> What to do to enable JBossCache?

According to the log you get, you have JBossCache enabled.

>
> We want to start our Wiki on JBoss Cluster using JBossCache...

Note: there is a problem with JBossCache clustering which need
Serializable datas (and documents are not, yet). See
http://jira.xwiki.org/jira/browse/XWIKI-2793

>
> Regards,
> Rudolf
>
>
> Tronicek wrote:
>>
>> Hi,
>>
>> I'm using JBoss (4.2.1), XWiki XE 1.7 Milestone 1.
>>
>> Which parameters are to be set or which files have to be modified/moved to
>> prevent the following DEBUG and ERROR messages?
>>
>> No matter whether xwiki.cfg file has
>> xwiki.cache.cachefactory.hint=jbosscache and
>> xwiki.cache.cachefactory.local.hint=jbosscache/local as comment or not,
>> there is a DEBUG message on console saying
>> "Failed to load configuration file xwiki.store.pagecache".
>> There's a second DEBUG message saying "Failed to load configuration file
>> default".
>>
>> I realized this after deletion of log4j-1.2.13.jar in lib folder.
>>
>> The real problem seems to be that there is an error later with lucene:
>> ERROR [com.xpn.xwiki.plugin.lucene.IndexUpdater] error indexing document
>> xwiki:XWiki.420127.default.objects
>> com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
>> reading document XWiki.420127
>>
>> (The number is a XWiki "username".)
>>
>> Logging is very high. It's showing a lot of debug and error messages
>> relating caching.
>>
>> Thanks,
>> Rudolf
>>
>> Each stack traces are there a lot of times. Stack Details:
>>
>> 1) as first
>>
>> 2008-11-13 00:00:00,015 ERROR [org.quartz.core.QuartzSchedulerThread]
>> Runtime error occured in main trigger firing loop.
>> java.lang.NullPointerException
>>   at
>> org.apache.commons.logging.LogFactory.getCachedFactory(LogFactory.java:979)
>>   at 
>> org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:435)
>>   at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
>>   at org.quartz.core.JobRunShell.(JobRunShell.java:80)
>>   at
>> org.quartz.impl.StdJobRunShellFactory.borrowJobRunShell(StdJobRunShellFactory.java:86)
>>   at
>> org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:357)
>>
>> 2) a bit later
>>
>> 2008-11-13 05:10:00,888 INFO
>> [org.xwiki.cache.jbosscache.internal.JBossCacheCacheFactory] Start JBoss
>> cache initialisation
>> 2008-11-13 05:10:00,904 DEBUG
>> [org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration] Failed
>> to load configuration file xwiki.groovy.content
>> org.xwiki.cache.jbosscache.internal.PropertiesLoadingCacheException: Can't
>> find any configuration file forxwiki.groovy.content
>>   at
>> org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.loadConfig(JBossCacheCacheConfiguration.java:245)
>>   at
>> org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.load(JBossCacheCacheConfiguration.java:115)
>>   at
>> org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.(JBossCacheCacheConfiguration.java:99)
>>   at
>> org.xwiki.cache.jbosscache.internal.JBossCacheCacheFactory.newCache(JBossCacheCacheFactory.java:78)
>>   at
>> com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.initCache(XWikiGroovyRenderer.java:133)
>>   at
>> com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.initCache(XWikiGroovyRenderer.java:121)
>>   at
>> com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.prepareCache(XWikiGroovyRenderer.java:152)
>>   at
>> com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.parseGroovyFromString(XWikiGroovyRenderer.java:333)
>>   at com.xpn.xwiki.XWiki.parseGroovyFromString(XWiki.java:5698)
>>   at com.xpn.xwiki.api.XWiki.parseGroovyFromPage(XWiki.java:2169)
>>   at gjdk.com.xpn.xwiki.api.XWiki_GroovyReflector.invoke(Unknown Source)
>>   at groovy.lang.MetaMethod.invoke(MetaMethod.java:111)
>>   at
>> org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:657)
>>   at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:363)
>>   at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:146)
>>   at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
>>   at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85)
>>

Re: [xwiki-users] Display a PDF in a XWiki page

2008-11-14 Thread Guillaume Lerouge
I meant scribd ( http://www.scribd.com/ )

On Fri, Nov 14, 2008 at 2:13 PM, Guillaume Lerouge <[EMAIL PROTECTED]>wrote:

> You could try with an iframe (  viewer won't let you do that (AFAIR it doesn't want to display the
> document).
>
> On a public wiki you might give a try to sribd (upload your document there
> then embed the widget's code on a wiki page).
>
> Hope this helps,
> Guillaume
>
>
> On Fri, Nov 14, 2008 at 1:11 PM, Bruno Neves <[EMAIL PROTECTED]> wrote:
>
>> Greetings
>>
>> I have a XWiki page with a pdf attached. How can I display this pdf
>> attachement in my XWiki page?
>>
>> Thanks in advance
>> Bruno Neves
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Guillaume Lerouge
> Product Manager - XWiki
> Skype ID : wikibc
> http://blog.xwiki.com/
>



-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://blog.xwiki.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] New users and LDAP

2008-11-14 Thread Thomas Mortagne
On Thu, Nov 13, 2008 at 6:49 PM, mtenhoor <[EMAIL PROTECTED]> wrote:
>
> Ok, turns out the xwikircs table in mysql was marked as crashed.  Once I
> repaired it, most of the problems went away.  However, the login page still
> provides no feedback to the user as to why the login has failed when using
> only LDAP authentication, ie 'bad password'.  The login page just refreshes
> as if nothing happened, but I can see from the log that it tried LDAP and
> either the user name or password was rejected.  In xwiki.log I see the
> following when trying to log in with a user name that does not exist in
> LDAP:
>
>
>
> -xwiki.log-
>
> 11:45:12,156
> [http://192.168.128.178:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
> [http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl   - Local LDAP
> authentication failed.
> java.lang.NullPointerException
>at
> com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:341)
>at
> com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
>at
> com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
>at
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
>at
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
>at
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
>at
> com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
>at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
>at
> com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
>at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
>at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
>at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
>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.doPost(ActionServlet.java:432)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>at
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
>at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>at
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
>at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
>at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
>at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>at java.lang.Thread.run(Thread.java:619)
>
> ---
>
> My only other gripe is that the change password link still shows up on the
> users page even though it doesn't do anything.  Is there a way to remove it?

It seems there is a problem with the LDAP search that makes
authentication to fail (it looks like the bug in 1.6 fixed in 1.6.1)

[xwiki-users] Display a PDF in a XWiki page

2008-11-14 Thread Bruno Neves
Greetings

I have a XWiki page with a pdf attached. How can I display this pdf attachement 
in my XWiki page?

Thanks in advance
Bruno Neves

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


Re: [xwiki-users] Control privileges to create tags

2008-11-14 Thread Guillaume Lerouge
Hi,

On Fri, Nov 14, 2008 at 1:01 PM, Bruno Neves <[EMAIL PROTECTED]> wrote:

> Greetings
>
> I have a simple doubt. There is a way to give the privilage of creating new
> XWiki pages to a user, but
> forbidden him of creating tags in new pages?


If an user can create new pages he can edit them, if he can edit pages he
can add objects to those pages and edit the object's contents.

Tags are implemented as objects, thus if an user can create new pages he can
create tags in new pages. If you want users to choose from a predefined set
of tags, you can follow the guidelines from
http://platform.xwiki.org/xwiki/bin/view/Features/Tags (not quite sure about
the URL but the website seems to be down right now) .

Guillaume


>
>
> Thanks in advance
> Bruno Neves
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://blog.xwiki.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Control privileges to create tags

2008-11-14 Thread Bruno Neves
Greetings

I have a simple doubt. There is a way to give the privilage of creating new 
XWiki pages to a user, but
forbidden him of creating tags in new pages?

Thanks in advance
Bruno Neves

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