users@glassfish.java.net

Re: Glassfish and JSF (Mojarra) problems

From: <glassfish_at_javadesktop.org>
Date: Wed, 02 Jun 2010 14:07:42 PDT

There is no java code, it is all done by the container using XML:

<managed-bean>
        <managed-bean-name>headAndFoot</managed-bean-name>
        <managed-bean-class>java.util.TreeMap</managed-bean-class>
        <managed-bean-scope>none</managed-bean-scope>
        <managed-property>
            <property-name>banners</property-name>
            <map-entries>
                <key-class>java.lang.String</key-class>
                <map-entry>
                    <key>headerUrl</key>
                    <value>http://foo.utah.edu</value>
                </map-entry>
                <map-entry>
                    <key>urlName</key>
                    <value>Request For Change</value>
                </map-entry>
            </map-entries>
        </managed-property>
    </managed-bean>
</faces-config>
[Message sent by forum member 'bryanut']

http://forums.java.net/jive/thread.jspa?messageID=472456