0 Replies Latest reply on Nov 12, 2008 12:47 PM by pdoubleya

    Component name prefixes: default? and plugin support

    pdoubleya

      Hi


      1) We're starting to use Seam 2.1 GA, and thinking about organizing our components by using a prefix and importing the prefix in components.xml. From the Seam documentation, it looks like component names which include prefixes must have the prefix added to each individual component. Is it possible to declare a default prefix (similar to a namespace) for all components, say, in a package?


      2) Eclipse plugin: In testing use of prefixes, we created a component with a prefix and imported the prefix in components.xml. When editing a facelet within Eclipse, it recognized an EL expression with the prefix, but not an EL expression without the prefix.


      @Name("auth.user")
      public class User....


      in components.xml
      <import>auth</import>


      in facelet
      #{auth.user} is recognized but
      #{user} is marked as invalid by the Eclipse Seam plugin.



      TIA!
      Patrick