1

I want to use multiple page blocks in single page or form. I tried it but it's not working properly. When I'm having only one page block, it's working properly.
Can anyone give any suggestion for this question

6
  • 2
    We need to show at your code! Aug 19, 2014 at 7:07
  • 1
    you are going to need to a) post a screen shot and b) post the VF (relevant excerpts).
    – cropredy
    Aug 19, 2014 at 7:07
  • please add your code and any errors
    – Bartley
    Aug 19, 2014 at 11:06
  • Ganesh, please understand that it's quite hard to help you if your question is short and does not fully describe or illustrate the problem you are having. This is why they are asking for your code. When something is "not working properly" please describe why this is the case, and how else you had expected it to work. Or definitely include any error messages you are seeing on the page or in the debug logs. If your question includes the steps you've already done yourself to attempt tof fix your issue, it becomes a lot easier for us to help you, and answer you. Aug 19, 2014 at 11:27
  • Thnaks @SamuelDeRycke , Here after ill ask the question clearly
    – ganesh
    Aug 20, 2014 at 12:24

1 Answer 1

2

Example:

<apex:page >
    <apex:form>
        <apex:pageBlock title="Page Block 1">
            <apex:pageBlockSection title="Section 1-1">
            </apex:pageBlockSection>
            <apex:pageBlockSection title="Section 1-2">
            </apex:pageBlockSection>
        </apex:pageBlock>
        <apex:pageBlock title="Page Block 2">
            <apex:pageBlockSection title="Section 2-1">
            </apex:pageBlockSection>
            <apex:pageBlockSection title="Section 2-2">
            </apex:pageBlockSection>
        </apex:pageBlock>
    </apex:form>
</apex:page>
1
  • Thanks @Amatorvitae ,I tried in this way now its working , thnaks a lot
    – ganesh
    Aug 20, 2014 at 12:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .