Hi!
i like to edit text input fields via FF addon "It's all text" in emacs :-)
This is especially helpful if you need an advanced feature like "search
and replace" ;-)
Only one thing is missing - syntax highlighting.
Has anybody an emacs mode covering the XWiki 2.x syntax ?
Best Regards,
H.-Dirk Schmitt
--
Signature H.-Dirk Schmitt
------------------------------------------------------------------------
*
H.-Dirk Schmitt <http://www.computer42.org>*
Dipl.Math.
eMail:/dirk.schmitt@computer42.org/
mobile:/+49 177 616 8564/
phone: /+49 2642 99 41 10/
fax: /+49 2642 99 41 15/
Kripper Str. 35, D-53489 Sinzig
pgp: http://www.computer42.org/~dirk/OpenPGP-fingerprint.html
<http://www.computer42.org/%7Edirk/OpenPGP-fingerprint.html>
Hi,
I would like to use the container macro and three collums
{{container layoutStyle="columns"}}
(((first content)))
(((second content)))
(((third content)))
{{/container}}
The contents would be includes from three pages containing Header level 5, a link to another wiki page, a short descriptive and an image
The question is that I would like these three columns to look like a collapsed panel header you get when you set a colortheme (new version with coloreffect)
What is the way to include a DIV CSS selector with a class attribute similar to the collapsed header from colorthemes
The result should be that all three columms will allign (same height, width) with the background fill and border like a collapsed panel header
(regardless of content of the three included pages)
Help will be greatly appreciated...
Gerritjan
I succeeded in obtaining ordered XWiki Objects from a specific page with
XWQL, but it was too slow since it queried the entire wiki.
Since I just need objects from a specific page, I don't need the overhead
of querying the entire wiki DB.
To order objects obtained by $doc.getObjects("Class"), it seems I need a
Comparator class that I can pass to a collection sort method.
To compare fields, I need to extract types from the fields the Comparator
is given in its constructor, which I don't have an idea of.
How do I implement a Comparator that compares objects according to given
fields?
Isn't doc.object(Class) part of XWiki core API?
I thought it was an alias of $doc.getObject("Class")
I want to know what APIs XWQL has access to, but I couldn't find the
information.
On Mon, Nov 12, 2012 at 11:42 PM, Jeremie BOUSQUET <
jeremie.bousquet(a)gmail.com> wrote:
> doc.getObjects("MyClass") is from the xwiki core java api, but is not part
> of the XWQL querying language.
>
> The query:
>
> select srv.port from Document doc, doc.object(Private.Network Services) as
> srv order by srv.port
>
> ... translates to " select "port" field from all XObjects that are of
> class "Private.Network Services", ordering by "port" field "
> So this query would retrieve the value of "port" field from all of these
> XObjects (that we name "srv" in the query), wherever they are and whatever
> their count.
>
>
>
>
> 2012/11/12 crocket <crockabiscuit(a)gmail.com>
>
>> doc.getObjects was there since I had multiple instance of the same class.
>>
>>
>>
>> On Mon, Nov 12, 2012 at 8:32 PM, Jeremie BOUSQUET <
>> jeremie.bousquet(a)gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I think this is not correct:
>>> select srv from IN (doc.getObjects("Private.Network Services")) srv order
>>> by srv.port
>>>
>>> Should be more something like:
>>> select srv.port from Document doc, doc.object(Private.Network Services)
>>> as
>>> srv order by srv.port
>>>
>>> Replacing the "select srv.port" by what fields you want to retrieve.
>>>
>>> Though obviously I'm not sure about what you wanted to achieve with your
>>> request to start with ...
>>>
>>> Br,
>>> Jeremie
>>>
>>>
>>> 2012/11/12 crocket <crockabiscuit(a)gmail.com>
>>>
>>> > Yes, I read it, and it seems collection member declarations don't work
>>> in
>>> > xwiki.
>>> >
>>> >
>>> > On Mon, Nov 12, 2012 at 6:13 PM, Jerome Velociter <jerome(a)velociter.fr
>>> > >wrote:
>>> >
>>> > > Le 12/11/12 09:37, crocket a écrit :
>>> > >
>>> > > I tried to execute a Query and saw an error below.
>>> > >>
>>> > >> Caused by: org.xwiki.query.**QueryException: Exception while
>>> translating
>>> > >> [select srv from IN (doc.getObjects("Private.**Network Services"))
>>> srv
>>> > >> order by srv.port] XWQL query to the [hql] language. Query
>>> statement =
>>> > >> [select srv from IN (doc.getObjects("Private.**Network Services"))
>>> srv
>>> > >> order by srv.port]
>>> > >>
>>> > >> Although I read JPQL documents, I couldn't come out with an answer.
>>> > >>
>>> > >> Does anybody know how to write a correct XWQL statement?
>>> > >>
>>> > >
>>> > > Have you read
>>> http://extensions.xwiki.org/**xwiki/bin/view/Extension/**
>>> > > Query+Module#**HQueryLanguageExamples<
>>> >
>>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HQueryLan…
>>> > >?
>>> > >
>>> > > Jerome
>>> > >
>>> > >> ______________________________**_________________
>>> > >> users mailing list
>>> > >> users(a)xwiki.org
>>> > >> http://lists.xwiki.org/**mailman/listinfo/users<
>>> > http://lists.xwiki.org/mailman/listinfo/users>
>>> > >>
>>> > >
>>> > > ______________________________**_________________
>>> > > users mailing list
>>> > > users(a)xwiki.org
>>> > > http://lists.xwiki.org/**mailman/listinfo/users<
>>> > http://lists.xwiki.org/mailman/listinfo/users>
>>> > >
>>> > _______________________________________________
>>> > 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
>>>
>>
>>
>
Dear Mailman,
I want a standalone XWiki example in order to verify that it can provide my
company's requirements before doing a full installation to our web and data
servers
I have downloaded the windows installer of 4.3 (2) to a Windows 7 machine
with Java 7 installed and 1TB free storage
I ran the installer and I have a start icon and a stop icon on the desktop
When I double click the start icon, I see a command prompt for a fraction
of a second before it disappears.
Firefox and Chrome both report that they cannot connect to localhost:8080
Is there something fundamental that I have missed? I understood that this
installation came with a small database built into it.
--
*John Murphy **|* Technical Writer *|* Mobile: 0415324479 *|*
|Telephone: 02 8999 3170 *|*john.murphy(a)ipscape.com.au*|*
Hello XWiki experts,
at www.curriki.org, our two server-nodes are reaching limits in terms of storage.
One of the things that take a lot of space are the logs, we have a clue how to manage that.
Another thing that takes a lot of space is /var/tmp/ which contains temporary storages for the attachment deliveries.
On one of the nodes, it's made of 14Gb and 12538 files.
On the other, 23Gb and 29402 files.
What are the risk of deleting the old files there?
Is the server touching the files when it has served them so that files older than a day could be deleted if we need?
(I think I know that it takes more time to deliver from the DB and create temp-storage than to use the temp storage)
thanks in advance
Paul
Hi guys,
I just finished repackaging the realtime collaborative editor which was developed as part of wiki/3.0.
It is now installable as an extension. It's still a bit rough around the edges but it's pretty safe to
play with so everyone is invited to give it a try.
* Multiple users can edit the same document at the same time and their changes are merged in real time.
* The "RealTime Wiki" editor is an option along side WYSIWYG and Wiki so it won't break existing editors.
* Easy installation by copying a .jar file and importing a .xar file, removal is simply deleting 2 XDocuments.
http://extensions.xwiki.org/xwiki/bin/view/Extension/RealTime+Wiki+Editor
Please feel free to share your experiences in the mailing list, on the extension wiki page and on the
github bug tracker.
Thanks,
Caleb
I tried to execute a Query and saw an error below.
Caused by: org.xwiki.query.QueryException: Exception while translating
[select srv from IN (doc.getObjects("Private.Network Services")) srv
order by srv.port] XWQL query to the [hql] language. Query statement =
[select srv from IN (doc.getObjects("Private.Network Services")) srv
order by srv.port]
Although I read JPQL documents, I couldn't come out with an answer.
Does anybody know how to write a correct XWQL statement?