You need to sign in to do that
Don't have an account?
Ajay Kumar 261
Command button not invoking controller method
Hi,
I have strange issue, which I am not able to figure out.
The highihlighted and bold <td> tag is causing some issue. If I enable this tag my command button is not invoking the controller method. It is not even showing debug statements.
What could be the reason?
Any help appreciated.
Reagrds,
Ajay
I have strange issue, which I am not able to figure out.
<div class="modal-footer"> <apex:commandButton styleclass="btn btn-primary" value="Update Records" action="{!updateEngagements}" rerender="datePanelContainer" /> </div> <apex:outputPanel id="datePanelContainer"> <table class="table table-hover"> <thead> <tr> <th>Student Engagement</th> <th>Learning Community</th> <!--<th>New LC</th>--> <th>Current Track</th> <th>New Track</th> </tr> </thead> <tbody> <apex:repeat value="{!wrapList}" var="e"> <tr> <td>{!e.eng.name}</td> <td>{!e.eng.Learning_Community__r.Name}</td> <!-- <td> <apex:selectList id="Lcs" value="{!e.selectedLC}" size="1"> <apex:selectOptions value="{!e.selectedCLC}"/> </apex:selectList> </td> --> <td>{!e.eng.Learning_Community__r.Track__c}</td> <td> <apex:selectList id="countries" value="{!e.selectedNTrack}" size="1"> <apex:selectOptions value="{!e.selectedTrack}"/> </apex:selectList> </td> </tr> </apex:repeat> </tbody> </table> </apex:outputPanel>
The highihlighted and bold <td> tag is causing some issue. If I enable this tag my command button is not invoking the controller method. It is not even showing debug statements.
What could be the reason?
Any help appreciated.
Reagrds,
Ajay
Removed this line.
rerender="datePanelContainer"
All Answers
<!--
23 <td>
24 <apex:selectList id="Lcs"value="{!e.selectedLC}" size="1">
25 <apex:selectOptionsvalue="{!e.selectedCLC}"/>
26 </apex:selectList>
27 </td>
28 --></b></i>
Regards,
Ajay
Removed this line.
rerender="datePanelContainer"