2011/9/7 Grüner Heinrich <gruener.heinrich(a)googlemail.com>:
> Thanks,
> and how is this parameter set in a java-written component?
If you're writing a component then I advise you to use the
SkinExtension component ( see
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
). Take a look at how the Gallery macro is using it:
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
. Use the method that takes a map of parameters if you want to specify
the defer parameter.
Hope this helps,
Marius
>
> Am 07.09.2011 10:40, schrieb Marius Dumitru Florea:
>>
>> On Wed, Sep 7, 2011 at 10:26 AM, Stefan Bernsdorf
>> <gruener.heinrich(a)googlemail.com> Â wrote:
>>>
>>> Hi Marius,
>>> it would be sufficient for me, to turn off this flag when calling
>>> plugin.use('blah.js',context);
>>
>> Then, in Velocity, you simply need to write:
>>
>> $xwiki.jsfx.use("path/to/your.js", {'defer': false})
>>
>> Hope this helps,
>> Marius
>>
>>> Thanks,
>>> Stefan.
>>>
>>> Am 07.09.2011 09:00, schrieb Marius Dumitru Florea:
>>>>
>>>> Yes, see http://jira.xwiki.org/browse/XSKINX-49 .
>>>>
>>>> Hope this helps,
>>>> Marius
>>>>
>>>> 2011/9/7 Grüner Heinrich<gruener.heinrich(a)googlemail.com>:
>>>>>
>>>>> Hi,
>>>>> when I use the jsfx-plugin all script-tags will be rendered with the
>>>>> defer flag.
>>>>> Can I turn off this flag?
>>>>>
>>>>> Thanks, Stefan.
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> users(a)xwiki.org
>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>>
>>>
>
>
I've created a proxy redirection with apache2 wiki.mydomain.com to
access my wiki wich is normaly accessible through mydomain:8180/xwiki
I loose all the CSS when i access through wiki.mydomain.com ...
Somebody has an idea of what i can do ?
--
Antoine SEILLES
Doctorant (phd student)
LIRMM CNRS
Membre de l'association imagiLAB
LIRMM CNRS UM2:
UMR 5506 - CC 477
161 rue Ada
34095 Montpellier Cedex 5
FRANCE
http://www.lirmm.fr
Association imagiLAB
http://www.imagilab.fr
Tel: +33 (0)6 20 453 288
09 51 14 59 65
antoine(a)imagilab.fr
antoineseilles(a)gmail.com
Antoine.seilles(a)lirmm.fr
http://www.natoine.frhttp://natoine.developpez.com
Hello Folks,
If anybody can help me ...
I've tried to install Xwiki latest version 3.1 in tomcat through the
xwiki.war distribution.
I've followed the steps listed there :
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation
And I've the following error in catalina.out (of course tomcat/xwiki
doesn't work ^^) :
INFO: Deploying web application archive xwiki-enterprise-web-3.1.war
Sep 5, 2011 3:31:49 PM org.apache.catalina.core.StandardContext processTlds
SEVERE: Error reading tld listeners javax.servlet.ServletException:
Exception p\
rocessing TLD at resource path /WEB-INF/struts-form.tld in context
/xwiki-enter\
prise-web-3.1
javax.servlet.ServletException: Exception processing TLD at resource
path /WEB-\
INF/struts-form.tld in context /xwiki-enterprise-web-3.1
at
org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:555)
at
org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)
at
org.apache.catalina.core.StandardContext.processTlds(StandardContext\
.java:4307)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:\
4144)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBas\
e.java:760)
at
org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:7\
44)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(Contai\
nerBase.java:144)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:7\
38)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544\
)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831\
)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:72\
0)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:49\
0)
at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1217)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.jav\
a:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecyc\
leSupport.java:120)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBa\
se.java:1306)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.\
processChildren(ContainerBase.java:1570)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.\
processChildren(ContainerBase.java:1579)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.\
run(ContainerBase.java:1559)
at java.lang.Thread.run(Thread.java:636)
Sep 5, 2011 3:31:49 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Sep 5, 2011 3:31:49 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/xwiki-enterprise-web-3.1] startup failed due to
previous erro\
rs
Sep 5, 2011 3:33:15 PM org.apache.struts.action.RequestProcessor
processMapping
SEVERE: Invalid path was requested /login
Sep 5, 2011 3:33:48 PM org.apache.catalina.core.StandardContext processTlds
SEVERE: Error reading tld listeners javax.servlet.ServletException:
Exception p\
rocessing TLD at resource path /WEB-INF/struts-form.tld in context
/xwiki-enter\
prise-web-3.1
javax.servlet.ServletException: Exception processing TLD at resource
path /WEB-\
INF/struts-form.tld in context /xwiki-enterprise-web-3.1
at
org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:555)
at
org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)
at
org.apache.catalina.core.StandardContext.processTlds(StandardContext\
.java:4307)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:\
4144)
at
org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java\
:1173)
at
org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServ\
let.java:549)
at
org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServ\
let.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl\
.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce\
ssorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:24\
4)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
at
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:\
276)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil\
.java:162)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App\
licationFilterChain.java:262)
at
org.apache.catalina.core.ApplicationFilterChain.access$0(Application\
FilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFil\
terChain.java:171)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(Application\
FilterChain.java:167)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper\
Valve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContext\
Valve.java:172)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentic\
atorBase.java:525)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.\
java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.\
java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa\
lve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja\
va:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav\
a:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.\
processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndp\
oint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFo\
llowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread\
Pool.java:689)
at java.lang.Thread.run(Thread.java:636)
Sep 5, 2011 3:33:49 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Sep 5, 2011 3:33:49 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/xwiki-enterprise-web-3.1] startup failed due to
previous erro\
rs
--
Antoine SEILLES
Doctorant (phd student)
LIRMM CNRS
Membre de l'association imagiLAB
LIRMM CNRS UM2:
UMR 5506 - CC 477
161 rue Ada
34095 Montpellier Cedex 5
FRANCE
http://www.lirmm.fr
Association imagiLAB
http://www.imagilab.fr
Tel: +33 (0)6 20 453 288
09 51 14 59 65
antoine(a)imagilab.fr
antoineseilles(a)gmail.com
Antoine.seilles(a)lirmm.fr
http://www.natoine.frhttp://natoine.developpez.com
HI!
Xwiki 3.1. Attachment versioning turned off. Storage is set to file system, Works fine with relatively small files.
I uploaded 700M file - no problem, a bit to wait, but works fine.
I tried then to delete this file. The result was also successful, but took nearly 1.5 minutes to finish. Is there any way to run file operations faster?
Thanks a lot.
Dmitry Bakbardin.
Hi!
By default, XWiki doesn't have "resume" ability for downloads. Is there any way to turn it on? From the moment file system storage was implemented into XE it makes sence.
And another question-idea:
On uploading big (all) files, XWiki creates hash for torrent, stores it together with file.
On Download request - user gets torrent file and starts download.
Server side strats seeding and after download is complete - kills seeding process from torrent-client.
Upload can be done almost the same way.
The question is:
Does existing XWiki functionality allow to implement such a upload-download technology?
Thanks in advance,
Dmitry Bakbardin
Hi,
Many of our users use copy and past from windows (or mac) to bring textsnippets into the wiki
In the display it looks fine, but when you edit the wiki, not the wysywig editor, there is a lot of <span>, ((())) or sometimes even <html> tags.
Is it possible to configure the editor (or something else) that it is only possible to paste UTF ascii text without any styling (!) (so it must be dummy-proof)
Or better, to automatically convert styles that we allow; like bold, italic, underline, upper, lower...
Gerritjan
Hi!
Xwiki 3.1. Latest XEM works fine, deploys wiki farms - no problem.
All attempts to make applications running on wiki-farm failed (e.g. Annotations).
Documentation keeping silence, or I'm missing something. :-(
Is there any way to make applications running on non-main wikis?
Is there a way to install application in main wiki and "grant permission" to be used in specific wiki-farm?
Thanks a lot in advance
Dmitry Bakbardin
I am out of the office until 09/06/2011.
Relaxing on what's left of Virginia Beach! If you have a question about
Dobro, please contact Jenny Purushotma. If you have a question about
Netezza, please contact Diane Paige. If this is a true emergency, please
call my cell. Thank you! :-)
Note: This is an automated response to your message "users Digest, Vol 50,
Issue 1" sent on 9/1/2011 6:00:03.
This is the only notification you will receive while this person is away.
When I do cut and paste it seems to make a mess of
the local url. I can fix it by going into the Source
instead of WYSYWYG but that is probably not something
you want to suggest to your technical or proposal writer
or PA...
I notice it changes the form from 'attach:filename'
to 'http:localpath/filename' and sometimes makes a
mess of it. There seems to be some problem
with the quoting; I noticed that one of my file names with a
'-' in the middle seemed to cause quoting to go strange.
This shows in the list of attachments:
http://<HOSTNAME>/xwiki/bin/download/ImmortalData/WebHome/ImmortalData%2DBinarySharefileFormatSpecification.odt
Gives this in the browser when you click on it:
http://<HOSTNAME>/xwiki/bin/download/ImmortalData/WebHome/ImmortalData%252DBinarySharefileFormatSpecification.odt
Replacing it with this works:
http://<HOSTNAME>/xwiki/bin/download/ImmortalData/WebHome/ImmortalData-BinarySharefileFormatSpecification.odt
Have others had trouble with this?