#set($count = 0)
#foreach ($d in $xwiki.sort($dateList))
<tr>
<td>$d </td>
<td> $pageList.indexOf[$count] $pageList.indexOf[$count] </td>
<td>delete</td>
</tr>
#set($count = $count +1)
#end
just want to get the something from a list on the possition $count.
Please tell me what i am doing that wrong?
--
View this message in context: http://n2.nabble.com/get-something-with-indexOf-tp4106635p4106635.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
The only group here , from what i see are the ones that have the admin
rights.
tigerhyang wrote:
>
> Hi,
>
> I created a space and grant view, edit comment permission to a group, and
> use the following code to control this space only show to admin users and
> users belong to the group:
>
> #if($xwiki.hasAdminRights() || ($xwiki.hasAccessLevel("view",
> "Bishop.WebHome") ))
> For Bishops Only:
> * [Bishop Space > Bishop.WebHome]
>
>
> #end
>
> But when users in that group login, they can not see the link to the
> space.
>
> can some body give me some hit on this, i am new to xwiki, thanks a lot.
>
--
View this message in context: http://n2.nabble.com/about-space-permission-tp4051740p4108845.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'd just like to wan you that it seems my Xwiki site has been cracked
few hours ago.
One notable change is that copyright string now is "Copyright 2004-2007
(c) XPertNet and Contributing Authors"
I'm still investigating, reason, but please be watchful you also.
Valdis
Thank you Asiri, i will ask the support to update the value and i will test it again.
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Asiri Rathnayake
> Envoyé : jeudi 3 décembre 2009 15:53
> À : XWiki Users
> Objet : Re: [xwiki-users] Xwiki 2.0.3 : Questions, Problems
> and Feedback
>
> Hi,
>
> You are right. It works really good. Just i don't know why it
> did not in the
> > past (we restarted the server).
> >
> > But we still have a problem with medium/big PPT (more than
> 15Mb). We have a
> > timeout. Can we modify this timeout value ?
> >
>
> Yes, check your xwiki.properties file (importer module configuration
> section), there are several parameters that allow you to fine
> tune office
> import process.
>
> - Asiri
>
>
> > > Ok. Note that the next version of XWord will work with XWiki
> > > 2.0 syntax and
> > > thus might be useful for heavy Word users.
> >
> > We just made the migration to Office XP so don't expect the
> migration to
> > Office 2007 before ten years (at least) ;-)
> >
> > > Thanks again :-)
> >
> > Thanks to you and your team
> >
> > Christophe Périnaud
> >
> >
> --------------------------------------------------------------
> ------------------
> >
> > 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(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> users(a)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
Hi
> Yes, you can configure it to display those buttons. See
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor
I tried and it works great. Thank you.
I changed the XWikiPreferences to override values for the wysiwyg editor but i will modify the vm file because the class takes too much time to be modify and we plan to have a lot of virtual wikis
> If you use the Office Importer to import a PowerPoint
> presentation, the
> whole presentation will be displayed in a wiki page. Simply
> try importing a
> .ppt file and you'll see ;-)
You are right. It works really good. Just i don't know why it did not in the past (we restarted the server).
But we still have a problem with medium/big PPT (more than 15Mb). We have a timeout. Can we modify this timeout value ?
> Ok. Note that the next version of XWord will work with XWiki
> 2.0 syntax and
> thus might be useful for heavy Word users.
We just made the migration to Office XP so don't expect the migration to Office 2007 before ten years (at least) ;-)
> Thanks again :-)
Thanks to you and your team
Christophe Périnaud
--------------------------------------------------------------------------------
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
Hello,
So only by using the tools i can use lists and sort right?
this code should work:
$dateList.add($date) //it populates
$sorter.sort($dateList,["${date}:asc"]) //does not sort
##Collections.sort($dateList)
or maybe
$dateList.sort() //does not work
--
View this message in context: http://n2.nabble.com/sort-problem-or-missunderstanding-of-tool-tp4106164p41…
Sent from the XWiki- Users mailing list archive at Nabble.com.
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.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Bubulina,
jQuery can be used with XWiki without complete integration too. I was able
to use jquery for table sorting in a small experiment on my local XWiki
instance today & use it for some UI features in my production XWiki instance
in office. I am not an expert in javascript libraries, however, IMHO I've
never had an instance where prototype & jquery have interefered. I tried the
following steps. Hope this might help you.
1. Created a new page called 'jquery' in XWiki
2. Attached a javascript object to this page called 'jquery' using the
object editor
3. Copied over the javascript code from the minified jQuery downloaded from
the jQuery website into the object created in above step.
4. The object settings are: Use this extension= On Demand, Parse Content=
No, Caching Policy=default
5. Repeated the above steps with the tablesorter.js file available from the
TableSorter 2.0 plugin for jQuery
6. Created the final table sorter demo page. Added the two javascript
includes & html table as follows:
(Note: I use XWiki syntax 1.0 since I am most comfortable with that. You
might want to change the code here for XWiki Syntax 2.0 compatibility).
$xwiki.jsx.use("devmain.jquery")
$xwiki.jsx.use("devmain.tablesorter")
<script>
$(document).ready(function()
{
$("#myTable").tablesorter();
}
);
</script>
<table id="myTable">
<thead>
<tr>
<th>Last Name</th>
<th>First Name</th>
<th>Email</th>
<th>Due</th>
<th>Web Site</th>
</tr>
</thead>
<tbody>
<tr>
<td>Smith</td>
<td>John</td>
<td>jsmith(a)gmail.com</td>
<td>$50.00</td>
<td>http://www.jsmith.com</td>
</tr>
<tr>
<td>Bach</td>
<td>Frank</td>
<td>fbach(a)yahoo.com</td>
<td>$50.00</td>
<td>http://www.frank.com</td>
</tr>
<tr>
<td>Doe</td>
<td>Jason</td>
<td>jdoe(a)hotmail.com</td>
<td>$100.00</td>
<td>http://www.jdoe.com</td>
</tr>
<tr>
<td>Conway</td>
<td>Tim</td>
<td>tconway(a)earthlink.net</td>
<td>$50.00</td>
<td>http://www.timconway.com</td>
</tr>
</tbody>
</table>
That's it!!!
One observation though, using too many javascript libraries is going to slow
down the page. XWiki loads prototype & scriptaculous by default (AFAIK,
these two would definitely get downloaded on every page refresh till XWiki
version 1.9.X). Adding jQuery (which when minified would still be 56
something kb & tablesorter.js which is another 13 kb approx) will definitely
make the page crawl with too many users. I tested the above page with YSlow!
Plugin on firefox & got a Grade D & overall performance score of 62 on
localhost.
Hope the information helps. Thank you Bubulina.
Message: 7
Date: Wed, 2 Dec 2009 14:25:30 +0100
From: Vincent Massol <vincent(a)massol.net>
Subject: Re: [xwiki-users] xwiki and jquery
To: XWiki Users <users(a)xwiki.org>
Message-ID: <A8CC7914-4D2F-4A96-BBF6-98711739C674(a)massol.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi,
On Dec 2, 2009, at 2:10 PM, Bubulina wrote:
>
> Hello
> Do you know if jquery and xwiki work together? am trying to use the
> table
> sort from jquery and integrated in xwiki i have errors ?
AFAIK the only issue is to make prototype and jquery work together but
that's doable. See for ex;
http://docs.jquery.com/Using_jQuery_with_Other_Libraries
You could also check the mail archives, maybe there are answers there:
http://xwiki.markmail.org/search/?q=jquery
Thanks
-Vincent
Hello,
a while ago I sent the following question to this mailing list:
"categories are part of XWiki Workspaces. However, I cannot find this feature in XWiki Enterprise (neither in the software itself nor the documentation). In general, I consider categories a useful extension to spaces and tags and, thus, would like to have them at my disposal. Is there a way to include categories into XWiki Enterprise?"
I would appreciate some feedback. In January, we will begin two pilots using XWiki and it would be helpful to know how to include categories. I expect that there is a way to do it (this feature is available in Workspaces after all).
Kind regards,
Gerhard
Festo AG & Co. KG
Gerhard Peter
Abteilung IS-KM
Methoden und Prozesse
Plieninger Stra?e 50
73760 Ostfildern-Scharnhausen
Deutschland
Telefon +49(711)347-4530
Telefax +49(711)34754-4530
http://www.festo.com
Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von Ihrem Computer zu loeschen.
This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this e-mail, please delete it and immediately notify the sender.
Rechtsform: Kommanditgesellschaft
Sitz: Esslingen a.N., Registergericht Stuttgart HRA 211583, Umsatzsteuerident-Nummer: DE 145339206
Persoenlich haftende Gesellschafterin: Festo Management Aktiengesellschaft
Sitz: Wien/Oesterreich, Firmenbuchgericht: Handelsgericht Wien, Firmenbuch Nr. FN 303027 d
Vorstand:
Dr. Ekkehard Gericke
Dipl.-Kfm. Alfred Goll
Dr. Ansgar Kriwet
Dr. Thomas Rubbe
Dr. Eberhard Veit (Vorsitzender)
Dr. Ulrich Walker
Aufsichtsratsvorsitzender:
Dr. Wilfried Stoll