[jboss-user] [JBoss Tools] New message: "Re: Enabling code assist in xhtml files"

Arbi Sookazian do-not-reply at jboss.com
Tue Feb 2 12:48:27 EST 2010


User development,

A new message was posted in the thread "Enabling code assist in xhtml files":

http://community.jboss.org/message/523735#523735

Author  : Arbi Sookazian
Profile : http://community.jboss.org/people/asookazian

Message:
--------------------------------------------------------------
There are many extra files now in my web project after enabling Seam setup and/or Seam facet.
 
example:
 
@Name("authenticator")
public class Authenticator
{
    @Logger private Log log;
 
    @In Identity identity;
    @In Credentials credentials;
 
    public boolean authenticate()
    {
        log.info("authenticating {0}", credentials.getUsername());
        //write your authentication logic here,
        //return true if the authentication was
        //successful, false otherwise
        if ("admin".equals(credentials.getUsername()))
        {
            identity.addRole("admin");
            return true;
        }
        return false;
    }
 
}
 
Also, *.css files that I don't want.
 
How do I prevent this from happening (i.e. I don't need the extra files)?

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/523735#523735




More information about the jboss-user mailing list