I have a downloaded version of xwiki (9.840), and I am trying to create
a blog as per the documentation given in the website url
-http://www.xwiki.org/xwiki/bin/view/Main/MakeABlog
However, in step 1 itself, when I make a page called Test.BlogMacro, I
am getting an error while saving the page.
Error number 4001 in 4: Error while parsing velocity page Test.BlogMacro
Wrapped Exception: Encountered "Blog" at line 1, column 14. Was
expecting one of: "[" ... "(" ... ... "true" ... "false" ... ... ... "{"
... "!" ...
What is wrong? How do I correct it?
Rgds,
Mrudula
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Hi everyone!
We have to build a research paper submission system. The papers are stored in the db in Paper table. The abstract and other paper related info is stored in Paper table, and the paper data, e.g. the file_Name of the paper is stored in PaperData table, in the db. Only the abstract is stored, in db, the whole paper is stored in a file, and its filename is stored in the db PaperData table.
Now what we have to accomplish:
1. Be able to load the paper info, for example the abstract and the Paper contents from db and file, respectively.
2. Be able to Edit the abstract and the Paper contetns, and do other wiki things , like add an attachment, and history, PDF etc.
How XWiki does all the things:
XWiki stores the wiki pages, in the xwikidoc table, all the processing is done on this table extracted contents, which are populated in the XWikiDocument doc object in java, in the XWikiHibernateStore class.
But our requirement is a bit different we want to use the XWiki provided functionality (as we are maintaining a wiki as well) as well as, load the Paper from different tables than the xwikidoc table. from the Paper table and paper contents file.
There are a few ways how we can accomplish these things:
The first Solution:
The first solution, which I visualized as I went for a jog ;) this morning. Modify the XWikiHibernateStore class to load the data from Paper table, and paper contents file rather than xwiki doc table, since, XWikiHibernateClass is huge, and all the attacments and other things are also done in it, so we modify those methods as well, but to do minimum work we put a paper_id, in xwikiattachments table, and load those according to the current paper_id, we will have to modify the attachments classes, and attachments Hibernate configuration and the db table. Similarly, we will modify the XWikiDocument classes, and modify the associated Hibernate configuration, adding the paper methods and properties, so we will be able to use the xwiki code to the maximum.
The second solution:
Its that we rewrite everything, we write our own Hibernate java classes, and do everything on our own, this will take a lot of time and trouble, so this solution is less accepted.
The third solution:
there is a property in XWiki Classes on the view layer called Database List Property, which also takes a hibernate query, parameter, can we use that, how can we, some suggestions.
The fourth Solution:
There is an Article Object, can we use that, but I don't think, that such rich functionality will be available to us. Remember we have to populate from our own tables, instead of XWiki tables, and do all the things, which we do with a document, or which a wiki can do with a wiki page.
I hope I will get some answers, the first solution seems to be the best fit, I am waiting for your suggestions.
Regards,
Babar Abbas.
Hi,
I'm working on setting up an XWiki-based site for a small community of users. All has gone well for the most part, but I've got one issue that I'm hoping someone out there can shed some light on.
I have about 60 users that are members of a group that has read/write access to the Wiki, and logging in, editing, etc. works just fine for the majority of users, but for a small subset (3 users I'm aware of) after login, they get redirected to the main page as they should, but it appears the site is unaware of who they are. For instance, where it normally would say "Hello Joe", it says "Hello $docuser.display("first_name", "view", $objuser)". They also get the message "You are not allowed to view this document or perform this action" when viewing pages they should be able to access.
The problem doesn't seem to be related to the actual users themselves, because I had one of the users login with someone elses computer, and it was successful. But for all 3 users, switching between IE and Firefox doesn't help, and I haven't been able to find any browser settings that help either. I have also been unable to reconfigure my own browser to reproduce the problem.
Does anyone have any ideas about what might be causing this? My best guess is that somehow the browser is not presenting a session ID that matches the user's actual session object, but I don't know why that might happen. I'm relatively new to both WXiki and Tomcat, so I'm not sure what logging options might help me see some relevant information.
I see many messages like this in my logs, but they occur even when users that do not exhibit this problem hit the site, so I'm not sure they are related.
14:39:10,729 WARN TP-Processor1 http://<site>/xwiki/bin/view/OpsTeam.Record/Schedule XWikiStatsServiceImpl:findVisit:314 - Found visit with cookie 8YXUJFTIQSJJA1CQRCDJ0RXGMZAVS8XY in session 2E90CB72684FB68726A51AFA5E6B6D13 for request with cookie 5QZRQ6GC89SGSSBCZPTQOJQXJ9WT2BQG
I'm using XWiki 0.9.840 on Tomcat 5.5.16 behind apache/mod_jk
Thanks for any help or ideas you can provide,
Kyle
Hi,
My user registration screen is broken and returns a -1 error whenever I try to register a new user.
It is on my own xwiki server, not on the farm. I've tried enabling the superadmin user, editing, and re-saving the RegisterNewUser document but I still get the same problem.
I have two wikis running on this server, with 'virtual' switched on in xwiki.cfg; the registration works fine in the default wiki but not in the new one I have created.
I'm an utter newbie to xwiki so it's possible I'm missing something obvious... if someone could post step-by-step instructions as to what is normally done to solve this problem, I'd be grateful.
Many thanks
Jonathan Essex.
Hello,
I just figured out that if I have a bulleted / unnumbered list of more
than 294 items, the behavior changes:
#set($mycount = [1..295])
#foreach($i in $mycount)
* $i
#end
If you create the above list, you'll see that your list changes from a
bulleted list to a list of items all on the same line alternating bold
and regular type. If you only go to 294, you get a bulleted list. Is
this configurable? Where is this set?
Thanks,
-jeff
What I meant was ..
Each page should show, who modified it last, and probably also who
created it.
Checking in history is lil cumbersome.
thanks
cheers
anurag chitlangia
To Err is Human, to forgive is not COMPANY policy!
.- -. ..- .-. .- --.
________________________________
From: mrudula.madiraju(a)wipro.com [mailto:mrudula.madiraju@wipro.com]
Sent: Monday, October 09, 2006 12:17 PM
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] getting date and user information in the
footer
Click on the history link
________________________________
From: Anurag Chitlangia [mailto:anurag.chitlangia@amdocs.com]
Sent: Monday, October 09, 2006 2:24 PM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] getting date and user information in the footer
Hi,
How can I get the information for each page, when was the page last
modified and who modified it.
Regards,
cheers
anurag chitlangia
To Err is Human, to forgive is not COMPANY policy!
.- -. ..- .-. .- --.
This message and the information contained herein is proprietary and
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
www.wipro.com
Click on the history link
________________________________
From: Anurag Chitlangia [mailto:anurag.chitlangia@amdocs.com]
Sent: Monday, October 09, 2006 2:24 PM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] getting date and user information in the footer
Hi,
How can I get the information for each page, when was the page last
modified and who modified it.
Regards,
cheers
anurag chitlangia
To Err is Human, to forgive is not COMPANY policy!
.- -. ..- .-. .- --.
This message and the information contained herein is proprietary and
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Hi,
How can I get the information for each page, when was the page last
modified and who modified it.
Regards,
cheers
anurag chitlangia
To Err is Human, to forgive is not COMPANY policy!
.- -. ..- .-. .- --.
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
HI, i know this probably "THE" dumbest question you've gotten, but I have
media wiki installed, admittedly its my first wiki experience.
To create a document there I search for a file or click "GO", if nothing
exists I have an option to create that document, and then I go from there.
I've installed XWiki because of its great features, like PDF generation, RSS
feeds, blogs, etc...
What is the equivalent in XWiki to create a document?
Thanks,
--
slán,
joe