Is it possible to add other attributes / properties to a "wiki page"?
For example when you edit a page, you currently get the page content,
parent, default language and creator properties. Can you add additional
properties such as keywords / tags which may be referenced by scripts?
Thanks.
Duke
my logs from the mail plugin are at the bottom of this mail....Notice the
"skipping subscription of user dhiller since not our scheduler name:
[daily]". What does this mean? I notice my properties file has often,
hourly, daily, and weekly. All are commented out except for often which is
set to every 1 minute for now as I test this out. I do a google and find
the following code snippet....Why is only daily firing and not often. I am
very confused here. thanks for any help....dean
+ Collection userDocs = xwiki
+ .getStore ()
+ .searchDocuments (
+ ", BaseObject as obj where
obj.name=CONCAT(XWD_WEB,'.',XWD_NAME) and obj.className='XWiki.XWikiUsers'",
+ context);
+ for (Iterator iter = userDocs.iterator (); iter.hasNext ();)
+ {
+ // XWikiDocument doc = xwiki.getDocument ((String)
iter.next
(),
+ // context);
+ XWikiDocument doc = (XWikiDocument) iter.next ();
+ if (doc != null)
+ {
+ BaseObject obj = doc.getObject
(EmailNotificationPlugin.SUBSCRIPTION_CLASS);
+
+ if (obj != null)
+ {
+ String schedulerName = obj
+ .getStringValue
(EmailNotificationPlugin.FIELD_SCHEDULER_NAME);
+ if (name.equals (schedulerName))
+ {
+ retval.add (obj);
+ if (LOG.isDebugEnabled ())
+ LOG.debug ("adding subscription of user " +
doc.getName ());
+ } else
+ {
+ if (LOG.isDebugEnabled ())
+ LOG.debug ("skipping subscription of user "
+ doc.getName ()
+ + " since not our scheduler name: "
+ schedulerName);
+ }
+ }
+ }
+ }
18:05:00,011 INFO scheduler1_Worker-2 email notification sender: often
NotificationSender:run:220 - email notification sender thread up and
running.
18:05:00,011 DEBUG scheduler1_Worker-2 email notification sender: often
NotificationSender:run:230 - have 1 modifications...
18:05:00,012 DEBUG scheduler1_Worker-2 email notification sender: often
NotificationSender:checkForTooNewModifications:263 -
lastChangeDateForNotification: Tue Jan 03 18:04:50 MST 2006
18:05:00,034 DEBUG scheduler1_Worker-2 email notification sender: often
NotificationSender:getAllSubscriptions:477 - skipping subscription of user
dhiller since not our scheduler name: [daily]
18:05:00,034 DEBUG scheduler1_Worker-2 email notification sender: often
NotificationSender:run:242 - 0 subscriptions for wiki xwiki
18:05:20,320 WARN Finalizer JDBCContext:finalize:333 -
afterTransactionCompletion() was never called
18:06:00,012 INFO scheduler1_Worker-1 email notification sender: often
NotificationSender:run:220 - email notification sender thread up and
running.
18:06:00,013 DEBUG scheduler1_Worker-1 email notification sender: often
NotificationSender:run:223 - nothing to do, exiting
I just edited a page with 2 users and last user won and was not notified
that he was blowing away changes the other user just made. Is there a way
to turn on locking in xwiki? I don't see this on the features list of xwiki
but most wiki's have a feature to prevent a user from blowing away someone
else's cahnges without knowing about it.
procedure to reproduce:
1. login with user1 and click edit the home page
2. login with user2 and click edit the home page
3. have user1 make changes and save the page
4. have user2 make changes and save the page
user1's changes are blown away and no one new about it.
thanks,
dean
bizarre, I just got this error, but did not get it a second ago. Did I
screw up another part of my install? thanks for any ideas here.
"This object is currently locked by: Dean Hiller.
Click here to force editing"
dean
-----Original Message-----
From: Hiller, Dean
Sent: Tuesday, January 03, 2006 5:33 PM
To: 'xwiki-users(a)objectweb.org'
Subject: no locking in xwiki?
I just edited a page with 2 users and last user won and was not notified
that he was blowing away changes the other user just made. Is there a way
to turn on locking in xwiki? I don't see this on the features list of xwiki
but most wiki's have a feature to prevent a user from blowing away someone
else's cahnges without knowing about it.
procedure to reproduce:
1. login with user1 and click edit the home page
2. login with user2 and click edit the home page
3. have user1 make changes and save the page
4. have user2 make changes and save the page
user1's changes are blown away and no one new about it.
thanks,
dean
Greetings.
I have been using TWiki for about a year and wanted to move over to
XWiki. By profession I have been supporting Apache, IBM IHS, IBM
WebSphere & WebSphere Portal and a few other middleware technologies
for several years now.
At home I'm setting up an instnace of Geronimo and want to run XWiki
under that ( within it's Tomcat container ). I'm new to both Geronimo
and XWiki as specific technologies, as mentioned above I'm not new to
the general technologies of either. I was wondering if anyone on this
list is already running XWiki under Geronimo and may be able to help
if I start hitting any issues I can't work thru?
advTHANKSance!
-Lawrence