Dear Mathieu,
you were right: there was a conflict between the two filters acting both
on the BOOLEAN_CHECKBOX component.
After disabling the SingleValueFilter, everything works as I wish.
Thanks a lot for your useful piece of advice.
Best regards,
Alessandro
On 03/17/2014 10:52 AM, Mat...@ak... wrote:
> Hello Alessandro
>
> There has not been any change on the way to active a filter from the
> 2.0 to the 2.2.0.1 SITools version.
>
> The BOOLEAN_CHECKBOX query component is used by the SingleValueFilter,
> which is a default filter in SITools2 maybe there is a collision
> between your custom filter and the default one (both your filter and
> the SingleValueFilter are applied).
>
> What I would advise is to override the SingleValueFilter with your own
> class and to disable the default SingleValueFilter. This way the
> default behavior will be preserved and your custom behavior will be
> applied.
> Also remember to deactivate and reactivate your dataset after making
> any changes on the filter configuration.
>
> Hope this help, do not hesitate to ask if you have any other question.
>
> Best
> Mathieu
>
> *Mathieu Gond**
> AKKA Informatique et Systèmes *
> 6 rue Roger Camboulives - BP 13633 - 31036 TOULOUSE Cedex 1
> Tél : 05 34 61 93 97 - Fax : 05 34 61 92 22
> Site : _www.akka.eu_ <http://www.akka.eu/>- email :
> _mathieu.gond@akka.eu_
>
>
>
> -----alessandro <ale...@ia...> a écrit : -----
> A : sit...@li...
> De : alessandro <ale...@ia...>
> Date : 17/03/2014 09:43
> Objet : [Sitools2-developers] Trouble activating new filter on
> Sitools2 server instance.
>
> Bonjour,
>
> I have a problem with a new filter I created and related to the query
> component BOOLEAN_CHECKBOX.
> The new filter is added and works fine in my local version (v.
> 2.2.0.1) of Sitools2. However, after exporting the same jar file into
> the ext/ folder of the server instance (v. 2.0), the new filter is
> added and activated (apparently) correctly, but the output from
> BOOLEAN_CHECKBOX remains unchanged and it is not filtered at all.
>
> I am wondering if this trouble may be somehow related to the different
> versions of Sitools2, or if I should do something else for activating
> the filter on the server side.
> I point out that in the same project there is also another filter,
> that works fine on both local/served sides.
>
> Many thanks in advance for your suggestions.
>
> Cordialement,
> Alessandro Nastasi
> --
> Alessandro Nastasi
> Integrated Data and Operation Center (IDOC)
> Institut d'Astrophysique Spatiale
> Bâtiment 121 - Université Paris-Sud
> 91405 Orsay Cedex
> Tél : 01 69 85 87 67
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Sitools2-developers mailing list
> Sit...@li...
> https://lists.sourceforge.net/lists/listinfo/sitools2-developers
> _______________________________________
>
> /
> L'intégrité de ce message n'étant pas assurée sur internet, AKKA
> TECHNOLOGIES et ses filiales ne peuvent être tenues responsables de
> son contenu. Ce message et les éventuels fichiers attachés contiennent
> des informations confidentielles. Au cas où il ne vous serait pas
> destiné, nous vous remercions de bien vouloir le supprimer et en
> aviser l'expéditeur. Toute utilisation de ce message non conforme à sa
> destination, toute diffusion ou toute publication, totale ou
> partielle, est interdite, sauf autorisation expresse.
>
>
>
> This message and the files that may be attached to it contain
> confidential information. AKKA TECHNOLOGIES or its subsidiaries may
> not be held responsible for their contents, whose accuracy and
> completeness cannot be guaranteed over the internet. If the message is
> not addressed to you, kindly delete it and notify the sender. Any use
> of this message not in accordance with its purpose, any dissemination
> or disclosure, either whole or partial, is prohibited except formal
> approval.
>
> /
> ________________________________________
--
Alessandro Nastasi
Integrated Data and Operation Center (IDOC)
Institut d'Astrophysique Spatiale
Bâtiment 121 - Université Paris-Sud
91405 Orsay Cedex
Tél : 01 69 85 87 67
|