Hi XWiki devs,
At Mandriva we have the need for a class property type that would be
able to handle dynamic lists. Well, the DBList properties are already
dynamic, but we'd need something more dynamic.
Usage examples:
* apply some filter to a list of results fetched from the database,
* translate the DBList values returned by a SQL query before presenting
them to the user
* build lists from other sources than the database (from a web service
call etc.)
Such lists would be built by a Velocity or Groovy script, declared as an
attribute of the class property. What do you think of the feature? Do
you have any suggestion on the way it should be implemented? We could
either create a new Java type "DynamicList" + new wiki table
xwikidynlistclasses, inspired by the "DBList" Java type, or transform
the DBList into a "DynamicList" that would handle either Hibernate SQL
queries, or Velocity/Groovy scripts. That would be handy also to have
the possibility to specify the name of the document containing the
script to be executed, if the script is to be reused by several classes.
Stéphane and Christophe
Hello,
Has anyone here had experience developing a JXTA or Eclipse RCP application?
I have a few questions:
JXTA and other protocols:
Is there anyway to autoconfigure during the first launch of a
JXTA-enabled program instead of showing the user the configurator?
(start with default settings and put the configurator into a settings
menu?)
Is Rendezvous in JXTA the same as Apple's Bonjour (formerly known as
Rendezvous) ?
http://en.wikipedia.org/wiki/Bonjour_%28protocol%29
Eclipse RCP:
What constraints are there to developing Eclipse plugins as opposued
to raw Java applications?
If my application is based on a Model-View-Controller pattern, can I
simply develop the model for my application, and then later develop an
RCP plugin for the View/Controller?
Thanks for any help,
Kevin Chiu
Hi Xavier,
I just wanted to let you know that we have a couple of conference projects
and I would be interested in discussing / working in this area with you and
any other interested users and developers. I am working with a small team to
build an event wiki for Connexions which will take place in October and I am
porting and extending some networking features that allow organisers to
match conference attendants and experts among themselves. I started writing
the user stories for this (in French), we could share and discuss them if
you are interested.
Luis.
On 7/28/05, Xavier MOGHRABI <xavier.moghrabi(a)objectweb.org> wrote:
>
> Dear all,
>
> I'm trying to create a form in order to register visitors to a conference.
> Thus I've created a XWiki class to store data concerning visitors.
> I've created this document :
> Main.RegistrationClass that contains the class
> Main.RegistrationClassTemplate that contains an object of the previous
> class
> Main.RegistrationClassSheet
>
> I need to make some verifications when people registering. Thus I've
> created a
> Document that I called Main.RegistrationNewVisitor that displays a form
> and
> control data.
>
> The problem I have is that I don't know with using velocity script how I
> can
> forward. Thus I've created a javascript script that forward to the desired
> page by clicking on the hidden form.
>
> Any idea ?
>
> Regards
>
> --
> Xavier MOGHRABI - Consortium ObjectWeb
> Email: xavier.moghrabi at objectweb.org <http://objectweb.org>
> Phone: +33 4 76 61 52 35 - Skype ID: xavier.moghrabi.bureau
>
>
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.orgmailing 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
>
>
>
--
Luis Arias
http://www.xwiki.comhttp://www.innover-entreprendre.net
skype : kaaloo
+33 6 14 20 87 93 mobile
This is probably best in the developers list. Maybe Alexis can give you a
hand with this. From what I know the user documents *do* have to exist in
the wiki. But I'm afraid I don't know enough to point about the LDAP
implementation to point you out in the right direction...
Luis.
---------- Forwarded message ----------
From: Matthew Conway <conway(a)tripadvisor.com>
Date: Jul 28, 2005 4:47 PM
Subject: [xwiki-users] Question about authentication
To: xwiki-users(a)objectweb.org
I'd like to be able to use XWiki with an alternate source for user
authentication and I thought creating my own auth service might do the
trick. However, on further thought, I'm not sure how this would work -
doesn't the XWiki user document still need to exist as a place to store
user settings (e.g email notification plugin stores an object there)? I
dug around a bit in the LDAP service code, and don't see anywhere where
it creates the xwiki user document, so I'm wondering what I'm missing.
I was thinking that maybe it should should auth the user then create the
user doc if it doesn't already exist. I guess the code/pages I have
that register that user could also send a message to xwiki to create the
user, but for LDAP user management clients that may not be possible, so
I must be missing something.
Is there a better way to do auth that I don't know about? Our user data
is in a set of DB tables.
Thanks,
Matt
--
You receive this message as a subscriber of the
xwiki-users(a)objectweb.orgmailing 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
--
Luis Arias
http://www.xwiki.comhttp://www.innover-entreprendre.net
skype : kaaloo
+33 6 14 20 87 93 mobile
I'm currently trying to create a survey feature :
http://www.xwiki.org/xwiki/bin/view/Dev/Polls
Currently, it works without complete translation and a painful piece of
code :
http://club-beta.mandriva.com/xwiki/bin/view/Survey/SatisfactionSurvey
I'm facing somes problems :
- Translatable property value doesn't exists, useful for ListClass
properties.
- Separated label and value in select (ListClass).
- No getBooleanValue method in BaseCollection.
Not real problems :
- Lack of documentation. At least commented XWiki API Documentation
could be really helpful.
- 'Turns You Crazy' API : The difference between Document and
XWikiDocument is thin but crucial, same with Class and BaseClass and
many others. It's sometimes killing simplicity in the name of
abstraction : doc.getxWikiClass().getXWikiClass().getFieldList()
So if you could help or give me any hints/advice to add this feature in
xwiki, or if an more easy/universal way to add this feature in xwiki
exists, tell me.
Best regards,
Tim
--
http://people.tryphon.org/~tim/
Hi,
I've just tried Jeremi's packaging
(http://www.xwiki.org/releases/xwiki/xwiki-package-jetty-0-9-840.zip).
Well done! This is great and make it very simple to try out XWiki. It's very
cool :-)
Some small comments:
1/ Remove xwiki.log that should not be there before starting xwiki
2/ What's the difference between ext, lib and extra/lib?
3/ There are licenses in both etc/ and license/ directories. Maybe they
could be regrouped together?
4/ In webapps/ there's a index.html~ file that should be deleted
5/ It didn't work when I executed start.bat (see attached log). I had to
manually create the logs/ directory.
6/ http://localhost:8080/xwiki/ points to a page with a link to the wiki. It
should point directly to the wiki. Actually http://localhost:8080 should
point to the wiki IMO.
Again those are all very minor. This is a great install.
-Vincent
Hi all,
just working with XML/RPC interface, namely the renderContent(String token, String spaceKey, String pageId, String content) method. The documentation (on confluence site) says: "If 'content' is provided, then that is rendered as if it were the body of the page (useful for a 'preview page' function)". I expect the method returns valid and complete HTML code as is returned during "preview" of wiki pages.
Is this expectation correct?
Unfortunatelly, the code returned does not seem to be complete and valid HTML, there are <html> and other formal elements missing (this is a minor problem). The major problem is, that the code does not refer to any stylesheet; the page is rendered in "default" style, where tables has no borders etc.
Any hints?
Thanks,
~sp
Hi,
Thierry Grandsart is an intern working on ergonomics for XWiki. He has
been working on studying the different wikis and making some
recommandations on the XWiki interface.
We'd like to include you in giving us feedback about his proposals and
particpating in the discussion around them.
He has started publishing a first sketch of a new interface proposal for
XWiki at
http://www.xwiki.org/xwiki/bin/view/Dev/Ergonomics
Other proposals will follow and will be put up to discussion..
Don't hesitate to comment on the XWiki document or in the JIRA task at
http://jira.xwiki.org/jira/browse/XWIKI-109
Ludovic
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Xavier MOGHRABI wrote:
> xWiki works with UTF-8 Characters after some modifications, live example is on
> http://zh.objectweb.org
>
> There are some modifications to do in the code of xWiki, you need to configure
> xWiki to manage UTF-8 and to use a database without non UTF-8 code.
Whether use of non-English _names_ of documents is possible?
I have made all that is written in
http://www.xwiki.org/xwiki/bin/view/Dev/CharactersSets
But Russian names of documents displays incorrectly. On zh.objectweb.org
too.
From a code I have understood, it of that request.getPathInfo and
getParametr (for parameters in uri) are not decoded in utf.
It so, or I have incorrectly setup xwiki?
(or it is servlet api bug?)
I set SetCharacterEncodingFilter off by add ignore=false and rewrite
XWikiServletRequest.get, getPathInfo, getParameter to decode from
ISO-8859-1 tо UTF-8
Names now working fine, but i found next problem:
when i click on new,unedited link [newlink], open edit form. In this
form field "Parent" fills not decoded.
PrepareEditForm.setParent called 2 times, first call is decoded (from
PrepareEditForm.reset), second - not decoded (from beenutils).
Main questions:
1 That second PrepareEditForm.setParent call for?
2 Why it is not decoded?
3 How i may decode it?
Now i`m decode in setParent. This is bad idea, but works..
Soon i will open http://usunet.ru/wiki/ - Ural State University XWiki.
~Environment~:
Gentoo Linux, LANG="ru_RU.UTF-8"
Sun JDK 1.5.0.04, JAVAOPTS="-Dfile.encoding=UTF-8"
Tomcat 5.0.27-r6
DB: empty unicode db on PostgreSQL v8.0.3
(Sorry my English)
--
Artem Melentev, UralSU, CS301. jabber: amelentev(a)jabber.ru
Right.. It's a good time to regenerate some API docs.. I'll try to make
a pass this week on documenting a little the API and then regenerate
some documentations..
Actually you should post this to xwiki-dev as it is of interest to the
whole developer community and not only the Summer of Code students..
Anybody knows good documentation tools besides javadoc to show an API..
Ludovic
Bikash Agarwalla a écrit :
> Hi, I have been looking at xwiki docs to understand current
> architecture and came across the following arch figure:
>
> http://www.xwiki.org/xwiki/bin/download/Main/XWikiArchitecture/xwiki.jpg
>
> It is impossible to read this figure - the other figures on
> http://www.xwiki.org/xwiki/bin/download/Main/XWikiArchitecture, when
> magnified, show clearly the method names etc, but this one doesn't.
>
> I understand that the docs are probably outdated, I wanted to point
> this out and find out if there is any version of this figure which may
> be easier to read.
>
> Thanks,
> Bikash
> _______________________________________________
> soc-students mailing list
> soc-students(a)xwiki.org
> http://mailing.xwiki.org/mailman/listinfo/soc-students
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Well, I have some good news and some bad news.
The good news is that I just burrowed ahead and did
manage to [files attached]:
a. Add
b. Retrieve
c. Delete
a Page via the implementation that is available in the
most-current release of XWiki.
The bad news is:
a. The delete function was not, in fact completely
engineered/tested, but the work-around was
trivial, so I just fixed it in my local version.
b. The methods that are designed for solving your
problem, however:
i. getUser,
ii. addUser,
iii. addGroup,
iv. getUserGroups,
v. addUserToGroup
have not yet been coded.
So, in order to have the benefits of an xmlrpc-based
implementation, you'll need to get the development
team to complete the Confluence emulation code.
Since they already have a zillion items in their
backlog, you might find a quicker solution by pulling
the pieces out of Mr. Lauriere's 'extended profiles',
and using that as the basis for your import.
Terry
P.S.
I'm still very willing to go the 'extra mile' to build the
attached into a capability for you [and others], but
grepping through the code to discover how the API
handles the necessary Hibernate mapping to the
XWiki-proprietary database schema is not exactly the
way my granddaughter expects me to entertain her
during the dog days of her summer vacation. You might
spend some time looking at what the implementation of
'Add User', 'Add Group' and 'Add User To Group'
functionality appears to be, and maybe it will prove
to be just a few hours of code and test to insert those
method invocations into the corresponding methods of
com.xpn.xwiki.xmlrpc.ConfluenceRpcHandler.
----- Original Message -----
From: "Paul Dlug" <paul.dlug(a)gmail.com>
To: "tcorbet" <tcorbet(a)ix.netcom.com>
Sent: Sunday, July 17, 2005 11:15
Subject: Re: [xwiki-users] Creating users as a batch
I'm not particularly in a rush, I'm actually on vacation this week.
I'm very interested in having an XML-RPC type interface to do this and
other things. I'm going to have more needs along these lines as time
progresses, we're rolling out the wiki across our entire organization.
Please let me know if I can help in any way, I do have a good deal of
experience in developing XML-RPC interfaces, though no experience with
confluence.
Thanks,
Paul
On 7/16/05, tcorbet <tcorbet(a)ix.netcom.com> wrote:
> Paul,
>
> You can, no doubt, accomplish your task of creating 150 accounts
> through the XWiki application's U/I than I can design/write/test
> and document a solution. But, if you can tolerate probably four
> or five days of delay, I would be willing to create a utility for
> batch loading of users.
>
> From what I have been able to find in the way of documentation
> of XWiki's support of the Confluence-defined, Wiki-related
> xmlrpc methods, I think I could cobble together the necessary
> Java code. Probably the correct input would be an XML Schema
> .xsd file defining the User/Group attributes with use of a validating
> SAX parser so that you would get some helpful error messages
> when the inevitable incorrect input sneaks into your .xml input file.
>
> Of course, the way software requirements just keep expanding, I
> would anticipate that you really want the inverse utility as well --
> a dump into .xml of the currently-registered users. I am assuming
> that there is some other 'system of record' where your users are
> defined, so the 'dump-from-XWiki' output would give you a
> text file that could just be 'diffed' against whatever other list of
> users exists for a quick check on the sanity of things.
>
> I have no need for these utilities for my own modest sub-system,
> but if they would benefit you and others, I would be willing to
> undertake the development as I do need to write similar code for
> import-export of some other XWiki objects via xmlrpc in any case.
>
> ----- Original Message -----
> From: "Paul Dlug" <paul.dlug(a)gmail.com>
> To: <xwiki-users(a)objectweb.org>
> Sent: Saturday, July 16, 2005 07:38
> Subject: [xwiki-users] Creating users as a batch
>
>
> Is there any way to create users in a batch? I'm facing the need to
> create about 150 accounts at once, we have registration turned off
> because we want control of the users and we want to choose their
> WikiName's for them.
>
> It would also be necessary to put them in groups as a batch also. Is
> this problem as simple as just inserting rows directly into the
> database or are there other things I need to take into consideration?
>
>
> Thanks,
> Paul
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> >
> > --
> > 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
> >
>
>
On 7/17/05, Abdul Haseeb <hasseeb(a)gmail.com> wrote:
> Hi Jeremi,
>
> hope you are fine, i need some help from you,
>
> Where can i get Photo Album Application Package ? Ludovic mentioned that
> you have packaged few Applications.
>
> If not available then where can i get Photo Album Class ?
>
> Which applications have you packaged ?
> Can you give me some Package so that i start unit testing on that
> Application Pacakge,
Hi Abdul,
Like I've said in a previous message on the xwiki dev list, I have not
packaged any application for the moment. I will do it during the next
week.
the Photo Album Class is in /xwiki/bin/view/XWiki/PhotoAlbumClass
Jérémi
--
portable : 06.73.20.11.49
http://www.jeremi.infohttp://www.xwiki.com - http://www.moovement.com
skype: jeremi23
Hi,
I've added another proposed feature + some work implementing it at
following URL:
http://www.xwiki.org/xwiki/bin/view/Dev/Improved+XWikiMessageTool+for+manag…
The idea is to use a Document for storing i18n resources instead of
static files, so that they can be edited online and in a collaborative
manner, and have their keys synchronized when the master document is
updated. The proposal is also to use the "GNU Portable Object" format
(PO) instead of properties file format, as it is widely used for
translating software messages. There is however an interface that allows
for implementing the tool for any format.
Stéphane
Hi All,
How do you modify the User Profile and add additional persistent properties?
Do I modify the XWiki.XWikiUsers class?
Also how do you retrieve these property values?
Thanks.
Duke
Hi all,
I've updated the XWiki Roadmap to 1.0RC1, then RC2, then XWiki 1.0.
There is currently 101 tasks open.
If you think some are missing either complain or add the task. It's not
clear how we will make the schedule work but at least we have a plan.
http://jira.xwiki.org/jira/browse/XWIKI?report=com.atlassian.jira.plugin.sy…
Ludovic
Has anybody tried using <iframe> in a wiki page? The page renders ok but the
Menu and Toolbar does not appear. However if you view the html source, the
Menu and Toolbar html content is there.
Any ideas?
Duke
Hi Jie,
Thanks for your email.
For XWiki the way I would do it:
- Have the FAQBot hosted on a wiki page. This page would have a text input
field for letting users enter queries and it would list answers on the page.
We should also provide other interfaces like IRC/chat/mailing list.
- Have some macros that can be used in the same manner as the {excerpt}
macro is used by Confluence. One macro would be used to designate a
question, another one for an answer and yet another one for a srai.
- Have some pages that are AIML sets. Mark them using a XWiki object class
and load them when the FAQBot page is loaded.
- Create on the fly AIML sets by aggregating all information scattered in
the different pages (using the macros)
About the reinforcement. It could be done by different ways. One idea:
- On the FAQ bot page we could have a "teach" button where we would ask the
user to enter his question and the answer he would have liked.
- All these user questions/answers will be added automatically to a User
AIML set (a xwiki page containing AIML). This AIML set will also be loaded
by the FAQBot page (same as the other AIML sets).
- Whenever this user AIML set page is changed a diff email will be sent to
the XWiki dev mailing list. The idea is that XWiki community will provide
oversight about new questions/answers. The reason for the oversight is
double:
- to verify users do not enter stupid questions/answers
- to possibly refactor the existing AIML sets or pages containing custom
tags by removing the user-entered information and placing it where it is
more appropriate.
Again, all this should be packaged as a XWiki application. Jeremi Joslin
should be able to help you about the format (he's the one who's created the
notion of XWiki applications).
Last, we need to start deciding on the project directory structure in SVN.
Could you please come up with a proposal? Also, we're doing a generic FAQBot
so I'd like it to remain as separate from XWiki as possible. The generic
part and the XWiki specific ones should be cleanly separated in this
directory structure. Could you please come up with an architecture diagram
fro this?
Thanks
-Vincent
PS: I'm cc-ing the xwiki-dev mailing list. They may have some
ideas/remarks/feedback.
PPS: I'd need a formal updated proposition from you listing deliverables and
planning so that we're clean WRT Google. Including the architecture diagram
in the proposal would be nice.
> -----Original Message-----
> From: Jie Tang [mailto:jietang@fas.harvard.edu]
> Sent: lundi 11 juillet 2005 08:01
> To: Vincent Massol
> Subject: RE: [SOC] Faqbot (ping?)
>
> Hi Vincent,
>
> Hope everything is going well with the baby, and congratulations. Take
> whatever
> time you need to get settled...I'll be ready whenever you are.
>
> First off, I still think that the Faqbot is something I'd like to do. I've
> been
> thinking over how to implement some of the ideas for the bot this weekend,
> in
> addition to building some elementary aiml sets.
>
> The idea behind the Xwiki plugin is that an xwiki page can have a section
> designated as an faq (through some specially formatted comment?). When
> this
> page is updated by a user, the new faq content is run through the macro,
> which
> will transform the faq text into aiml expressions, which can then be
> loaded by
> the faqbot dynamically. Thus, in theory it wouldn't require a webmaster to
> run
> any extra utilities to have the faqbot incorporate the extra knowledge.
> The
> algorithm could have the bot read in the question part of the FAQ, looking
> for
> keywords that it already knows how to process. It would then try to
> generate a
> bunch of questions similar in wording to the new question, to allow the
> bot to
> provide answers to questions not worded exactly the same as the original
> query.
> It would associate the questions with the proper answer. The answer part
> of the
> FAQ would have to be processed too, to find key phrases which the bot
> already
> understands. This set of phrases would also be associated with the new faq
> entry, and the bot would then ask one of these associated questions
> depending
> on the users response.
>
> The tough part would be to figure out how exactly each entry refers to the
> other; i.e., where the bot should go next after receiving a certain
> response
> from the user. One possibility would be extra formatting and markup,
> describing
> which other faq entries to look at for related knowledge, what to do if
> so-and-so is the response, etc., within the XWiki page. While this would
> be
> easier to implement, the more markup is required the less useful this will
> be
> over writing new aiml files entirely.
>
> The other idea is to implement some sort of reinforcement/learning in the
> bot.
> (this is more appealing to me, though I'm unsure how feasible it is).
> Ideally,
> a user would be able to rate the usefulness of the bot's responses to
> their
> queries, or suggest new responses; the bot would then be able to adjust
> its
> responses accordingly. This could be accomplished through creating
> entirely new
> aiml files, modifying existing aiml files (i.e., using a <random> element
> and
> weight certain responses more than others), or an exta system which causes
> the
> bot to learn and unlearn aiml. This would mimic a simple neural network
> algorithm, implemented in aiml.
>
> I've a feeling that I'll be working on the aiml sets for awhile. I look
> forward
> to hearing your thoughts on the new ideas?
>
> Thanks, and take care,
>
> Jie Tang
[snip]
Hi All,
Typically I retrieve cookies used for rendering with the OnLoad event in
Javascript. Do you know how to do this from a xwiki page or any other
alternatives?
Thanks
Duke