Static Reference Rewriter- changes related to MSM
Hi,
We have a custom staticreference rewrite transformer component written. Also, the mapping has been made in projectName.xml under/config/rewriter. The functionality was working fine with en_US site redirecting images etc to the static domain. Now that multi lingual sites have been created, the functionality has to be extended to all the sites. As specified, I created new config nodes under config.prod as
com.projectName.wcm.rewriter.impl.StaticReferenceRewriteTransformerFactory-UScom.projectName.wcm.rewriter.impl.StaticReferenceRewriteTransformerFactory-FRand so on..
In this case the rewritetransformer gets invoked, but not rightly. It always ends up taking the config of the last node in the order and replaces the url with the static domain specification of that node.eg : Irrespective of whether it is US or UK or FR url, the static domain that is redirected would be static.siteName.FR
Is anything else to be added here to make it work for Multi sites? Request your help here. Thanks !
