Hi Uwe,
On Apr 4, 2007, at 7:37 AM, Oova wrote:
I m using the XWiki farm and although I am stoked about the
capabilities to
add properties, create classes and use document as objects I still
lack the
complete understanding of the inner relationships and have to
interpret
existing code examples, the API docu and use trial and error for
making
(slow) progress. Here are two categories of questions, I
intentionally did
not post as separate items, since others might encounter the same:
Category Bigger Picture:
- I started creating my application using the current release on the
xwiki.com farm, how much rewriting do I have to do after XWIKI V1.0
will be
released? None I assume, but I want to make sure.
The farm is upgraded when new releases come out but we're lagging a
bit behind. I think the farm is currently on 1.0 Beta 3. This means
that you won't have anything to change when we upgrade to Beta 6 and
later 1.0, etc.
- How is the visibility of references across
spaces/pages? I assume
references created locally on a page (e.g., $mydoc) stay local,
means if you
want for example work with one document on the menu and the toolbar
and the
main page, you have to create a kind of administrator object, which
can be
used across the xwiki or space. What is the recommended practice here?
Have you tried it? I don't have the time right now but I'd say the
scope is global.
- How is the visibility of Objects across pages? I
noticed that a
link to
another page from the menu page had the question mark behind it, if
the home
page was shown on the main page, but was available, if one of my
own pages
are on the main page. This suggests, although the menu and the home
page
have the same parent (do they?) and my own created page shares only
the same
root (xwiki I assume) with the menu page that there are mechanisms
I don't
understand. Please help
A full page name has the space mentioned as in Space.Page (e.g.
Main.WebHome). If on a page from a different space you include pages
from another space you need to use the full name with the space.
Otherwise it's not required.
- I would volunteer to create a docu about how to use
the API, if I
understood the inner guts of it. When is a documentation planned
with some
examples, who is in charge of it and could help?
Have you checked the documentation on
http://xwiki.org? What is
missing? Everyone is in charge... It's a wiki. You see something that
is required, you volunteer, you ask on the list first and explain
what you want to do and when you get agreement, you edit pages on
xwiki.org and implement it.
I do look after
xwiki.org to ensure it stays consistent, has a good
quality, etc.
- Are there any recommended practices for how to use
HTML
constructs and the
implication on how the panels and the main page look like then?
E.g., using
frame, iframe
Not that I know of. General rule is to use the minimum of HTML.
- How to I archive the code I created? Any
export/import mechanism
available?
Have you checked the documentation on xwiki.org? :-)
I'm not giving you the answer as I want to ensure this is something
easy to find out. If you don't find it easily please let us know
where you were expecting it so that we can improve the documentation!
Category: How to do ....
- How do I change a value of a property of an object and commit it
so it is
stored in the database?
Just edit the property and save the page. If you're talking
programatically, then set the value and call $doc.save() (I haven't
tried it so I'm not sure).
- How do I use the property "Database List
Class", it seems very
powerful in
creating dynamic lists of values, references to other objects etc.
but I am
unable to decipher how to use it.
Never used it
-How do I create Classes inheriting other Classes I
created?
You can't (AFAIK).
Thanks
-Vincent