Re: [xwiki-users] Fw : Re: Which Separator in properties name I can use?

2015-03-04 Thread Marius Dumitru Florea
On Wed, Mar 4, 2015 at 5:00 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote:


  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/WritingCustomSolrSearchForAWM

 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.

It is defined in Main.SolrSearch. The rest is just Velocity syntax.
The macro is called with a string parameter which happens to be the
name of another macro.

 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'

This was probably added by mistake. I removed it.

 but a search return at right screen (redefine search):
 Client: $prop.getMapValues().get($value).val...

You need to add an Organization as mentioned on the home page of the
Expense Report application.


 Thxs

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Search for all documents in a space?

2015-03-04 Thread vinc...@massol.net
Hi Marius,

On 4 Mar 2015 at 16:03:17, Marius Dumitru Florea 
(mariusdumitru.flo...@xwiki.com(mailto:mariusdumitru.flo...@xwiki.com)) wrote:

 On Tue, Mar 3, 2015 at 12:47 AM, vinc...@massol.net wrote:
  Hi,
 
  That’s a good question. I searched on 
  http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Application
   and couldn’t find a description of what can be entered in the search box.
 
  
  @Marius: any idea if we describe that somewhere?
  
 I added a section. Note that each search engine can use its own
 (different) search query syntax

Thanks but could you move what’s on the design page to the reference 
documentation please since we’re not supposed to point to design.xwiki.org? 
It’s temporary work that’s done as initial design and the goal is always to 
move what users/devs need to know to the reference doc proper.

Thanks again
-Vincent

  Seems that using “space:Main” or “web:Main” works for me.
 
  Thanks
  -Vincent
 
 
  On 2 Mar 2015 at 23:39:39, Debajit Adhikary 
  (deba...@outlook.com(mailto:deba...@outlook.com)) wrote:
 
  What should I type in the Search field to list all the documents in a 
  space?
  I tried typing in where doc.space='' 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)

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How to hide Click here to force editing link for restricted pages?

2015-03-04 Thread Debajit Adhikary
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  
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Installed version 6.4.1 is not valid

2015-03-04 Thread Conficio
Trying to upgrade from 6.4.1 to 6.4.2 and in the upgrade wizard I get this
message Installed version 6.4.1 is not valid when upgrading the XWiki
Enterprise - UI - Main wiki

From there on nothing moves forward, no Later, no Never

How can I get passed this.

I installed cleanly 6.4.1 a few days ago. And I hope that some of the link
issues and the categories in the blog are fixed.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Installed-version-6-4-1-is-not-valid-tp7594207.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Flagging a page in XWiki?

2015-03-04 Thread Debajit Adhikary
Is there any way for a user to flag a page in XWiki?
  
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Flagging a page in XWiki?

2015-03-04 Thread vinc...@massol.net
Hi, 

On 5 Mar 2015 at 01:22:40, Debajit Adhikary 
(deba...@outlook.com(mailto:deba...@outlook.com)) wrote:

 Is there any way for a user to flag a page in XWiki?

Do you mean bookmarking the page, watching the page, or do you mean tagging a 
page, or something else?

For tagging, see 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki 7.0 Milestone 2 released

2015-03-04 Thread Marius Dumitru Florea
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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Which Separator in properties name I can use?

2015-03-04 Thread Marius Dumitru Florea
On Tue, Mar 3, 2015 at 4:57 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote:
 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#HCustomSearchParameters
  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

There shouldn't be any problem if you have an underscore in the property name.

 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/WritingCustomSolrSearchForAWM

What exactly didn't work. It works for me. I made some small changes
to make it more clear.

Hope this helps,
Marius


 Thxs.
 Pascal B

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Search for all documents in a space?

2015-03-04 Thread Marius Dumitru Florea
On Tue, Mar 3, 2015 at 12:47 AM, vinc...@massol.net vinc...@massol.net wrote:
 Hi,

 That’s a good question. I searched on 
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Application 
 and couldn’t find a description of what can be entered in the search box.


 @Marius: any idea if we describe that somewhere?

I added a section. Note that each search engine can use its own
(different) search query syntax


 Seems that using “space:Main” or “web:Main” works for me.

 Thanks
 -Vincent


 On 2 Mar 2015 at 23:39:39, Debajit Adhikary 
 (deba...@outlook.com(mailto:deba...@outlook.com)) wrote:

 What should I type in the Search field to list all the documents in a space?
 I tried typing in where doc.space='' 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)

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Fw : Re: Which Separator in properties name I can use?

2015-03-04 Thread Pascal BASTIEN

 
  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/WritingCustomSolrSearchForAWM
 
 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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users