Eclipse code assist in .xhtml pages (JSF tags, Richfaces tags, ...)

Submitted by Jochus on Sat, 09/02/2013 - 17:53 | Posted in: Java

If you are missing code assist in XHTML pages, try to the change the following project settings:

  • Right click on project > Properties
  • Choose: Project Facets
  • Check and choose the correct version for Dynamic webmodule
  • Check and choose the correct version for JavaServer Faces


Submitted by angad (not verified) on Fri, 17/05/2013 - 21:03

I am using JSF 2 and Rich faces 4.2. I have one login page to login (login.xhtml) [hits logincontroller] to my application.
This accepts 3 fields userid, pwd and account #.
Now, if somebody hits a redirect.xhtml, then i want this login page to be bypassed as i would be getting these values from a form with post values.
Now there is more logic in my logincontroller which i want to be executed. so how can i do this ?

Add new comment

The content of this field is kept private and will not be shown publicly.


  • Lines and paragraphs break automatically.
  • You can caption images (data-caption="Text"), but also videos, blockquotes, and so on.
  • Web page addresses and email addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <cpp>, <css>, <html5>, <java>, <javascript>, <php>, <sql>, <xml>. The supported tag styles are: <foo>, [foo].
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.