While testing an upgrade between 1.6.2 and 1.7.2, LDAP authentication to
Active Directory breaks for me between these two versions. I've got
debug logging enabled which shows the following.
1.6.2 successful authentication: http://pastebin.com/m3492775c
1.7.2 authentication failure: http://pastebin.com/m20121b9
LDAP configuration: http://pastebin.com/m5a1db571
Bonjour à tous,
If possible, I'd like to open a wiki named "queyracines.myxwiki.org" which would
be used by a non-profit community around the Queyras history and culture (area
of the Hautes-Alpes in France).
My id on myxwiki.org is "slauriere".
By the way, the home page of myxwiki.org seems to link wrongly to the port 8080
in the box titled "Wikis you view", doesn't it?
Kind regards
Stéphane
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.8.4 and XWiki Enterprise Manager 1.6.4.
This release contains 55 bugfixes and enhancements. Most of the
modifications are targeting the general replacement of old 1.0 code
and content by 2.0 syntax and architecture and the stabilization of
XWiki.
Summary of changes since XWiki Enterprise 1.8.3 :
* Many WYSIWYG bugs fixed and improvements
* Many 2.0 syntax bugs fixed
* Many 1.0 to 2.0 conversion bugs fixed
* Several PDF export bugs fixed and improvements
* Improvements for the Office Importer
* A few bug fixes in many other places
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise184
and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM164
Thanks
-The XWiki dev team
My Configuration
MAC OS X 10.5.7
Tomcat 5.5
MySQL
XWIKI 1.8.3
I'm trying to import a XAR file of approx 6.2 MB
I had a heap-size error, but changed the tomcat startupscript as follows
#!/bin/sh
export CATALINA_HOME=/usr/local/apache-tomcat-5.5.27
export JAVA_HOME=/usr
export JAVA_OPTS=-Xmx512m
$CATALINA_HOME/bin/startup.sh
Now I get following error?
A problem occurred while trying to process your request. Please
contact the webmaster if this happens again.
Detailed information:
Error number 3232 in 3: Exception while saving attachment
20090516.xar of document XWiki.Import
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while
saving attachment 20090516.xar of document XWiki.Import
Wrapped Exception: Could not execute JDBC batch update
Any suggestions?
Gerritjan
Sorry,
mine ear descriptor was created during deployment (since I deploy war) after heavy and chaotic clicking on classloading tab.
As far as I remember, I removed all inherited libs except taglibs.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf Of Marc Baumann
Sent: Wednesday, May 20, 2009 11:16 AM
To: users(a)xwiki.org
Subject: Re: [xwiki-users] XWIKI on OC4J AS 10.1.2.3.0 with oracle 11g
Hey
Thanks for reply. When I test it with your orion-application.xml it won't
work. Can you suggest me how to adapt my xml file?
orion-application.xml:
<?xml version = '1.0'?>
<!DOCTYPE orion-application PUBLIC "-//ORACLE//DTD OC4J Application runtime
9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd">
<orion-application deployment-version="10.1.2.3.0"
default-data-source="jdbc/OracleDS" treat-zero-as-null="true"
autocreate-tables="false">
<web-module id="xwiki" path="xwiki.war"/>
<persistence path="persistence"/>
<principals path="principals.xml"/>
<jazn provider="XML" location="jazn-data.xml"/>
<log>
<file path="application.log"/>
</log>
<namespace-access>
<read-access>
<namespace-resource root="">
<security-role-mapping>
<group name="jazn.com/administrators"/>
</security-role-mapping>
</namespace-resource>
</read-access>
<write-access>
<namespace-resource root="">
<security-role-mapping>
<group name="jazn.com/administrators"/>
</security-role-mapping>
</namespace-resource>
</write-access>
</namespace-access>
</orion-application>
Regards Marc
--
View this message in context: http://n2.nabble.com/XWIKI-on-OC4J-AS-10.1.2.3.0-with-oracle-11g-tp2889034p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Sorry i wrote admin rights instead of programming rights.
Anyway, i restarted jetty and my browser. Now it works.
Thanks for your help
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Thomas Mortagne
Envoyé : mercredi 20 mai 2009 17:11
À : XWiki Users
Objet : Re: [xwiki-users] WebSearch and multi wikis
On Wed, May 20, 2009 at 16:58, PERINAUD Christophe
<Christophe.PERINAUD(a)kbl-bank.com> wrote:
> Thank you Thomas
>
> The problem is that i tried both of this solutions with no result.
Sorry i misread your first mail.
> Just to be sure i tested that code :
> <br>---->Context = $context.database
> <br>---->Wanted context = $context.mainWikiName
> #set($ok = $context.setDatabase($context.mainWikiName))
> <br>---->New context = $context.database
>
> And the result is :
> ---->Context = template18
> ---->Wanted context = xwiki
> ---->New context = template18
>
>
> Even if i am admin of all wikis (virtuals and main one) and i forced admin rights, i can't switch the context
Admin right are not the same than programming right, go to the main
wiki and check that your user has programming right or is in a group
which has programming right.
But anyway it should work with XWiki.searchDocumentsNames(String
wikiName, String parametrizedSqlClause, int nb, int start, List< ? >
parameterValues) without programming right. Are you sure "$wikiSearch"
variable contains the right wiki name ?
>
> I don't see what's the problem with that.
>
>
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Thomas Mortagne
> Envoyé : mercredi 20 mai 2009 16:38
> À : XWiki Users
> Objet : Re: [xwiki-users] WebSearch and multi wikis
>
> On Wed, May 20, 2009 at 16:24, PERINAUD Christophe
> <Christophe.PERINAUD(a)kbl-bank.com> wrote:
>> Hello
>>
>> I try to make the WebSearch to search for documents in different wikis.
>> In the WebSearchCode, i loop on 3 wikis, changing the context ($context.setDatabase)but it does not work. I try to give each wiki's name to the searchDocuments function (like #foreach ($item in $xwiki.searchDocuments("$wikiSearch", $sql , $nbitems, 0, null)) But still does not work.
>>
>> Any idea if it's possible and how ?
>
> You need programing right to use $context.setDatabase(database),
> otherwise it does nothing. But you can use
> XWiki.searchDocumentsNames(String wikiName, String
> parametrizedSqlClause, int nb, int start, List< ? > parameterValues)
> which support the name of the wiki. See
> http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xw…
>
>>
>> Thank you all
>>
>> Christophe Périnaud
>> Windows Server 2003 SP2 in a VMWare instance
>> Oracle 10g
>> Java 1.6.0_12
>> Xwiki 1.8 from the pack Jetty/HSQL
>>
>>
>> --------------------------------------------------------------------------------
>>
>> This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
>>
>> While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
>>
>> KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> --------------------------------------------------------------------------------
>
> This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
>
> While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
>
> KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Thank you Thomas
The problem is that i tried both of this solutions with no result.
Just to be sure i tested that code :
<br>---->Context = $context.database
<br>---->Wanted context = $context.mainWikiName
#set($ok = $context.setDatabase($context.mainWikiName))
<br>---->New context = $context.database
And the result is :
---->Context = template18
---->Wanted context = xwiki
---->New context = template18
Even if i am admin of all wikis (virtuals and main one) and i forced admin rights, i can't switch the context
I don't see what's the problem with that.
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Thomas Mortagne
Envoyé : mercredi 20 mai 2009 16:38
À : XWiki Users
Objet : Re: [xwiki-users] WebSearch and multi wikis
On Wed, May 20, 2009 at 16:24, PERINAUD Christophe
<Christophe.PERINAUD(a)kbl-bank.com> wrote:
> Hello
>
> I try to make the WebSearch to search for documents in different wikis.
> In the WebSearchCode, i loop on 3 wikis, changing the context ($context.setDatabase)but it does not work. I try to give each wiki's name to the searchDocuments function (like #foreach ($item in $xwiki.searchDocuments("$wikiSearch", $sql , $nbitems, 0, null)) But still does not work.
>
> Any idea if it's possible and how ?
You need programing right to use $context.setDatabase(database),
otherwise it does nothing. But you can use
XWiki.searchDocumentsNames(String wikiName, String
parametrizedSqlClause, int nb, int start, List< ? > parameterValues)
which support the name of the wiki. See
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xw…
>
> Thank you all
>
> Christophe Périnaud
> Windows Server 2003 SP2 in a VMWare instance
> Oracle 10g
> Java 1.6.0_12
> Xwiki 1.8 from the pack Jetty/HSQL
>
>
> --------------------------------------------------------------------------------
>
> This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
>
> While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
>
> KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hello
I try to make the WebSearch to search for documents in different wikis.
In the WebSearchCode, i loop on 3 wikis, changing the context ($context.setDatabase)but it does not work. I try to give each wiki's name to the searchDocuments function (like #foreach ($item in $xwiki.searchDocuments("$wikiSearch", $sql , $nbitems, 0, null)) But still does not work.
Any idea if it's possible and how ?
Thank you all
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi,
I'd like to customize the colors of the code macro (1.8.3 / xwiki 2.0)
In the code macro documentation
(http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro20) I see that
there is an cssClass attribute for that purpose.
Unfortunately the available css keywords are not documented.
Firebug also didn't help me, because the color seems to be hard coded in
some way (see example at the end).
Can you provide me with an example of customizing the color of the code
macro?
e.g. my code macro:
{{code language=java}}
public void do() {
System.out.println("bla");
}
{{/code}}
produces this rendered html:
<div class="box code">
<span style="font-weight: bold; color: rgb(0, 128, 0);">public</span>
<span style="color: rgb(176, 0, 64);">void</span> <span style="color:
rgb(0, 0, 255);">do</span><span style="color: rgb(102, 102,
102);">()</span> <span style="color: rgb(102, 102, 102);">{</span><br/>
System<span style="color: rgb(102, 102, 102);">.</span><span
style="color: rgb(125, 144, 41);">out</span><span style="color: rgb(102,
102, 102);">.</span><span style="color: rgb(125, 144,
41);">println</span><span style="color: rgb(102, 102,
102);">(</span><span style="color: rgb(186, 33, 33);">"bla"</span><span
style="color: rgb(102, 102, 102);">);</span><br/><span style="color:
rgb(102, 102, 102);">}</span><br/>
</div>
Thanks a lot.
Reto
Hi all,
i have a problem with the Panel Wizard in Wiki Preferences:
After opening it in Internet-Explorer I get: 'Errors on this Page' : Rico
is undefined.
on this line in the page-sourcecode:
<script type="text/javascript">new Rico.Accordion( 'bicwikinav',
{panelHeight:'250',onLoadShowTab:'0'} );</script>
Although the Panel Wizard is displayed correctly I can't drag&drop the
panels to a position.
I am using XWiki Enterprise 1.8.3.19546 and I thought that Rico is already
replaced by Scriptaculous ?
I did try to re-import the pages
XWiki.XWikiPreferences and Panels.PanelWizard
but with no success.
Do you have any ideas what I can do?
Thanks in advance
Matthias
Hi
Stupid question but did you try to clear the cache of the browser ?
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de hel-o
Envoyé : mercredi 20 mai 2009 12:00
À : users(a)xwiki.org
Objet : Re: [xwiki-users] No users and groups
Ok,
tried to find an answer and found
http://n2.nabble.com/Object-caching--tt502637.html#a502638
created a page (syntax 2.0) with a velocity macro including the following
code
$xwiki.flushCache()
Still no users and no groups.
hel.
Sergiu Dumitriu-2 wrote:
>
> hel-o wrote:
>> Hi,
>>
>> just found that since my update (1.8.3) no users and groups are displayed
>> in
>> the Admin-Application in my virtual wiki in the main wiki they are still
>> available.
>>
>> I imported the default xar.
>
> Please clean the cache, since some javascripts have changed.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
-----
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/No-users-and-groups-tp2938876p2945293.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
There is a ton of classpath collisions with xwiki inside oas.
Until xwiki 1.6 search-local-classes-first="true" in orion-web.xml solved the problems, but since then thing started to be more complicated.
Right now, I have xwiki 1.8.3 deployed into OAS 10.1.3.2 with following orion-application.xml
<?xml version="1.0"?>
<orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-application-10_0.xsd"
development="true">
<imported-shared-libraries>
<import-shared-library name="global.libraries"/>
<import-shared-library name="global.tag.libraries"/>
<import-shared-library name="oracle.jdbc"/>
<remove-inherited name="*"/>
</imported-shared-libraries>
</orion-application>
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf Of Marc Baumann
Sent: Wednesday, May 20, 2009 9:47 AM
To: users(a)xwiki.org
Subject: Re: [xwiki-users] XWIKI on OC4J AS 10.1.2.3.0 with oracle 11g
Has someone an idea? Btw. is someone using oracle as 10.1.2.3.0 as a xwiki
container?
Regards Marc
--
View this message in context: http://n2.nabble.com/XWIKI-on-OC4J-AS-10.1.2.3.0-with-oracle-11g-tp2889034p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi folks
My env: Oracle Application Server 10.1.2.3.0
Oracle Database 11g, used ojdbc6.jar and also other jar files from the
oracle 11g client otherwise I got the following error:
java.lang.NoSuchMethodError:
oracle.i18n.text.converter.CharacterConverterOGS.getInstance
On the application server I set the binaries for jdk6 instead of java 1.4
which is default for OAS.
I deployed the war file on Oracle AS, then the tables are created on the
database under the xwiki user as expected.
But when I connect to the new wiki I get the following errors on the
application server, also the wiki page is displayed without css.
2009-05-14 10:56:31,773
[https://hostname:1159/xwiki/bin/skin/skins/albatross/style.css]
[AJPRequestHandler-ApplicationServerThread-10]
WARN web.XWikiAction - Uncaught exception: Error number 0
in 11: Uncaught exception
Wrapped Exception:
javax.servlet.http.HttpServletResponse.setCharacterEncoding(Ljava/lang/String;)V
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception:
javax.servlet.http.HttpServletResponse.setCharacterEncoding(Ljava/lang/String;)V
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:670)
at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
at
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
at
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:619)
and so on..
I hope you can help me...
Regards Marc
--
View this message in context: http://n2.nabble.com/XWIKI-on-OC4J-AS-10.1.2.3.0-with-oracle-11g-tp2889034p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
If you look at the jar file of pygments, you will find a subfolder "styles" wich contains .py source files defining the style of tokens of the language. I am not sure if you can customize them without replacing the jar (and rebuilding the wanted .class from .py/.pyc)
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Reto Hotz
Envoyé : mercredi 20 mai 2009 09:16
À : XWiki Users
Objet : [xwiki-users] Customize colors of code macro
Hi,
I'd like to customize the colors of the code macro (1.8.3 / xwiki 2.0)
In the code macro documentation
(http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro20) I see that
there is an cssClass attribute for that purpose.
Unfortunately the available css keywords are not documented.
Firebug also didn't help me, because the color seems to be hard coded in
some way (see example at the end).
Can you provide me with an example of customizing the color of the code
macro?
e.g. my code macro:
{{code language=java}}
public void do() {
System.out.println("bla");
}
{{/code}}
produces this rendered html:
<div class="box code">
<span style="font-weight: bold; color: rgb(0, 128, 0);">public</span>
<span style="color: rgb(176, 0, 64);">void</span> <span style="color:
rgb(0, 0, 255);">do</span><span style="color: rgb(102, 102,
102);">()</span> <span style="color: rgb(102, 102, 102);">{</span><br/>
System<span style="color: rgb(102, 102, 102);">.</span><span
style="color: rgb(125, 144, 41);">out</span><span style="color: rgb(102,
102, 102);">.</span><span style="color: rgb(125, 144,
41);">println</span><span style="color: rgb(102, 102,
102);">(</span><span style="color: rgb(186, 33, 33);">"bla"</span><span
style="color: rgb(102, 102, 102);">);</span><br/><span style="color:
rgb(102, 102, 102);">}</span><br/>
</div>
Thanks a lot.
Reto
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
The XWiki development team is pleased to announce the release of XWiki
Office 1.0 Milestone 3.
Go grab it at
http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiOffice !**
XWiki Office is a XWiki.org project that provides integration between
Microsoft Office and XWiki servers.
For more information about XOffice go at: -
http://xoffice.xwiki.org/xwiki/bin/view/Main/
Main changes from version 1.0 Milestone 2:
- Basic XML-RPC support
- Opening, editing & publishing pages(XHTML content only)
- Downloading, opening, editing & uploading attachments
- Viewing the wiki in the Wiki Explorer
- Support for multiple encodings
- Improved wiki explorer
- Inhibited unnecessary Word messages & dialogs
- Better sync between Word instances
- Better & cleaner output
All active XWord M2 clients and snapshot instances will be automatically
updated to the latest version.
For details about this release see the Release Notes at:
- http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXOffice10M3
You can also view the roadmap here:
- http://xoffice.xwiki.org/xwiki/bin/view/Main/Roadmap#HVersion10Milestone3
Thanks
-The XWiki dev team
I was unable to install the Watch functionality in a Xwiki enterprise 1.8.3.
I followed the instructions but do not know how to execute (I am logged in
as Admin):
In Administration > Preferences > Advanced, add WatchCode.Translations as an
Internationalization Document Bundle.
Preferences has the logos such as General, Presentation etc. but where is
Advanced?
--
View this message in context: http://n2.nabble.com/Watch-1.1-Installation-Problem-tp2939579p2939579.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I created an external link with the new wysiwyg editor (1.8.3). After
that, I switch to wiki editor and the link looks like this:
[[link>>xwiki:Sandbox.WebHome||rel="__blank"]]
But rel="__blank" is not defined in the Syntax 2.0 (according to
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax).
Shouldn't it be
[[link>>xwiki:Sandbox.WebHome||target="_blank"]] ?
Thanks
Reto
Hi,
and first of all, 1.8.3 is great, the link dialog is working fine and all in
all syntax 2.0 and wysiwyg for 2.0 seem to be of age now;)
Some things i found in context with the parent field and the link dialog.
To have pages in tree-view in the link dialog the parent has to be set as
"space.page". If the parent is set only as "page" or as "wiki:space.page"
(like it is set automatically in a virtual wiki environment, by the way
great that the parent is set anyway now), the Page is displayed in the main
level of the tree view.
Cheers
hel.
-----
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/WYSIWYG-2.0-%281.8.3%29-tp2938056p2938056.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi XWikiers,
Ludovic (XWiki's founder) and I (XWiki OSS product manager) will be at
JavaOne in San Francisco from Sunday, May 31 to Saturday, June 6 included.
We'd be really happy to meet and hook up with community members and XWiki
users from the far side of the world :-)
We'll be on OW2 booth from Tuesday, June 2 to Thursday, June 4 during the
conference. We'd be really happy to meet with users outside the timeframe of
the conference too... Simply let us know whether you're in the area and
we'll go grab a beer while feverishly discussing XObjects and XClasses ;-)
Also, Jim Grisanzio told me there would be many people from the OpenSolaris
community hanging around, so JavaOne will be the perfect opportunity for
other XWiki Users to discover what the OpenSolaris community has been doing
with XWiki of late (cf.
http://opensolaris.org/os/community/web/restructuring/preview/ for more
information on the topic).
Looking forward hearing from you guys (and gals !!),
Guillaume
--
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/
Hi,
the link dialog works much better than in 1.8.1, but one thing i found:
i don't use the space for the page parent when i add the parent manually
(which i had to, since it wasn't added automatically in the new syntax)
because i found, that it's not needed to work (as it is in links when the
link is in the same space).
Now when i want to create a link to a wiki-page i get the tree-view (which
is great) but it seems i cant see all those pages where no space is
provided.
hel.
-----
----
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Links%2C-WYSIWYG-2.0-%281.8.2%29-tp2733494p2733494.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am using 1.9-milestone-2 and trying webdav. I am connecting via Mac OS
finder. I can read files, but trying to save results in "unable to save"
error on the Mac side of things and this in the log (truncated for brevity):
2009-05-16 14:05:19,901 [http://localhost:8080/xwiki/webdav/mach_kernel]
[14615126@qtp0-3] ERROR webdav.XWikiDavServlet - WebDAV Exception
Occurred :
org.apache.jackrabbit.webdav.DavException: Method Not Allowed
I imagine I might have missed a configuration parameter somewhere. Any
suggestions?
Thanks,
Sean
Hello,
I did search what I possibly could but could not find a way to attach
an SVG file to a document and have this image rendered in it.
Is this doable?
I found that there is SVG plugin (enabled) in the xwiki.cfg but could
not find any documentation on how to use it.
(this is on XWiki 1.9-m2)
Kind regards,
Vlad
Hello,
I just updated XWiki (by fresh install) from 1.8.2 to 1.8.3 and
following velocity code renders differently:
{{velocity}}
#foreach( $attachment in $doc.getAttachmentList() )
* [[$attachment.getFilename()>>attach:$attachment.getFilename()]] :
{{code language=clojure}}
$attachment.getContentAsString()
{{/code}}
#end
{{/velocity}}
The intention of the macro is to render all attachments as code.
In 1.8.2, I get one box per code attachment as expected, in 1.8.3 it
looks that it renders each line of the attachment (one box per line of
the code).
Any ideas how I can fix this?
Kind regards,
Vlad
Hello,
since we upgrade on Version 1.82 We can no longer administrate the
users and groups in the admin Interface, we test it with safari
firefox. I update to1.83 but nothing changes.
I debug the xwiki user and group interface with firebug. They show me
the following error when i open the user and group config interface
GET http://SERVER/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&sec…
ASSTable is not defined
XWikiPreferences?editor=globaladmin§ion=Users()
()XWikiPre...ion=Users (Linie 318)
[Break on this error] var ta = new ASSTable("?xpage=get...r1",
"userstable", displayUsers, true);
When i go to the users and group interface, they show me a loading
bar. But the Client request is finished.