Accessing Custom Menu Component Class from FTL

Hello!

I’ve created a custom Menu Component, and I need to create a json object in my component class that I can access from my ftl. I’ve tried both

request.setAttribute
and
request.setModel

And both times I try to access the value that I set from the ftl, I’m getting a null error.

Any suggestions on how I can pair my custom component class with my ftl?

Thanks,
Sarah

Have you configured your component to be used?

see: