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
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.
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