Re: [xwiki-users] Closing 'Add Members to Group' Popup
sdhaliwal wrote: > While adding members to a group using the new Wiki Administration > application, there does not seem to be an obvious way to close the pop up > window. Is that a bug, or am I missing something very obvious. There's a close button right under the prev-next page buttons, in the upper right corner. You can click on the corner that's barely visible there. The lightbox needs to be reworked, we know it. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Velocity code in XWiki Enterprise 1.9.1.21780
Marc Lijour wrote: > I did not find how to submit this fully as a comment to > http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial What do you mean by that? Logged in users can post comments, and I see that you do have a user account on xwiki.org. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Velocity code in XWiki Enterprise 1.9.1.21780
On Tuesday 21 July 2009 23:00:15 Marc Lijour wrote: > Hi, > > I have the brand new XWiki Enterprise 1.9.1.21780. I noticed that the class > wizard has issues > (http://xwiki.markmail.org/message/kl7vi6p2dlc3ouwr?q=FAQTutorial#query:FAQ >Tutorial+page:1+mid:zyimlrxfkx3uff6x+state:results), but I did create a > class, a class sheet and a class template manually. I also added an empty > object to the class. > > Because the Velocity code is not interpreted the same way in syntax xwiki > 2.0, I followed the syntax help guide included in the XWiki instance and I > protected the code as follows: > {{velocity}} > ## replace Main with the Space where you want your documents to be created > ## replace the default parent with the one of your choice > ## Save this template using the 'Save' button > #set( $class = $doc.name.substring(0,$doc.name.indexOf("Class"))) > #set($defaultparent = "XWiki.${class}Class") > #set($defaultweb = "LSQ") > #includeForm("XWiki.ClassSheet") > {{/velocity}} > > The Velocity code is parsed but it produce HTML that is not parsed by the > Wiki page. It is displayed as-is: > > Class: TermeClass > The first thing to do is to href="/xwiki/bin/edit/LSQ/TermeClass?xpage=editclass">Edit the Class to > add properties to it. > Create a new document > To create a new document, you should first choose a name for you > document > > > > > Space: > Document: > > > > > Sheet and Template > > Sheet: href="/xwiki/bin/view/LSQ/TermeClassSheet">Terme Class > Sheet Template: href="/xwiki/bin/view/LSQ/TermeClassTemplate">Terme Class > Template > href="/xwiki/bin/view/XWiki/ClassSheet?xpage=code">View the sample code to > show the document list and create new documents > > Existing documents > > Is there a workaround that to make the page parse this HTML properly or to > produce an equivalent display? > > It would be nice to also let people know at > http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial (completing > tapaya's remark) -I could do that if I knew the answer. The solution would be that: To make the tutorial work in XWiki 1.9.1, use XWiki syntax 2.0 by adding the velocity (around the Velocity code) and html (around the {{{#includeForm}}} macro) tags as below: {{{ {{velocity}} ## replace Main with the Space where you want your documents to be created ## replace the default parent with the one of your choice ## Save this template using the 'Save' button #set( $class = $doc.name.substring(0,$doc.name.indexOf("Class"))) #set($defaultparent = "XWiki.${class}Class") #set($defaultweb = "LSQ") {{html}}#includeForm("XWiki.ClassSheet"){{/html}} {{/velocity}} }}} See http://jira.xwiki.org/jira/browse/XWIKI-4032 I did not find how to submit this fully as a comment to http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial Marc ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Velocity code in XWiki Enterprise 1.9.1.21780
Hi, I have the brand new XWiki Enterprise 1.9.1.21780. I noticed that the class wizard has issues (http://xwiki.markmail.org/message/kl7vi6p2dlc3ouwr?q=FAQTutorial#query:FAQTutorial+page:1+mid:zyimlrxfkx3uff6x+state:results), but I did create a class, a class sheet and a class template manually. I also added an empty object to the class. Because the Velocity code is not interpreted the same way in syntax xwiki 2.0, I followed the syntax help guide included in the XWiki instance and I protected the code as follows: {{velocity}} ## replace Main with the Space where you want your documents to be created ## replace the default parent with the one of your choice ## Save this template using the 'Save' button #set( $class = $doc.name.substring(0,$doc.name.indexOf("Class"))) #set($defaultparent = "XWiki.${class}Class") #set($defaultweb = "LSQ") #includeForm("XWiki.ClassSheet") {{/velocity}} The Velocity code is parsed but it produce HTML that is not parsed by the Wiki page. It is displayed as-is: Class: TermeClass The first thing to do is to Edit the Class to add properties to it. Create a new document To create a new document, you should first choose a name for you document Space: Document: Sheet and Template Sheet: Terme Class Sheet Template: Terme Class Template View the sample code to show the document list and create new documents Existing documents Is there a workaround that to make the page parse this HTML properly or to produce an equivalent display? It would be nice to also let people know at http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial (completing tapaya's remark) -I could do that if I knew the answer. Thanks Marc ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Cannot import default xar
hel-o wrote: > Hi, > > sorry to bother, but still no import. > > Any suggestions. I just tried to import the xar in a fresh 1.9.1, and it worked with no problems. Idea: try to clean the browser cache first. Som JS functions have been moved around. > > > hel-o wrote: >> Hi, >> >> It's the "xwiki-enterprise-wiki-1.9.1.xar" i downloaded from xwiki.org. So >> i hope the xar file is correct;) Also tried to export a page and import >> the xar -> same behavior >> >> hel. >> >> >> >> PERINAUD Christophe wrote: >>> Hi, >>> >>> Is the XAR file correct ? I mean not corrupted with the package.xml file >>> in the root folder ? It looks like as if the load of the XML file has not >>> been made. >>> >>> -Message d'origine- >>> De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part >>> de hel-o >>> Envoyé : lundi 20 juillet 2009 11:05 >>> À : users@xwiki.org >>> Objet : Re: [xwiki-users] Cannot import default xar >>> >>> >>> Hi, >>> >>> theres nothing in the xwiki or tomcat log. But when i enable "hold on >>> every >>> error" for scripts in Firebug i get the following when i click on the >>> uploaded xar. >>> >>> " 74 function getXmlValue(tag, xml) >>>75 { xml is null 76 var nodes = xml.getElementsByTagName(tag); >>>77 if (nodes.length > 0 && nodes[0].firstChild) >>>78 return nodes[0].firstChild.data; " >>> >>> The script is import.js. I use Firefox 3.5. >>> >>> Thanks >>> hel. >>> >>> >>> >>> Sergiu Dumitriu-2 wrote: hel-o wrote: > Hi, > > just updated to 1.9.1 (from 1.8.4) and tried to import the default xar. > I > can upload the file but when i click on it to import nothing happens. > > In the console i get the following error when i upload the file > > "updateAttachName is not defined > function onclick(event) { return updateAttachName(this.form, "Do you > want > to > replace the filename with"); }(click clientX=108, clientY=439)" Yes, this JS error is not important, and I think it's been fixed in the SVN. Are there any errors logged on the server? -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] AUTO: MaryEllen Coleman/Poughkeepsie/IBM is out of the office. (returning 07/23/2009)
I am out of the office until 07/23/2009. I will not have access to email. If you need help immediately, please contact Kim Dillon or Jenny Purushotma. Note: This is an automated response to your message "users Digest, Vol 24, Issue 30" sent on 7/21/09 6:00:17. This is the only notification you will receive while this person is away. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Cannot import default xar
Hi, sorry to bother, but still no import. Any suggestions. Thanks hel. hel-o wrote: > > Hi, > > It's the "xwiki-enterprise-wiki-1.9.1.xar" i downloaded from xwiki.org. So > i hope the xar file is correct;) Also tried to export a page and import > the xar -> same behavior > > hel. > > > > PERINAUD Christophe wrote: >> >> Hi, >> >> Is the XAR file correct ? I mean not corrupted with the package.xml file >> in the root folder ? It looks like as if the load of the XML file has not >> been made. >> >> -Message d'origine- >> De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part >> de hel-o >> Envoyé : lundi 20 juillet 2009 11:05 >> À : users@xwiki.org >> Objet : Re: [xwiki-users] Cannot import default xar >> >> >> Hi, >> >> theres nothing in the xwiki or tomcat log. But when i enable "hold on >> every >> error" for scripts in Firebug i get the following when i click on the >> uploaded xar. >> >> " 74 function getXmlValue(tag, xml) >>75 { >>>xml is null 76 var nodes = xml.getElementsByTagName(tag); >>77 if (nodes.length > 0 && nodes[0].firstChild) >>78 return nodes[0].firstChild.data; " >> >> The script is import.js. I use Firefox 3.5. >> >> Thanks >> hel. >> >> >> >> Sergiu Dumitriu-2 wrote: >>> >>> hel-o wrote: Hi, just updated to 1.9.1 (from 1.8.4) and tried to import the default xar. I can upload the file but when i click on it to import nothing happens. In the console i get the following error when i upload the file "updateAttachName is not defined function onclick(event) { return updateAttachName(this.form, "Do you want to replace the filename with"); }(click clientX=108, clientY=439)" >>> >>> Yes, this JS error is not important, and I think it's been fixed in the >>> SVN. Are there any errors logged on the server? >>> >>> -- >>> Sergiu Dumitriu >>> http://purl.org/net/sergiu/ >>> ___ >>> users mailing list >>> users@xwiki.org >>> http://lists.xwiki.org/mailman/listinfo/users >>> >>> >> >> >> - >> semantic-web.hel.at >> h...@hel.at >> >> -- >> View this message in context: >> http://n2.nabble.com/Cannot-import-default-xar-tp3283800p3287792.html >> Sent from the XWiki- Users mailing list archive at Nabble.com. >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> >> >> This e-mail is intended only for the addressee named above. It does not >> bind the sender, except in the case of an existing written convention >> with the addressee. This e-mail may contain material that is confidential >> and privileged for the sole use of the intended recipient. Any review, >> reliance or distribution by others or forwarding without express >> permission is strictly prohibited and may be unlawful. If you are not the >> intended recipient, please contact the sender and delete all copies. >> >> While reasonable precautions have been taken to ensure that this e-mail >> and any attachments are free from any computer virus or similar defect, >> no liability will be accepted in that respect. Anyone accessing this >> e-mail must take their own precautions as to security and virus >> protection. >> >> KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, >> R.C.S. Luxembourg B 6395, T (352) 47 97 1 >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> >> > > - semantic-web.hel.at h...@hel.at -- View this message in context: http://n2.nabble.com/Cannot-import-default-xar-tp3283800p3294419.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users