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 6663251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:28:43+00:00 2026-05-26T02:28:43+00:00

I have a problem with the JSF-2.0 templating mechanism. I implement some snippet that

  • 0

I have a problem with the JSF-2.0 templating mechanism. I implement some snippet that are
included to template file. But one of my snippet contains dynamic content.

I do not get an error. But nothing is replaced in my snipplet!
The result do only contain “No link list could be found” string. Do anybody know why?

Thanks

The snippet code

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
  xmlns:ui="http://java.sun.com/jsf/facelets">
    <div>
    <ui:insert name="linkList">No link list could be found</ui:insert> 
    </div>
    © MyCompany
</ui:composition>

The template code

  ...
  <div class="footer">
    <ui:insert name="footer">Footer</ui:insert>
  </div>
  ...

The side where specify the template content

...
<ui:define name="footer">
  <ui:include src="/snippets/footer.xhtml" />
</ui:define>
...
<ui:define name="linkList">
link structure for the footer
</ui:define>
  • 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-26T02:28:44+00:00Added an answer on May 26, 2026 at 2:28 am

    The following line you have in snippet is –

    <ui:insert name="linkList">No link list could be found</ui:insert>
    

    is for templating and it should be in the template.

    Include the snippet in the same way you have included the footer. Using

    <ui:include src="snippet.xhtml" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some problem's with a simple application in JSF 2.0. I try to
I have problem in some JavaScript that I am writing where the Switch statement
I have a problem with following tutorial: http://www.mkyong.com/jsf2/jsf-2-internationalization-example/ In faces-context file you have to
One more question concerning JSF.Particularly, Primefaces. Have following problem with ajax update of elements
I have some problem using JSF <h:selectManyListbox> and Google Chrome. When my page is
First of all, i'm using Jsf 1.2... I have a problem with submitting some
I have a problem using JSF to display some data in Facelets. I have
I have a JSF/ICEFaces application that was working fine but all of the sudden
I have a problem with one JSF page. This is the source code: <!DOCTYPE
I have the problem that my Faces ActionEvent returns a source, but the check

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.