Hey kids,
I am sure this is something simple, but I can't figure it out. I have a custom message with three predicates that I need included in the resulting message. I have created them in the Event Domain, and my message panel is pointing to that event domain. I have the predicates referenced at the top of the jsp page like so:
final String PREDICATE_VALUE_PREFIX = PredicateBean.PREDICATE_VALUE_PREFIX.toString();
final String SUBJECT_PREDICATE = MessagingData.SUBJECT_FIELD_PREFIX + "main";
final String MESSAGE_PREDICATE = MessagingData.MESSAGE_BODY_FIELD_PREFIX + "main";
final String CURRENT_STATUS_PREDICATE = PREDICATE_VALUE_PREFIX + "currentstatus";
final String IMPACTED_SERV_PREDICATE = PREDICATE_VALUE_PREFIX + "impactedservices";
final String REC_ACTIONS_PREDICATE = PREDICATE_VALUE_PREFIX + "recommendedactions";
Then, I have the textareas defined like so:
<div>
<label title="" for="IMPACTED_SERV_PREDICATE:input">Impacted Services:
</label>
<textarea
label="Impacted Services"
id="<%= IMPACTED_SERV_PREDICATE %>"
name="<%= IMPACTED_SERV_PREDICATE %>"
title="Impacted Services"
cols="60" rows="4"
onkeypress="checkKey( <%= IMPACTED_SERV_PREDICATE %> )">
<%= messageData.getTextFieldValue( IMPACTED_SERV_PREDICATE ) %>
</textarea><span id="impactedServReq">*</span>
</div>
However, if I populate text in the predicate boxes, then select a recipient, all of the boxes are cleared out except for the Subject and the Message. ( I assume because they are "built-in").
Any ideas?