1 Reply Latest reply on Jun 18, 2009 11:38 AM by lukebk

    Namespace for my components & autocomplete in Eclipse

    lukebk

      Hi all,


      I'm trying to use namespaces for my components so I've followed the examples provided in the seam sources.
      I've created a package-info.java like this:


      @Namespace(value="http://amtservices.it/pegaso/utils", prefix="it.amt.services.pegaso.utils")
      @org.jboss.seam.annotations.AutoCreate
      package it.amt.services.pegaso.utils;
      
      import org.jboss.seam.annotations.Namespace;



      Then I've imported in components.xml



      <import>it.amt.services.pegaso.utils</import>



      I've created a seam component


      @Name("it.amt.services.pegaso.utils.configurationHelper")



      Now in my xhtml pages I can call my components


      #{configurationHelper.myMethod}



      and everything works fine.


      However using code completion I must insert all the path


      (it.amt.services.pegaso.utils.configurationHelper)



      There's a way to let eclipse to parse my namespaces?


      Thanks,
      Luca