Remove "Add New Instance" and "Remove New Instance" Entity buttons
900697Dec 6 2011 — edited Mar 16 2012Hi,
While Adding new Entity, "Add New Instance" and "Remove New Instance" buttons will be displayed.
I don't want to display "Add New Instance" and "Remove New Instance" because by default i have created instances. I am able to disable it but i don't want to display at all.
For "Add New Instance" , one-to-one, Automatically disabled by OPA
For "Remove New Instance" added below code in ButtonControl.vm:
#if( ${control.getButtonClass()}.equals("remove"))
#set( $disabledString = "disabled" )
#set( $visibility = "false" )
#end
Please tell me how to not display these two buttons.
Thanks,
Sri