Results 1 to 2 of 2

Thread: PropertyEditor on static variable

  1. #1
    Join Date
    May 2005
    Posts
    17

    Default PropertyEditor on static variable

    Hi,
    Probably a trivial question...

    i would like to inject some static variable (int) into a bean :

    <bean id="mybean" class="mybean">
    <property name="mytab">
    <list>
    <value>MyClass.UNKNOWN_USER</value>
    <value>MyClass.WRONG_PASSWORD</value>
    </list>
    </property>
    </bean>

    I think i must create a custom property editor but i dont understand how to register it.

    Can you help me.
    Thanks

  2. #2
    Join Date
    Mar 2007
    Posts
    515

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •