jsf-2 149

  1. Differences between action and actionListener
  2. How to choose the right bean scope?
  3. commandButton/commandLink/ajax action/listener method not invoked or input value not set/updated
  4. What are the main disadvantages of Java Server Faces 2.0?
  5. What is the JSF resource library for and how should it be used?
  6. How to include another XHTML in XHTML using JSF 2.0 Facelets?
  7. javax.faces.application.ViewExpiredException: View could not be restored
  8. JSTL in JSF2 Facelets… makes sense?
  9. What can <f:metadata>, <f:viewParam> and <f:viewAction> be used for?
  10. Migrating from JSF 1.2 to JSF 2.0
  11. When should I use h:outputLink instead of h:commandLink?
  12. How to find out client ID of component for ajax update/render? Cannot find component with expression “foo” referenced from “bar”
  13. Backing beans (@ManagedBean) or CDI Beans (@Named)?


  14. ViewParam vs @ManagedProperty(value = “#{param.id}”)
  15. Get JSF managed bean by name in any Servlet related class
  16. How to use PrimeFaces p:fileUpload? Listener method is never invoked or UploadedFile is null / throws an error / not usable
  17. How can I pass selected row to commandLink inside dataTable or ui:repeat?
  18. When to use <ui:include>, tag files, composite components and/or custom components?
  19. How to use enum values in f:selectItem(s)
  20. When to use f:viewAction / preRenderView versus PostConstruct?
  21. What is the use of faces-config.xml in JSF 2?
  22. How to provide a file download from a JSF backing bean?
  23. Can I update a JSF component from a JSF backing bean method?
  24. When to use valueChangeListener or f:ajax listener?
  25. Error Parsing /page.xhtml: Error Traced[line: 42] The entity “nbsp” was referenced, but not declared
  26. What are the differences between ${} and #{}?
  27. Difference between h:button and h:commandButton
  28. How does the 'binding' attribute work in JSF? When and how should it be used?
  29. How get the base URL?
  30. Is it possible to use JSF+Facelets with HTML 4/5?
  31. What is Mojarra?
  32. Get current page programmatically
  33. How to invalidate session in JSF 2.0?
  34. Difference between View and Request scope in managed beans
  35. Which XHTML files do I need to put in /WEB-INF and which not?
  36. Defining and reusing an EL variable in JSF page
  37. f:convertDateTime displays wrong Date
  38. Adding <h:form> causes java.lang.IllegalStateException: Cannot create a session after the response has been committed
  39. What values can I pass to the event attribute of the f:ajax tag?
  40. How to handle session expiration and ViewExpiredException in JSF 2?
  41. How to create a custom EL function to invoke a static method?
  42. Session timeout and ViewExpiredException handling on JSF/PrimeFaces ajax request
  43. Find component by ID in JSF
  44. How to reference CSS / JS / image resource in Facelets template?
  45. Difference between Mojarra and MyFaces
  46. Are @ManagedBeans obsolete in JavaEE6 because of @Named in CDI/Weld?
  47. How implement a login filter in JSF?
  48. Load images from outside of webapps / webcontext / deploy folder using <h:graphicImage> or <img> tag
  49. Display dynamic image from database with p:graphicImage and StreamedContent
  50. how to debug JSF/EL