• kumsat
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Hello,

I want to display selected records in vf page ..

i tried but it s not working..

how can resolve this issue..

 

 

 

 

<apex:page standardController="Account" recordSetVar="Thenumber">
    <apex:form >
        <apex:pageblock >
            <apex:pageBlockSection >
                 <apex:pageBlockTable value="{!Thenumber}" var="num" cellpadding="10" cellspacing="15" >
                    <apex:column headerValue="name" >
                        {!num.Name}
                        
                   <!-- <apex:actionSupport event="onclick" reRender="out" status="mystatus">
                                 <apex:param name="numId" value="{!num.Id}"/>  
                                  </apex:actionSupport> -->                    
                    </apex:column>
                    <apex:column headerValue="Account Number">
                    

                    <apex:outputText value="{!IF((num.accountnumber == null),'N/A',num.accountnumber)}"/>                    
                    </apex:column>
                    <apex:column headerValue="Action">
                        <apex:inputCheckbox >
                           <apex:actionSupport event="onclick" reRender="out" status="mystatus">
                                     <apex:param id="numId" value="{!num.Id}"/>
                                </apex:actionSupport>
                        </apex:inputCheckbox>
                    </apex:column>
                      
                </apex:pageBlockTable>       
            </apex:pageBlockSection>
        </apex:pageblock>
        <apex:actionStatus id="mystatus" startText="Buffering...........">
            <apex:facet name="stop">
                <apex:outputPanel id="out">
                    <apex:detail subject="{!$CurrentPage.parameters.numId}" relatedList="false"/>
                </apex:outputPanel>
            </apex:facet>        
        </apex:actionStatus>
    </apex:form>
</apex:page>

 

  • December 04, 2013
  • Like
  • 0