You need to sign in to do that
Don't have an account?
AussieBattler
Apex Component not working
Hi,
I created an Apex Component on Friday and it was working correctly. Today when I have tried to use it I am seeing the following error message:
I tried a few things but still got the error message. I have now tried to create another one, saved it and I did not change any of the default text that is automatically included when creating a new component. I then went to .../apexcomponent/test to continue working and the same error message is showing.
Has something changed since Friday? I can't quite understand why something was working but now isn't and even when I try to create a new component it still doesn't work.
Any help appreciated?
I created an Apex Component on Friday and it was working correctly. Today when I have tried to use it I am seeing the following error message:
Code:
Expression Error: Named Object: core.apexpages.components.cdk.ApexComponentRefHandler not found
Has something changed since Friday? I can't quite understand why something was working but now isn't and even when I try to create a new component it still doesn't work.
Any help appreciated?
Can you try editing and saving using the editor in Setup instead of the in page editor? Also it sounds like you used the quick fix to create the component - can you try using the "old fashioned" Setup ui instead as a potential workaround?
If I use the workaround, am I correct in thinking that I cannot change the custom controller code as well? The reason I use the other method is so I can see both the content and controller at the same time and see the changes once saved.
Many thanks.