Hi xwiki-users,
Just wondering if it's possible to add a macro inside a code macro? What I
want to do is something like this:
{{code language="sql"}}
select *
from xyz
where from_date = '{{date-macro date="-1b" format="yyyyMMdd"/}}' -- The
date-macro returns the last business date in yyyyMMdd format
{{/code}}
Thanks in advance!
Hi
After a while I figured out how to add code blocks etc to a blog
entry. This seems to use the wiki 1.0 syntax and I was wondering if
there is a chance to use 2.0 instead because I only use 2.0 for the
wikis and I would love to keep one syntax around.
Cheers
Andreas Schaefer
As a developer I am very interested to be able to display code
(snippets) inside a blog entry.
Any idea or hints on how to accomplish that?
Thanks
Andreas Schaefer
CEO of Madplanet.com Inc.
Email: andreas.schaefer(a)madplanet.com
schaefera(a)me.com
Twitter; andy_mpc
AIM: schaefera(a)me.com
HI,
I have a page that should be readable for multiple translations.
Currently it has a translation 'en' (for english) which is the default
for the xwiki.
The problem is that it also claims that the original version is
'.' (this page is empty)
1) How can such a 'original' version have been created? (to prevent it)
2) How can I remove this version, so the 'en' version is seen as the
original
3) Or is the '.' original 'good' behaviour?
Gerritjan Koekkoek
Hi
I'm trying to use subModal javascript modal tool. I got it to work but
my modal window that contains a simple form also contains XWiki skin
(with menu etc.).
Is there a way to create a page without the skin? This is similar to
the style in modal window in the Admin area when editing a group for
example!
Is there an XWiki js modal too that can be used instead of an external
tool like subModal?
Ajdin
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
Hi all,
There are two (three) applications handling tasks: The "Task Manager Application" and the "(Extended) ToDo Application". AND there is a "Wanted Application" ... Work Order Management, where you can create a list of workers, and create tasks (define properties like requester dept. and name, project containing the task, date of creation, details, and notes). Assign tasks to a worker, and track hours in each task, finally close tasks. Should be able to extract simple reports, like n. of open/closed tasks, min., max. and average hours per task, listing per requester, and per worker, etc.
What's the development direction of these applications? The main advantage of the "Task Manager Application" is the link to a Wiki Page. This allows making notes, adding open issues ... to a page - the local view. The global view is the central list of all open issues. The two main directions to look for open issues. Jira is a funny tool too; however I need the direct link to the Wiki page.
That's what I like, the question is: What's going on?
Thanks
mb
Dear xwiki experts,
I politely ask for assistance, since many-days-troubleshooting on my own
brought no success.
I'm still getting JBoss Application Server errors, as described below.
What am I doing wrong? All steps are followed as described on xwiki.org.
Many thanks in advance for your expertise!
MY INFRASTRUCTURE:
DEBIAN 5.0.1
JBoss GA 5.0.1 (no add-ons, no other applications)
JDK 5.0
PostgreSQL 8.3.6-1
postgresql-8.3-604.jdbc4.jar JDBC Java Driver
MY INSTALLATION STEPS:
1. Installed JBoss GA 5.0.1
2. created directory
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war
3. copied the content of xwiki-enterprise-web-1.8.1.war into directory
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/
4. Uncommented the resource-ref in
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF/web.xml as
follows:
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/XWikiDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
5. Modified the
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF/hibernate.cfg.xml
as follows:
<property
name="connection.url">jdbc:postgresql://localhost:5432/xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">org.postgresql.Driver</property>
<property
name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
6. Downloaded the jboss-web.xml and placed it into the directory
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF
7. Installed PostgreSQL 8.3.6-1 per command apt-get insall postgresql
8. Executed following commands as postgres user:
# createuser xwiki -S -D -R -P -Upostgres
# createdb xwiki -Eunicode -Oxwiki -Upostgres
9. Copied postgresql-8.3-604.jdbc4.jar Java Driver into
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF/lib
10. Uncommented xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml line
in the file
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF/xwiki.cfg
JBOSS GA ERROR:
When I start the JBoss Application Server, I get the following error:
11:12:19,299 INFO [TomcatDeployment] deploy, ctxPath=/
11:12:19,793 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
11:12:20,290 INFO [TomcatDeployment] deploy, ctxPath=/xwiki
11:12:21,311 ERROR [JBossContextConfig] XML error parsing: context.xml
org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX
parser
at
org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
at
org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:557)
at
org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:543)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
--
View this message in context: http://n2.nabble.com/XWIKI-installation-error-on-JBOSS-5.0.1--%21%21%21PLEA…
Sent from the XWiki- Users mailing list archive at Nabble.com.