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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:59:19+00:00 2026-06-09T09:59:19+00:00

i want to get the path in faces-config file in JSF to embedded into

  • 0

i want to get the path in faces-config file in JSF to embedded into xhtml page. In faces-config:

<navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
        <from-outcome>left</from-outcome>
        <to-view-id>/Template/LeftPage.xhtml</to-view-id>
    </navigation-case>
</navigation-rule>

In xhtml, i want to get it in ui tag <ui:include src="??????" />, please help me to do this.

  • 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-06-09T09:59:24+00:00Added an answer on June 9, 2026 at 9:59 am

    I think faces-config is use for declaring managed bean and navigation pages.
    use like this ,

     <f:view xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:rich="http://richfaces.org/rich">
     <meta http-equiv="Content-Type" content="text/html"/>
     <head>
     </head>
        <body  >
        <h:form >
        <div id="messagediv">
            <rich:messages globalOnly="true" style="color:red;font-size:12px;weight:bold;"/>
        </div>
            <div align="center">
                <table cellpadding="0" cellspacing="0" border="0" width="1160">
                    <tbody>
                        <tr>
                            <td>
                                ***<ui:include src="/include/header1.xhtml" />***
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div style="background:white;padding: 20px 20px 20px 30px;height:#{contentHeight}px;">
                                    <ui:insert name="content"/>
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </h:form>
    </body>
    

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

Sidebar

Related Questions

I want to get the folder path from the file who is running the
Possible Duplicate: Get full path of a file with FileUpload Control I want to
I want to get path (/tmp/deployment/deployment/hostVBox_8080_GSA/) from ps output: username@hostVBox:~$ps ax |grep jboss 16291
I want to get path to the programs that associated with file extension, preferably
I am getting System.IO.Stream object from an interface. I want to get the path
I want to read a file path from the following structure The Structure is
I want to get application's path in VirtualStore . For example, the file which
I want to get the server path of VHD drive. I am working on
I want get as much as possible from Redis + Hiredis + libevent. I'm
What I want: get a xml from the AppData to use What I code

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.