Hi,
Is it possible in a page to point to a document/file on the file system? If
yes, does clicking on the link open the file a new window?
Thanks,
Olivier
<http://www.optimumgroup.com>
Olivier Gourment
Architecte technologique
Technology Architect
OPTIMUM INFORMATIQUE INC.
Téléphone
Télécopieur
Courriel
Web
: (514) 288-1661 poste 515
: (514) 288-8152
: <mailto:ogourment@Optimuminformatique.com>
ogourment(a)Optimuminformatique.com
: <http://www.optimuminformatique.com> www.optimuminformatique.com
I installed b2, and thought I would feed back a couple of comments/questions,
not to be critical - we have been using xwiki for a year or two and love it.
I can't remember seeing in the release notes that b2 requires jdk 1.5.
It might be worth mentioning that after upgrade and before panel
installation the screens go a bit crazy.
Is there an easy way to make the panels layout look a bit like 0.9.840?
Maybe there is a layout I could import somehow?
I didn't see a link to Main.KnowledgeBase anywhere. This is our main page
from which everything branches out. Maybe this is because I am unfamiliar
with Panels. In the end I edited the home page and manually put a link on
it.
I saw a few exceptions go by. Here is one:
java.lang.IllegalStateException
at
org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:432)
at
org.securityfilter.authenticator.FormAuthenticator.showLogin(FormAuthenticator.java:230)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:55)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.showLogin(XWikiAuthServiceImpl.java:197)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:154)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:2548)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:3233)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
Beta 2 looks great. I like the panels and wysiwyg editor, but am struggling
a bit with unfamiliarity.
Thanks
Martin
--
View this message in context: http://www.nabble.com/Installed-b2---comments-tf2966951.html#a8301692
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,all
I tried xwiki and found it hadn't deal with "Edit Conflict"
condition. It treats with "Edit Conflict" (concurrently edit same
version record and save not concurrently) by saving as two different
version simply, without notification for later save editor and without
"Merge" assistant。
How about you think about ? maybe I was wrong?
--
Best Regards!
Hi there,
I'm quite new to XWiki and I faced two major and one minor problem around
spaces.
1. [major] how can I delete a space (and all its child pages)
2. [major] can I use non latin characters is a space name (I have an UTF-8
configured Postgres database backend)
3. [minor] is it possible to rename a space?
Thanks for your answers!
Cheers,
P
I originally installed xwiki version 0.9.840, which is still displayed as the
version in the window.
Now I am trying to upgrade to xwiki b2 but cannot find the Import tab.
Do I need to upgrade anything. I thought it was automatic.
Thanks
Martin
--
View this message in context: http://www.nabble.com/Cannot-find-Import-tf2959068.html#a8278056
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
Me again, this time with another groups/permission issue.
On my wiki's I use
"$context.xWiki.groupService.listGroupsForUser($context.user,
$context.context))" to get a list of groups a user is a member of. This
has worked very well up until implementing a virtual wiki setup...since
implementing a virtual wiki setup, I've found the listGroupsForUser only
works for the main wiki (the one pointing to xwiki database), and not
for the "other" wiki's hanging on the same server.
The users are definitely regarded as being in the group as a permission
check works for the group (eg if only group ABC has right EDIT for a
space, the user is granted the right only if they are in the group).
But, the listGroupsForUser always returns no groups, even for
XWiki.Admin - even though every user has at least one group.
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
Hi
I have suddenly a problem with the history on 1252.
>From the history page I can compare successfully 2 revisions of the page, but
if I click on the link for a specific revision it tells me the page does not
exist...
Is it a know bug? Do you know of a workaround?
Thanks
Marc
I'm trying to get xwiki setup and working.
I am using tomcat5 and postgresql and (now) a 1.5 jdk.
The basic and minimal wiki is there but:
First problem, I'm getting an error when I try to import the basic pages
in the default xar. This happens as soon as I click "attach this file"
on the import tab in Administration. The stack trace is below.
Any pointers would be welcome,
many thanks,
edward.
Error number 0 in 11: Uncaught exception
Wrapped Exception: null
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: null
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:159)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.NullPointerException
at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:51)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:143)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Using MySQL 5.0.27 on a new test box, with XWiki10B2 and getting the
following message every time I try to create a new document:
Does not seem to happen for MySQL 4.1 at all. Is this a bug or is there
a config I need to implement for my MySQL version?
Error number 3201 in 3: Exception while saving document Main.TesTsts
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document Main.TesTsts
Wrapped Exception: Could not execute JDBC batch update
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:310)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:96
)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:90
)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:767)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:111)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:120)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:143)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:121)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.sql.BatchUpdateException: Field 'XWD_ARCHIVE' doesn't have a
default value
at
com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatem
ent.java:828)
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingState
ment.java:294)
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingState
ment.java:294)
at
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:5
8)
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195
)
at
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java
:91)
at
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java
:86)
at
org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher
.java:171)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEn
tityPersister.java:2048)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEn
tityPersister.java:2427)
at
org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:
51)
at
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java:296)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEv
entListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
at
org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:356)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:10
6)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernat
eBaseStore.java:561)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernat
eBaseStore.java:539)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:305)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:96
)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:90
)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:767)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:111)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:120)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:143)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:121)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
at java.lang.Thread.run(Thread.java:595)
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
Hi,
I would like to change my xwiki right side menu (the toolbar I guess) to the
one at xwiki.org. Two questions :
- I've tried to create some Toolbar pages in different spaces but this does
not seems to change anything : is it always the way to go with xwiki
1.0-beta2 ?
- Is there a way to grab the source code of the xwiki.org toolbar ?
Thanx
Seb
Hi,
we were using xwiki 0.9.840, and recently I test to update with 1.0b2
with old database.
as we are using postgresql as our db backend, I need to update xwiki
with database migration (which I have seen 1.0b2 supports migration), I
have modified the hibernate.cfg.xml to postgresql configuration.
our system is:
* gentoo 2006.1
* tomcat: 5.0.27-r6
* postgresql: postgresql-8.0.8
* jdbc: postgresql-8.0-315.jdbc3.jar
after start tomcat, I connect to xwiki page and get following exception:
exception
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.TagClass
Wrapped Exception: Could not execute JDBC batch update
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.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.TagClass
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:223)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:303)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:96)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
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.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
i believe that there are people using postgresql, is that you have
experienced same error? or it's not the problem with postgresql?
any help to solve this problem?
best regards,
muzi
In the old Xwiki rights screen (0.9.840 style), you could type in any
text as a permission type (instead of view, edit, programming, etc),
this means you could use dynamic permissions instead of group looping to
determine different options for certain users. This means that you do
not have to loop groups (or any other object) to restrict the options.
In the new xwiki rights assignment panel there is no obvious possibility
to add to the permissions list (they are a scroll list, I would assume
they are based on a database entry).
Any chance there is a way I can manually add to this list on my local
wiki for the time being?
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
Thank you Sergiu! That information clarified the issue for me and helps me a lot in planning. I can see from the schema and id generation algorithms that object linking on document translation level is not too simple thing to change. Maybe that’s a little too heavy an issue for me to contribute, but of curiosity: do you have plans already how to solve this? Code in SVN?
In any case I’m interested of the panel and page code you mentioned so please send it to me. Thanks!
Petteri
From: Sergiu Dumitriu [mailto:sergiu.dumitriu@gmail.com]
Sent: 9. tammikuuta 2007 1:25
To: xwiki-users(a)objectweb.org
Subject: Re: RE: [xwiki-users] Object properties' translations
{quote}
If you have more than one objects that must be translated on a page, you cannot use this function, because, as you see, there is no "number" parameter. However, you can write you own code that iterates over all objects.
{/quote}
Generally, it is recommended to have one main object per page. It is not a must, the final decision is yours, and it depends on the application profile.
Sergiu
On 1/9/07, Sergiu Dumitriu <HYPERLINK "mailto:sergiu.dumitriu@gmail.com"sergiu.dumitriu(a)gmail.com> wrote:
Hi,
Internally, a document has only one principal version, the one in the original language. Translations are just variants of that original document. Objects are attached to a document, meaning that an object is bound to the original document. This way you can't have (for the moment) objects attached to a translation. This is bound to change in 1.1 (or later).
However, you can simulate this by using (indeed) a language property.
In detail:
1. You must add a StringProperty for each class you would like to be translatable, named "lang" (or any other name you like)
2. Replace doc.getObject("MyClass") with doc.getObject("MyClass", "lang", $context.language[, true]). This return an object with the "lang" property set to the current language. Of course, you can replace $context.language with a specific language. The optional true parameter stands for failover, meaning that if an object with the requested language was not found, try again without the language filter.
You cannot automatically translate objects with the current skin. If you are interested, I can give you the code for a panel and a page that can be used for this.
If you have more than one objects that must be translated on a page, you cannot use this function, because, as you see, there is no "number" parameter. However, you can write you own code that iterates over all objects.
On 1/9/07, HYPERLINK "mailto:petteri.karttunen@kuopionkonservatorio.fi" \npetteri.karttunen(a)kuopionkonservatorio.fi <HYPERLINK "mailto:petteri.karttunen@kuopionkonservatorio.fi" \n petteri.karttunen(a)kuopionkonservatorio.fi> wrote:
Yes, the wizard works correctly as far as I can see. The problem is perhaps more obvious with tagging for example (default XWiki.TagClass) ; if you want to tag the content of the same page differently depending on the page translation you have to add a TagClass instance for every translation and somehow bind them to translation in question(?)
So is there a reason why the object's properties should be language independent? These are fundamental questions for me when planning the structure of my xwiki-based translation portal by no means impassable obstacles. Before fixing the custom class structure I would anyway very much like to hear your thoughts and developers' plans if the logic is going to stay this way in future releases.
Thanks!
Petteri
--
You receive this message as a subscriber of the HYPERLINK "mailto:xwiki-users@objectweb.org" \nxwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:HYPERLINK "mailto:xwiki-users-unsubscribe@objectweb.org" \n xwiki-users-unsubscribe(a)objectweb.org
For general help: mailto:HYPERLINK "mailto:sympa@objectweb.org" \nsympa(a)objectweb.org?subject=help
ObjectWeb mailing lists service home page: HYPERLINK "http://www.objectweb.org/wws" \nhttp://www.objectweb.org/wws
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.7/619 - Release Date: 7.1.2007 18:29
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.7/619 - Release Date: 7.1.2007 18:29
Hi
quick question about #includeTopic 's behaviour (I am running 1252).
Setup
The main page contains a macro #buildPage() which takes an array.
This macro calls #includeTopic() in a loop such as this:
## generating the includeTopic calls
#foreach( $strand in $strandArray )
#includeTopic("${namespace}.${strand}")
#end
This macro is included in the main page with #includeMacros().
2 conflicting behaviours observed
1) XWiki just started (no cache): only the first includeTopic page is
rendered, the others are not
2) Once the pages (called in #includeTopic() ) are visited they display fine
(I guess this is the work of the cache)
Is this a normal behaviour? Any advice?
At least is it possible to call programmatically the page to have it rendered
in the cache? It is probably not the right way to do it..
Thanks.
Marc
Hi everyone,
We're happy to announce the 1.0 Beta 2 release. It's mostly a bug fix
release but it also contains some new improvements such as new macros.
* Lots of bugs fixed. Most of them are bugs related to the WYSIWYG editor
and the new 1.0 skin.
* Simplified Edit menu with only a single menu entry. This is to make it
simpler for new users. It's possible to switch between Simple and Advanced
from the user profile page.
* New #info("This is some useful information"), #warning("Careful not to
break something") and #error("You did something terrible") macros.
* New #floatingbox() macro to display a floating box (aligned right by
default).
* __text__ is now the notation for underline
* Lots of other minor improvements
Full list: http://tinyurl.com/yz9ccw
Thanks and enjoy
-The XWiki Team
___________________________________________________________________________
D�couvrez une nouvelle fa�on d'obtenir des r�ponses � toutes vos questions !
Profitez des connaissances, des opinions et des exp�riences des internautes sur Yahoo! Questions/R�ponses
http://fr.answers.yahoo.com
Is there a way to get the numbered list (i.e. 1.) to continue the numbering
instead of restarting if the list item is separated by some text, paragraph,
etc?
Thanks
Duke
Yes, the wizard works correctly as far as I can see. The problem is perhaps more obvious with tagging for example (default XWiki.TagClass) ; if you want to tag the content of the same page differently depending on the page translation you have to add a TagClass instance for every translation and somehow bind them to translation in question(?)
So is there a reason why the object's properties should be language independent? These are fundamental questions for me when planning the structure of my xwiki-based translation portal by no means impassable obstacles. Before fixing the custom class structure I would anyway very much like to hear your thoughts and developers' plans if the logic is going to stay this way in future releases.
Thanks!
Petteri
I'm creating a xwiki-based system where lots of textual metadata in custom metadata objects is systematically going to be attached to pages - which are going to be counted in thousands. When I create a page translation the metadata objects come along - which is desired - but I am not able to translate the object properties for the language in question separately. I had to be able to do that too.
Does that mean that I either have to create the metadata classes for every possible language and attach them to translated pages accordingly or that I for example have to add an identifying language property for those classes and attach to a page as many instances of those classes as there are translations for a page? Is there possibly a better way to accomplish this?
The system I'm creating is btw going to be a translation database and in this case I would consider it much more usable if the attached objects were dynamically instantiated for the page translations in question.
Otherwise 1.0b seems so far just great from this point of view!
Thanks in advance for your information!
Petteri
Hi,
I am glad to hear that xwiki.org had a spike in visits.
Regarding the access to JIRA, I still have a problem and it looks like a DNS
configuration issue.
Investigations using a DNS diagnostics site give the following results:
How I am searching:
Searching for jira.xwiki.org A record at i.root-servers.net [192.36.148.17]:
Got referral to TLD3.ULTRADNS.org. (zone: org.) [took 187 ms]
Searching for jira.xwiki.org A record at TLD3.ULTRADNS.org. [199.7.66.1]:
Got referral to lanai.xpertnet.biz. (zone: xwiki.org.) [took 3 ms]
Searching for jira.xwiki.org A record at lanai.xpertnet.biz.
[195.242.99.118]: Reports that laam.xpertnet.biz. does not exist. [took 196
ms]
Response:
jira.xwiki.org. exists, and is a CNAME pointing to laam.xpertnet.biz., which
does not exist
Details:
This is a very unusual response, and indicates that the DNS server is
authoritative for both jira.xwiki.org. and laam.xpertnet.biz. and that while
jira.xwiki.org. exists, it knows that laam.xpertnet.biz. does not exist.
See RFC2308 2.1 for details.
Thanks,
Olivier
-----Message d'origine-----
De : Ludovic Dubost [mailto:ludovic@xwiki.com]
Envoyé : 6 janvier 2007 08:53
À : xwiki-users(a)objectweb.org
Objet : Re: [xwiki-users] Slow public web site
Hi,
We have had both some spam attacks which are slowing down the frontal
servers and a spike in visits thanks the the Groovy 1.0 Release news
which has mentionned XWiki.
We are trying to tweak things around to improve the performance and will
consider moving to more powerfull servers..
Is JIRA still down for you ? It's working fine for me.
Ludovic
Dan Murphy a écrit :
> Hi Oliver,
>
> From personal experience, there can be some longish delays to the
> first page access after a server restart as macros etc are compiled.
>
> Having said that just trying to download
> http://www.xwiki.org/xwiki/skins/xwiki10b1/logo.png take a good 1/2
> second - perhaps xwiki.org <http://xwiki.org> isn't deployed to a
> hugely powerful server / big a pipe as the other wiki's you've seen.
>
> With the server I have installed, the performance is acceptable & it's
> only running on a 1.4 PIII with 1GB ram desktop machine !
>
> Cheers,
> Dan
>
> On 05/01/07, * Gourment, Olivier* <ogourment(a)optimuminformatique.com
> <mailto:ogourment@optimuminformatique.com>> wrote:
>
>
>
> Hi,
>
>
>
> I have been doing some research on wikis and looking at
> www.xwiki.org <http://www.xwiki.org/> throughout the week and
> observed slow response times pretty much consistently, compared to
> other sites on the internet.
>
>
>
> http://www.xwiki.org/xwiki/bin/view/Main/WebHome
> <http://www.xwiki.org/xwiki/bin/view/Main/WebHome> has taken up to
> 15 seconds to display.
>
>
>
> What can explain this?
>
>
>
> Thanks,
>
>
>
> Olivier
>
>
>
>
>
> PS: http://jira.xwiki.org/ is down.
>
>
>
>
>
>
>
> <http://www.optimumgroup.com>
>
>
>
> *Olivier Gourment*
> Architecte technologique
> Technology Architect
>
> *OPTIMUM INFORMATIQUE** INC.*
>
> Téléphone
> Télécopieur
> *Courriel*
> Web
>
>
>
> : (514) 288-1661 poste 515
> : (514) 288-8152
> *: ** ogourment(a)Optimuminformatique.com
> <mailto:ogourment@Optimuminformatique.com>**
> : ** www.optimuminformatique.com <http://www.optimuminformatique.com>*
>
>
>
>
>
> --
> You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org <mailto:xwiki-users@objectweb.org>
> mailing list.
> To unsubscribe: mailto: xwiki-users-unsubscribe(a)objectweb.org
> <mailto:xwiki-users-unsubscribe@objectweb.org>
> For general help: mailto: sympa(a)objectweb.org
> <mailto:sympa@objectweb.org>?subject=help
> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws <http://www.objectweb.org/wws>
>
>
>
--
Ludovic Dubost
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
AIM: nvludo Yahoo: ludovic
Hi!
I have SnipSnap (1.0b3) (snipsnap.org) running for a few months now. Is there a simple way to switch to a new installation of XWiki?
Would be nice to here something about this topic, because XWiki is much better then snipsnap.
Best regards
Andreas Rami
Is there a way to add a comment or some sort of tag to a version (each
time we save a document) - as an option?
If not it would be nice to have. The history view could display the
comment/tag (if any) on another column to the right.
I guess it should not be to hard to implement (the issue I would be
worry of is about data migration). WDYT?
Marc Lijour
Hi,
we have a XWiki 0.9.840 instance running with Postgres 8.1 and we would
like to test the new 1.0b1 release with our existing wikis. How could we
transfer the data between the old version and the new?
The installation docs don't describe a proper way and just copying the
dump of the old data to another database and running XWiki with this db
doesn't work, too. The Hibernate mappings seem to have changed.
What could we do? Our wiki has grown for about half a year and copying the
data manually would take really long. Does there any kind of filter exist?
Nevertheless, the 1.0b1 looks really nice. You did a really great work. :)
I hope I'll be able to run the 1.0-series soon. :)
Best regards,
Fabian.