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
Naeem T-PearsonNaeem T-Pearson 

super badge component framework specialist challenge 8

getting this error

Challenge Not yet complete... here's what's wrong: 
The BoatReviews component doesn't have an event handler registered with aura:handler that reloads data from Apex any time the value of the component’s boat attribute is changed.

do i need more than this

    <aura:handler name="init" value="{!this}" action="{!c.doInit}" />
    <aura:method name="refresh" action="{!c.doInit}" />
    <aura:handler event="c:BoatSelected" action="{!c.onBoatSelected}"/>

onBoatSelected : function(component, event, helper) {
        
        var boat = event.getParam("boat");
        //console.log("----->"+boat)
        component.set("v.boat",boat);

 
Best Answer chosen by Naeem T-Pearson
NagendraNagendra (Salesforce Developers) 
Hi Naeem,

Sorry for this issue you are facing.

May I suggest you please refer to below link with a similar discussion which might help you. Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra

All Answers

NagendraNagendra (Salesforce Developers) 
Hi Naeem,

Sorry for this issue you are facing.

May I suggest you please refer to below link with a similar discussion which might help you. Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra
This was selected as the best answer
Naeem T-PearsonNaeem T-Pearson
thank you that really helped