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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:20:40+00:00 2026-05-22T03:20:40+00:00

I am writing a small application where I take a search string and show

  • 0

I am writing a small application where I take a search string and show the results in the tabs with different search servers like Google,Yahoo,Bing etc., on the onkeyup event of the searchString inputText. I have tried to use h:graphicImage as well as h:outputLink with no results. h:graphicImage, I think, is expecting a relative path not absolute path and h:outputLink is working just like the anchor tag. Is there any other way to get what I am expecting it to do?

                <h:panelGrid columns="3" styleClass="panelGroupClass">
                    <h:panelGroup>
                        <h:graphicImage value = "#{searchController.googleURL}" alt="Google URL"/>
                    </h:panelGroup>
                </h:panelGrid>
  • 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-22T03:20:40+00:00Added an answer on May 22, 2026 at 3:20 am

    The <h:graphicImage> expects an URL to an image (a file with .jpg, .gif, .png or whatever extension) and will show it in a HTML <img> element. If the URL is relative (i.e. it doesn’t start with http:// then it’s relative to the domain where your website runs. If it is absolute (i.e. it starts with http://), then, well, it’s absolute 🙂


    Update as per the comments, you seem to want to embed the complete HTML output of an external site in your webpage. You should basically be using a HTML <iframe> for this.

    <iframe src="#{searchController.googleURL}"></iframe>
    

    There are no standard JSF components which renders a HTML <iframe> element. Above should however just work as good when you’re using Facelets instead of JSP.

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

Sidebar

Related Questions

I'm writing a small application in VB.NET and I would like some of the
I'm re-writing a small ms-access application to take examinations on. What they want is
I've been writing writing a small pygtk application using glade to put together the
I'm working on writing a small application using the WPF MediaKit , and I
I'm writing a small web application using Perl, HTML::Mason and Apache. I've been using
I'm writing a small software application that needs to serve as a simple planning
I'd like to add some degree of scriptability to a application I'm writing. Roughly
I am writing a small application using Rails 3. In one part of it
I'm writing a very small application for my organization. As nobody seems to know
I'm writing a small sample iphone application just to consume a SOAP Web service.

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.