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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T01:52:35+00:00 2026-06-18T01:52:35+00:00

I have a p:commandLink in xhtml page <p:commandLink onclick=routeDeleteConfirmation.show() title=Delete> <h:graphicImage class=deleteBinButtonLnk /> <f:setPropertyActionListener

  • 0

I have a p:commandLink in xhtml page

<p:commandLink onclick="routeDeleteConfirmation.show()" title="Delete">
                    <h:graphicImage class="deleteBinButtonLnk" />
                    <f:setPropertyActionListener value="#{route}" 
                    target="#{routeController.selectedRouteHeader}"/>
</p:commandLink>

Css:

.deleteBinButtonLnk {  width: 17px; height: 19px;
                       border-style: none !important;
                       padding: 2px 2px;
                       background: url('../images/buttons/delete_bin_off.png')
                       no-repeat;
}

.deleteBinButtonLnk:hover{ width: 17px; height: 19px;
                           border: none;
                           background: url('../images/buttons/delete_bin_on.png')
                           no-repeat;

here it displaying border for the images in h:graphicImage.
i don’t need border for it.

please tell a solution.

  • 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-18T01:52:36+00:00Added an answer on June 18, 2026 at 1:52 am

    I Got it.

    styleClass instead of <h:graphicImage>

    <p:commandLink 
       styleClass="accountEditBtn"
       update="@form"
       actionListener="#{someBean.someListener}"
    </p:commandLink>
    

    Css class

    .accountEditBtn { background-image: url('../resources/image/pencil_black.png'); }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a command link in my page which looks like: <h:commandLink value=Add user
I have such structure in my jsp: <h:commandLink action=#{docbean.save}> <a4j:actionParam name=somename value=bill_all assignTo=#{billdoc.billType}/> <a4j:actionParam
Below are the files I have. manageStaff.xhtml <h:dataTable var=c value=#{newStaffMemberServiceBean.newStaffMemberDataBeanList} styleClass=order-table headerClass=order-table-header rowClasses=order-table-odd-row,order-table-even-row border=1
I have a masterLasyout.xhtml : <h:form id=abc> <h1> <ui:insert id=abc1 name=title></ui:insert> </h1> <p> <ui:insert
In my JSF file I have below at the start. <h:form><h:commandLink value=Create New Staff
My commandlink on menu.xhtml did not work. I have my menu.xhtml in template folder
I have a .xhtml with two commandlink buttons and two outputpanels. Everything inside same
I have the following code in my Facelet: <ui:composition template=/templates/mastertemplate.xhtml> <ui:define name=pageTitle> <h:outputFormat value=#{msgs.productPageTitle}>
I have a XHTML page which on submission goes back to itself. The backing
<h:commandLink value=Request Permission rendered=#{dataTableWidgetVar.permissionStatus} eq null?true:false> <f:setPropertyActionListener value=#{DocData} target=#{requestController.docResult} /> </h:commandLink> <h:outputText value=#{dataTableWidgetVar.permissionStatus} rendered=#{dataTableWidgetVar.permissionStatus}

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.