you are true <bean-import resource=""/> tag is only meant for bean definitions But i want import global transitions as a separate xml so that i can import this global transition xml from all the flow xmls
globaltransitions.xml looks as follows, so how can i import this from flow xml ? <bean-import is not a right choice for this...
><?xml version="1.0" encoding="UTF-8"?>
<flow xmlns="http://www.springframework.org/schema/webflow"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/webflow
http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd"
>
<global-transitions>
<transition on="login" to="login" />
<transition on="error" to="error" />
</global-transitions>
</flow>