Hi all!
I just wrote the hello world plugin tutorail that I wish I had when I
began to develop applications with XWiki. Check it there:
http://www.xwiki.org/xwiki/bin/view/DevGuide/HowToDevelopAPlugin
There are two or three things that I couldn't explain. If you can do
this, it would be really great. By the way, if you don't like the
presentation (the page contains a lot of verbatim code), please feel
free to change it (that's a wiki, right?).
--
_ _ Julien Bourdon
(o)(o)--. http://purl.org/net/JulienBourdon
\../ ( ) self isAddictedTo:(#Squeak&#linux)
m\/m--m'`--. ^true
I mean the one in the java source code :
"package com.mydomain.myWonderfulPackage;" which is a compilation directive,
isn't it? Perhaps that "create the classes tree, compliant to the package
structure" would be better...
On 23/03/06, thomas doucedame <thomasdoucedame(a)gmail.com> wrote:
> Woah ... great :-p
>
> by "create the classes tree, compliant to the "package" directive that you
> set in the plugin source files", did you mean "directory"? (I'm not able
of
> writing such a doc neither a plugin, but I nerdly focused on typing
> mistakes, something I can't explain... :-$ )
>
> Bravo,
> Thomas
>
>
> 2006/3/24, Julien Bourdon <bourdux(a)gmail.com>:
> >
> > Hi all!
> >
> > I just wrote the hello world plugin tutorail that I wish I had when I
> > began to develop applications with XWiki. Check it there:
> >
> http://www.xwiki.org/xwiki/bin/view/DevGuide/HowToDevelopAPlugin
> >
> > There are two or three things that I couldn't explain. If you can do
> > this, it would be really great. By the way, if you don't like the
> > presentation (the page contains a lot of verbatim code), please feel
> > free to change it (that's a wiki, right?).
> >
> > --
> > _ _ Julien Bourdon
> > (o)(o)--. http://purl.org/net/JulienBourdon
> > \../ ( ) self isAddictedTo:(#Squeak&#linux)
> > m\/m--m'`--. ^true
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-dev(a)objectweb.org
> mailing list.
> > To unsubscribe: mailto:
> xwiki-dev-unsubscribe(a)objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
> >
>
>
--
_ _ Julien Bourdon
(o)(o)--. http://purl.org/net/JulienBourdon
\../ ( ) self isAddictedTo:(#Squeak&#linux)
m\/m--m'`--. ^true
I'm still testing the latest XWiki source code. It seems that there are some
bugs in simple form.
For instance, I've a form like this (this is the classic photo album) :
Title: $doc.display("title", $obj)
Description:
$doc.display("description", $obj)
#set($newtitle = $request.title)
#if($newtitle)
#set($newtitle = $newtitle.replace('"',"'"))
<script type="text/javascript">
var title = "${newtitle}";
{pre}
document.forms.edit["XWiki.PhotoAlbumClass_0_title"].value = title;
{/pre}
</script>
- When I edit the page, I see the right form.
- But when I change a input and save the form, the value has not been changed.
I've tested it on all my Wikis (since I have a virtual wiki configuration).
How the "Edit Object" action still works.
Regards
--
Xavier MOGHRABI - Consortium ObjectWeb