• PRANAB KISHORE PANDA
  • NEWBIE
  • 0 Points
  • Member since 2017

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

My customer is looking for validating 30000 anchor links in the knowledge article. Is there any automated way to validate those?  Please let us know.
Hello

My customer is looking for validating 30000 anchor links in the knowledge article. Is there any automated way to validate those?  Please let us know.
Initially I have set all the InputCheckbox values to false. And shown the values on PageblockTable in VFP. When user changes the checkbox values and click submit, I wanted to get all the new Checkbox values. How can i do that.
 
//VFP:

<apex:page controller="Testctrl">
    <apex:form >
    <apex:pageBlock >
        <apex:pageBlockTable value="{!attdmap}" var="attdkey">
        
            <apex:column value="{!attdkey.Name}"/>
            <apex:column>
                <apex:facet name="header">Absent</apex:facet>
                <apex:inputCheckbox label="Absent" value="{!attdmap[attdkey]}" />
            </apex:column>

        </apex:pageBlockTable>
    </apex:pageBlock>
    
    <apex:commandButton action="{!submit}" value="Submit"/>
    </apex:form>
</apex:page>



//CTRL:

public class Testctrl {
    public list<Student__c> acctlist {get;set;}
    public Map<Student__c, Boolean> attdmap{get;set;}
     
    public Testctrl(){
        attdmap = new Map<Student__c, Boolean>();
        acctlist = [SELECT Id, Name FROM Student__c];

        for(Student__c atu23 : acctlist){
        attdmap.put(atu23,False);
        }
       
    }
    public void submit(){
    }

}