Has anyone given thought (or better yet, code) to displaying an Open
Document Format (ODF) document on an XWiki page? As I have recently
discovered, XML documents can be parsed with tools already in XWiki's
libraries, but formatting them is, of course, another question. Opening
a ZIP file is probably also a no-brainer, though I don't know offhand
how it's done.
This ought to be fairly simple, using a very standard XSL stylesheet, or
something similar. Of course, with XSL, a standard browser should be
able to display ODF formats itself, although the most commonly-used
browser doesn't fit that definition of standard...
The question may boil down to: is there an XSL stylesheet that formats
ODF as HTML? I think I'll go have a look, but if you know of one,
please don't hesitate to tell me.
brain[sic]
I wass attempting to upgrade to the latest Beta of XWiki yesterday and I
loaded the WAR file into Tomcat under a new context and everything
worked. I then backed up my original context and moved the new install
to replace the old install. The system throws exceptions right from the
start about a Hibernate index conflict. I removed the new version and
replaced the old version. The problem remains. Can anyone suggest a way
to recover????
Thanks In Advance,
Deven Phillips, CISSP, CCNA
Systems Administrator
Metal Sales Manufacturing Corp.
Thanks Frank and Billy,
After mailing I realized it wasn't so difficult to locate. :-)
Another question,
I want to include hit counter to each page basically for statistics purposes
The xwiki.org says integrated statistics is part of XWIKI.
But am not sure how to activate it.
Any pointers!
cheers
anurag chitlangia
The only thing I like about the stones that come in my way is, Once I pass across them, they automatically become my Milestones.
.- -. ..- .-. .- --.
________________________________
From: Frank Häfemeier [mailto:frank@haefemeier.net]
Sent: Friday, September 22, 2006 12:31 PM
To: xwiki-users(a)objectweb.org
Subject: AW: [xwiki-users] how to edit password of users
This is easy:-)
You go to the user profile document and click on 'Edit this page'.
A formular appears and on this you can change the password.
An user who is logged in can click on the name (original in the right upper corner)
and click on 'Modify the profile'.
Bye
Frank
Hi,
I am admin of my wiki, recently installed,
I want to know how can I update password of some user already existing
In case if someone has forgot his password.
And also want to know
How can the user himself change his password.
Early reply is very much appreciated!
cheers
anurag chitlangia
The only thing I like about the stones that come in my way is, Once I pass across them, they automatically become my Milestones.
.- -. ..- .-. .- --.
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 am admin of my wiki, recently installed,
I want to know how can I update password of some user already existing
In case if someone has forgot his password.
And also want to know
How can the user himself change his password.
Early reply is very much appreciated!
cheers
anurag chitlangia
The only thing I like about the stones that come in my way is, Once I
pass across them, they automatically become my Milestones.
.- -. ..- .-. .- --.
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 have the latest version of xwiki ( xwiki-0.9.840 ) and I'm trying to use the xwiki Calendar, I've copied the proper page from xwiki.org and saved, the page displays correctly except the bottom part ( "New Event" ) where there should be some input text boxes, there's nothing there, just the labels and the "Add Event" button.
Am I missing something ? I've checked the plugin, it is enabled in xwiki.cfg, any other ideas ? Whant else should I check or should I do in order to make it work ?
Thanks for any help,
Billy
Hello,
I want to control access to certain pages of my local xwiki (9.840)
based on LDAP group that he/she belongs to. [I have already set up my
xwiki to use my company's LDAP for authentication]
How do I specify that in the rights editor? For example, if my LDAP
group name is say, "abc-xyz", what string should I add in the rights
editor?
Option A) XWiki.abc-xyz
Option B) abc-xyz ....etc
Option C) Not possible with 9.840?
Any others?
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,
Q1. How does one write a new property value to the database from any
generic XWiki page? XWiki's conventional method for inputting property
values for a document through the ClassSheet/etc. will not work in this
particular case.
------------------------------------------------------------------------------------------------------------------------------------
Q2. Also, let's say I create a class with XWiki's standard Class Creation
interface. Now I want to add an instance of this class. I go through the
standard process, and now am entering data values (viewing the ClassSheet)
for this particular document.
At this point in the process, how exactly is XWiki engaging the database?
What is going on behind the scenes? If someone can, please explain this
process more (e.g., what database connections are open, methods being
called, etc.)
Thanks!
Danielle
_________________________________________________________________
Find a local pizza place, music store, museum and more then map the best
route! http://local.live.com
Hi,
I've developped a wiki with Mysql, and now that it's ready to go in
production I need to migrate to DB2. I'm running into troubles migrating
large strings present in the db, does anyone have either:
- experience and advices about doing that migration or
- a basic DB2 schema with the base data that I could feed in into a DB2 db
so that I can restart with a clean db
Many thanks,
Philippe Legrain
Hello,
I am running XWiki 0.9.840. I am on Windows XP, using Tomcat 5.5.17
with MySQL 5.0.22. I dropped the .war and the application deployed
fine and the home page loads. However I cannot log in with
Admin/admin ... I don't get an error message, the page just submits
back to itself with a blank username and password field. There are
some errors being written to the console... in fact, there are WARNs
for just about every page view. This is the entry from when I submit
the login form:
10:37:07,000 WARN http-8080-Processor25
http://localhost:8080/xwiki/bin/login/XWiki/XWikiLogin?xredirect=http://loc…
st:8080/xwiki/bin/view/XWiki/XWikiLogin
RequestUtils:createActionForm:177 - No FormBeanConfig found under
'loginerror'
And here are a few more while clicking around the site:
10:41:15,125 WARN http-8080-Processor22
RequestUtils:createActionForm:177 - No FormBeanConfig found under
'view'
10:41:15,281 WARN http-8080-Processor22
http://localhost:8080/xwiki/bin/view/Main/WebHome?xpage=history
XWikiStatsServi
ceImpl:addCookie:474 - Setting cookie PVWAHLRIY4TQSEEF5VJL3AKHUIAW4AMP
for name visitid with domain null and path / and
maxage 307875
10:41:15,281 WARN http-8080-Processor22
http://localhost:8080/xwiki/bin/view/Main/WebHome?xpage=history
XWikiStatsServi
ceImpl:findVisit:314 - Found visit with cookie
I2QN8PJZH1B1GKKX7JAOW6K6W9GRPLDW in session
A89B0B1C6848CA198E0991556F5DE
D48 for request with cookie PVWAHLRIY4TQSEEF5VJL3AKHUIAW4AMP
10:41:17,093 WARN http-8080-Processor22
RequestUtils:createActionForm:177 - No FormBeanConfig found under
'view'
10:41:17,250 WARN http-8080-Processor22
http://localhost:8080/xwiki/bin/view/Main/WebHome?xpage=comments
XWikiStatsServ
iceImpl:addCookie:474 - Setting cookie
XZ3W0VUQCQ4OWQ682EOC8UNBVXQMS1MI for name visitid with domain null and
path / and
maxage 307873
10:41:17,250 WARN http-8080-Processor22
http://localhost:8080/xwiki/bin/view/Main/WebHome?xpage=comments
XWikiStatsServ
iceImpl:findVisit:314 - Found visit with cookie
I2QN8PJZH1B1GKKX7JAOW6K6W9GRPLDW in session
A89B0B1C6848CA198E0991556F5D
ED48 for request with cookie XZ3W0VUQCQ4OWQ682EOC8UNBVXQMS1MI
Any advice you could give would be greatly appreciated! I am planning
on configuring LDAP after I verify the wiki operating properly... but
I need to get admin access to do that!
Thanks,
Cliff
By the way, (since I can't respond directly to my August post), here is the
solution I finally worked out for HQL-driven, dependent selection lists,
should anyone else find it useful:
<script language="JavaScript" type="text/javascript">
<!--
function loadSubcats(catsubcat) {
var jsloadlist = document.getElementById("selcat").value;
var actiongoto = "../apps/altdblcattest?catkey=" + jsloadlist;
document.location = actiongoto;
return (document.location);
theForm.submit();
}
//-->
</script>
<form name="catsubcat" method="POST"
onSubmit="document.location=loadSubcats(this); return false">
<%
loadlist = request.getParameter("catkey");
if (!loadlist) { loadlist = "null" };
remsubcat = request.getParameter("remsubcat");
if (!remsubcat) { remsubcat = "" };
%>
1 Add/Change Category
<table>
<tr>
<td>
<select id="selcat" name="selcat" onchange="loadSubcats()">
<%
println "<option value=\"error\">Select a category</option>";
sql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='XWiki.NavCatClass' and obj.name not like '%ClassTemplate'
order by doc.fullName";
sqlcat = xwiki.searchDocuments(sql)
for (item in sqlcat)
{
optcat = xwiki.getDocument(item)
selectvalue = optcat.name
if (!selectvalue.compareTo(loadlist)) { recall = " selected"; }
else { recall = ""; }
println "<option value='" + selectvalue + "'" + recall + ">" +
optcat.title + "</option>";
}
%>
</select>
</td>
<td>
<select id="selsubcat" name="selsubcat">
<%
println "<option value=\"error\">Select a subcategory</option>";
sql = ", BaseObject as obj, StringProperty as prop where
obj.name=doc.fullName and obj.className='XWiki.NavSubCatClass' and obj.name
not like '%ClassTemplate' and obj.id=prop.id.id and prop.id.name='parentkey'
and prop.value='${loadlist}' order by doc.name";
sqlsubcat = xwiki.searchDocuments(sql)
for (item in sqlsubcat)
{
optsubcat = xwiki.getDocument(item);
remselectvalue = optsubcat.name
if (!remselectvalue.compareTo(remsubcat)) { recall = " selected"; }
else { recall = ""; }
println "<option value='" + optsubcat.name + "'" + recall + ">" +
optsubcat.title + "</option>";
}
%>
</select>
</td></tr>
</table>
</form>
Of course, this solution is only partial. On it's own page, it works. The
rest of the implementation depends on your context (e.g., how to write
values to the database).
:)
_________________________________________________________________
The next generation of Searchsay hello!
http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM=WL…
While editing a ClassSheet, XWiki shortcuts writing to the database with its
hot-coded input fields.
How can one explicitly write to the database in this context?
Rather than allowing the user to type one of the property's values into an
input box, I need the value to be extracted from the URL and directly
written to the database as the property value for this instance of my custom
class.
Inserting: $doc.displayEdit($prop, "{property name}", ${the getParameter's
new variable}) did not work.
Any suggestions?
_________________________________________________________________
Try the new Live Search today!
http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM=WL…
Hi
Is there a macro or another device to generate Wiki pages automatically
(via API calls)?
For example, I pass a category name and 3 sub-categories and my macro
creates the pages in the namespaces I programmed, with the names I want.
Is something like this already available? Does somebody have a link at
hand? Some code snippet?
This will a must-have when the semantic plugin will become available.
Thank you,
Marc Lijour
We had customized a downloaded version of xwiki (9.840). We added a lot
of new links to the left hand pane. Everything is fine - except a small
cosmetic problem.
When I resize the window, the left hand pane gets superimposed on the
middle text and remains there even when restoring the window.
Has anyone faced a similar situation? Any solutions?
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
Is anyone else having problem with groovy in the latest version?
I've also tried the following on xwiki.org and xwiki.com but it doesnt get
processed:
<%
print "hello world";
%>
Thanks
Duke
Hi,
Today I've noticed a small issue about the time on my server.
In fact when I compare the time on the history to the time from $xwiki.date, I
notice that there is 2 hours less.
In fact, $xwiki.date give me a result such as :
Wed Sep 13 17:48:09 CEST 2006
So I think that the difference is due to the fact that the history uses GMT
localtime whereas I've configure my server to "Europe/Paris".
We should have the same time for the history as the one I've configured.
Moreover I wonder if it is possible to display the time according to the user
time configuration ?
Regards
--
Xavier MOGHRABI - Consortium ObjectWeb
Jabber: moghrabi(a)jabber.objectweb.org - Phone: +33 4 76 61 52 35
Hi all,
With XWiki v0.9840, I found it was impossible to define an access
right for a group that has a space character in the web name, e.g: "My
TestSpace.testGroup" .
The space character is used as a delimiter for specifying multiple
groups within a single access right entry. With URLs, XWiki does ' '
to/from '+' conversions, but this does not seem to work for group
names within access right entries (so entering
"My+TestSpace.testGroup" did not work).
I wanted to check this out on v0.9.1252. The new access right GUI
seems to get confused.
It generates the following 3 select box options from the one group:
<option value='My TestSpace.testGroup' label='My
TestSpace.testGroup'>testGroup</option>
<option value='My' label='My'>My</option>
<option value='TestSpace.testGroup'
label='TestSpace.testGroup'>testGroup</option>
The first one is correct, but if I select it and save the rights
object, under the covers it seems to select the two other options.
This means it seems I still cannot define an access right based on a
group which has a space character in its name.
I have raised this on jira as http://jira.xwiki.org/jira/browse/XWIKI-345 .
Regards,
Robin
Hi,
I try to save a Java- object to the context with groovy:
<%
test=context.getContext().get("test");
if(test==null)
println "test is null"
else
println "test is not null"
context.getContext().put("test",new Object());
%>
If you reload the page the object should be in the context and the output
should be "test is not null". But unfortunately I get "test is null".
I also tried it with the Servlet-Context like this:
<%
scontext=context.getRequest().getSession().getServletContext();
test=scontext.get("test");
if(test==null)
println "test is null"
else
println "test is not null"
scontext.put("test",new Object())
%>
Then I get an exception: java.lang.NoClassDefFoundError:
org/apache/catalina/session/StandardSessionFacade
This class is in the catalina.jar which is located in tomcat/server/lib and
the documentation of tomcat says: These classes and resources are TOTALLY
invisible to web applications.
I copied catalina.jar to WEB-INF/lib but then I get a ClassCastException:
java.lang.ClassCastException:
org.apache.catalina.session.StandardSessionFacade
I guess this is because of different ClassLoaders.
How can I save a Java-Object to a session?
Thanks
Barbara
--
View this message in context: http://www.nabble.com/groovy---context-tf2226640.html#a6170318
Sent from the XWiki- Users forum at Nabble.com.
I have another webapp that needs to call xwiki methods that needs a context.
Would I need to create a new context (below) or can I find the context
object from somewhere?
context = new XWikiContext();
context.setUser("XWiki.superadmin");
config = new XWikiConfig();
config.put("xwiki.store.class", "com.xpn.xwiki.store.XWikiHibernateStore");
config.put("xwiki.store.hibernate.path", "./hibernate.cfg.xml");
config.put("xwiki.store.hibernate.updateschema", "1");
config.put("xwiki.virtual", "1");
xwiki = new XWiki(config, context)
context.setWiki(xwiki);
db = "xwiki"
context.setDatabase(db);
Thanks
Duke
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Hi,
this is maybe the 3rd time I've built from source since using xwiki, but having difficulty this time with the clover licence:
[javac] error: error reading ./xwiki/lib/clover.license; error in opening zip file
I have jdk1.5.0_05 and ant v1.6.2; And, I'm pointing $ANT_HOME/lib to the ./lib/ directory underneath xwiki/trunk/ that I downloaded, so:
[tom@shazam xwiki]$ ls -l $ANT_HOME/lib/ | grep junit
-rw-r--r-- 1 tom tom 112249 Sep 11 16:16 junit-4.1.jar
[tom@shazam xwiki]$ ls -l $ANT_HOME/lib/ | grep clover
-rw-r--r-- 1 tom tom 1527851 Sep 11 16:16 clover-1.3.9.jar
-rw-r--r-- 1 tom tom 5591 Sep 11 16:16 clover.license
I do this:
svn checkout svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki/trunk ./xwiki
...and type 'ant'. I've tried -debug and a few other targets from the build file, but always get the clover licence error. And, I looked on the cenqua website for help.
Is anyone else getting this or can tell what I'm doing wrong? Thank you for any help!
-ken
Hi,
I'm attempting to do a little AJAX-type stuff and I need a way to grab
just the contents of a particular page without all the headers, sidebars
and footers, but with the standard rendering (tags, plugins, etc) working.
Basically, if I have a page "Main.testpage" containing this:
I am some [somelink>text].
I'd like to be able to make a javascript call to some url and get the
rendered page:
I am some <a href="somelink">text</a>.
(Notice there's no headers, menus, edit buttons, etc.)
I've been looking into the xwiki source. I was hoping there was something
like a "justcontents" action (ie
"http://sitename/xwiki/bin/justcontents/Main/testpage"), but there doesn't
appear to be.
I found the xmlrpc interface, but there's a few issues to overcome, one of
which is that I'd somehow have to get and store the username and password
in the javascript (on the client side) to make the login token for the
getPage() function.
If there is nothing simple built-in, and xmlrpc is the only way, is there
a good way around the password issue? (or even how to get the password)?
Anyone try something similar? Am I going about this in the entirely wrong
way?
Thanks,
-Tom
--
Tom Kliethermes
Hi
I want to retrieve the "title" of the document - which is added in the "title" field just above the document content editor field.
I can use something like $doc.getTitle() in the default document (in English). But when I use it in French it gives me the title of the English (default) document.
I tried a couple of other functions from the Api but I can't find the right one. I am sure there is a way to retrieve this information but I don't know how.
I am using Xwiki unstable (1252 on Jetty and HSQL). And I appreciate your help.
Marc Lijour
Agent d'éducation
Direction des politiques et programmes
d'éducation en langue française
Ministère de l'Éducation
8e étage, édifice Mowat
900, rue Bay
Toronto (Ontario) M7A 1L2
Téléphone : 416 325-3501
Télécopieur : 416 325-2156
<<Lijour, Marc (EDU).vcf>>