facebook

faces-config doesn’t grok inner class syntax

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #256965 Reply

    aprilsound
    Member

    I have a few converters that convert inner classes.
    The only syntax that works for inner classes is the dollar syntax:

    
    <converter>
      <converter-for-class>
        com.foo.SomeClass$InnerClass
      </converter-for-class>
      <converter-class>
        com.foo.Converter
      </converter-class>
    </converter> 
    

    However, ME claims it is an error (“Class ____ is not found.”) unless I use the dot syntax.

    
    <converter>
      <converter-for-class>
        com.foo.SomeClass.InnerClass
      </converter-for-class>
      <converter-class>
        com.foo.Converter
      </converter-class>
    </converter> 
    

    I’m using MyFaces, and I’m guessing they just do a Class.forName on the converter class, which is why I need the $ instead of the ‘.’ but this is really annoy, because I have quite a few converters that work like this.

    #257046 Reply

    Thanks for pointing us to that bug. I added it to our bugtracker.

    It is bug in MyEclipse, we will fix it in next releases.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: faces-config doesn’t grok inner class syntax

You must be logged in to post in the forum log in