The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
37 views

Pageblock title is not coming in the same line

The triangle and the title in the page block is not coming in the same line. Existing output " When i click on the triangle its coming like " The VF page code is <apex:commandButton ...
0
votes
0answers
31 views

How to avoid page reload on standard Edit action?

I have two pageBlocksection and i put QuickSave action on first PageBlocksection and it's working fine and it's rerender the next pageBlocksection but Now, i want one button on Second pageBlocksection ...
3
votes
1answer
102 views

How to show/hide pageblock based on clicking a button in Visualforce using a standard controller?

Here i have one Visualforce page and my situation is when i am clicking on Save Button both PageBlock will appearing but i want is : when i am click on Save the existing Pageblock should be hide and ...
0
votes
1answer
17 views

Add custom block on each application page

I noticed that almost ALL pages in my application have "Recent Items" block Can I somehow create such "custom blocks" and add them to each page, for example under "Recent Items"?
1
vote
1answer
105 views

How to center align <apex:pageBlock> title with CSS?

I've had a search on google and SE and can't seem to find a definitive answer. How do I center a pageblock table header? It's nested like this: <div class="pbHeader"> <table border="0" ...
0
votes
1answer
27 views

Label for formula field in 3rd column of PageBlock is wrapping

No matter what my formula fields label is wrapping. It has plenty of room to unwrap. The PageBlock it's in has 3 columnns in it. This is my formula field <apex:pageBlockSection ...
0
votes
1answer
29 views

How to postion the pageblock with style tag

I have to place one of my the pageblock inside a panelgrid to the top. Now its in the center postion. I tried using Inspect Element at run time, to make it top and found out a way. Its position: ...
0
votes
1answer
51 views

Customize the page block buttons in visualforce page

I am developing an edit page for my company and i have a problem with the page buttons. Is it possible to put them in a random position not just the one offered with the location="top/bottom/both". ...
0
votes
2answers
295 views

How to Wrap PageBlockTable inside PageBlock?

I created a very simple VF page which displays 28 fields from a custom object. The code looks like this: <apex:pageBlock > <apex:pageBlockSection > ...
0
votes
1answer
98 views

Hide pageblock based on field value

I'm new to this so please try to be extra patient with me :) Trying to display an message in the Account layout based on the Account name field. So what I've got working so far is the error message. ...
2
votes
2answers
136 views

How to display a selectlist in the title portion of a pageblock

On my VF page I have a page block that contains a table inside it. I wanted to be able to put selectlists to filter the data in the table, and ideally I want to put them at the top of a pageblock so ...
0
votes
1answer
69 views

Stop apex from displaying label in apex:pageblocksection

Can we stop apex from outputting labels for apex:outputText within a pageblocksection? I have a html table on which I only want to input text field, i.e. without any labels. But the rendered code is ...
1
vote
1answer
99 views

How to freeze a pageBlock?

Most of the posts I went through talk about freezing a column in a pageBlockTable and seems like there is now a new 'floating headers' feature in one of the recent releases. But, I would like to ...
0
votes
1answer
252 views

Approval Process : Lock the whole Opportunity Including Notes and Attachment

Currently I have an approval process, that locks the opportunity and the record but the user, still can submit Notes & Attachments after. Is there a way to lock those as well?
0
votes
1answer
93 views

Query and display aggregate list

I have an aggregated list that counts the number of records from a custom object created by a user that I display on a visualforce page. I need to also display the same thing from a different custom ...
2
votes
1answer
58 views

Collapse a pageblock section when another pageblock section collapsed

can someone let me know how to manage this? Collapse a pageblock section when another pageblock section collapsed?
0
votes
1answer
362 views

How can I Wrap an Apex:image with a condition inside a pageBlockTable Column?

I want to display different images inside this pageBlockTable Column based on the value of a field. I am receiving this error: You may specify either a ''value'' attribute or a body for the ...
0
votes
3answers
860 views

Page Block Title went to a new line

I'm creating a search page. The filters is on a different page block than the results but then the title went to a new line. (see photo) Is there a way to put "Search" and "Filters" on the same ...
3
votes
1answer
948 views

Vertically align two pageBlocks

I've got minor annoyance: I'm rendering two pageBlocks one after another, but they end up not aligning correctly. Here's the code: <apex:form > <apex:pageBlock title="Populates all ...
6
votes
1answer
2k views

