[xwiki-users] Extended ToDo Application

2009-05-10 Thread Michael Beetz
Hi all,

The Extended ToDo Application seams to be the more active application (than the 
Task Manager Application).  Is there any way to add these nice features to that 
application too?
-  create a todo linked to a page
-  list all todos by page / by assignee / by reporter
-  create a todo having a sequential number within a space

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


Re: [xwiki-users] XWikiLock and it's duration time

2009-05-10 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Thanks, Sergiu.

Sergiu Dumitriu wrote:
 My bad, I didn't properly escape the #if. Fixed now.

   

Please, does search behave like expect if (posting here a paragraph from 
e previous entry for easier reference)...

I've tried to find the page by searching for locks and lock (no 
simultaneously). None of these two pages showed up. Even funnier: if i 
log into XWiki, I get a page given 12 results but showing just one. If I 
log out, I get 13 results, all of them showed in the result page.


Thanks again!

Cheers,

Ricardo

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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


Re: [xwiki-users] new application css+image

2009-05-10 Thread Jerome Velociter
Hello,

If minus.gif is attached to the document that holds the SSX object, 
the right line is :

ul.mktree  li.liOpen.bullet { cursor: pointer; background:
url($doc.getAttachmentURL(minus.gif))  center left no-repeat; }

($doc instead of $xwiki)

Make sure you also said Yes to the parse content option of the SSX, 
and it should all work fine :)

Cheers,
Jerome


Dilipkumar Jadhav wrote:
 Hello friends,
 I am trying to use the work of Mark Strauss (mktree) found at
 http://www.javascripttoolbox.com/lib/mktree/ in xwiki application/plugin
 that allows creation of collapsible tree from a static ul and lit list.
 So far, I had it working through by adding the javascript and the css file
 by adding the actual path of these files in the presentation section of
 the admin dashboard.
 However, I wanted it to be more organized and make it available on demand.
 So i created the jsx and the ssx files in place of the javascript and the
 css files.
 So far so good.
 However, there are images that were referred by the css file which worked
 fine in the previous setup (basically they assign a plus and minus sign on
 the right of the ul and li elements).
 Now, I've attached these image files to the ssx. But I am not able to get
 the ssx to work with the images. The Javascript works fine from the jsx. The
 tree does collapse and expand as expected. However, the images from the
 style sheet does not show up.
 I've used the following line in the object edit mode of the ssx page:

 ul.mktree  li.liOpen.bullet { cursor: pointer; background:
 url($xwiki.getAttachmentURL(minus.gif))  center left no-repeat; }

 ...here minus.gif is attached to the ssx page. But no go.
 I did go through the various resources on skin customizations and the
 addsizes extension tutorial. I could not understand the use velocity to
 attach images technique in the addsizes tutorial. Is there a simpler way to
 make the ssx pick up the image files and behave just like a normal css
 file?...
 Any help would be appreciated.
 Thank you all.
 ___
 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] XWikiLock and it's duration time

2009-05-10 Thread Sergiu Dumitriu
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
 Thanks, Sergiu.
 
 Sergiu Dumitriu wrote:
 My bad, I didn't properly escape the #if. Fixed now.

   
 
 Please, does search behave like expect if (posting here a paragraph from 
 e previous entry for easier reference)...
 
 I've tried to find the page by searching for locks and lock (no 
 simultaneously). None of these two pages showed up. Even funnier: if i 
 log into XWiki, I get a page given 12 results but showing just one. If I 
 log out, I get 13 results, all of them showed in the result page.
 

What search did you use?

Using the dedicated FAQ search from the FAQ home page, I correctly get 
the two entries at the top of the list:

http://www.xwiki.org/xwiki/bin/view/FAQ/FAQSearch?text=lock

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


[xwiki-users] update from 1.8.2 to 1.8.3 - velocity macro renders differently

2009-05-10 Thread Vladimir Konrad

Hello,

I just updated XWiki (by fresh install) from 1.8.2  to 1.8.3 and
following velocity code renders differently:

{{velocity}}
#foreach( $attachment in $doc.getAttachmentList() )

* [[$attachment.getFilename()attach:$attachment.getFilename()]] :
{{code language=clojure}}
$attachment.getContentAsString()
{{/code}}


#end
{{/velocity}}

The intention of the macro is to render all attachments as code.

In 1.8.2, I get one box per code attachment as expected, in 1.8.3 it
looks that it renders each line of the attachment (one box per line of
the code).

Any ideas how I can fix this?

Kind regards,

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


Re: [xwiki-users] XWikiLock and it's duration time

2009-05-10 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team


Sergiu Dumitriu wrote:
 What search did you use?
   

The Lucene search available in the right column. Logged in as rrodriguez

http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=lockx=0y=0

Here the results...

http://xen.net/images/searchingXWikiForLock.jpg
 Using the dedicated FAQ search from the FAQ home page, I correctly get 
 the two entries at the top of the list:

 http://www.xwiki.org/xwiki/bin/view/FAQ/FAQSearch?text=lock

   
Here what I get when accessing this link...

http://xen.net/images/errorSearchingXWiki.png

Does this make any sense for you? Thanks.

Cheers,

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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


Re: [xwiki-users] XWikiLock and it's duration time

2009-05-10 Thread Sergiu Dumitriu
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
 
 Sergiu Dumitriu wrote:
 What search did you use?
   
 
 The Lucene search available in the right column. Logged in as rrodriguez
 
 http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=lockx=0y=0
 
 Here the results...

Another proof that the Lucene search doesn't work pretty well.

 http://xen.net/images/searchingXWikiForLock.jpg
 Using the dedicated FAQ search from the FAQ home page, I correctly get 
 the two entries at the top of the list:

 http://www.xwiki.org/xwiki/bin/view/FAQ/FAQSearch?text=lock

   
 Here what I get when accessing this link...
 
 http://xen.net/images/errorSearchingXWiki.png
 

Looks like somebody played with the access rights on that document. It 
has been broken for a year and nobody complained about it... It's fixed 
now, you can try again.

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


[xwiki-users] 'Response is already committed' when user logs in

2009-05-10 Thread soham

Env: Installed xwiki-enterprise-web-1.8.2.war on Pramati Appl Server
(www.pramati.com). Using HSQL database in server mode.

Create an user without any admin rights. Login from a browser (FF3, IE7,
Chrome1). When the login page loads the following error 

is logged to the server console. The user can login and work properly but
the error should not happen. I am using XWiki for 

critical business purpose. I need to resolve it asap.

[ERROR] Method checkAccess threw exception for reference $xwiki in template
/templates/menuview.vm at  [128,61]
org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with
id [/templates/menuview.vm]
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1605)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:656)
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.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1605)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:656)
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.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1605)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:72)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
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
com.pramati.web.servlet.core.ServiceAction.run(ServiceAction.java:83)
at
com.pramati.security.util.PramatiSecurityHelper._doAs(PramatiSecurityHelper.java:54)
at