Community
Participate
Working Groups
We have a policy which we automatically populate during the service import process (following the steps in this thread). This policy should not be (or at least partially) manually modifiable after it has been populated. We try to accomplish this using the xefgui:widget read_only element as described in the Policy Developer's Guide on page 35, but the editor seems to ignore the read_only mode, i.e. the field is still editable. Using the xsd fixed="value" attribute ensures that the input field is uneditable, but it fixes the value at the schema level, so we can not override it during the service import process. Here is a snippet from our template: <xs:attribute name="logicalWSDL" type="xs:string" default="foo"> <xs:annotation> <xs:documentation> the logical WSDL file describing the service </xs:documentation> <xs:appinfo> <xef:displayName>logical WSDL</xef:displayName> <xef:docShort> logical WSDL file describing the service </xef:docShort> <xefgui:widget>read_only</xefgui:widget> </xs:appinfo> </xs:annotation> </xs:attribute>
This applies to the XEF Policy Editor
Fixed with commit r1326