Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 931839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:34:07+00:00 2026-05-15T20:34:07+00:00

This code, a test case for a custom component using JSF2 Just for the

  • 0

This code, a test case for a custom component using JSF2

Just for the record, the file: panel.xhtml , located at /resources/panels/panel.xhtml

test.xhtml:

<head>
</head>
<body>
<panels:panel/>
</body>
</html>

Returns the following html:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:panels="http://java.sun.com/jsf/composite/panels">

<head>
<script ...></script></head>
<body>
<panels:panel></panels:panel>
</body>
</html>

Why is not being rendered? Maybe because I’m using Richfaces 3.3.3.Final and I have the param in web.xml so Richfaces can work with JSF2? I tried disabling it but then the server does not start so I can’t try if this is the problem.

 <context-param>
     <param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>
     <param-value>true</param-value>
</context-param>

Does anybody know if this is the problem? In case it is, it is not allowed yet to use the new custom components feature and Richfaces 3.3.3.Final together?

Update: I’ve checked Richfaces 4.0 Alpha and it does not have all the components of 3.3.3.Final yet implemented so it’s not an option.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T20:34:08+00:00Added an answer on May 15, 2026 at 8:34 pm

    JSF 2.0 composite components won’t work with RichFaces 3.3.3 as they are based on JSF 2.0 VDL. Please check limitations section in this document

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this test code that just saves an XML file to a folder.
This is a minimal test case of some code that I actually have. It
C# 2008 I am using this code to test for an internet connection. As
I have just come across this code: function test(){ //... if ( $profilerule ==
This code works: class Test { public: Test(string name) : _name(name) {}; bool operator()()
Take a look at this code: public class Test { public static void main(String...
I have this code in my controller and want to test this code line
I have a problem, and I made this test code to show you my
This code is working on other test environment but not on mine. Do you
This is my code to send mail (test code): //sending mail var message =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.