+ Start a Discussion
kumsatkumsat 

Display Checkboxes (for Multi-Record Selection) in Custon link & button

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>

 

Deepa.B.AnkaliDeepa.B.Ankali
@kumsat,

Which panel you do not want to display and based on what condition?
domdickdomdick

Hi,

 

It will be ideal to post the class as well to digg into. You can also take a look following example...

http://wiki.developerforce.com/page/Wrapper_Class

 

Regards,

Dinesh