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
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
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 ?
Thank you
--
View this message in context: http://n2.nabble.com/xwiki-and-jquery-tp4099718p4099718.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
How can I add properties to my spaces?
I'm looking for something like an editable SpaceClass.
And a way to change the "Create Space" form to include the property.
And finally a way to access that property with Groovy.
But I've noticed that there aren't classes for Pages or Spaces.
I'm using XE 2.0.3.
--
Kevin