I plan to have two types of articles written on my xwiki
(turmerictalks). One will be a wiki type, consisting of collaboratively
written/edited articles. The other will be blogs. Blogs do not normally
allow editing except by the blogger, but allow comments. I have created
two different space for these two types. Configuring the access levels
for the wiki type is straightforward. The blog type however poses
problems. If I denied edit rights for an authenticated group of
bloggers, the current service prevents writing too. Any suggestions? Thanks.
All,
I add my wiki to the site
http://www.xwiki.org/xwiki/bin/view/Installs/WebHome
and thanks for your appreciate!
The error appears in my log when I'm login, but If I'm logout
the error doesn´t appear,
org.hibernate.HibernateException: Unexpected row count: 0 expected: 1 at
org.hibernate.jdbc.NonBatchingBatcher.addToBatch
Thanks in advance
All,
I would like to eliminate the left vertical Menu from my site. After
reviewing the view.vm code, it looks as though simply deleting the Menu page
should take care of this but I receive an error when I try to delete it.
Can someone help me out here please? The error I receive is:
A problem occured while trying to service your request. Please contact the
support if this happens again.
Detailed information:
Error number 3203 in 3: Exception while deleting document Main.Menu
Wrapped Exception: Batch update returned unexpected row count from update: 0
actual row count: 0 expected: 1
com.xpn.xwiki.XWikiException: Error number 3203 in 3: Exception while
deleting document Main.Menu
Wrapped Exception: Batch update returned unexpected row count from update: 0
actual row count: 0 expected: 1
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiDoc(XWikiHibernateStore.j
ava:783)
at
com.xpn.xwiki.store.XWikiCacheStore.deleteXWikiDoc(XWikiCacheStore.java:143)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:1982)
.
.
.
.
.
<http://bobmixon.xwiki.com> KM, BPM, Intranet and Portal Technologies
<http://bobmixon.xwiki.com> The Possibilities are Endless
Bob Mixon
<mailto:bob.mixon@gmail.com> bob.mixon(a)gmail.com
http://bobmixon.xwiki.com/
Skype ID:brm1999
<https://www.plaxo.com/add_me?u=30065756390&v0=1965978&k0=1714165761> Add
me to your address book... <http://www.plaxo.com/signature> Want a
signature like this?
All,
My wiki is in this site: http://www.siac.net.co/uso/
But always I have the same error when I press any button
org.hibernate.HibernateException: Unexpected row count: 0 expected: 1 at
org.hibernate.jdbc.NonBatchingBatcher.addToBatch
All,
I posted a question here a few weeks back about changing my News feed so the
entire article would be included instead of an excerpt. I have those
changes made and all is working great. Individuals that subscribe to my
feed like it much better.
Now I would like to do the same on the main page of my site. Currently I am
using the built-in code as follows:
#set($nbstart = $request.nbstart)
#set($category = '')
#set($nbitems = '10')
#includeMacros('Blog.Macros')
Can someone tell me the best way to get the entire article to post without
the "continue reading" link?
Thank you in advance for all the help!
<http://bobmixon.xwiki.com> KM, BPM, Intranet and Portal Technologies
<http://bobmixon.xwiki.com> The Possibilities are Endless
Bob Mixon
<mailto:bob.mixon@gmail.com> bob.mixon(a)gmail.com
http://bobmixon.xwiki.com/
Skype ID:brm1999
<https://www.plaxo.com/add_me?u=30065756390&v0=1965978&k0=1714165761> Add
me to your address book... <http://www.plaxo.com/signature> Want a
signature like this?
I am trying to post a new entry in a category after the category has
been selected from the main page. It appears that I have to select the
category again (double click) from the pull down menu in the form page;
otherwise, the article extract appears only in the main page and not the
category page. This is superfluous action requirement on the part of the
poster and prone to omission. Any work-around?
Hi,
I'm trying to use a static list property in a small application.
I would like to feel this listbox with several possible values. But I
can't find any documentation on the format that is needed in the "Values"
field when I edit this property.
What is a correct syntax in order to have a list box with values : "a",
"b" and "c" ?
Or even better where can I find any documentation on this field and others
properties ?
Thanks,
Arnaud Lesueur
How to I get heading 1 / heading 2 / heading 3
I am doing this:
1 Heading 1
1.1 Heading 2
But that's as many levels as I can get ? Is this correct?
Thanks
Neil
I am having a problem that I want to resolve before xwiki becomes our
production knowledge base.
I have xwiki set so that you have to log in to view the content. LDAP
is configured in xwiki.cfg. Upon navigation to the login page, it is
displayed in an unformatted manner. You can see the User and Pass
box...but when you go to enter them in it will bring up the style.css.
This displays out as totally illegible and unformatted. Now here's the
kicker. When you hit the back to go to the log in page, it's displayed
correctly. When you hit the forward button, you got it....it's the
front page for the xwiki.
When I reproduce this, which I have before, I can send in some screen
shots of what I am talking about for those of you that may not know. I
just figured this might be a common issue.
xwiki 0.9.840
MySQL 4.1.12
SunOne Web Server 6.1
Thanks,
Tim
Dear XWiki Community
I am completely new to XWiki but so far I think, it could be a ideal
starting point for
realizing a personal documentation system.
However, I would need to extend XWiki for new custom tags which would allow
me
structuring my contents in a special way.
Can this easily be done with XWiki? Are plugins the "way to go"? Can
limitations
for XWiki's extensibility already be pointed out?
Thanks a lot!
ma/esch
Sorry, that's not quite what I meant. My example wasn't very clear. Let's
assume the class Photos.PhotoClass has a property called "location"
indicating where the photo was taken. I'd like to be able to sort by that
"location" property.
> You can try
>
> #set ($sql = ", BaseObject as obj, DBStringListProperty as prop join
prop.list list where obj.name=doc.fullName and
obj.className='Photos.PhotoClass' and obj.name<>'Photos.PhotoClassTemplate'
and obj.id=prop.id.id and prop.id.name='category' and list='${category}'
order by doc.creationDate")
> or
> #set ($sql = ", BaseObject as obj, DBStringListProperty as prop join
prop.list list where obj.name=doc.fullName and
obj.className='Photos.PhotoClass' and obj.name<>'Photos.PhotoClassTemplate'
and obj.id=prop.id.id and prop.id.name='category' and list='${category}'
order by doc.date")
>
> depending if you want to sort by the creation date or update date of the
documents
--
"Any sufficiently advanced technology is indistinguishable
from magic." -- Arthur C. Clarke
--
Brian D. Switzer
email: herkamur [at] canada [dot] com
web: http://bswitzer.railfan.net/
Hello List
I will try to describe my problem as simple as possible:
I've created a User "abc" and a new Webspace "abc". Only the User "abc"
has Edit- and View-Rights on the Webspace "abc". That works fine. Now if
the user "abc" tries to seach a document on his webspace using the
normal search-dialog nothing is found. If i do the same search as admin,
searching is successfull.
Why that? Normaly the user "abc" should find the documents in a webspace
where he has view- and edit-rights?
What am i doing wrong?
Thanks and greets!
Ralph
We are in the process of evaluating Java based Wikis for integration into our company portal (based on Jetspeed 1.5). One key requirement is that each department should be restricted to its own private Wiki or a subset thereof.
I have studied the concept of Spaces or Webs which might support this requirement. On the other hand, there is the possibility of setting up a Virtual Wiki for each department.
(1) Is it possible to achieve the desired mapping from department to wiki?
(2) Is there a preferred way of achieving said goal, i.e. what are the relative advantages of choosing Spaces or Virtual Wikis?
(3) How do I identify a Wiki Space or Virtual Wiki resp., i.e. how do I make sure that each user is initially presented with "his" wiki?
Please bear in mind that ressources allocated for this project are restricted and the product has to be delivered within a very tight time frame. So if the desired integration would be possible yet would entail considerable effort I would be glad to be told so upfront.
Many thanks for your efforts,
Olaf Bergner
I downloaded and installed xwiki on my desktop. I was trying the FAQ tutorial and getting exceptions thrown.
XWikiClasses page did exist, however ClassItemSheet and ClassItemTemplate were not. Hence I copied the page code from xwiki.
When I filled in classname and clicked Create this Class button following exception is thrown.
Error number 3202 in 3: Exception while reading document XWiki.ClassTemplate
If I click on ClassTemplate link on class editor, following exception page appears.
Error number 4001 in 4: Error while parsing velocity page Wrapped Exception: Invocation of method 'parseContent' in class com.xpn.xwiki.api.XWiki threw exception class java.lang.NullPointerException : null
${doc.fullName}
$msg.get("login")
$msg.get("register")
XWiki Version 0.9.840
$msg.get("problemoccured")
$msg.get("detailedinformation"):
I am unable to get to ClassTemplate content just to revise its content from xwiki.
Please help.
Thanks,
Patrick
--
Sent from the XWiki- Users forum at Nabble.com:
http://www.nabble.com/ClassTemplate-t733043.html#a1919920
I'd like to select documents from the database by class via the following
(based on the blog code):
#set ($sql = ", BaseObject as obj, DBStringListProperty as prop join
prop.list list where obj.name=doc.fullName and
obj.className='Photos.PhotoClass' and
obj.name<>'Photos.PhotoClassTemplate' and obj.id=prop.id.id and
prop.id.name='category' and list='${category}' order by doc.name")
This is fine, but I'd like to sort the results by another of the
parameters ("date") instead of by document name. I'm not a database
person, so I'm not sure how to accomplish this. Any guidance would be
most helpful.
--
Brian D. Switzer
e-mail: herkamur -=>at<=- canada -=>dot<=- com
web: http://bswitzer.railfan.net/
Hi all,
i encountered some problems using the xwiki and hope
you can help me. i downloaded the latest xwiki version
and installed everything using a postgresql database
and a tomcat 5.0.29.
The following problems occured:
1. The page
http://localhost:8080/xwiki/bin/view/Main/WebHome
could not be opened for some reason. the browser
keeps loading and loading, but nothing happens,
not even a timeout.
The same problem exists for the "Blog" link:
http://127.0.0.1:8080/xwiki/bin/view/Blog/WebHome
However the page
http://127.0.0.1:8080/xwiki/bin/view/XWiki/Menu
can be opened without problems. Logging in as Admin
user does work, too. So DB cannot be the problem.
Any ideas about this problem?
2. I deleted some page in the wiki, which resulted in
lots of execption that i cannot get rid of. at the moment
i cannot change anything due to this problem. the exception
is
org.hibernate.AssertionFailure: possible nonthreadsafe access to session
at
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.ja
va:68)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
....
....
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java
:86)
at
com.xpn.xwiki.store.XWikiHibernateStore.endTransaction(XWikiHibernate
Store.java:350)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollection(XWikiHi
bernateStore.java:982)
If you need the full exception, tell me.
3. I changed the language under "More Actions" -> "Web Preferences" from
"en" to
"de". After that it was no longer possible to change anything under
"Presentation"
the definition for the "XWiki Wiki Web", ... , "Top Menu", "HTTP Meta
Information"
we all empty and thus could not be edited. Changing the language back to
"en" does not work, because i am getting the errors mentioned in 2.)
4. When editing a page i can select the preview, which will show me a
preview of the
page, which is nice. However the preview page does not contain a back
button, that
takes me back to the edit page. there is only a save button. so, if i do
not want
to save the page i have to use the back button of the browser, which is
neither
good nor consistent. Adding a back button in the html page back to the
preview
page would be really appreciated.
So, my biggest problems are 1.) and 2.) at the moment. i'd really appreciate
if
you could help me, because i have to set up a wiki and want to use one
written
in java and xwiki seems to be best non-commercial java wiki.
regards,
Andreas
___________________________________________________________________________
Andreas Wüst
amites GmbH
Heumadener Straße 2
73760 Ostfildern
phone: 0711-4599939-34
fax: 0711-4599939-63
mailto:andreas.wuest@amites.de
http://www.amites.de
Hello,
By default, my xWiki site uses the code:
#set($category = "$request.category")
#set($nbitems = "10")
#set($nbstart = $request.nbstart)
1 Entries for category $category
#includeMacros("Blog.Macros")
to display News/Blog entries on the site. The Blog.Macros code displays a "Next" link at the bottom of the page when the number of items exceeds groups of 10. But the link itself is not being built correctly. If you are specifically viewing a category, the category parameter is dropped from the URL when Next is clicked.
What is the best way to get this fixed?
Also, I would like to make some changes to the way that information is displayed on my site; such as display 10 complete articles at a time, not excerpts from articles.
All help is greatly appreciated.
Hi,
firstly, thanks to the xwiki team for thier great product!
one question:
is there any "translation support" in xwiki?:
when i see one page with a language preference, i see a specific version of
it (english in my example).
when i've got a portuguese preference, i see the last version of the page
edited with the portuguese label.
can i create a page, and associate with it the related translations?(the
original page and its translations have got the same url):
=> the url is the same for all the translations, but i can see translations
depending on my language preference.
is it the case?(we've created on our wiki, one page per translation.... =>
http://jguard.xwiki.com ).
sincerly yours,
Charles(jGuard team).
Hi all,
I'm interested in learning more about xwiki's macro features.
However this helpful-looking link from the FAQ (on http://www.xwiki.com/xwiki/bin/view/Doc/ ) is broken:
http://www.xwiki.com/xwiki/bin/view/Doc/WhereCanIFindTheSourceForTheDefault…
The error message for that FAQ item is:
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Doc.WhereCanIFindTheSourceForTheDefaultMacroTagsLikeThe Wrapped Exception: Encountered "<EOF>" at line 1, column 70. Was expecting one of: "(" � <WHITESPACE> ...
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:131) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:87) at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:116) at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:93) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:224) at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:735) at com.xpn.xwiki.api.Document.display(Document.java:389)
[...]
Where's the best place to look to learn about macros?
Cheers,
Robin.
hello everybody !
I'd like to design a form with one database select field.
The xwiki standard distribution provides a good basic example with the
Category field within the XWiki.ArticleClass.
But some additional information could be helpful :
- a relational map of all the database tables involved in this application
- the names and descriptions of Hibernate objects corresponding to the
database objects so that I can fully undestand queries like this one :
select prop.value from BaseObject as obj, StringProperty as prop where
obj.className='Blog.Categories' and prop.id.id = obj.id and
prop.id.name='name'
(standard hibernate query for the category field)
- for my current project, I intend to automatically feed this table with
data updated in another database by another application software (CRM in
that case). So it's crucial to know with precision what XWiki requires
when managing "database select fields". Do you know about some existing
developments like this one ?
Thank you by advance for any information you could send to me ...
Pierre Carlier
pcarlier(a)repgroup.net