Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I have created a new submodel under "New" menu and want to give it a display label.
Written a resource bundle class like this:-
package actionFramework;
import wt.util.resource.*;
@RBUUID("actionFramework.CustomAction")
public class CustomAction extends WTListResourceBundle {
@RBEntry("Custom Third Level")
public static final String PRIVATE_CONSTANT_1 = "object.custom_third_level.description";
}
objecty.custom_third_level.description:- Can you tell from where does it fetch the value of description..so that that value appears as label in an action model..?
Do I need to define that somewhere? My label looks empty-
Solved! Go to Solution.
Hi @avillanueva
Yes it is.
Resolution
The rbInfo class has to have string "RB" in the end of the file name.
After compilation and restart the name is shown.
I also define the resourceBundle in the custom-actionModel.xml
PetrH
Is this a duplicate thread?
Hi @avillanueva
Yes it is.
Resolution
The rbInfo class has to have string "RB" in the end of the file name.
After compilation and restart the name is shown.
I also define the resourceBundle in the custom-actionModel.xml
PetrH