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

  • SEARCH
  • Home
  • 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 921059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:48:53+00:00 2026-05-15T18:48:53+00:00

I am trying to develop custom control in JSF 1.2 (using facelets). I followed

  • 0

I am trying to develop custom control in JSF 1.2 (using facelets).

I followed steps from different tutorials (defining .tld, taglib.xml, registered component in faces-config.xml and implementing UIComponent (component renders itself) and UIComponentELTag classes) and my component is rendered, I have value bound to it, but attributes I defined for that tag are ignored. I logged various methods in Tag class and noticed that none of the methods is ever called.

What am I missing? Is there a reason Tag handler class is never invoked?

Thanks in advance.

My taglib.xml file is:

<?xml version="1.0"?> 
<!DOCTYPE facelet-taglib PUBLIC 
  "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
  "java.sun.com/dtd/facelet-taglib_1_0.dtd">
<facelet-taglib> 
  <namespace>dynamissoft.com/entities/ui</namespace>
  <tag>
    <tag-name>legalEntityView</tag-name>
    <component>
      <component-type>rs.bozic.wastemanager.LegalEntityView</component-type>
    </component>
  </tag>
</facelet-taglib> 
  • 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-15T18:48:53+00:00Added an answer on May 15, 2026 at 6:48 pm

    Have you tried creating a custom component using facelets (xml only). That’s the most easy way, using facelets, usually, the different java classes aren’t needed anymore.

    Very rough overview:

    • Create facelet xml file (like myComponent.xhtml)
    • Register in the facelet inside a taglib (which in turn should be defined in the web.xml)
    • Optionally, create some support beans in Java

    You can pass values/beans to your component using normal tag paramets:

    Using the component

    Inside the component

    Param1 is just printed: #{myParam2}
    Param2 used as value for table

    …

    There are excellent tutorials on Google, like the one from IBM.

    If possible, consider using JSF 2.0. Facelets are integrated, and you have more flexibility to create your custom components. I created a blog posting a while ago on that: http://blog.whitehorses.nl/2010/02/08/jsf-2-0/ (or Google yourself)

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

Sidebar

Related Questions

I am trying to develop a custom movie player in iPhone using AVPlayer. But
I'am trying to develop a Custom drupal module which will read arguments from the
I'm trying to develop a custom GridView control with properties OpenFormModal and ModalWindowWidth and
I'm trying to develop a custom report for trac using SQL. On one of
I'm trying to develop a custom PDF viewer using PDFLibNet library. I downloaded compiled
I'm trying to develop a custom tri-state button user control and so far I've
I'm trying to develop a custom control for asp.net that will have the following
I am trying to develop a visualforce custom component which takes an attribute from
Hello I'm trying to develop a site using a custom font. However Firefox is
I'm trying to develop a custom spring namespace that works like the built-in 'p'

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.