|
|
|
Peter, I filed this JIRA issue before the email discussion "Adding support for additional namespaces".
1) So for <tx:advice> problem from JIRA description I guess be solution would be to create something like a 'AnnotatedTypeBeanConverter' and annotate com.intellij.spring.model.xml.tx.AnnotationDriven#getTransactionManager and com.intellij.spring.model.xml.tx.Advice#getTransactionManager? Such a solution would really help implementing support for "jms" schema from spring 2.5 which I think has 7 or 8 of such "specific typed bean reference" attributes. 2) For second problem with schema annotation from custom namespace (mentioned in comment above), I'll attach a ready-to-run jar file with the custom namespace. That will save you some time with reproducing the problem. Attached JAR file containing a trivial dummy namespace handler.
For attribute "transaction-manager" an annotation is present, but IDEA does not offer expected completion. Thanks, that should improve completion for some specific third-party namespaces I've been working with. Will test with next EAP.
For first problem there's a trivial patch attached to Peter fixed part 1 of this issue, and for remaining transaction-manager problem these is a dedicated issue:
So this one can be closed. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
The relevant attribute declaration looked like: