-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure SysConfig prefix from 00_qi XML file
With this change, we don't need to create views such as PermissionsView that just adds a constructor. One just needs to add three properties to the view configuration: * name * title * prefix i.e.: name: permissions title: Permissions prefix: perm. full example: <view route="permissions" class="org.jpos.qi.sysconfig.SysConfigView" perm="sysadmin" sidebar="system"> <property name="entityName" value="permission"/> <property name="name" value="permissions"/> <property name="prefix" value="perm." /> <property name="title" value="Permissions" /> <attribute name="id" read-only="true" required="true"/> <attribute name="value" regex="&TEXT_PATTERN;" required="true"/> </view>
- Loading branch information
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters