Hi, me again, i have this problem:
I enter xwiki as XWiki.Admin
I do something
I close web browser (Firefox)
I open web browser (Firefox)
I go to XWiki.WebHome
I am logged as XWiki.Admin !!!!
Worst, i close web browser, i close my linux (kde) session, i enter
again and the same happens...
How can avoid that, how i can prevent the session persist when browser
restarts ... ?
Thanks
--
A.U.S. Enrique Ferreyra
Centro de Cómputos
Red Megatone - Red Confina
...moved this to the users list
Hi!
In my xwiki 0.9.840 installation I have set the user validation flag on but newly registered users can still log in without activating their accounts. So to say, if user is marked inactive (checked this in db too) he still can log in. I noticed this in xwiki.com too where I registered and directly logged in without "validating" my registration.
Is this the intended behaviour for user account validation and if so, what is it actually for? If this is not a bug, what's the best way - if any - to disable a user account without removing it. Putting it into access denied -group?
:pete
Hi all!
I'm trying to develop a plugin to interact with Jena (
http://jena.sourceforge.net), a semantic web framework.
I developed the plugin as I documented it in the plugin development
tutorial. I have a hello() method which works perfectly. however when I try
to call this method:
public List<String> test1(){
Vector<String> uris = new Vector<String>();
OntModel model = ModelFactory.createOntologyModel(
OntModelSpec.RDFS_MEM_RDFS_INF, null );
model.read("
http://www.dcs.shef.ac.uk/~zzc05jb/environmentOntology/pollutionInventory.r…
");
model.read("
http://www.dcs.shef.ac.uk/~zzc05jb/environmentOntology/instances/disposalRe…
");
Iterator iter = model.listIndividuals();
while(iter.hasNext()){
OntResource ontClass = (OntResource)iter.next();
uris.add(ontClass.getURI());
}
return uris;
}
I get this exception:
Error number 4001 in 4: Error while parsing velocity page
Tests.OntologyPlugin Wrapped Exception: Invocation of method 'test1' in
class secoia.plugin.OntologyPluginApi threw exception class
java.lang.NoSuchFieldError : actualValueType
I can't really make sense of it. This method works if i use it form a
classic Java application. I copied all the Jena jar files to the
webapps/xwiki/WEB-INF/lib directory. Moreover, I don't know where this
actualValueType comes from. Does it come from XWiki?
Any clue on this problem?
Thanks a lot!
--
_ _ Julien Bourdon
(o)(o)--. http://purl.org/net/JulienBourdon
\../ ( ) self isAddictedTo:(#Squeak&#linux)
m\/m--m'`--. ^true
The various kinds of #include directives have always puzzled me, but now
I think I may have a serious need to understand them.
I have seen that some of them are implemented by methods on $xwiki
(includeForm, includeTopic, in two incarnations each - with or without
rendering, I assume), but I have no understanding of why they are all
different. Add in the parse directives and XWiki methods and I am
completely confused.
Can anyone give me a synopsis of what these are all about? I understand
this much: that Velocity directives are read once at parse time,
whereas methods can be invoked multiple times in a loop.
The problem I need to solve, however, may be a Velocity problem or a
caching problem. A menu is called from the left-side navigation menu
XWiki.Menu. I have included it via #includeTopic, and it use
#includeMacros to bring in a macro that reads a document with a list of
objects describing menu items, with a menu label, an href, and a long
description. If the href field is a complete URL, it's output as a
plain link; if it's a local Wiki document, it's output with XWiki's
bracket syntax and its place is held in the menu as a navigational aid.
If it is also in the Web reserved for such documents, it's a submenu,
and the menu macro is called again (thanks to the earlier thread, I did
use a copy of the argument, which is call-by-reference, and saved
headaches).
All of this works just fine except the first time it's called after the
server starts. Instead of the menu text, all I see is the invocation of
the macro. Viewing the menu document directly (as I did when I sought
to debug it) fixes the problem for all until the next reboot.
So what is this? I read some discussion on the velocity-user mailing
list about when and how macro templates are loaded, but didn't
understand it well; in addition, there is all this confusion about when
to include in what way.
brain[sic]
Hi, currently in my wiki, for administrative reasons, there is Admin as
only user, everybody else is a Guest., but in the upper right corner
still i have the register option and i cant find how to hide or remove
this option from there, its possible ? WITHOUT change the skin,
implement css vm templates and all this complicated issues (from my
ignorant point of view, of course)
Mmmm... there some good doc or tutorial about how to change the skin,
for a css and Velocity ignorant ?
Thanks !!
Still trying to solve the Lucene plug-in problem....
--
A.U.S. Enrique Ferreyra
Centro de Cómputos
Red Megatone - Red Confina
Hi, im looking at the code of Main.WebSearch, in particular the SQL that
generate...
In several places the basis of the search is a sentence:
like '%$text%'
How difficult is to add to the form a check control for Matching case,
and the build the SQL with something like (here is when i need help)
like Upper('%$text%')
Or something like that, does anybody do this before? Or i start to broke
forms :)
I assume, need to look at the JDBC Api to see the way i can express
Upper or Lower functions...
Any help welcome.
Thanks
--
A.U.S. Enrique Ferreyra
Centro de Cómputos
Red Megatone - Red Confina
My apologies! This is not a problem with the wiki,
as I'm sure most of you have already realized.
The problem was caused because I am using Firefox and
by default it does not allow access to the file system
via links with the file: protocol.
IE works fine.
There is a description of the file based URL at
Wikipedia that also has a link to solve the problem.
http://en.wikipedia.org/wiki/File:_URL
Sorry for the inconvenience!
-----Original Message-----
From: Graham,Neil [NCR]
Sent: April 4, 2006 2:14 PM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] File URL not working in 0.9.840?
Greetings,
I have just downloaded and installed Xwiki 0.9.840 and it seems to be
running fine, but I cannot link to files or directories on my windows
file system using the file: protocol.
This is what was suggested in the FAQ
(http://www.xwiki.com/xwiki/bin/view/Doc/HowDoICreateALinkToAFile )
And I have tried many variations of the URL to link to both local files
(file:///<dir>, file://<dir>, file://c|/<dir>, etc.) and network
(file://<host>/<dir>, file://///<host>/<dir>, etc.).
This does not appear to work, even though I've done the same thing on
other wikis (JSPWiki syntax: file:/host/<dir>) and it works fine.
The FAQ says it should work. Does anyone have any help?
I find xwiki to be a superior wiki, but if I can't do this
I will have to switch to another one.
Greetings,
I have just downloaded and installed Xwiki 0.9.840 and it seems
to be running fine, but I cannot link to files or directories on my windows file
system using the file: protocol.
This is what was suggested in the FAQ
(http://www.xwiki.com/xwiki/bin/view/Doc/HowDoICreateALinkToAFile )
And I have tried many variations of the URL to link to both
local files (file:///<dir>, file://<dir>, file://c|/<dir>, etc.)
and network (file://<host>/<dir>, file://///<host>/<dir>, etc.).
This does not appear to work, even though I've done the same
thing on other wikis (JSPWiki syntax: file:/host/<dir>) and
it works fine.
The FAQ says it should work. Does anyone have any help?
I find xwiki to be a superior wiki, but if I can't do this
I will have to switch to another one.