Hi,
as discussed on IRC, I have trouble creating multiple simultaneous tasks
from inside component.
Creating new thread results in malformed context, which can result in
XWikiException.
This could probably be avoided using Jobs, but nobody seems to know how
exactly.
As of 5.1, it should be able to create custom jobs by extending
AbstractJob.
But how to get context inside that job? Could I use Provider in such way as
in ScriptWikiStreamConverterJob? (Multitaskness should be achieved with
…
[View More]InstantiationStrategy)
About what I need to achieve - component creating API for "videolibrary"
extension (converting video attachment in certaing page to web-playable
format using libav). Since it should be safe to use, attachment is
immediately copied to specified temp folder (filesystem) after uploading.
Old attachment is deleted to ensure we didn't convert same file twice
(there is no callback with filenames for html5 fileupload widget). After
this, video will be converted to specified format and attached to different
page (using InputStream?).
Is this idea safe to use? (or am I missing another possible problem?)
Thanks for replies
--
Best Regards
Lukas Raska
[View Less]
Hi,
sorry to ask this. I want to try a sandbox-xwiki an a server from my
provider. This server uses plesk. I never used that and i have no clue how i
can start xwiki on that server. Do someone of you use plesk and can give me
a hint or a link to a documentation how i can start the start-script? I
found nothing usefull in the plesk-help or with google.
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Not-really-an-Xwiki-Question-Plesk-tp7588…
Sent from …
[View More]the XWiki- Dev mailing list archive at Nabble.com.
[View Less]
Hi,
I have a document where the user set the name of a document in a textfield
to create a new document as described in the FAQ tutorial.
How is it possible to set a property of the document's object
programmatically? In my case I have a property "id_project" of my class
"project". I want to set the value (an automatically generated id value) of
this property in the new document right after creating it, without user
interaction. It should save the id value with the other values the user
…
[View More]defines before saving the document for the first time.
Thanks a lot!
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-set-a-properties-value-on-a-newly-…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
[View Less]
Hi Devs,
i want to print pages and can't use 100% Scale because they are to wide. I
found with Firefox Inspector that the reason is
#contentcolumn .main {
margin: 0px !important;
}
Do you know how i can only disable this for print?
I tried
#contentcolumn .main {
margin: auto;
}
but this not seems to work. When i disable this css-line in firefox
inspector it seems ok.
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Skip-CSS-for-Print-…
[View More]tp7588333.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
[View Less]
Hi,
How can I get the archetype of the web component by maven (m2e)?
The maven repository is broken.
org.xwiki.commons:xwiki-commons-component-archetype
thanks!
Att.,
Milton Ferreira Lima Filho
+ 55 (31) 8833 6867
Bacharel em Sistemas de Informação
UFOP - Universidade Federal de Ouro Preto
ICEA - Instituto de Ciências Exatas e Aplicadas
Hi Devs,
i want to render with a macro a content into different file-types which can
be downloaded. I think i must use response/request to "deliver", but not
sure how i can do that. Is there an example where i can learn from?
regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Create-a-Download-Button-which-returns-a-…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi,
i want to display some pages in one page (to create a print or pdf). I use
{{groovy}}
import org.xwiki.rendering.lyrics.Lyrics;
for (Lyrics lyrics:
services.component.getComponentManager().getInstanceList(Lyrics.class)) {
// println("{{html}}\n\n{{/html}}\n")
println("== "+lyrics.getTitle()+"==")
println("{{include reference=\""+lyrics.getDocument()+"\"/}}")
}
{{/groovy}}
with the Lyrics Macro
(http://extensions.xwiki.org/xwiki/bin/view/Extension/Lyrics). But now i
…
[View More]need to change some parameters in the macro from the included pages, so i
can change the layout. I looked into the code of the include macro and try
to set some parameters in the macro-block from the //documentBridge//. But
this is after testing not working. Could you give me a hint?
Goal: I want to add a playlist-feature to the lyrics-macro, so i can set
some songs which could be displayed in one page. For print i want to add the
feature to enable/disable the fret-chord-pictures.
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Inject-Parameter-in-a-macro-in-a-other-do…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
[View Less]
The XWiki development team is proud to announce the availability of
XWiki 5.3 Release Candidate 1.
This is mostly a stabilization release leading to XWiki 5.3 final and
it brings a few small improvements to the Solr search UI and the
ability to import large XARs using the WikiStream framework. The Solr
index has been modified to support the search for documents matching
specific values in multiple object properties. As a consequence you
can now facet and sort the search results based on …
[View More]property values.
Besides this the new release includes 38 bug fixes and 14 small
improvements.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki53RC1
Thanks
-The XWiki dev team
[View Less]
Hi devs,
Today is Bug Fixing Day 47.
We're currently at -126 bugs (we were at -127 bugs last week!) for the 1600 days period:
http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=10352
Bugs still seem to be winning ATM. Let's reduce this gap a bit...
IMPORTANT:
Since we're getting close to the end of the 5.x cycle and since this is RC time please be very careful about your commits and don't commit anything dangerous. Be on the safe side. It's better to do less bugs rather than …
[View More]commit regressions. We've been having issues of stability recently and they might have been added during BFD so we need to be careful.
NOTE:
Since we're again very late for 5.3 I think it's acceptable that some committers continue their work for 5.3 RC1 and final today instead of participating to this BFD.
Here's the BFD#47 dashboard to follow the progress during the day:
http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=11891
Thanks
-Vincent
[View Less]