Hi 
I'm trying to create a form that displays the list of available locates from
general.properties in a form  a drop-down, however I keep getting the error 
Exception: org.ofbiz.widget.screen.ScreenRenderException
Message: Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.ClassCastException: Not a map (Not a map)

I've tried all permutation combination, even running the code as a service,
but no luck. 

Here's my Form code :- 
<actions>
        <property-to-field field="values" resource="general.properties" 
property="locales.available"/>          
        <service service-name="splitString" result-map="rmap" >
                <field-map field-name="inputString" value="${values}"/>
                <field-map field-name="delimiter" value=","/>
        </service>      
        <set field="listing" from-field="${rmap.outputList}" type="NewList"/>
</actions>      
        <field name="localeString">
            <drop-down >            
               <list-options key-name="listing" list-name="listing" />         
            </drop-down>
        </field>

Would appreciate any help with this.. 




-----
Rgds
Sanjeev Gupta
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Display-the-List-of-available-Locales-from-general-properties-in-a-form-drop-down-tp4673430.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to