Hi,
I'm trying to create a custom command in an addon.
So I followed a bit the documentation which is their on the github space and looked at the
javaee addon code.
I created a class which extends AbstractUICommand
And I have the following method.
{code:modifiedtitle=true|jivemacro_uid=_13911768346434946|class=jive_text_macro
jive_macro_code _jivemacro_uid_13911768346434946}
@Override
public UICommandMetadata getMetadata(UIContext context) {
return Metadata.forCommand(PrimeFacesSetup.class).name("primefaces-setup")
.description("Setup PrimeFaces in your project")
.category(Categories.create("PrimeFaces"));
}
{code}
The addon can be installed and I see in the log that it is started.
But I can't find my command in the list when i do command-list.
Do I need to register the Command in some way?
Thanks
Rudy De Busscher
Posted by forums
Original post:
https://community.jboss.org/message/855716#855716