Scrollbar for pageBlockSection column1 but not for column 2

I have a pageBlockSection that has 2 columns. I would like 1 scrollbar for the left column so that if the information on the left column is very large then you can scroll through it without changing ...
1
vote
1answer
175 views

Which elements get rerendered and which can't be

i previously asked a question reRender is not working .i get a good reply of that .again i am trying to rerender a pageBlock and its not getting rerendered.i want to know which elements get rerendered ...
9
votes
2answers
6k views

PageBlockSection with 4 columns

I have a pageblocksection with 4 columns where the spacing between 3rd and 4th is not equal.How to fix the spacing between columns. <apex:page standardController="Account"> <apex:form ...
0
votes
1answer
4k views

Unable to display map of <string, list> in repeat

I have a map Map of String(key) and List(value). The list is a list of a wrapper class object I initialize the map: map.put('x', new List); map.put('y', new List); I populate the map like: ...
2
votes
4answers
535 views

Compare values in pageBlock using JavaScript

I want to have a little validation when user enter value into apex:inputText it compares it with apex:column, if difference is more than 10%, it would alert the user. Probably it would be triggered ...
1
vote
0answers
625 views

PageBlockTable inlineEdit - save issue

I have VF page where I have displayed Contact information in pageBlockSection with mode="inlineEdit" as below.. <apex:page standardController="Contact" extensions="ContactDetailController" ...
3
votes
1answer
964 views

Controller fields not updated when actionSupport onchange event used

I have 3 fields Client, BilltoClient and project. Client is a lookup and billtoclient and project are dropdown. The project filed should get populated on the bases of client name and the billtoclint. ...
0
votes
1answer
473 views

Show contacts deatils in pageblocksection as selected in picklist

I have List of all contacts in picklist field on visualforce page. Below that field i have a pageblock section giving details of contact. I want to show only the details of the field as selected in ...
2
votes
1answer
2k views

Validation error message shows for all Inputfield in pageblocktable

I have a custom page with standard controller and extension. I have a page block table with inputField to display the account lookup. When the page is submitted with the wrong Account value in account ...
1
vote
1answer
883 views

Display javascript result in a pageblocktable

I am making a Ajax call to a REST API and parsing the response and maintaining the parsed values in a delimited string. I want to display the same string in the pageblocktable without taking the ...
7
votes
1answer
996 views

Translate picklist value in PageBlock title

We are using <apex:pageBlock title="{account.MyField__c}"> where MyField is a picklist with the corresponding translations. The problem is that the picklist value is not translated to the ...
5
votes
3answers
3k views

pageblocktable rows spanning over page breaks when rendered as pdf

I have a pageblocktable that is being rendered as a pdf. The PDF is set as A4 landscape with small margins and page numbering in a style sheet. The problem is that rows in the pageblocktable span the ...
4
votes
2answers
8k views

Label does not get displayed

I am using a apex:inputField in my vf page. This apex:inputField is in page block with apex:inputField their is also a apex:selectOption, to reduce the space between these 2 fields i put them in a ...
3
votes
1answer
2k views

How to create two tables in a apex:pageBlockSection

I want to develope somthing like this screenshot in an apex:pageBlockSection. How can i develop this??
1
vote
1answer
57 views

Reference from page to SObject which is another package

I have a reference in VF page to a SOBject from another package like this... <apex:pageBlockTable value="{!UsageStats}" var="usageStatRecord"> <apex:column ...
3
votes
1answer
1k views

how to make a list persist in a controller on page redirect

I have the following search function: public List<User> SearchResults {get; set;} public ContactSearchController() { if(SearchResults == null) { ...
5
votes
2answers
1k views

Displaying more rows

I have a simple table for displaying users... <apex:page standardController="User" recordSetVar="Users" tabStyle="User"> <apex:pageBlock > <apex:pageBlockSection title="Today’s ...
3
votes
1answer
2k views

Rerender the column in the page block table on command button

I have a page block table whilch has two columns one with the data and the other with two buttons to move the records up and down. I am not able to rerender the column on the change. The code is as ...
2
votes
1answer
6k views

Hide and show pageblock on button click

I am tying to hide and show apex:pageblocker on the bases of the value in list. But i am not able to show when value is not been selected. My anybody tell me what is wrong. I am getting value in the ...