Hey,
I have a few questions on a variety of topics
1. Is there a method that returns the access rights for a given group? I tried to use method hasAccessLevel to return the access rights (at the group level) but it seems that the method only applies for users and not groups.
To expand on this thought, where are all the group names stored? I've been using hasAccessLevel using XWiki.{groupname} as the parameter, so I am not sure whether I am calling it right.
2. It seems that no one has addressed Mike Davis's question, but since I also need to do something similar to what he brought up, I'd like to bring it up again:
Mike Davis said:
"2) Is there a way to remotely access a sql 2005 database from an xwiki
script? A groovy wrapper for java jdbc or something. I want to query
the database and put the results in a livetable, but the db lives on a
completely separate server."
I understand that accessing files depends on the web server you are running xwiki on, but I am almost clueless on how to access information on another server from a web server. I'm not sure if I am asking the right people, but if someone would like to enlighten me, I'd greatly appreciate it.
3. Regarding Livetable, I need to create a (huge) table that includes the User field and well as the AllDocs field. What I am trying to do is create a table that will display the access rights for a given user and given document. Livetable is obviously the best option for this kind of task because of its organization, but it seems that I can only use one classname and either display AllDocs or Users on the livetable, not both.
Thank you,
Felix
Following velocity allows to create simpe xwiki document:
#set ($mydoc = $xwiki.getDocument("Sandbox.Test1"))
$mydoc.setContent("sdfsdf")
$mydoc.save()
But How can I create custom object?
http://hans.gerwitz.com/projects/snipsnap-to-xwiki
shows some ideas but I can't make it working for me.
Another (awkward) way would be executing external curl command.
How can I do this?
Thanks,
Valdis
Hi,
I did not find a "DeleteProperty" feature.
What is the reason?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hi,
We are having problem with importing document from xwiki 1.9 into 2.1. (Most
of the data in 1.9 was previously imported from v1.7). Any insight will be
appreciated.
In the log file, there are SQL errors:
ERROR 2010-02-09 15:20:23,022 (Package.java:628) - Failed to save document
ABCD.System Management Plan (SMP)
WARN 2010-02-09 15:20:23,084 (JDBCExceptionReporter.java:77) - SQL Error:
1400, SQLState: 23000
ERROR 2010-02-09 15:20:23,084 (JDBCExceptionReporter.java:78) - ORA-01400:
cannot insert NULL into ("XWIKI"."XWIKIOBJECTS"."XWO_CLASSNAME")
ERROR 2010-02-09 15:20:23,084 (AbstractFlushingEventListener.java:301) -
Could not synchronize database state with session
org.hibernate.exception.ConstraintViolationException: could not insert:
[com.xpn.xwiki.objects.BaseObject]
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
Thanks
Jin
Did some programmed a glossar for xwiki?
My impression is, this is not to complicated.
Did some programmed a forum for xwiki?
This looks much more complex to me.
However, maybe the commenting facility is suffient for a simple forum.
If yes, are you willing to share code?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Now I have more tricky question -- how to add custom object using Xwiki
REST service.
By browsing existing ones I assume, I can create linked custom object
using POST before, and get object id.
Then I add wiki document using PUT and set relation to previously
created object.
Is it right approach to test?
Are there more recommendations beside
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI
Thanks,
Valdis
Hello,
I have problem with editing documents with the new WYSIWYG editor (page
syntax – XWiki 2.0) - on attempt to create a link to existing documents I
get a message “There was an error loading the data” – it looks like the
select from the xwikidoc table doesn’t work properly.
Log file: “Exception while searching documents with sql select distinct doc
from XWikiDocument doc where 1=1 and doc.author='XWiki.Admin' order by
doc.date desc” and
Oracle error “ORA-00932 inconsistent datatypes”. The full log files
attached.
Even so, if I switch to tab “All pages”, I can see the list of all existing
pages, but cannot select any of them.
Links creation with XWiki 1.0 syntax works fine.
Are there Oracle-specific workarounds or is it just a bug?
Our environment: XE 2.1.1 + JBoss 5 ( jdk 1.6 ) + Oracle 10g.
http://n2.nabble.com/file/n4556042/wysiwyg_editor.jpg wysiwyg_editor.jpg
http://n2.nabble.com/file/n4556042/server.log server.log
http://n2.nabble.com/file/n4556042/xwiki.log xwiki.log
Thanks,
Alla
--
View this message in context: http://n2.nabble.com/ORA-00932-inconsistent-datatypes-expected-got-clob-tp4…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everyone,
The Google Summer of Code 2010 is on and we'd like to propose some projects for XWiki.
Some of us have started with some ideas at http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/
Please join us in proposing ideas.
Then once we have enough we'll decide which ones we keep and students will apply on the projects we'll have kept.
Thanks
-Vincent