Hello,
{{velocity}}
#set($logger = $services.logging.getLogger("My script"))
$logger.info("foobar")
{{/velocity}}
This is exactly what is on the page linked by Vincent, just with a more
similar "look" to your own sample.
"My script" is just an informative name of the logger you create. You cou
Thanks again for taking time to respond, forgive my ignorance..I still don't
really "get it" could you possibly show me an example of the syntax for writing
to the logs from within my Velocity code? In groovy I can simply write:
{{groovy}}
System.out.println("foobar")
{{/groovy}}
I'm just havi
On 25 Aug 2014 at 18:26:28, Jason Clemons
(jason.clem...@live.com(mailto:jason.clem...@live.com)) wrote:
> Thanks for the response Vincent, I did see this article, but I'm having
> trouble figuring out how to implement it. Ultimately, I just want the
> equivalent of "Console.Log('foobar');
Thanks for the response Vincent, I did see this article, but I'm having trouble
figuring out how to implement it. Ultimately, I just want the equivalent of
"Console.Log('foobar');" for some debugging code. I don't want to setup a full
blown logging architecture or anything heavy for my wiki.
On 25 Aug 2014 at 18:02:12, Jason Clemons
(jason.clem...@live.com(mailto:jason.clem...@live.com)) wrote:
> Hello, can someone please give me an example of how to write to a log using
> Velocity code?
>
> I'd really like to write a text file, but at this point any logging would be
> tremendous
Hello, can someone please give me an example of how to write to a log using
Velocity code?
I'd really like to write a text file, but at this point any logging would be
tremendously helpful, thanks
___
users mailing list
users@xwiki.org
http://lists.xwi
Thxs a lot (I was on it, during 3 days)
Then I will probably modify my templates/rightpanels.vm
#if($paneldoc && $!xwiki.hasAccessLevel('view', $paneldoc))
If my NiceSpace then:
my nice stats on right panel
include myNicePageOfStat
#else
$services.rendering.rend
You’re not allowed to use APIs requiring Programming Rights in Panels (there’s
a dropPermissions() call in the panels template).
See http://jira.xwiki.org/browse/XWIKI-6823
Thanks
-Vincent
On 25 Aug 2014 at 15:44:41, Pascal BASTIEN
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrot
An example, if I create a new panel"MonPanel" with this code:
{{velocity}}
#panelheader('MonPanel')
$xcontext.getContext()
#panelfooter()
{{/velocity}}
and add it on the right panel:
On the right Panel, in edit mode $xcontext. is initialized
http://snag.gy/WvwN3.jpg but not in view mode http:/
Thanks Andrea for your work! :-)
-Vincent
On 25 Aug 2014 at 10:33:37, Andreea Popescu (andreea.pope...@xwiki.com) wrote:
Hello everyone,
During the last few weeks I’ve verified a large part of the extensions
found on extensions.xwiki.org, in order to see which of them are compatible
with the la
Hello everyone,
During the last few weeks I’ve verified a large part of the extensions
found on extensions.xwiki.org, in order to see which of them are compatible
with the latest XWiki versions.
On the pages of the extensions you will notice that the following data has
been updated:
- Compati
On Fri, Aug 22, 2014 at 2:16 PM, Dmitry Bakbardin wrote:
> Hi!
>
> Marius, http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation contains
> documentation up to 5.x. Where one can find 6.x documentation in the same way?
Indeed, the SRD hasn't been updated in a while. There's a document
expla
12 matches
Mail list logo