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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:53:11+00:00 2026-05-26T12:53:11+00:00

Doing a RichFaces/jsf project in a new job, haven’t been doing it long. The

  • 0

Doing a RichFaces/jsf project in a new job, haven’t been doing it long.

The main page has a xhtml page that has a frameset. In an ideal world it wouldn’t have but it has and it needs to stay that way, but when you log in as a certain level of user, the side frames aren’t used.

<frameset cols="#{Base.sideBars['left'].width},*,#{Base.sideBars['right'].width}" id="contentframes" >
<frame name="left" src="left.jsf" id="leftframe"/>
<frame name="center" src="center.jsf" id="centerframe" />
<frame name="right" src="right.jsf" id="rightframe" />
</frameset>

is there a ‘native’ way of changing this so that I just include the center frame, or is it just easier to change it to a jsp and put an if / else around it?

What I need is the resultant html that is like this:

<frameset cols="20,*,20" id="contentframes" >
<frame name="left" src="left.jsf" id="leftframe"/>
<frame name="center" src="center.jsf" id="centerframe" />
<frame name="right" src="right.jsf" id="rightframe" />
</frameset>

when you log in as one user, but if the other user logs in, you just include the elements that were in centerframe.jsf without any frames at all.

  • 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-26T12:53:12+00:00Added an answer on May 26, 2026 at 12:53 pm

    if else would be better. or even you can manage it by

    <frame name="center" src="#{someBean.centerPage}.jsf" id="centerframe" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Doing the below will reproduce my problem: New WPF Project Add ListView Name the
Doing some code reading and stumbled upon this snippet that I haven't seen before:
Doing some initial research on a new project and one of my requirements is
I'm trying to get an imported project to work and i'm new to JSF.
Doing some profiling (mem & speed) I've been stomped by the fact that win7
When doing TDD , how to tell that's enough tests for this class /
Doing a search using django-sphinx gives me results._sphinx that says there were 68 results,
Doing a bit of reading around domain driven design and it seems that you're
Doing some R&D for my company. We are trying to have a listView that
Doing my first MVVM WPF application. I expected to see a Main() method in

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.