문제

Does anybody know how to enable myDataBindListener (that implements DataBindListener) in grails app?

도움이 되었습니까?

해결책

Inside resources.groovy define it as a bean. This will register it with the spring application context and receive events.

beans {
  myDataBindListener(com.whatever.MyDataBindListener)
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top