Re: [xwiki-users] D3js not working on XWiki 5.4
Hi, I've just uploaded a new version of d3js macro/extension. Tested on 5.4.2. It should now be fixed. Thanks, Flavius On Fri, Apr 4, 2014 at 5:01 PM, Hamster wrote: > Thanks for pinging :-) > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/D3js-not-working-on-XWiki-5-4-tp7589145p7590008.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 > -- Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] DeleteProperty
Hi Stefan, You could also recreate your document that defines your class from scratch, or if you don't need to change the property type you can always rename it. Thanks -- Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Adding custom object usinf groovy or velocity
Try this: #set($newObj = $doc.newObject("SpaceName.ClassName")) ## creates a new object #set($ok = $newObj.set("PropName", $propValue)) ## sets a property in the new object #set($ok = $doc.save()) ## save the document, and the new object On Thu, Feb 18, 2010 at 8:33 PM, Valdis Vītoliņš wrote: > Following velocity allows to create simpe xwiki document: > #set ($mydoc = $xwiki.getDocument("Sandbox.Test1")) > $mydoc.setContent("sdfsdf") > $mydoc.save() > > But How can I create custom object? > > http://hans.gerwitz.com/projects/snipsnap-to-xwiki > shows some ideas but I can't make it working for me. > > Another (awkward) way would be executing external curl command. > How can I do this? > > Thanks, > Valdis > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Glossar and Forum
There is already a Bulleting Board Application. You just need to install it to your xwiki. You can check the existing application at http://code.xwiki.org/xwiki/bin/view/Applications/ . On Mon, Feb 15, 2010 at 9:39 PM, stefan bachert wrote: > Did some programmed a glossar for xwiki? > My impression is, this is not to complicated. > > Did some programmed a forum for xwiki? > This looks much more complex to me. > However, maybe the commenting facility is suffient for a simple forum. > > If yes, are you willing to share code? > > Stefan Bachert > > __ > Do You Yahoo!? > Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz > gegen Massenmails. > http://mail.yahoo.com > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > Thanks, -- Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Verification Step
Could you try to explain more about what are you trying to do? Are you looking for a document workflow? (Draft, Published) then check to Blog Application. Otherwise i think you need to implement it yourself. On Mon, Feb 15, 2010 at 9:42 PM, stefan bachert wrote: > Is there a way to very new pages before they go online? > > I would like to check the first few pages/pages of self registered user > before allowing them to go online directly > > Stefan Bachert > > > __ > Do You Yahoo!? > Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz > gegen Massenmails. > http://mail.yahoo.com > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > Thanks, -- Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Custom Skin doesn't apply to unregistered users
On Wed, Jan 27, 2010 at 1:55 PM, Thomas Mortagne wrote: > On Wed, Jan 27, 2010 at 12:34, Flavius Olaru > wrote: > > Hi all, > > > > I have an XE 2.1.1 instance installed, developed a custom skin, applied > it > > in XWikiPreferences, it works on registered users but doesn't for > > unregistered users. > > The skin is in a custom space, I tried to set view rights on that skin > > document to XWikiAllGroup but still doesn't work. > > Can anyone help me enable the custom skin for unregistered users too? > > Guest is not part of XWikiAllGroup, XWikiAllGroup contains all real > users. You have to give view right to "Unregistered Users" (click on > "Users" to show user in rights manager UI). > > If guest already have view right at wiki level you should simply > remove all the "view" configuration from your space, it will inherit > from wiki configuration. > > > > > Thanks > > -- > > Flavius Olaru > > ___ > > users mailing list > > users@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/users > > > > > -- > Thomas Mortagne > _______ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > Thanks ThomasM, Your solution worked great. -- Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Custom Skin doesn't apply to unregistered users
Hi all, I have an XE 2.1.1 instance installed, developed a custom skin, applied it in XWikiPreferences, it works on registered users but doesn't for unregistered users. The skin is in a custom space, I tried to set view rights on that skin document to XWikiAllGroup but still doesn't work. Can anyone help me enable the custom skin for unregistered users too? Thanks -- Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Lucene defaultpage fails
On Sun, Jan 17, 2010 at 1:35 PM, Gerritjan Koekkoek wrote: > Navigating to the Main.LuceneSearch page brings up the following error? > > Failed to execute macro: velocity > org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate > Velocity Macro for content [$xwiki.jsfx.use("uicomponents/search/search.js", > true)## > $xwiki.ssfx.use("uicomponents/search/search.css", true)## > The page has worked, but what can be wrong now. > The page itself is not changed from the distribution? > > Gerritjan > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > Hi Gerritjan, Can you paste in more information about the error? -- Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Bad HQL queries
Hi, I've done a installation on my localhost (Windows XP machine) of XE 2.1.1, Tomcat 6 and MySQL 5.1. After this i wrote a bad hql query and executed it which brought MySQL to spyke the CPU usage to 100% and even more rendering both the localhost and database unusable. {{velocity}} #set($badhql = ", BaseObject obj, StringProperty stringprop, LargeStringProperty largestringprop where (doc.name like '%$text%' or doc.content like '%$text%') or (obj.name=doc.fullName and stringprop.id.id=obj.id and stringprop.value like '%$text%') or (obj.name=doc.fullName and largestringprop.id.id=obj.id and largestringprop.value like '%$text%')") #set($ok = $list.addAll(0, $xwiki.searchDocuments("$badhql"))) {{include document="XWiki.Results"/}} {{/velocity}} The bad thing is that $xwiki.searchDocuments brought me to this state (no programming rights.). Now my question is: Are there any remedies against this? MySQL configuration statements that prevent this kind of behaviour? -- Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Showing HTML in a page from a field
Jeremie, The first method uses Object.display() while the other Object.getProperty().value retrieves the value without rendering. On Fri, Jan 15, 2010 at 6:37 PM, Jeremie BOUSQUET wrote: > Wow, super thanks Marius, it works perfectly ! > I'm not sure to understand why, but it did the trick :) > > Jeremie > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] printing something or using it in a logic flow
If you want not to print the results of the a method you can use #set($ok = $var.method()). This way the results goes into the variable $ok that you can also use it to test if the method was successful. Best regards, Flavius On Thu, Dec 3, 2009 at 10:59 PM, Bubulina wrote: > > evening, > out of curiosity, is it possible to make something, to write a line of code > without the "#set(" but to not show the result on the page? > for instance: > - if i #set($list = $util.arrayList) > and then > $list.add($x) -just add x to the list, but in the same time shows "true" > printed on the page. i would like to avoid this, and still keep the logic? > :working: > -- > View this message in context: > http://n2.nabble.com/printing-something-or-using-it-in-a-logic-flow-tp4108817p4108817.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 > -- Cu stima, Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] simple declare a list in velocity
In velocity you don't have the keywork *new*. You should use the variable $util to declare a list. #set($dateList = $util.arrayList) $dateList.add($dateD) And on operations with lists you use $listttool. $listtool.size($dateList) Best regards, Flavius Olaru On Thu, Dec 3, 2009 at 10:50 AM, Bubulina wrote: > > hello > this is by far the most easiest thing ... but > i have some data that i want to simple add in a list > #set($dateList = new ArrayList() ) > $dateList.add($dateD) > > > whyyy is this wrong? how do i else declare a list ? cause it does not work > thank you > -- > View this message in context: > http://n2.nabble.com/simple-declare-a-list-in-velocity-tp4104854p4104854.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 > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [Proposal] Roadmap for XE 2.2
I would also like to get involved in WCAG, User Profiles or at least Priority 2 like ColorThemes (and maybe having an AdvancedColorThemes if default ColorThemes are too restrictive, like as it is now having different complementary background colors on the page and panels is unusable due to links color) or Watchlist UI and Watchlist application for velocity syntax 2.0 and make it more javascript independent (currently having some progress on this). On Tue, Dec 1, 2009 at 1:41 PM, Thomas Mortagne wrote: > On Tue, Dec 1, 2009 at 12:23, Vincent Massol wrote: > > Hi everyone, > > > > Here's a proposal Guillaume and I have prepared for the XE 2.2 roadmap. > > > > - XWiki committers: I have assigned some devs based on past work. > > Please confirm if it's ok for you or not. You can also suggest other > > stuff you'd like to do if you think you'll have the time > > - XWiki contributors: Please let us know if you're willing to > > participate and on the topic you're interested in participating to > > - XWiki users: Please let us know if we have forgotten something > > important > > > > Must have (Priority 1): > > > > - Wiki Macro isolation for XEM (Vincent) > > - WCAG (Jean-Vincent + Vincent + Sergiu + Caty) > > - User Profile UI (Caty + Jean-Vincent) > > - Google Gadgets integration (scope to be defined by Anamaria) > > - Bug fix + stabilization (All) > > - Patch application (Volunteer needed) > > -- Lucene patches > > -- Performance patches > > - i18 rendering (Thomas) > > - generic transformation markers (Thomas) > > > - Annotations (Anca) > > > > Nice to have (Priority 2): > > - ColorTheme UI improvement > > - Watchlist UI > > - xwiki.org improvements: > > -- use new skin + new colors > > -- horizontal navigation > > -- Home page redesign > > -- Download page redesign > > -- Project page design > > -- Support page redesign > > > > Dates: > > - 2.2M1: 28 Dec 2009 > > - 2.2M2: 18 Jan 2010 > > - 2.2RC1: 1er Feb 2010 > > - 2.2 RC2/Finale: 8 Feb 2010 > > > > Thanks > > -Vincent > > > > _______ > > users mailing list > > users@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/users > > > > > > -- > Thomas Mortagne > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Cu stima, Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] Can XWiki benefit from Google AJAX Libraries API ?
Google CDN server hosts also different versions of each javascript framework. http://code.google.com/apis/ajaxlibs/documentation/#prototype By using google.load() function and google.setOnLoadCallback(function(){ }) we have the advantage of executing the custom code after all javascript libraries are loaded, instead of using that framework onload function. http://webmuch.com/how-why-you-should-use-google-cdn/ I think even if the option of using the google CDN servers to load the javascript frameworks the should always be an fallback option. Here is an nice article on how google load works. We could hack something to make sure if google servers are down, it loads the libraries from XWiki servers. http://onwebdevelopment.blogspot.com/2008/07/hacking-google-loader-and-ajax.html On caching issues i found this article. I think it needs testing. http://soupgiant.com/blog/browsers/caching-on-the-google-ajax-libraries-api/ On Tue, Dec 1, 2009 at 1:18 PM, Sergiu Dumitriu wrote: > On 12/01/2009 06:10 AM, Asiri Rathnayake wrote: > > Link: http://code.google.com/apis/ajaxlibs/ > > > > Article about how it can make websites fast: > > http://radar.oreilly.com/2009/11/steve-souders-making-web-sites.html > > > > XWiki web gurus, can XWiki benefit from this? Is it worth considering? > > > > Maybe. Its main advantages are that: > - it increases the chance of having the prototype and scriptaculous > scripts in the cache. > - it downloads them from Google's fast CDN, reducing the load on our > servers > > I don't know how does it work with the rest of our scripts, which assume > that Prototype is already loaded. It probably doesn't which means that > we'll need lots of changes in all our js code to integrate it. > -- > Sergiu Dumitriu > http://purl.org/net/sergiu/ > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Cu stima, Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [myxwiki] new wiki request
On Wed, Oct 7, 2009 at 7:07 PM, Thomas Mortagne wrote: > On Wed, Oct 7, 2009 at 17:27, Jean-Vincent Drean > wrote: > > On Wed, Oct 7, 2009 at 11:51 AM, Flavius Olaru > wrote: > >> Hi, > >> > >> I am interested in having a wiki hosted at myxwiki.org for personal > purpose, > >> like daily blogging regarding my discoveries using XWiki, velocity etc., > >> some testing using the XWiki platform. > >> The username for administration should be FlaviusOlaru. > > > > Hi, AFAICS the user does not exist, could you create it please ? > > create it=register on http://www.myxwiki.org > > > > > Thanks, > > JV. > > ___ > > users mailing list > > users@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/users > > > > > > -- > Thomas Mortagne > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > Thanks. I created the user on http://www.myxwiki.org -- Regards, Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [myxwiki] new wiki request
Hi, I am interested in having a wiki hosted at myxwiki.org for personal purpose, like daily blogging regarding my discoveries using XWiki, velocity etc., some testing using the XWiki platform. The username for administration should be FlaviusOlaru. The domain should be flavius. (flavius.myxwiki.org). PS: I am currently employed at XWiki Offices in Iasi. -- Regards, Flavius Olaru ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users