[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.comsubject=This is a

Re: [xwiki-users] mailto links code blocks

2008-11-18 Thread Lewis Denizen
Thanks a ton, Vincent! Really great work on XWiki :-D On Sat, Nov 15, 2008 at 4:01 AM, Vincent Massol [EMAIL PROTECTED] wrote: 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

[xwiki-users] Pygments

2008-11-25 Thread Lewis Denizen
Hi xwiki-users, I have a question (or more of a request) regarding the upcoming Pygments support in XWiki 1.7. We currently use XWiki at work to keep an internal documentation wiki for our application. We've created a few plugins which we've used in the following fashion perfectly (XWiki 1.0

Re: [xwiki-users] Pygments

2008-11-26 Thread Lewis Denizen
Thank you so much for the feedback (as always!), Vincent :-D Can't wait to try out 1.7 - looking forward to the next release! And, appreciate the tip, Jerome - these sorts of tutes reeally help a lot :-) On 11/26/08, Jerome Velociter [EMAIL PROTECTED] wrote: Lewis Denizen wrote: Hi xwiki

[xwiki-users] XWikiAuthServiceImpl.java

2008-12-11 Thread Lewis Denizen
Hi xwiki-users, In XWikiAuthServiceImpl.java, I see the following lines: Line 521: String createuser = getParam(auth_createuser, context); Line 500~517: protected String getParam(String name, XWikiContext context) { String param = ; try { param =

[xwiki-users] Velocity + Tables

2009-02-22 Thread Lewis Denizen
Hi xwiki-users, I've been playing with the new XWiki Syntax 2.0, but there are still some things possible with the old 1.0 syntax which are impossible in the new 2.0 syntax. One thing that I still cannot figure out is something like the following: {{html wiki=true}} table id=serverList

Re: [xwiki-users] Velocity + Tables

2009-02-24 Thread Lewis Denizen
, Vincent Massol wrote: Hi Lewis, On Feb 22, 2009, at 5:56 PM, Lewis Denizen wrote: Hi xwiki-users, I've been playing with the new XWiki Syntax 2.0, Great, we need feedback on the new syntax from using it in the real world! but there are still some things possible with the old

[xwiki-users] Images in links

2009-02-28 Thread Lewis Denizen
Hi xwiki-users, In XWiki Syntax 1.0, I was able to do something like this: a href=${documentURLRoot}img src=$xwiki.getSkinFile('icons/black-file.png') alt=Root URL title=Root URL //a This would render an icon from the current skin as a link. I understand that in XWiki Syntax 2.0, there's a

[xwiki-users] Inline forms in XWiki Syntax 2.0

2009-03-17 Thread Lewis Denizen
Hi xwiki-users, When attempting to include an inline form in XWiki Syntax 2.0, the resulting page always gets wrapped in a {pre} tag. It says this was to prevent further rendering of the form, but this doesn't work too well with the 2.0 syntax since {pre} is not a valid tag (just renders it as a

Re: [xwiki-users] Inline forms in XWiki Syntax 2.0

2009-03-20 Thread Lewis Denizen
Thanks for the reply, Thomas! Looking forward to the new form support :-) On Wed, Mar 18, 2009 at 2:21 AM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Tue, Mar 17, 2009 at 17:03, Lewis Denizen orang...@gmail.com wrote: Hi xwiki-users, When attempting to include an inline form

[xwiki-users] TOC not displaying properly

2009-03-25 Thread Lewis Denizen
Hi xwiki-users, When I try the following in a page: = Level 1 {{toc start=1 depth=3 numbered=false scope=page /}} == Level 2a === Level 3a === Level 3b == Level 2b === Level 3c [Level 2b] does not untab itself in the TOC. This only happens when there are 2 or more children preceding the

Re: [xwiki-users] TOC not displaying properly

2009-03-25 Thread Lewis Denizen
Oops, also forgot to mention, this was tested using XWiki 1.8 (2.0 Syntax) - sorry for the multiple spam! On Thu, Mar 26, 2009 at 12:11 AM, Lewis Denizen orang...@gmail.com wrote: Hi xwiki-users, When I try the following in a page: = Level 1 {{toc start=1 depth=3 numbered=false scope=page

Re: [xwiki-users] TOC not displaying properly

2009-03-26 Thread Lewis Denizen
://jira.xwiki.org (eventually with a screenshot to be sure everyone understand the bug). On Wed, Mar 25, 2009 at 16:11, Lewis Denizen orang...@gmail.com wrote: Hi xwiki-users, When I try the following in a page: = Level 1 {{toc start=1 depth=3 numbered=false scope=page /}} == Level 2a

[xwiki-users] Macro within code macro

2009-05-05 Thread Lewis Denizen
Hi xwiki-users, Just wondering if it's possible to add a macro inside a code macro? What I want to do is something like this: {{code language=sql}} select * from xyz where from_date = '{{date-macro date=-1b format=MMdd/}}' -- The date-macro returns the last business date in MMdd format

[xwiki-users] Proposal: box macro with show/hide parameter

2009-05-05 Thread Lewis Denizen
Hi xwiki-users, Quick proposal - would it be possible to enhance the box macro so that it includes two extra (optional) parameters: hideable=[true/false] initial=[show/hide] It would be useful to have a show/hide button on box macros (and all its children) using JavaScript (possibly based on

Re: [xwiki-users] Macro within code macro

2009-05-05 Thread Lewis Denizen
Thanks Vincent. One more question - is it possible to execute an XWiki 2.0 macro from Velocity context? On Tue, May 5, 2009 at 4:46 PM, Vincent Massol vinc...@massol.net wrote: Hi Lewis, On May 5, 2009, at 9:11 AM, Lewis Denizen wrote: Hi xwiki-users, Just wondering if it's possible

Re: [xwiki-users] Proposal: box macro with show/hide parameter

2009-05-05 Thread Lewis Denizen
Possible, wondering if that would look strange if there was a div right under it. Would be possible to remove the first div, though (if that's the only element under it). On Tue, May 5, 2009 at 7:00 PM, Vincent Massol vinc...@massol.net wrote: On May 5, 2009, at 11:55 AM, Lewis Denizen wrote

Re: [xwiki-users] Macro within code macro

2009-05-05 Thread Lewis Denizen
, 2009 at 12:01, Vincent Massol vinc...@massol.net wrote: On May 5, 2009, at 11:57 AM, Lewis Denizen wrote: Thanks Vincent. One more question - is it possible to execute an XWiki 2.0 macro from Velocity context? yes the velocity macro does this: 1) executes velocity on the full

[xwiki-users] Bean converter in XWiki 2.0

2009-09-28 Thread Lewis Denizen
Hi xwiki-users, I just have to say... Thank you to the Dev team for such a great XWiki 2.0 release! XWiki is the best wiki I've ever encountered - the ideas in it have really shown what Java + open source libs can achieve. The result is purely extraordinary! Thank you so much for such a great

[xwiki-users] Wiki Macros

2009-09-28 Thread Lewis Denizen
Hi xwiki-users, I've been playing with this new Wiki Macros stuff (this stuff is superb!), but I've got one question. In a conventional 2.0 Java Macro, I can inject things like DAOs and AccessBridges (like DocumentAccessBridge). Is this possible using the new Wiki Macros (for example, how can I

Re: [xwiki-users] Wiki Macros

2009-09-29 Thread Lewis Denizen
, Vincent Massol wrote: On Sep 28, 2009, at 6:34 PM, Lewis Denizen wrote: Hi xwiki-users, I've been playing with this new Wiki Macros stuff (this stuff is superb!), but I've got one question. In a conventional 2.0 Java Macro, I can inject things like DAOs and AccessBridges

Re: [xwiki-users] Bean converter in XWiki 2.0

2009-09-29 Thread Lewis Denizen
at 21:08, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Mon, Sep 28, 2009 at 18:22, Lewis Denizen orang...@gmail.com wrote: Hi xwiki-users, I just have to say... Thank you to the Dev team for such a great XWiki 2.0 release! XWiki is the best wiki I've ever encountered - the ideas

[xwiki-users] Macro parameters

2009-10-06 Thread Lewis Denizen
Hi xwiki-users, One small quirck with the 2.0 release - when I try something like this: {{box title={{info}}test{{/infothis is a test{{/box}} the output becomes a bit screwey... Parts of the {{info}} tag gets added to the content of the box instead of into the title. It does work when the

[xwiki-users] Groovy JARs

2009-10-06 Thread Lewis Denizen
Hi xwiki-users, Just wondering - does the jars parameter work for the groovy macro? Tried executing something simple with no luck: {{groovy jars=attach:main.webh...@blah.jar}} import blahblah... println(Blah.class.getName()) {{/groovy}} Always throws a ClassNotFoundException (even tho the

Re: [xwiki-users] Macro parameters

2009-10-06 Thread Lewis Denizen
...@xwiki.com wrote: 2009/10/6 Marius Dumitru Florea mariusdumitru.flo...@xwiki.com: Thomas Mortagne wrote: 2009/10/6 Vincent Massol vinc...@massol.net: On Oct 6, 2009, at 5:15 PM, Marius Dumitru Florea wrote: Hi Lewis, Lewis Denizen wrote: Hi xwiki-users, One small quirck with the 2.0 release

Re: [xwiki-users] Groovy JARs

2009-10-07 Thread Lewis Denizen
in JIRA beforehand! On Wed, Oct 7, 2009 at 5:07 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Tue, Oct 6, 2009 at 19:20, Lewis Denizen orang...@gmail.com wrote: Hi xwiki-users, Just wondering - does the jars parameter work for the groovy macro? This has been tested almost only

Re: [xwiki-users] Groovy JARs

2009-10-08 Thread Lewis Denizen
Thanks a million Vincent! If there's anything I can help with (I guess mainly testing :-S), please give me a shout - I'd be more than willing to try it out :-) On Wed, Oct 7, 2009 at 11:32 PM, Vincent Massol vinc...@massol.net wrote: Hi Lewis, On Oct 7, 2009, at 4:24 PM, Lewis Denizen wrote

[xwiki-users] Edit bug?

2009-12-01 Thread Lewis Denizen
Hi xwiki-users, When I browse to a new space (http://localhost/xwiki_root/bin/view/MySpace) and edit the page using the edit this page link, it forwards me to a different space: http://localhost/xwiki_root/bin/edit/view/MySpace). It works when I browse to

[xwiki-users] Components from the wiki

2009-12-01 Thread Lewis Denizen
Hi xwiki-users, I'm trying to bootstrap a component from the wiki itself (via Groovy). I have an interface defined as follows: // This is the text inside the User.UserDAO document {{groovy}} interface UserDAO { def ROLE = UserDAO.class.name /** * Returns the current user name.

Re: [xwiki-users] Components from the wiki

2009-12-03 Thread Lewis Denizen
...@massol.net wrote: Hi Lewis, On Dec 1, 2009, at 7:12 PM, Lewis Denizen wrote: Hi xwiki-users, I'm trying to bootstrap a component from the wiki itself (via Groovy). I have an interface defined as follows: // This is the text inside the User.UserDAO document {{groovy}} interface UserDAO

Re: [xwiki-users] Edit bug?

2009-12-03 Thread Lewis Denizen
Thanks for the tip Joshua and Thomas! Raised a JIRA though: http://jira.xwiki.org/jira/browse/XWIKI-4643 Appreciate the hard work on XWiki! On Wed, Dec 2, 2009 at 3:19 AM, Thomas Mortagne thomas.morta...@xwiki.comwrote: Hi, On Tue, Dec 1, 2009 at 18:51, Lewis Denizen orang...@gmail.com

Re: [xwiki-users] Components from the wiki

2009-12-03 Thread Lewis Denizen
Actually... seems like componentDescriptor.addComponentDependency() doesn't add the dependency either :-( Just ends up being null when retrieving it. Is there something that needs to be done before injection happens on these objects? On Fri, Dec 4, 2009 at 12:34 AM, Lewis Denizen orang

Re: [xwiki-users] Components from the wiki

2009-12-07 Thread Lewis Denizen
Thanks again, Vincent! Yup, ComponentDescriptorFactory did the magic :-D On Dec 4, 2009, at 1:39 AM, Vincent Massol vinc...@massol.net wrote: On Dec 3, 2009, at 4:34 PM, Lewis Denizen wrote: Thanks Vincent! That's exactly what I needed :-) Just one more question, though

[xwiki-users] Groovy JAR attach

2010-06-09 Thread Lewis Denizen
Hi xwiki-users, I seem to be having trouble including JARs in my Groovy classpath. I'm trying the following: {{groovy jars=attach:test-1.0.jar}} try { def x = Class.forName(com.test.TestMe) out.println(x) } catch(e) { out.println(FAILURE: + e) } {{/groovy}} This ends up with the text

Re: [xwiki-users] Newline after include macro

2010-06-10 Thread Lewis Denizen
wrote: On Wed, Jun 9, 2010 at 15:39, Lewis Denizen orang...@gmail.com wrote: Hi xwiki-users, I created a page called Sandbox.TestMacro with the following content: * {{test /}} The page also has a WikiMacro object defined: {{include document=Sandbox.TestService context=current

Re: [xwiki-users] Newline after include macro

2010-06-10 Thread Lewis Denizen
:57 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Thu, Jun 10, 2010 at 14:36, Lewis Denizen orang...@gmail.com wrote: Thanks for the quick reply, Thomas! Actually, I tried that but without luck. It gives the exact same output as what I have below :-( BTW, I am using XWiki 2.3.1

Re: [xwiki-users] Newline after include macro

2010-06-11 Thread Lewis Denizen
=false}} package com.test class TestService2 { def static testMe2() { return TEST } } {{/groovy}} Any ideas? On Fri, Jun 11, 2010 at 12:49 AM, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jun 10, 2010 at 17:05, Lewis Denizen orang...@gmail.com wrote: Hi Thomas, {{test

Re: [xwiki-users] Newline after include macro

2010-06-18 Thread Lewis Denizen
ideas? On Sat, Jun 12, 2010 at 1:07 AM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Fri, Jun 11, 2010 at 17:17, Lewis Denizen orang...@gmail.com wrote: Yup, {{test /}} is a wiki macro. The contents are: {{include document=Sandbox.TestService context=current /}} {{groovy