RE: [xwiki-users] Issue with HTML comment.
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: [email protected] [mailto:[email protected]] Sent: Friday, September 01, 2006 5:23 AM To: [email protected] 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 <[email protected]>
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
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: [email protected] [mailto:[email protected]] Sent: Friday, September 01, 2006 5:23 AM To: [email protected] 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 <[email protected]>
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 [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Reclaim Your Inbox! http://www.mozilla.org/products/thunderbird
Hello, Can someone please guide me on how to do the LDAP integration of xwiki. I am trying to integrate it with our company LDAP. I have gone through the url in http://www.xwiki.org/xwiki/bin/view/Dev/LDAPIntegrationAD My specific questions are 1) Are the only changes required in xwiki.cfg file or should we use the LDAP plugin code as well? 2) Once the changes are done, how does it work? If I access the home page, will it throw a popup for login? Rgds, Mrudula 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
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
Set your log level in log4j.properties file to 'debug' for com.xpn.xwiki.user.impl. This should give you the relevent log entries to see where the call is failing. There are no visible changes and the same form based authentication will work. It will just use the specified LDAP server to authenticate users. Also, set your check_level to 1 to begin with. 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. HTH. Srini On 9/1/06, [email protected] <[email protected]> wrote:
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
-- You receive this message as a subscriber of the [email protected] list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
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.
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:[email protected]"mailto:[email protected]] Sent: September 1, 2006 04:34 To: [email protected] 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: [email protected] [HYPERLINK "mailto:[email protected]"mailto:[email protected]] Sent: Friday, September 01, 2006 5:23 AM To: [email protected] 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 <[email protected]>
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 [email protected] mailing list. To unsubscribe: HYPERLINK "mailto:[email protected]"mailto:xwiki-users-unsubscribe @objectweb.org For general help: HYPERLINK "mailto:[email protected]?subject=help"mailto:[email protected]?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
participants (6)
-
Arnaud Bourree -
Jean-Lou Dupont -
mrudula.madiraju@wipro.com -
Richard Lach -
Robinson Nathaniel -
Srinivasa Pulugurtha