[jboss-user] [JBoss Tools] - Re: Content assist in xhtml files not work for two faces-config.xml

Viacheslav Kabanovich do-not-reply at jboss.com
Tue Aug 21 13:28:19 EDT 2012


Viacheslav Kabanovich [https://community.jboss.org/people/scabanovich] created the discussion

"Re: Content assist in xhtml files not work for two faces-config.xml"

To view the discussion, visit: https://community.jboss.org/message/754899#754899

--------------------------------------------------------------
Does your project include /WEB-INF/web.xml file with context parameter?

 <context-param>
  <param-name>javax.faces.CONFIG_FILES</param-name>
  <param-value>/WEB-INF/second-faces-config.xml</param-value>
 </context-param>

File named faces-config.xml is not required to be registered in web.xml, but other named files should be. When you created second-faces-config.xml file by JBoss Tools faces config wizard, it must have added this context parameter so that it was used by content assist. Could it be that later it was removed from web.xml?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/754899#754899]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120821/44e18f51/attachment.html 


More information about the jboss-user mailing list