0 Replies Latest reply on Nov 30, 2009 9:51 AM by bbuzzard

    Does anyone know how to add beans to Bean Repository via Smo

    bbuzzard

      If you want to add a bean to the Bean Context in Smooks it's pretty easy, just get an instance of the BeanRepository and add the bean to the context. However, it's unclear to me how to add beans via the Smooks XML editor. I don't even know if it's possible or if I have to create some custom SmooksAction where I add beans to the BeanContext.

      I think the best solution would be to use the Smooks XML Editor, but if I have to create a custom SmooksAction then I'm ok with that too.