高章伟
2022-03-18 4bfe21c4b5ddc089ae5a95f4b10f6cff148b690d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<apex:page id="Page" controller="Event_CommentController" tabStyle="Account" sidebar="false" showHeader="false" >
    <apex:includeScript value="{!URLFOR($Resource.EventCommentJs)}"/>
    <script type="text/javascript">
        var Error_Message46  = '{!$Label.Error_Message46}';
    </script>
    <apex:outputPanel id="all">
        <apex:form id="mainForm" >
            <apex:pageBlock id="idManagerComment" title="{!$Label.Comment}" >
                <table>
                    <tr><td colspan="2"><font color="green">{!message2}</font>&nbsp;</td></tr>
                    <tr><td colspan="2"><apex:inputTextarea id="idComment" value="{!comment}" style="width:300px" rows="3" /></td></tr>
                    <tr><td colspan="2"><font color="red">{!message1}</font></td></tr>
                    <tr><td colspan="2">&nbsp;</td></tr>
                    <tr><td><apex:commandButton value="{!$Label.Save_Button}" onclick="return checkComment();" action="{!save}" style="width:100px" disabled="{!IF(message1 = $Label.Error_Message26,'true','false')}"/></td>
                        <td><input type="button" class="btn" value="{!$Label.Close}" onclick="closeComment();" style="width:100px" /></td></tr> 
                </table>
            </apex:pageBlock>
        </apex:form>
    </apex:outputPanel>
</apex:page>