[ https://jira.nuxeo.com/browse/NXP-6795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anahide Tchertchian resolved NXP-6795. -------------------------------------- Resolution: Fixed Done: http://hg.nuxeo.org/nuxeo/nuxeo-jsf/rev/12790861f498 Sample configuration: <urlPattern name="default" enabled="true"> <defaultURLPolicy>true</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>true</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>docpath</codecName> <actionBinding>#{restHelper.initContextFromRestRequest}</actionBinding> <documentViewBinding>#{restHelper.documentView}</documentViewBinding> <newDocumentViewBinding> #{restHelper.newDocumentView} </newDocumentViewBinding> <bindings> <binding name="tabId" callGetter="false"> #{webActions.currentTabId} </binding> <binding name="subTabId" callGetter="false"> #{webActions.currentSubTabId} </binding> <binding name="tabIds">#{webActions.currentTabIds}</binding> <binding name="language" callGetter="false"> #{restHelper.localeString} </binding> </bindings> </urlPattern> > Make it possible not to call URL pattern bindings setters or getters > -------------------------------------------------------------------- > > Key: NXP-6795 > URL: https://jira.nuxeo.com/browse/NXP-6795 > Project: Nuxeo Enterprise Platform > Issue Type: Improvement > Components: Web UI > Affects Versions: 5.4.1 > Reporter: Anahide Tchertchian > Assignee: Anahide Tchertchian > Fix For: 5.4.2 > > > URL pattern bindings are used as is: > - when restoring context for a given URL, setters will be called > - when building a document view before redirect, getters will be called. > We need to make it possible to disable a binding in one of these cases. > This is interesting for instance for compatibility bindings, where we want > restful URLs using a deprecated binding to be called on set, but we do not > want the corresponding binding name to pollute the generated URL on get. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ ECM-tickets mailing list ECM-tickets@lists.nuxeo.com http://lists.nuxeo.com/mailman/listinfo/ecm-tickets