function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Hardik ChavdaHardik Chavda 

Can I use <apex:commandlink> in to <apex:outputpanel>?

Following is my code.
Commandlink is not working like this,Can anyone help me on this??
<apex:outputpanel id="filterpanel">
<apex:outputpanel id="filterpanel1" rendered="{!NOT(issummary)}">
<div class="col-xs-2" id="panel1">
<apex:commandLink id="test1" reRender="level2list,theRepeat" onclick="chngecolor();"  >
               <div class="panel panel-green">
                                    <div class="panel-heading">                                    
                                        <div class="row" style="height: 30px;">
                                            <div id="headingText" style="width: 66.66666667%; float:right;  font-size: 18px;" >
                                              Cost                                     
                                            </div>
                                        </div>
                                     
                                    </div>
                                </div>
 </apex:commandlink>
</apex:outputpanel>
</apex:outputpanel>
Keyur  ModiKeyur Modi
Hi you can user command link inside outputPanel ..see this below code.
 
<apex:outputPanel >
      <apex:commandLink action="doAction" value="click me!"/>
      </apex:outputPanel>

please let me know if this will help,

Thanks,
Keyur Modi