I deployed xwiki 0.9.840 in eXo 1.0.1. To customize the wiki, I created the
eXo user Admin/admin and created two Categories. (See
http://193.196.117.26:8080/portal and log in as Admin/admin)
Now I wanted to create a new entry in the category "Biography" so I clicked
on "Biography" in the left menu and added the title of the new entry and
clicked "Add this news".
This resulted in a "not found" error, simply because the button invoked
http://193.196.117.26:8080/inline/Main/PageName?parent=Main.WebHome&templat…
which doesn't exist.
The same happens when I click on any of the blue tabs in the top of the
wiki. For instance, "Home" refers to
http://193.196.117.26:8080/view/Main/WebHome even though the real web home
of the Wiki is located at
http://193.196.227.26:8080/portal/faces/private/Admin/home/community/wiki.W…
When I click on "WebHome" in "Recently visited" on the right side, it works.
So I am wondering: how can I create a new news item? Anything?
Does it have to do with the "Root space name" which is by default set to
"Main"?
Thanks
s.
I can't explain this, but I just tested a few cases and found that it works
if you use this format:
<!-- test test test test --->
(3 - at the end)
Wei-hsing
-------------- Original message ----------------------
From: Jean-Lou Dupont <xwiki(a)jldupont.com>
> Good point. But what confused me a bit is the fact I had put <!-- comment
> here --> inside a form definition in the same document without any problems.
>
>
> E.g. the example below works fine as far as I can tell.
>
> <div class="left" style="width: 150px">
> #includeTopic("XWiki.XWikiCommonJavascript")
> <form action="" id="newdoc">
> <input type="hidden" name="parent" value="Artifact.Home" />
> <input type="hidden" name="template" value="Artifact.Template" />
> <input type="hidden" name="sheet" value="1" />
> Space to create: <input type="text" name="webname" value=""/>
> <input type="hidden" name="name" value=""/>
>
> <!-- TODO: update page name. The document name must be automatically filled
> in e.g. space.home -->
>
> <input type="text" name="title" value="page name" size="18"/>
>
> <input type="button" value="Create this Space" onclick='if
> (updateName(this.form.title,this.form.name)){ action="../../inline/" +
> this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }'
> />
> </form>
> </div>
>
> Jld.
>
>
> -----Original Message-----
> From: Arnaud Bourree [HYPERLINK
> "mailto:arnaud.bourree@gemalto.com"mailto:arnaud.bourree@gemalto.com]
> Sent: September 1, 2006 04:34
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] Issue with HTML comment.
>
> Don't forget to escape Wiki or velocity special character:
> example: if you want to explain in a page how to use velocity macro
> (whatever you put it in a {code} section, you should write something like:
> \#myMacro(\$myVariable, "some text")
>
> For HTML comment you should write:
> <!\-\- my html comment \-\->
>
> Robinson Nathaniel wrote on 01/09/2006 06:57:
> > Does the comment have to be sent to the browser?
> >
> > Velocity has comments (## comments a single line and #* *# comments a
> > block), but the text will only be visible when viewing or editing the
> > code and won't be sent to the browser.
> >
> > -----Original Message-----
> > From: wangwh(a)att.net [HYPERLINK
> "mailto:wangwh@att.net"mailto:wangwh@att.net]
> > Sent: Friday, September 01, 2006 5:23 AM
> > To: xwiki-users(a)objectweb.org
> > Subject: Re: [xwiki-users] Issue with HTML comment.
> >
> > '--' is used in Wiki syntax for other things, I was wondering how to
> > add HTML comments also.
> >
> > -------------- Original message ----------------------
> > From: Jean-Lou Dupont <xwiki(a)jldupont.com>
> >
> >> FYI:
> >> If one is to insert an HTML comment at the end of a document and save
> >> it, the rendered document is completely garbled.
> >>
> >> e.g.
> >>
> >> <input type="text" name="title" value="page name" size="18"/> <input
> >> type="button" value="Create this Space" onclick='if
> >> (updateName(this.form.title,this.form.name)){ action="../../inline/"
> >> + this.form.webname.value + "/" + this.form.name.value;
> >> this.form.submit();
> >>
> > }'
> >
> > 31/08/2006
> >
> >>
> >>
> >
> >
> >
> >
> >
> >
> > ----------------------------------------------------------------------
> > --
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list.
> > To unsubscribe: HYPERLINK
> "mailto:xwiki-users-unsubscribe@objectweb.org"mailto:xwiki-users-unsubscribe
> @objectweb.org
> > For general help: HYPERLINK
> "mailto:sympa@objectweb.org?subject=help"mailto:sympa@objectweb.org?subject=
> help
> > ObjectWeb mailing lists service home page:
> > HYPERLINK "http://www.objectweb.org/wws"http://www.objectweb.org/wws
> >
> --
>
> Reclaim Your Inbox! HYPERLINK
> "http://www.mozilla.org/products/thunderbird"http://www.mozilla.org/products
> /thunderbird
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/435 - Release Date: 31/08/2006
>
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/435 - Release Date: 31/08/2006
>
On Fri, Sep 01, 2006 at 09:10:48AM -0500, THOMAS, BRIAN M (SBCSI) wrote:
> Ryszard didn't say whether he had this problem, possibly because it
> wasn't the root problem. Nor did I when I asked the mailing list a few
> days ago about how to render text fields of a borrowed object in the
> owning document's context. However, I found it to be a problem in its
> own right, because it delayed my finding the root cause - I had to go to
> the server logfiles to find the reference error.
I'm sorry, but I didn't understand you: you presume, that there is no
specific log entry? My exception gives much info about possible
problem...
When speaking of returned document: I forgot to add, that in case of
error (and empty document) http content-type is changing from
application/x-pdf to text/html.
R.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
If the wiki syntax is not activated (?) inside a form, we can simply use that as a feature not a bug...
<form>
<!--...... -->
</form>
I will try it.
Wei-hsing
-------------- Original message ----------------------
From: Jean-Lou Dupont <xwiki(a)jldupont.com>
> Good point. But what confused me a bit is the fact I had put <!-- comment
> here --> inside a form definition in the same document without any problems.
>
>
> E.g. the example below works fine as far as I can tell.
>
> <div class="left" style="width: 150px">
> #includeTopic("XWiki.XWikiCommonJavascript")
> <form action="" id="newdoc">
> <input type="hidden" name="parent" value="Artifact.Home" />
> <input type="hidden" name="template" value="Artifact.Template" />
> <input type="hidden" name="sheet" value="1" />
> Space to create: <input type="text" name="webname" value=""/>
> <input type="hidden" name="name" value=""/>
>
> <!-- TODO: update page name. The document name must be automatically filled
> in e.g. space.home -->
>
> <input type="text" name="title" value="page name" size="18"/>
>
> <input type="button" value="Create this Space" onclick='if
> (updateName(this.form.title,this.form.name)){ action="../../inline/" +
> this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }'
> />
> </form>
> </div>
>
> Jld.
>
>
> -----Original Message-----
> From: Arnaud Bourree [HYPERLINK
> "mailto:arnaud.bourree@gemalto.com"mailto:arnaud.bourree@gemalto.com]
> Sent: September 1, 2006 04:34
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] Issue with HTML comment.
>
> Don't forget to escape Wiki or velocity special character:
> example: if you want to explain in a page how to use velocity macro
> (whatever you put it in a {code} section, you should write something like:
> \#myMacro(\$myVariable, "some text")
>
> For HTML comment you should write:
> <!\-\- my html comment \-\->
>
> Robinson Nathaniel wrote on 01/09/2006 06:57:
> > Does the comment have to be sent to the browser?
> >
> > Velocity has comments (## comments a single line and #* *# comments a
> > block), but the text will only be visible when viewing or editing the
> > code and won't be sent to the browser.
> >
> > -----Original Message-----
> > From: wangwh(a)att.net [HYPERLINK
> "mailto:wangwh@att.net"mailto:wangwh@att.net]
> > Sent: Friday, September 01, 2006 5:23 AM
> > To: xwiki-users(a)objectweb.org
> > Subject: Re: [xwiki-users] Issue with HTML comment.
> >
> > '--' is used in Wiki syntax for other things, I was wondering how to
> > add HTML comments also.
> >
> > -------------- Original message ----------------------
> > From: Jean-Lou Dupont <xwiki(a)jldupont.com>
> >
> >> FYI:
> >> If one is to insert an HTML comment at the end of a document and save
> >> it, the rendered document is completely garbled.
> >>
> >> e.g.
> >>
> >> <input type="text" name="title" value="page name" size="18"/> <input
> >> type="button" value="Create this Space" onclick='if
> >> (updateName(this.form.title,this.form.name)){ action="../../inline/"
> >> + this.form.webname.value + "/" + this.form.name.value;
> >> this.form.submit();
> >>
> > }'
> >
> > 31/08/2006
> >
> >>
> >>
> >
> >
> >
> >
> >
> >
> > ----------------------------------------------------------------------
> > --
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list.
> > To unsubscribe: HYPERLINK
> "mailto:xwiki-users-unsubscribe@objectweb.org"mailto:xwiki-users-unsubscribe
> @objectweb.org
> > For general help: HYPERLINK
> "mailto:sympa@objectweb.org?subject=help"mailto:sympa@objectweb.org?subject=
> help
> > ObjectWeb mailing lists service home page:
> > HYPERLINK "http://www.objectweb.org/wws"http://www.objectweb.org/wws
> >
> --
>
> Reclaim Your Inbox! HYPERLINK
> "http://www.mozilla.org/products/thunderbird"http://www.mozilla.org/products
> /thunderbird
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/435 - Release Date: 31/08/2006
>
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/435 - Release Date: 31/08/2006
>
Does the comment have to be sent to the browser?
Velocity has comments (## comments a single line and #* *# comments a
block), but the text will only be visible when viewing or editing the code
and won't be sent to the browser.
-----Original Message-----
From: wangwh(a)att.net [mailto:wangwh@att.net]
Sent: Friday, September 01, 2006 5:23 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Issue with HTML comment.
'--' is used in Wiki syntax for other things, I was wondering how to add
HTML comments also.
-------------- Original message ----------------------
From: Jean-Lou Dupont <xwiki(a)jldupont.com>
> FYI:
> If one is to insert an HTML comment at the end of a document and save it,
> the rendered document is completely garbled.
>
> e.g.
>
> <input type="text" name="title" value="page name" size="18"/>
> <input type="button" value="Create this Space" onclick='if
> (updateName(this.form.title,this.form.name)){ action="../../inline/" +
> this.form.webname.value + "/" + this.form.name.value; this.form.submit();
}'
> />
> </form>
> </div>
> <!-- This is the end of the document -->
>
> jld.
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/435 - Release Date:
31/08/2006
>
'--' is used in Wiki syntax for other things, I was wondering how to add HTML comments also.
-------------- Original message ----------------------
From: Jean-Lou Dupont <xwiki(a)jldupont.com>
> FYI:
> If one is to insert an HTML comment at the end of a document and save it,
> the rendered document is completely garbled.
>
> e.g.
>
> <input type="text" name="title" value="page name" size="18"/>
> <input type="button" value="Create this Space" onclick='if
> (updateName(this.form.title,this.form.name)){ action="../../inline/" +
> this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }'
> />
> </form>
> </div>
> <!-- This is the end of the document -->
>
> jld.
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/435 - Release Date: 31/08/2006
>
FYI:
If one is to insert an HTML comment at the end of a document and save it,
the rendered document is completely garbled.
e.g.
<input type="text" name="title" value="page name" size="18"/>
<input type="button" value="Create this Space" onclick='if
(updateName(this.form.title,this.form.name)){ action="../../inline/" +
this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }'
/>
</form>
</div>
<!-- This is the end of the document -->
jld.
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/435 - Release Date: 31/08/2006
I was wondering what is the purpose of the XWD_DEFAULT_TEMPLATE field in the
xwikidoc table.
I tried entering a document name (e.g. test.template) assuming that when I
created new documents in the same space (in this case "test") XWiki would
include "test.template" document. I did not to my dismay.
The reason I am asking this question is because I am currently analysing the
architecture for an "artifact manager" application for XWiki. Having a
default template functionality applicable per web space would be one less
function to implement for me.
====
The Artifact Manager would enable the support for things like Product &
Feature Management with management rights per web space (i.e. Product Web
Space, Feature Web Space). This is my target first step but the Artifact
Manager could be extended to include Bugs (i.e. non-compliance) & Use Cases
Management for example.
I also intend to implement categorisation functionality applicable per Web
Space; this functionality is useful for managing a user-friendly navigation
through a Web Space.
Anybody interested in this work, let me know.
Jean-Lou.
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/435 - Release Date: 31/08/2006
We just completed a conversion from XWiki to TWiki because of the numerous
limitations of XWiki (really awful to understand permissions system, slow
pace of development, lack of plugins, horrid look and feel, etc.). We
initially tried to convert the syntax to TWiki using perl with
Parse::RecDescent. Since the grammar is rather unstructured and
regex/exception based this isn't an easy thing to do. We were successfully
in hacking up a version of XWiki/Radeox that outputs the XWIki syntax as
TWiki syntax. Since this uses the native structures inside the original java
code the conversion is much cleaner.
If anyone else is migrating from XWiki to TWiki let me know if you'd like
the code to batch convert the whole wiki at once. I'm happy to save others
the pain of doing this themselves.
As an aside, I am dismayed at the slow progress of XWiki in the time we have
been using it (over a year and a half). I was also quite appalled when I
started digging into the code to this, it's messy, undocumented, and rife
with duplicate logic.
Hello,
I did as you suggested and issued the following mysql command:
update `xwikidoc` set XWD_ARCHIVE=NULL WHERE
XWD_FULLNAME="Direction.QuifaitquoiIrm"
however, i still get the nearly same error. This time it doesn't
complain it can't parse 'oma.be', it complains it can't parse '' (yes,
the empty string, at line 0 column 0)
How do i cleanly remove the archive?