Developing Radio Plugin

Confluence User - 04 Oct, 2023

Hello im still new and i want to develop a plugin for Radio to make an update to database every time the option selected.

Can anyone tell me which plugin type i should extends or implements?

and if i want to create a option value and label on the code how i do that.

Thanks

forms;radiobutton

1


05 Oct, 2023
confluenceUser
1
confluenceUser

Apparently if you extends Radio, no need to implement FormBuilderPalleteElement anymore. You can extend Radio class, but you need to override some methods: getName, getLabel, getClassName, and most importantly renderTemplate. And you need to copy implementation of radio.ftl and adjust accordingly. 

How are you going to update the data? I suppose by using ajax. 

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print