How to get display label value when creating new action model
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
How to get display label value when creating new action model
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.
- Labels:
-
Annotations-Modeling
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Is this a duplicate thread?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
