這是您在定義Adminstration配置時選擇的軟件包名稱。從上Light Admin page的例子:
在類的頂部下面你會碰到這樣的:
包com.YOUR_APPLICATION.config;
public class UserAdministration extends AdministrationConfiguration<User> {
public EntityMetadataConfigurationUnit configuration(EntityMetadataConfigurationUnitBuilder configurationBuilder) {
return configurationBuilder.nameField("firstname").build();
}
public ScreenContextConfigurationUnit screenContext(ScreenContextConfigurationUnitBuilder screenContextBuilder) {
return screenContextBuilder
.screenName("Users Administration").build();
}
public static FieldSetConfigurationUnit listView(final FieldSetConfigurationUnitBuilder fragmentBuilder) {
return fragmentBuilder
.field("firstname").caption("First Name")
.field("lastname").caption("Last Name")
.build();
}
然後你的配置是這樣的:
<context-param>
<param-name>light:administration:base-package</param-name>
<param-value>com.YOUR_APPLICATION.config</param-value>
</context-param>