How can I get the name and last name from the current user in a different
variables?
Until now I obtain the current user with $context.user but I need the name
separated from the last name.
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-can-I-get-the-name-and-last-name-from…
Sent from the XWiki- Users mailing list archive at Nabble.com.
How can I get the name and last name from the current user in a different variables?
Until now I obtain the current user with $context.user but I need the name separated from the last name.
Thanks
Hello all,
I was wondering if there's a way to change the Velocity macro which generates the Recent Changes list on my Xwiki's dashboard to show the comment associated with a change, underneath each change? I found this thread [1] but it doesn't seem to be relevant to more recent versions of Xwiki.
Ideally I'd like to display the summary of each edit inside the '<div class="xitemcontainer"> tag, or somewhere similar.
Thanks in advance,
Graeme
[1] http://xwiki.475771.n2.nabble.com/Comments-are-minor-edits-td2683633.html
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,e…
Can you please create a new wiki?
brief description: I want to use this wiki for save my particular
informations.
user name: lumarjr
server name: lumarjr.myxwiki.org
Thank you,
Lumar
Is it possible to include a page and have it execute as if it was still in that space (rather than in the parent pages space)?
For example I have a News space and its WebHome page looks for documents with news post objects in that space.
When I include News.WebHome from Main.WebHome it only sees news posts that are in the Main space rather than in the News space.
Many thanks
Radek Rekas
Hi,
I tried building with instructions given in
http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven
what i was missing is settings.xml in .m2 folder.i also created that
and then run command
'mvn clean install' but still getting following error
[INFO] Scanning for projects...
Downloading:
http://maven.xwiki.org/externals/com/xpn/xwiki/platform/xwiki/22/xw
iki-22.pom
[WARNING] Unable to get artifact com.xpn.xwiki.platform:xwiki:pom:22
from reposi
tory xwiki-externals (http://maven.xwiki.org/externals): Error
transferring file
: Connection reset
Downloading:
http://maven.xwiki.org/releases/com/xpn/xwiki/platform/xwiki/22/xwi
ki-22.pom
[WARNING] Unable to get artifact com.xpn.xwiki.platform:xwiki:pom:22
from reposi
tory xwiki-releases (http://maven.xwiki.org/releases): Error
transferring file:
Connection reset
Downloading:
http://repo1.maven.org/maven2/com/xpn/xwiki/platform/xwiki/22/xwiki
-22.pom
[WARNING] Unable to get artifact com.xpn.xwiki.platform:xwiki:pom:22
from reposi
tory central (http://repo1.maven.org/maven2): Error transferring file:
Connectio
n reset
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR] The project
com.xpn.xwiki.products:xwiki-watch-parent:1.1-SNAPSHOT (E:
\SVN MAIN\Xwatch\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM com.xpn.xwiki.platform:xwiki:22
for com.xp
n.xwiki.products:xwiki-watch-parent:1.1-SNAPSHOT: Failed to resolve POM
for com.
xpn.xwiki.platform:xwiki:22 due to Error transferring file: Connection reset
com.xpn.xwiki.platform:xwiki:pom:22
from the specified remote repositories:
xwiki-externals (http://maven.xwiki.org/externals, releases=true,
snapshots=tr
ue),
xwiki-releases (http://maven.xwiki.org/releases, releases=true,
snapshots=fals
e),
xwiki-snapshots (http://maven.xwiki.org/snapshots, releases=false,
snapshots=t
rue),
central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
-> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
delException
Thanks,
Simer
users-request(a)xwiki.org wrote:
> Send users mailing list submissions to
> users(a)xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)xwiki.org
>
> You can reach the person managing the list at
> users-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. Re: How do I run a query from a rdf database in xwiki page
> (Eduard Moraru)
> 2. Re: Calendar Application on XE 2.4 not working properly
> (Raluca Stavro)
> 3. RES: Calendar Application on XE 2.4 not workingproperly
> (Ramon Gomes Brand?o - SERINT)
> 4. Re: Problem building code for xwatch with maven (Anca Luca)
> 5. Re: RES: Calendar Application on XE 2.4 not workingproperly
> (Lockie)
> 6. Re: RES: Calendar Application on XE 2.4 not workingproperly
> (Raluca Stavro)
> 7. Re: Wysiwyg Application Translation (Thomas Mortagne)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 17 Aug 2010 13:15:07 +0300
> From: Eduard Moraru <eduard.moraru(a)xwiki.com>
> Subject: Re: [xwiki-users] How do I run a query from a rdf database in
> xwiki page
> To: users(a)xwiki.org
> Message-ID: <4C6A612B.5040108(a)xwiki.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi abrante,
>
> If I understood correctly your question, you want to know how to query
> (using a SPARQL query) your RDF knowledge base server (hosted on some
> remote machine) trough the SPARQL protocol from an XWiki page by the
> push of a button or link and display the results on the same page.
>
> There are 2 options:
> 1. Manually use the SPARQL protocol to send a HTTP request to your
> server trough AJAX from the XWiki page.
> 2. Have(make) an XWiki plugin that uses some java library like Jena or
> Sesame to make remote SPARQL queries and use it with Velocity from an
> XWiki page.
>
> For both cases, see the specification of the SPARQL protocol and how to
> use it over HTTP (or SOAP):
> http://www.w3.org/TR/rdf-sparql-protocol/#query-bindings-http
>
> If you like Option 1, then you must:
> 1. Create a button or link and assign it an ID.
> 2. Create a div or some sort of container for the result and assign it
> an ID as well.
> 3. Add a JavaScriptExtension (JSX) object to your xwiki page and observe
> the click event ( http://www.prototypejs.org/api/element/methods/observe
> ) of the element with the ID you just assigned at step 1 (your link/button).
> 4. Implement the JS event handler to issue an Ajax request (
> http://www.prototypejs.org/learn/introduction-to-ajax ) with your
> hand-crafted query to your SPARQL (RDF) server.
> 4'. Implement the JS callback method that takes the result of the Ajax
> request, processes it and then dump it into your HTML container that you
> created at step 2 in order to show the result to the user.
>
> Here is a sample HTTP query (that works from your browser):
> http://www4.wiwiss.fu-berlin.de/is-group/sparql?query=SELECT * WHERE {?s
> ?o ?p} LIMIT 10
> Encoded version looks like this:
> http://www4.wiwiss.fu-berlin.de/is-group/sparql?query=SELECT%20*%20WHERE%20…
>
> I hope I did not assume too much :)
>
> Good luck,
> Eduard
>
> On 08/17/2010 10:38 AM, abrante wrote:
>
>> I am trying to run a query from one xwiki page but I could not, someone
>> please can sent me some code example? I want that the user only do click in
>> the link and the report must appear.
>>
>> My query is the follow and I am working with velocity for the scripts
>>
>> Thanks in advance :)
>>
>> "SELECT DISTINCT ?property ?hasValue ?isValueOf
>> WHERE {
>> {
>> <http://testforge.int-evry.fr/d2r-server/resource/bugsubmitters/6688a14521cd…>
>> ?property ?hasValue
>> }
>> UNION
>> { ?isValueOf ?property
>> <http://testforge.int-evry.fr/d2r-server/resource/bugsubmitters/6688a14521cd…>
>> }
>> }
>> ORDER BY (!BOUND(?hasValue)) ?property ?hasValue ?isValueOf "
>>
>>
>>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 17 Aug 2010 16:32:16 +0300
> From: Raluca Stavro <raluca.morosan(a)xwiki.com>
> Subject: Re: [xwiki-users] Calendar Application on XE 2.4 not working
> properly
> To: XWiki Users <users(a)xwiki.org>
> Message-ID:
> <AANLkTinq0s8bXmLMNBgXSqpZ9_sW6U9pJ4jcGogVRQFe(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello Ramon,
>
> The current calendar application has no custom styles applied on it.
> See http://jira.xwiki.org/jira/browse/XACALENDAR-14 .
> I added a patch to it and I hope that it will be applied very soon.
>
> Raluca.
>
> 2010/8/13 Ramon Gomes Brand?o - SERINT <ramon.brandao(a)tjdft.jus.br>:
>
>> Hi,
>>
>>
>>
>> I've Just installed Calendar Plugin and Calendar Application on my XE 2.4 instance. It works when I point to xwiki/bin/view/Main/EventCalendar/, but its look and feel is far away of that smooth one shown in the Calendar Application home page (http://code.xwiki.org/xwiki/bin/view/Applications/CalendarApplication).
>>
>>
>>
>> The calendar appears as a very simple and rough table, its cells don't have a prefixed size (nothing more than just the length of the two digits number of the day) and it does not show the PDF creation link. It also doesn't mark the "today" day on the calendar. I've checked the source code and it seems that the $cview.getHTMLCalendar($cparams, "") method isn't building a smooth calendar. How can I fix this?
>>
>>
>>
>> Doesn't XE 2.4 contain an event calendar by default? If so, how can I access it?
>>
>>
>>
>> I'm using the colibri skin.
>>
>>
>>
>> Regards,
>>
>>
>>
>> Ramon Gomes Brand?o
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 17 Aug 2010 14:29:40 -0300
> From: Ramon Gomes Brand?o - SERINT <ramon.brandao(a)tjdft.jus.br>
> Subject: [xwiki-users] RES: Calendar Application on XE 2.4 not
> workingproperly
> To: "XWiki Users" <users(a)xwiki.org>
> Message-ID:
> <21095DF464A3DE47A7B61EC521D431F70192EFC2(a)TJSW132.tjdf.gov.br>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Raluca,
>
> Is there a way to apply the modifications of this patch on my running calendar application instance? I would like to test it without the need to build the application.
>
> Maybe editing the source code of xwiki/bin/view/XWiki/CalendarSheet ?
>
> Ramon Gomes Brand?o
>
>
> -----Mensagem original-----
> De: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Em nome de Raluca Stavro
> Enviada em: ter?a-feira, 17 de agosto de 2010 10:32
> Para: XWiki Users
> Assunto: Re: [xwiki-users] Calendar Application on XE 2.4 not workingproperly
>
> Hello Ramon,
>
> The current calendar application has no custom styles applied on it.
> See http://jira.xwiki.org/jira/browse/XACALENDAR-14 .
> I added a patch to it and I hope that it will be applied very soon.
>
> Raluca.
>
> 2010/8/13 Ramon Gomes Brand?o - SERINT <ramon.brandao(a)tjdft.jus.br>:
>
>> Hi,
>>
>>
>>
>> I've Just installed Calendar Plugin and Calendar Application on my XE 2.4 instance. It works when I point to xwiki/bin/view/Main/EventCalendar/, but its look and feel is far away of that smooth one shown in the Calendar Application home page (http://code.xwiki.org/xwiki/bin/view/Applications/CalendarApplication).
>>
>>
>>
>> The calendar appears as a very simple and rough table, its cells don't have a prefixed size (nothing more than just the length of the two digits number of the day) and it does not show the PDF creation link. It also doesn't mark the "today" day on the calendar. I've checked the source code and it seems that the $cview.getHTMLCalendar($cparams, "") method isn't building a smooth calendar. How can I fix this?
>>
>>
>>
>> Doesn't XE 2.4 contain an event calendar by default? If so, how can I access it?
>>
>>
>>
>> I'm using the colibri skin.
>>
>>
>>
>> Regards,
>>
>>
>>
>> Ramon Gomes Brand?o
>>
>>
>>
>> _______________________________________________
>> 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
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 17 Aug 2010 20:30:29 +0300
> From: Anca Luca <lucaa(a)xwiki.com>
> Subject: Re: [xwiki-users] Problem building code for xwatch with maven
> To: users(a)xwiki.org
> Message-ID: <4C6AC735.5030504(a)xwiki.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Simer,
>
> On 08/16/2010 01:28 PM, Simerpreet Singh wrote:
>
>> Hi,
>>
>> Iam using xwiki 2.3.1 and trying to install xwatch on in.According to
>> instructions given in
>> http://watch.xwiki.org/xwiki/bin/view/Main/Installation#HBuildingandinstall…
>>
>
> Setup your settings.xml file as indicated in the general xwiki build
> instructions in here:
> http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven .
>
> The issue you're encountering is caused by the fact that your maven it's
> trying to download the xwiki artefacts needed to build watch only from
> the maven central repository, where they are not.
>
> Have fun,
> Anca
>
>
>> i downloaded code from svn http://svn.xwiki.org/svnroot/xwiki/watch/trunk/#
>> but when i try to build it using following commands
>> mvn clean install
>> or
>> mvn clean
>>
>> its giving below mentioned error
>>
>>
>>
>> [INFO] Scanning for projects...
>> Downloading:
>> http://repo1.maven.org/maven2/com/xpn/xwiki/platform/xwiki/22/xwiki
>> -22.pom
>> [ERROR] The build could not read 1 project -> [Help 1]
>> [ERROR] The project
>> com.xpn.xwiki.products:xwiki-watch-parent:1.1-SNAPSHOT (E:
>> \SVN MAIN\Xwatch\pom.xml) has 1 error
>> [ERROR] Non-resolvable parent POM com.xpn.xwiki.platform:xwiki:22
>> for com.xp
>> n.xwiki.products:xwiki-watch-parent:1.1-SNAPSHOT: Failed to resolve POM
>> for com.
>> xpn.xwiki.platform:xwiki:22 due to Missing:
>> ----------
>> 1) com.xpn.xwiki.platform:xwiki:pom:22
>> ----------
>> 1 required artifact is missing.
>>
>> for artifact:
>> com.xpn.xwiki.platform:xwiki:pom:22
>>
>> from the specified remote repositories:
>> central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
>> -> [Help 2]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e swit
>> ch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please rea
>> d the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
>> gException
>> [ERROR] [Help 2]
>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
>> delException
>>
>>
>>
>> can you please correct me if i am doing anything wrong?
>>
>>
>> Thanks,
>> Simer
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 17 Aug 2010 18:30:47 -0700 (PDT)
> From: Lockie <lockie(a)gmail.com>
> Subject: Re: [xwiki-users] RES: Calendar Application on XE 2.4 not
> workingproperly
> To: users(a)xwiki.org
> Message-ID: <1282095047208-5434752.post(a)n2.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> I am also eagerly awaiting a more functional and better looking calendar, I
> hope your patch gets through soon. I tried the
> http://dev.xwiki.org/xwiki/bin/view/Drafts/XWiki-Calendar GWT-Calendar
> aswell but I get a lot of errors, so either I'm doing something wrong or its
> not functional yet...
>
> Lockie.
>
Hello,
I have the following issues/situations:
======
ISSUES
---------------
Situation 1: When Wiki is public available (default), login as Admin,
go to [XWiki] > [Administer Wiki] > [Rights] and then click [Logout]
link in top right corner.
Results in number of redirects (approx. 3), ending with a malformed
URL and error 404:
http://example.com:8580/wikihttp://example.com:8580/wiki/bin/login/XWiki/XW…
---------------
Situation 2: When securing the Wiki by checking the options:
[XWiki] > [Administer Wiki] > [Rights]
- Prevent unregistered users from viewing pages, regardless of the
page or space rights
- Prevent unregistered users from editing pages, regardless of the
page or space rights
also the login redirect fails with a number of redirects (approx. 4),
ending with a malformed URL and error 404: when entering URL:
1 ORIGINAL URL: http://example.com:8580/wiki
> REDIRECT TO: http://example.com:8580/wiki/
> REDIRECT TO: http://example.com:8580/wiki/bin/view/Main/
> REDIRECT TO: http://example.com:8580/wikihttp://example.com:8580/wiki/bin/login/XWiki/XW…
ERROR 404
Only by manually entering the URL:
http://example.com:8580/wiki/bin/login/XWiki/XWikiLogin?srid=VBpGu2m0&xredi…
the login screen is shown and the user can login.
========
QUESTION
Does anyone recognizes this behaviour and how can XWiki / Tomcat be
configured to prevent this from happening?
=============
CONFIGURATION
- XWiki Enterprise 2.4.30451 WAR
- Tomcat 6.0.18 standalone
- MySQL DB
- CentOS 5.3
With regards,
Andor Vierbergen