Hello, out of the blue, from my point of view..i connect to a local instance
of xwiki and i get this err: Error number 4001 in 4: Error while parsing
velocity page Wrapped Exception: Cannot start the Velocity engine
Do you know how to resolve this? has anyone encountered it before?
Thank you %-|
--
View this message in context: http://n2.nabble.com/Error-number-4001-in-4-Error-while-parsing-velocity-pa…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
i Have this hashmap that i populate.
no when i want to show in a table the key : value i get an error. this is
the code:
....
#foreach($pageName in $myMap.keySet())
#foreach($dateDoc in $myMap.values())
<tr>
<td> $pageName $pageName </td>
<td>$pageName.getValue() </td>
<td>delete</td>
</tr>
#set($count = $count +1)
#end
#end
...
if i comment the second foreach i don't get an error, but i have nothing to
populate the date field with.
do you know what i am doing wrong here?
Thank you
--
View this message in context: http://n2.nabble.com/get-value-from-map-tp4138399p4138399.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everyone,
Here's a proposal Guillaume and I have prepared for the XE 2.2 roadmap.
- XWiki committers: I have assigned some devs based on past work.
Please confirm if it's ok for you or not. You can also suggest other
stuff you'd like to do if you think you'll have the time
- XWiki contributors: Please let us know if you're willing to
participate and on the topic you're interested in participating to
- XWiki users: Please let us know if we have forgotten something
important
Must have (Priority 1):
- Wiki Macro isolation for XEM (Vincent)
- WCAG (Jean-Vincent + Vincent + Sergiu + Caty)
- User Profile UI (Caty + Jean-Vincent)
- Google Gadgets integration (scope to be defined by Anamaria)
- Bug fix + stabilization (All)
- Patch application (Volunteer needed)
-- Lucene patches
-- Performance patches
- i18 rendering (Thomas)
- Annotations (Anca)
Nice to have (Priority 2):
- ColorTheme UI improvement
- Watchlist UI
- xwiki.org improvements:
-- use new skin + new colors
-- horizontal navigation
-- Home page redesign
-- Download page redesign
-- Project page design
-- Support page redesign
Dates:
- 2.2M1: 28 Dec 2009
- 2.2M2: 18 Jan 2010
- 2.2RC1: 1er Feb 2010
- 2.2 RC2/Finale: 8 Feb 2010
Thanks
-Vincent
Hi.
I am test driving XWiki Enterprise for my group at work. Kudos and
thanks to the developers for putting together this fabulous app.
I
am having trouble with MSOffice-2007 documents attached to pages in the
wiki. The content-type header delivered by the server when accessing
such documents (with extensions .pptx, .docx or .xlsx for example) is
"application/octet-stream". While modern browsers such as Firefox offer
to open the document in the appropriate app (looking at the filename in
the content-disposition header I guess), IE6 unfortunately treats it as
binary data and offers to open it with WinZip.
I have read through a couple of threads in the xwiki-dev and xwiki-users mailing list archive, but following those directions did not resolve my issue.
So how can I fix
this issue? I have tried adding mime-mapping in
<install-root>/domain/domain1/config/default-web.xml as well as
in
<install-root>/domain/domain1/applications/j2ee-modules/xwiki-enterprise-web-2.1-milestone-1/WEB-INF/web.xml
like following -- but that has had no effect.
<mime-mapping>
<extension>docx</extension>
<mime-type>application/vnd.openxmlformats</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pptx</extension>
<mime-type>application/vnd.openxmlformats</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xlsx</extension>
<mime-type>application/vnd.openxmlformats</mime-type>
</mime-mapping>
The content-type header still comes as application/octet-stream as shown below:
bash> lynx http://<myhost>/xwiki/bin/download/Sandbox/TestPage2/simple.xlsx -head -dump
HTTP/1.1 200 OK
Server: Sun Java System Application Server 9.1_01
Set-Cookie: JSESSIONID=1556df25ad03500b4592d778a5e1; Path=/xwiki
Content-disposition: inline; filename="simple.xlsx"
Last-Modified: Wed, 02 Dec 2009 17:37:17 GMT
Set-Cookie: visitid=NMUOTURHA9P7GS5BM35MKJLN5WQSPYDL; Path=/
Content-Type: application/octet-stream;charset=ISO-8859-1
Content-Language: en
I
have verified by introducing syntax errors and by other techniques that
the web.xml file is being read by the server when I perform a restart,
but the mime-mapping additions seem to have no effect.
Any help will be deeply appreciated.
Thanks,
Milind
Hello,
I really like the idea of database lists as it gives me the ability to
relate pages (objects) together without much effort.
However, I have found it very difficult to use these lists easily as it
requires an understanding of not only HQL (which isn't hard) and of the
Hibernate-mapped schema, which to my knowledge is not available. Is this
hibernate-mapped API / Schema (java objects) published somewhere?
It has also occurred to me that an even easier option would be to use
XWQL in the DatabaseList query specification. Is this possible somehow?
Regards,
Nigel
Running XE 1.9.3
I need to hide all stuff at the print preview form, exept page contents.
Logo, title, and all of them ... How I can do that? As I understand, I need
to edit print.css file in folder of my skin (colibri for example). At this
file exists section with comment /* Hide unneeded stuff */, but I cannot
underdstand what I should add for hidding all? I already hide all objects
below main page content, but for objects above - I cannot do that. What I
should to add in this section in print.css for my situation?
--
View this message in context: http://n2.nabble.com/Hide-unneeded-stuff-at-print-preview-tp4126306p4126306…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I have a question about XWiki's version control functionality.
Q1)document deletion is recorded in the history?
Q2)Is it possible to rollback document deletion?
Thanks,
ebi
anyone can help me?
before post i search and try every solution :s.
laurentj wrote:
>
> I have this error since yesterday
> " javax.servlet.ServletException: Error number 3 in 0: Could not
> initialize main XWiki context
> Wrapped Exception: Error number 3001 in 3: Cannot load class
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
> from param xwiki.store.migration.manager.class
> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
> Wrapped Exception: invalid configuration
>
> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:119)
>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
>
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
> "
>
> i don't change the hibernate configuration since last try.
>
> hibernate.configuration
>
> <?xml version='1.0' encoding='utf-8'?>
> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
> Configuration DTD//EN"
> "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> <hibernate-configuration>
> <session-factory>
>
> <!-- Please refer to the installation guide on
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation
> for configuring your
> database. You'll need to do 2 things:
> 1) Copy your database driver JAR in WEB-INF/lib or in some shared
> lib directory
> 2) Uncomment the properties below for your specific DB (and
> comment the default
> database configuration if it doesn't match your DB)
> -->
>
> <!-- Generic parameters common to all Databases -->
>
> <property name="show_sql">false</property>
> <property name="use_outer_join">true</property>
>
> <property name="dbcp.defaultAutoCommit">false</property>
> <property name="dbcp.maxActive">50</property>
> <property name="dbcp.maxIdle">5</property>
> <property name="dbcp.maxWait">30000</property>
> <property name="dbcp.whenExhaustedAction">1</property>
> <property name="dbcp.ps.whenExhaustedAction">1</property>
> <property name="dbcp.ps.maxActive">20</property>
> <property name="dbcp.ps.maxWait">120000</property>
> <property name="dbcp.ps.maxIdle">20</property>
> <!-- Without it, some queries fail in MS SQL. XWiki doesn't need
> scrollable result sets, anyway. -->
> <property name="jdbc.use_scrollable_resultset">false</property>
>
> <!-- Configuration for the default database.
> Comment out this section and uncomment other sections below if
> you want to use another database.
> Note that the database tables will be created automatically if
> they don't already exist.
> -->
> <property
> name="connection.url">jdbc:hsqldb:file:database/xwiki_db;shutdown=true</property>
> <property name="connection.username">sa</property>
> <property name="connection.password"></property>
> <property
> name="connection.driver_class">org.hsqldb.jdbcDriver</property>
> <property name="dialect">org.hibernate.dialect.HSQLDialect</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"/>
> <mapping resource="activitystream.hbm.xml"/>
>
> <!-- MySQL configuration.
> Uncomment if you want to use MySQL and comment out other database
> configurations.
> We need to set the sql_mode to a less strict value, see
> XWIKI-1945
> <property
> name="connection.url">jdbc:mysql://localhost/xwiki?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8&sessionVariables=sql_mode=''</property>
> <property name="connection.username">xwiki</property>
> <property name="connection.password">xwiki</property>
> <property
> name="connection.driver_class">com.mysql.jdbc.Driver</property>
> <property name="dialect">org.hibernate.dialect.MySQLDialect</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"/>
> <mapping resource="activitystream.hbm.xml"/>
> -->
>
> <!-- HSQLDB configuration.
> Uncomment if you want to use HSQLDB and comment out other
> database configurations.
> <property
> name="connection.url">jdbc:hsqldb:file:/some/path/xwikidb;shutdown=true</property>
> <property name="connection.username">sa</property>
> <property name="connection.password"></property>
> <property
> name="connection.driver_class">org.hsqldb.jdbcDriver</property>
> <property name="dialect">org.hibernate.dialect.HSQLDialect</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"/>
> <mapping resource="activitystream.hbm.xml"/>
> -->
>
> <!-- PostgreSQL configuration.
> Uncomment if you want to use PostgreSQL and comment out other
> database configurations.
> <property name="connection.url">jdbc:postgresql: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"/>
> <mapping resource="activitystream.hbm.xml"/>
> -->
>
> <!-- Oracle configuration.
> Uncomment if you want to use Oracle and comment out other
> database configurations.
> Note: the 2 properties named
> "hibernate.connection.SetBigStringTryClob" and
> "hibernate.jdbc.batch_size". They are required to tell Oracle to
> allow CLOBs larger than
> 32K.-->
> <property
> name="connection.url">jdbc:oracle:thin:@localhost:1521:XE</property>
> <property name="connection.username">xwiki</property>
> <property name="connection.password">xwiki</property>
> <property
> name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
> <property
> name="dialect">org.hibernate.dialect.Oracle10gDialect</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>
> <property
> name="hibernate.connection.SetBigStringTryClob">true</property>
> <property name="hibernate.jdbc.batch_size">0</property>
> <mapping resource="xwiki.oracle.hbm.xml"/>
> <mapping resource="feeds.oracle.hbm.xml"/>
> <mapping resource="activitystream.hbm.xml"/>
>
>
> <!-- Derby configuration.
> Uncomment if you want to use Derby and comment out other database
> configurations.
> <property
> name="connection.url">jdbc:derby:/some/path/xwikidb;create=true</property>
> <property
> name="connection.driver_class">org.apache.derby.jdbc.EmbeddedDriver</property>
> <property name="dialect">org.hibernate.dialect.DerbyDialect</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.derby.hbm.xml"/>
> <mapping resource="feeds.hbm.xml"/>
> <mapping resource="activitystream.hbm.xml"/>
> -->
>
> </session-factory>
> </hibernate-configuration>
>
>
> I don't see where the error is!
>
--
View this message in context: http://n2.nabble.com/error-500-javax-servlet-ServletException-Error-number-…
Sent from the XWiki- Users mailing list archive at Nabble.com.