From fcb6b5fa0c39308a62975a55529d1d0458e49b60 Mon Sep 17 00:00:00 2001 From: Pierre Smits Date: Wed, 22 May 2024 10:36:44 +0200 Subject: [PATCH] improved: Have an XSD regarding portal records (OFBIZ-13097) Per suggestion by Jacques Le Roux: But we really miss the same for data used to define portals. So I strongly suggest that we create a shema for *PortletData.xml files. It should not be hard to create. It would help possible customers to create their own portals with a bit of documentation that seriously lacks for now. added: ofbiz-portal.xsd --- dtds/ofbiz-portal.xsd | 287 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 287 insertions(+) create mode 100644 dtds/ofbiz-portal.xsd diff --git a/dtds/ofbiz-portal.xsd b/dtds/ofbiz-portal.xsd new file mode 100644 index 0000000..72e271d --- /dev/null +++ b/dtds/ofbiz-portal.xsd @@ -0,0 +1,287 @@ + + + + + + + + + + Identifier for the portal portlet. + + + + + Name of the portal portlet. + + + + + Description of the portal portlet. + + + + + Screen name associated with the portal portlet. This is + the screen that will be shown to the user. + + + + + Screen location of the portal portlet. + + + + + Name of the 'edit' form associated with the portal + portlet. + + + + + Location of the 'edit' form associated with the portal + portlet. + + + + + The service named here is used to see if the user can see + the portlet on the list of available portlets. The screen that the + portlet calls should also call this service to check permission and not + render. The service named here must implement the "permissionInterface" + service just like services used for service permissions. + + + + + The main action which can be done with this portlet, + possible values: CREATE UPDATE VIEW DELETE. + + + + + + + + + + + + Identifier for the portlet category. + + + + + Description of the portlet category. + + + + + + + + + Entity definition to assocociate a Portlet record with a + PortletCategory record. + + + + + + Identifier for the portlet category. + + + + + Identifier for the portal portlet. + + + + + + + + + Entity definition for PortalPage records + + + + + + Identifier for the portal page. + + + + + Name of the portal page. + + + + + Description of the portal page. + + + + + LoginId of the party 'owning' of the portal page. Default + is'_NA_', meaning available to all (as a system page) + + + + + Identifier for the 'original' portal page. Set when a + user modfies a portal page for his/her own purposes. + + + + + Identifier for the parent portal page. + + + + + Sequence number of the portal page. + + + + + Identifier for the SecurityGroup record. If a user does + not belong to the security group, the page won't be shown. + + + + + Identifier for the content record defining 'help' for the + portal page. Used to give contentId which will be shown when help on + this page will be called. + + + + + + + + + Entity definition to assocociate a PortalPage with one or more + columns. + + + + + + Identifier for the portal page. + + + + + Sequence ID of the portal page column. + + + + + Width of the column in the portal page. + + + + + + + + + Entity definition to assocociate a PortalPage with one or more Portlet + records. + + + + + + Identifier for the portal page. + + + + + Sequence ID of the portal page column. + + + + + Identifier for the portlet. + + + + + Identifier for the portlet. + + + + + Sequence number of the portal page. + + + + + + + + + Entity definition to set aattributes to a Portlet. + + + + + + Identifier for the portal page. + + + + + Identifier for the portal portlet. + + + + + Sequence ID for the portlet. + + + + + Name of the attribute. + + + + + Value of the attribute. + + + + + Description of the attribute, and/or its value. + + + + + Type of the attribute. + + + + + + \ No newline at end of file