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

  • Home
  • SEARCH
  • 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 3345922
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:14:33+00:00 2026-05-18T01:14:33+00:00

I successfully created tables with style that salesforce provided. (like the one that highlighted

  • 0

I successfully created tables with style that salesforce provided. (like the one that highlighted on mouseover etc)

But I want the value of column to be a link to display detail info of the object.
When I don’t create my own visualforce page, the table looks nice and the column
values (records) are all hyperlinked but can’t figure out how to do it from visualforce apex code.

pageBlockTable and column definition does not seem to have attributes or anything that
make it hyperlink.

http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageBlockTable.htm
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_column.htm

<apex:pageBlock title="test">
    <apex:pageBlockTable value="{!workObj}" var="item">
        <!-- below needs to be hyperlink -->
        <apex:column value="{!item.name}" /> 
    </apex:pageBlockTable>
</apex:pageBlock>

I could achieve my goal by throwing the good design away like below but I would like to keep the code above.

This works but no salesforce style is applied.

 <apex:pageBlock title="my test title" >    
            <apex:dataTable value="{!workObj}" var="wn" cellpadding="2" cellspacing="2">
                <apex:column>
                    <apex:facet name="header">仕事名一覧</apex:facet>
                    <apex:form >
                        <apex:commandLink value="{!wn.name}" />
                    </apex:form>
                </apex:column>
            </apex:dataTable>
    </apex:pageBlock>
  • 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-18T01:14:34+00:00Added an answer on May 18, 2026 at 1:14 am

    Instead of <apex:column value="{!item.name}" />, try doing it like this in the column body:

    <apex:pageBlock title="test">
            <apex:pageBlockTable value="{!workObj}" var="item">
             <apex:column>
                  <apex:outputLink value="{!item.name}">{!item.name}</apex:outputLink>
             </apex:column>
        <apex:pageBlock title="test">
    <apex:pageBlockTable value="{!workObj}" var="item">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've successfully created a WCF service that works how I want it to. The
Database tables are created successfully by <property name=hibernate.hbm2ddl.auto value=create/> in persistence.xml, however each time
I have successfully created a feature in sharepoint that modifies the existing edit dialog
i have successfully created distribution profiles and installed on my xcode organiser, but this
I have successfully created an app that reads from a bundled .plist file and
I am creating a widget and had successfully created it, what I want to
With functionality from the RODBC package, I have successfully created an ODBC but receive
I have a pair of tables that have a one-to-one relationship. I have a
I have created many interlinked tables as user "SCOTT" in oracle DB. I want
I created a small application that, when run, creates or updates some tables 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.