Hi Thibault,
I copied the script in a page in the sandbox environment...
It should show a LiveTable on Panels.PanelClass
NO, the script works fine, but there are NO records shown
I also copied the script into the sandbox environment of our production
instance: www.cdlswold.org
It gives the
Thanks, Ricardo! But for me your example is not enough.
I need to filter not by fixed date, but for dynamic criteria - current date
- 5 days ...
How is it possible?
Maybe I should do it by 2 steps: 1) set target date (current date - 5 days)
as value, 2) use this target date (fixed value) as a
Hi!
Eugen Colesnicov wrote:
Thanks, Ricardo! But for me your example is not enough.
I need to filter not by fixed date, but for dynamic criteria - current date
- 5 days ...
How is it possible?
Well, this is not hard to do... after the examples shown here...
I checked this example and your script - it is not correct, because you
compare separately year, month and day of document with current date - year,
month and day-100. But if, for example now is 02 january, your script give
uncorrect result, becase I also should change year and month (and year),
Hi colleagues!
I need some help for the Scheduler.
I already have some not small script in a velocity. This script select some
pages with complex conditions (hql), make some calculations and sending
emails. Now this script is working when I simply open it page (where script
is placed).
I need
On 10/23/2010 10:45 PM, Eugen Colesnicov wrote:
I checked this example and your script - it is not correct, because you
compare separately year, month and day of document with current date - year,
month and day-100. But if, for example now is 02 january, your script give
uncorrect result,
Hi Sergiu!
I played before with jodatime. It have some problems ...
For example, I tried to use example script from plugin home page (it can be
usefull in my situation) and this script doesn't working:
#set($formatter =
$xwiki.jodatime.getDateTimeFormatterForPattern('.MM.dd'))
My first hint would be to consider groovy as java.
It's not exactly the same but it shares most.
The other idea is to simply call the web page from groovy?
new java.net.URL(blablalba).getContent()
paul
On 23 oct. 2010, at 23:26, Eugen Colesnicov wrote:
Hi colleagues!
I need some help
Hi colleagues!
I testing some application with standart organization (many of XWiki
applications organized in a same way):
Exists TestAppCode space with all classes, templates, sheets, codes and
exists TestApp space with visualization pages using {{include
document=TestAppCode.SomeTemplate/}}
I tried redirecting in a scheduler script. I wrote:
{{groovy}}
response.sendRedirect(xwiki.getURL(ETVCCorrespondenceCode.CronJobProgrammingCode));
{{/groovy}}
After this I started to using scheduler. First, I tried to trigger my job
(as I understand - this button starts execution of script
Hi,
Gerritjan Koekkoek wrote:
Hi,
We would like to, conditionally, redirect users who log in to their profile
page. (in our case; XWiki.username)
The condition is: User is not in ANY OTHER GROUP then XWikiAllGroup.
How can I do this most elegantly, modifying as little as possible of the
Hi Eugen,
Eugen Colesnicov wrote:
Hi Sergiu!
I played before with jodatime. It have some problems ...
For example, I tried to use example script from plugin home page (it can be
usefull in my situation) and this script doesn't working:
#set($formatter =
12 matches
Mail list logo