Hello,
(warning n00b question ahead)
I would like to fetch external data, in xml (say for example https://raw.githubusercontent.com/xwiki/xwiki-commons/master/pom.xml) and use it in a XWiki page : filter tokens, display node contents, etc. At this stage I don’t envision populating a custom class.
Would you guys have pointers/examples of such xwiki page?
Thank you in advance!
Sylvain
Je serai absent(e) à partir du 06/03/2015 de retour le 09/03/2015.
je suis en congés.
Je répondrai à vos messages dès mon retour.
En cas de problème technique, veuillez contacter SYNOX au 05 67 34 66 56.
Merci
Hi All,
i am trying to get into javascript, prototype and restlet-Framework. The
"GET" Response is smoothly working [see (1) below]. But i now want to write
back a property to a object. It seems that prototype is not great for
Restless Requests (see 2). But on (2) i found a possible solution. Now i
tried an example (3), but it not seems to work. Did someone have a working
PUT-Example?
PS: I used the restlet-framework also from java and there everything works,
so at the moment i can't tell what is the mistake. I put the error from the
console to (4).
Sorry for this long post, but i like to share what i found so far. Maybe
later on someone need something similar.
Regards,
Matthias
___________________
(1)
{{velocity}}
{{html}}
{{/html}}
{{velocity}}
(2)
http://stackoverflow.com/questions/4476810/is-it-really-possible-to-call-ht…
(3)
{{velocity}}
{{html}}
{{/html}}
(4)
Request-URL:
http://refidim:8082/xwiki/rest/wikis/xwiki/spaces/PrayHour/pages/MON09/obje…
Request-Methode: PUT
Status-Code: HTTP/1.1 500 Server Error
Request-Header 21:57:55.000
X-Requested-With: XMLHttpRequest
X-Prototype-Version: 1.7.1
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101
Firefox/36.0
Referer: http://refidim:8082/xwiki/bin/view/Main/AjaxRequestPUT
Host: refidim:8082
Content-Length: 0
Connection: keep-alive
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/javascript, text/html, application/xml, text/xml, */*
Gesendetes Cookie
validation: "3bd2fdf8f9a05ba614cf37e91b1028b7"
username: "obD1aIklU0E_"
rememberme: "false"
password: "GvlF1PXlVNhGHYktowzcuA__"
language: de
JSESSIONID: oih8bz5oa3d5qax4v8dnfs72
Response-Header Δ30ms
XWiki-Version: 6.3
XWiki-User: XWiki.Admin
Server: Restlet-Framework/2.0.14
Date: Thu, 05 Mar 2015 20:57:55 GMT
Content-Type: text/html; charset=UTF-8
Content-Script-Type: text/javascript
--
View this message in context: http://xwiki.475771.n2.nabble.com/Ajax-PUT-Request-to-Restlet-Framework-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, All!
XWiki 6.4.2 clean installation. Extension http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro is installed.
Space with several pages. On Space.WebHome I put
{{velocity}}
{{documentTree showSpaces="true" readOnly="false" root="document:$doc.space.$doc.name"/}}
{{/velocity}}
Works fine. I have a tree. If I change page order in the Tree - it also works fine. On page reload Tree has initial page order. Am I doing anything wrong or this is the case to "jira" the bug?
Is it possible to open all branches of the tree somehow?
Kind regards,
Dmitry
When an unauthorized user visits a restricted page, they see the message "Click here to force editing" — do users need to belong to a particular group to see this message?
What specifically is the intent behind this feature? (I'm curious as it appears to allow other users to, in a way, bypass the security mechanism). How do I prevent a user from seeing the "Click here to force editing" link?
—Debajit
What should I type in the Search field to list all the documents in a space?
I tried typing in "where doc.space='<SpaceName>'" but that does not give me the expected results.
I know that I can filter from the right sidebar, but how can I do this from the search field itself?
(I am using XWiki 6.4)
>
> > By the way: I didn't manage to make
> this example work with this code on xwiki 6.4+Expense Report
> Application:
> > http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingCustomSolrSearchFo…
>
> What exactly didn't work.
> It works for me. I made some small changes
> to make it more clear.
>
Ok it is working now on my 6.4 jetty package (must typing some field to see correct right screen :-/).
I don't understand how ExpenseReport.ListFacet working: wich values in entry (if they are some) and which values are returned?
In ExpenseReport.ListFacet we found this macro
#macro (displaySearchFacetValue_list $value)
with $value parameters but it seems you call it with:
#displaySearchFacetValuesLimited($facetValues {} 'displaySearchFacetValue_list')
?? the macro is the parameter of #displaySearchFacetValuesLimited
didn't found displaySearchFacetValuesLimited macro source.
Have you some docs about this case or could you brievly explain me?
There are an error here I think in ExpenseReport.ListFacet
'facetFields': ['property.ERCode.ERCodeClass.status_string','property.ERCode.ERCodeClass.organisation_string', 'property.ERCode.ERCodeClass.currency_string', 'property.ERCode.ERCodeClass.status_client', 'property.ERCode.ERCodeClass.user_string', 'author', 'creator', 'date',
'creationdate'],
'property.ERCode.ERCodeClass.status_client' must be probably 'property.ERCode.ERCodeClass.client_string'
but a search return at right screen (redefine search):
Client: $prop.getMapValues().get($value).val...
Thxs
Hello,
I'm writing an xwiki application and I start fighting with solr search.
On http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Query+API#… I read
"The list of typed (non-string) dynamic fields that will be expanded in the search query. The names of these fields are suffixed with the name of their data type (e.g. *_int is a dynamic integer field)."
Unfortunaly in my application I use same prefixe in my properties name (_) to add some dynamic bootstrap tab (and another things)! An example: CodeH_Deb_P1 or P1_EaAutrDO_Cond_Invisi
I suppose _ is hardecoded in xwiki, then I must replace all my _ character in my properties name and Sheets code but could you suggest a character I can use without problem?
This one ~ perhaps?
By the way: I didn't manage to make this example work with this code on xwiki 6.4+Expense Report Application:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingCustomSolrSearchFo…
Thxs.
Pascal B
The XWiki development team is proud to announce the availability of
XWiki 7.0 Milestone 2.
This release comes with a simplified Wiki Creation Wizard and the
ability to organize and filter extensions by category in the Extension
Repository. The install date and the user that performed the install
are now available in the extension details, and the extensions that
were installed explicitly are now displayed distinctly. A stronger
confirmation should prevent users from deleting wikis by mistake from
now on. The developers may be interested by the API improvements made
to the Mail Sender and Extension Manager modules.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70M2
Thanks
-The XWiki dev team