when using an association, alfresco creates a component with a search field. where can i find the implementation of that component :?: (class, method etc.)
is there a way to change the search query without touching the code, or is there a method that can do that (generate a different query for the association search field)
The component you're after is UIAssociationEditor or UIChildAssociationEditor.
Unfortunately these are not configurable so if you want to change their behaviour you'll need to create custom versions and override their definition (from faces-config-beans.xml)
I want to customize the queries that are run when using the UIAssociationEditor component. Unfortunately, I could not get where the "Search processing" code is. Can anyone point me to this ?
Absolutely. I don't get how the search process is run. The method "encodeSearchButton" (something like that, I don't have the java class right now) shows that a javascript code is generated (something like calling the method generateForm), but I could not understand if it was this js code that wass meant to run the search.
I debugged search classes (like SimpleSearch.java, SearchContext.java …) with no result.