I just tested on my side, I have the same problem than you, the attachments copy fails. In fact it seems that attachments creation in the new page fails. (I only tested once)
I'm certain that I could have it work during my first tests of page copy. I don't have time to test again, but I think sometimes it works, sometimes it doesn't ...
In my case the attached files are listed in the copied page, but if you click on one you get an exception. And I can't delete the page at all for the same reason (database exception, a row cannot be found in the attachments table).
By the way I had some problems with attachments, apart of pages copy, but with the same exceptions returned, and in a random fashion ...
________________________________
From: Esbach, Brandon [mailto:Esbachb@tycoelectronics.com]
Sent: lundi 4 septembre 2006 10:24
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] "Clone" another documents objects when creating a new document
Attachments don't seem to copy with this method - I get a wrapped exception error:
The size of the attachment is around 20k.
Comments are fine, as are other objects (at least the one's I've tried).
________________________________
From: Esbach, Brandon [mailto:Esbachb@tycoelectronics.com]
Sent: 01 September 2006 10:31
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] "Clone" another documents objects when creating a new document
That seems to do it perfectly, thanks!
________________________________
From: BOUSQUET Jeremie [mailto:Jeremie.BOUSQUET@gemalto.com]
Sent: 01 September 2006 09:45
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] "Clone" another documents objects when creating a new document
Hello,
I believe you can use the copyDocument() method. I use it to rename pages, I copy a document to a newly named document, then delete the old one.
All objects and attachments are also copied in the process, so that may interest you (as far as all objects are included in the template document I believe)
$xwiki.copyDocument($sourceDoc, $targetDoc)
Jeremie, Bousquet
GSE Solution CMO
Gemalto
Tel: +33 4 42 36 42 93
Avenue du Jujubier, Z.I Athelia IV
13705 La Ciotat, FRANCE
Jeremie.Bousquet(a)gemalto.com
www.gemalto.com <http://www.gemalto.com/>
________________________________
From: Esbach, Brandon [mailto:Esbachb@tycoelectronics.com]
Sent: vendredi 25 août 2006 12:58
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] "Clone" another documents objects when creating a new document
Hi All,
Is there any way to clone all objects in an existing document to a different document with one server request?
So that a template document can be maintained with default object values; and can be brought in painlessly to a new document.
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
I've been able to boil down the exact error to the one shown below. I
tried a variety of combinations, but it doesn't seem to work with my
company user id and password. Any pointers here?
Regards,
Mrudula
Error StackTrace
MyLDAPAuthServiceImpl:Bind:508 - LDAP Bind failed with thus Exception
Invalid Credentials
LDAPException: Invalid Credentials (49) Invalid Credentials
LDAPException: Server Message: 80090308: LdapErr: DSID-0C090334,
comment: AcceptSecurityContext error, data 525, vece
LDAPException: Matched DN:
at com.novell.ldap.LDAPResponse.getResultException(Unknown
Source)
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown
Source)
at com.novell.ldap.LDAPConnection.chkResultCode(Unknown
Source)
at com.novell.ldap.LDAPConnection.bind(Unknown Source)
at com.novell.ldap.LDAPConnection.bind(Unknown Source)
Configuration File
authentication.ldap=1
authentication.ldap.server=blr-ec-dc01.wipro.com
authentication.ldap.port=389
authentication.ldap.check_level=1
authentication.ldap.base_DN=dc=wipro,dc=com
authentication.ldap.bind_DN=uid=wipro\<< my user
id>>,ou=USERS,dc=wipro,dc=com
authentication.ldap.bind_pass=<<my password>>
authentication.ldap.UID_attr=Mrudula Madiraju
authentication.ldap.fields_mapping=name=Mrudula
Madiraju,last_name=sn,first_name=givenName,fullname=displayName,mail=mai
l,ldap_dn=dn
-----Original Message-----
From: Richard Lach [mailto:rla@debian.org]
Sent: Friday, September 01, 2006 7:17 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] LDAP Integration of xwiki
On Fri, Sep 01, 2006 at 09:36:20AM -0400, Srinivasa Pulugurtha wrote:
> Also, it seems that you are binding to Active Directory (?). You
might try
> DOMAINNAME\\USERNAME format, if you have trouble finding the right
DN's
> while binding to LDAP.
In that case it should be pretty easy, if you have console access to
domain controller. Try 'ldifde' command line tool with filter
"(sAMAccountName=<your_login_name>)"
R.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Hi.
We are using xwiki for almost two years (as internal knowledge base) and
although we still have some problems - thank you very much for all you
work, I hope we will be able to solve some paining issues ;-), I'm
pretty determined to dig until success, I count on your help and promise
to give sufficient feedback.
Our main problems are:
* broken PDF export (generated null-byte files)
* broken search on non-latin1 characters (that I'll describe in separate
thread)
Hera are the details
My platform is:
tomcat 5.5.17 running in locale pl_PL.UTF-8
JDK 1.5.0
mysql 5.0 with default charset UTF-8 (and DB in UTF-8 too).
xwiki.war 9.840, but the same bahaviour is on latest SVN trunk.
I suppose that problem with PDF export has something to do with UTF-8.
I'm pretty sure I have UTF-8 configured properly (xwiki.encoding in
xwiki.cfg and filter in web.xml), non-latin1 characters are being properly
written to and read from database, are also properly rendered in xwiki
pages. When I click PDF export link (even viewing document containing
only ASCII characters) I receive an empty file and some entries in
catalina.out:
########
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>
Wiki - Sandbox - TestTopic1
</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<meta name="revisit-after" content="7 days" />
<meta name="description" content="Intranet Wiki" />
<meta name="keywords" content="wiki" />
<meta name="distribution" content="GLOBAL" />
<meta name="rating" content="General" />
<meta name="copyright" content="you need to choose your copyright"
/>
<meta name="author" content="" />
<meta http-equiv="reply-to" content="" />
<meta name="language" content="pl" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"
/>
[...]
line 5 column 1 - Warning: <html> has XML attribute "xml:lang"
[Fatal Error] :78:27: Invalid byte 1 of 1-byte UTF-8 sequence.
19:53:36,729 WARN TP-Processor4
https://xwiki.biuro.contium.pl:5443/xwiki/bin/pdf/Sandbox/TestTopic1
XWikiAction:execute:185 - Uncaught exception: Error number 12003 in 12:
XSL Transformation Failed
Wrapped Exception: Invalid byte 1 of 1-byte UTF-8 sequence.
com.xpn.xwiki.XWikiException: Error number 12003 in 12: XSL
Transformation Failed
Wrapped Exception: Invalid byte 1 of 1-byte UTF-8 sequence.
at com.xpn.xwiki.pdf.impl.PdfExportImpl.applyXsl(PdfExportImpl.java:176)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.convertXHtmlToXMLFO(PdfExportImpl.java:154)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:86)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:115)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:129)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportToPDF(PdfExportImpl.java:119)
at com.xpn.xwiki.web.PDFAction.render(PDFAction.java:45)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
[...]
########
Do you any have any idea what can be the cause of this exception?
I suppose that
' <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">'
has nothing to do, although I don't know why lang, content-type and
charset are derived both from templates/httpheader.vm and
xwiki->preferences.
I hope I will be able to run it under eclipse soon, maybe I find the
problem....
Best regards,
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Brian,
I never had to copy a user profile page, but your information is interesting. Filling a bug could be the best ...
Jérémie.
________________________________
From: THOMAS, BRIAN M (SBCSI) [mailto:bt0008@att.com]
Sent: vendredi 1 septembre 2006 15:39
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] "Clone" another documents objects when creating a new document
Jeremie (and Ludovic):
I don't know whether this has been fixed yet, but in 0.9.840 if you copy a user's profile page (the one created by XWiki.createUser()) the object copy fails silently (transaction aborted). If your code examines the copied document immediately from the same session, without clearing the cache, it looks right, but after calling $xwiki.flushCache(), or viewing the document from any other session, only an empty template shows, with no XWiki.XWikiUsers object to display and no XWiki.XWikiRights objects.
The object copy fails because one of them - the XWikiRights object for XWiki.XWikiAdminGroup, which was created by XWiki.ProtectUserPage() when the user was created - contains a field "levelsye" which is not in the current schema for objects of class XWiki.XWikiRights, which names the field "levels" instead. And it also doesn't matter if the user was created by your wiki instance after installation or if it came built-in with the database installation; the default users are also corrupted this way.
I must apologize: I probably should have filed a bug on this, but I didn't. It wasn't initially clear to me what the status of it was, and since the job I was trying to do was my major priority, I didn't take the time to find out. But I think it's two bugs - actually three from the standpoint of the delivered product - because the database load contains the result of one of the errors in the code:
- first, the root cause: XWiki.ProtectUserPage creates an XWiki.XWikiRights object with a "groups" field with value "XWiki.XWikiAdmin", a field named "levelsye" with the value from its userRights parameter, and "allow" value of 1. This object cannot be copied to another page, because the "levelsye" field is not in the current schema for XWiki.XWikiRights.
- second: the 0.9.2 database upload contains the result of this problem in all of its built-in user profile documents. I had thought that this was the source of the problem, and that all new users simply had the defective rights object copied from one of those, until I discovered the above problem.
- finally, the resulting problem that I had when changing XWiki's authentication scheme, which required existing users to be renamed: When the attempt (within XWiki.copyDocument()) to add the new object to the new document fails because of the above, no error indication is given, and the document copy transaction doesn't abort, roll back or return a failure status. Moreover, the cache (at least for the current session) now holds a copy of the new document, composed as expected, so any attempt by the calling page to verify the copy without first flushing the cache seems to succeed.
I think I asked whether my characterization of this problem was correct, but didn't get a response. Probably I should simply have filed it as a bug and let the developers correct me if I was wrong. To avoid a problem of this sort in the future, I think that perhaps the best protocol would be that I file it unless someone objects; that would make sure that it was accounted for.
brain[sic]
-----Original Message-----
From: BOUSQUET Jeremie [mailto:Jeremie.BOUSQUET@gemalto.com]
Sent: Friday, September 01, 2006 3:45 AM
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] "Clone" another documents objects when creating a new document
Hello,
I believe you can use the copyDocument() method. I use it to rename pages, I copy a document to a newly named document, then delete the old one.
All objects and attachments are also copied in the process, so that may interest you (as far as all objects are included in the template document I believe)
$xwiki.copyDocument($sourceDoc, $targetDoc)
Jeremie, Bousquet
GSE Solution CMO
Gemalto
Tel: +33 4 42 36 42 93
Avenue du Jujubier, Z.I Athelia IV
13705 La Ciotat, FRANCE
Jeremie.Bousquet(a)gemalto.com
www.gemalto.com <http://www.gemalto.com/>
________________________________
From: Esbach, Brandon [mailto:Esbachb@tycoelectronics.com]
Sent: vendredi 25 août 2006 12:58
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] "Clone" another documents objects when creating a new document
Hi All,
Is there any way to clone all objects in an existing document to a different document with one server request?
So that a template document can be maintained with default object values; and can be brought in painlessly to a new document.
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
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
>