All,
Seems like a simple question but I can't figure this out. I would like to expose this bean (imported using bean-import) to my JSTL for data binding:
I know the bean has been loaded. I can't figure out what to put in the 'on-render' action to get the bean exposed to the JSP context.Code:<bean id="myData" class="java.util.HashMap" scope="flow"> <constructor-arg index="0" type="java.util.Map"> <map> <entry key="0" value="SELECT ONE"/> <entry key="108" value="One 0 Eight"/> <entry key="107" value="One 0 Seven"/> </map> </constructor-arg> </bean>
I've tried:
Thanks!Code:<on-render> <set name="myMap" value="flowScope.myData"/> </on-render>


Reply With Quote