Announcement Announcement Module
Collapse
No announcement yet.
Is it possible to store the result of an SpEL expression as a bean? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is it possible to store the result of an SpEL expression as a bean?

    The title says it all...
    something like this (I know there's no 'value' attribute on bean)
    Code:
    <bean id="myBean" class="my.ResultBean" 
         value="#{ @someOtherBean.getThis().createThat().createResultBean() }" >
    or is there any built-in factory type that I can use to pass in the bean's value as a constructor-arg or property?
Working...
X