= new com.volantis.mcs.protocols.XFBooleanAttributes();
// Initialise the attributes specific to this field.
TextAssetReference object;
PolicyReferenceResolver resolver =
pageContext.getPolicyReferenceResolver();
// Process the errmsg as a mariner expression.
object = resolver.resolveQuotedTextExpression(attributes.getErrmsg());
pattributes.setErrmsg(object);
// Process the false value as a mariner expression.
object = resolver.resolveQuotedTextExpression(
attributes.getFalseValue());
pattributes.setFalseValues(object);
// Set the initial value attribute.
pattributes.setInitial(attributes.getInitial());
// Process the true value as a mariner expression.
object =
resolver.resolveQuotedTextExpression(attributes.getTrueValue());
pattributes.setTrueValues(object);
// Initialise form field event attributes.
PAPIInternals.initialiseFieldEventAttributes(pageContext, attributes,
pattributes);