unknown
2023-08-24 ddb0231ef7c5cf2bad9d3f1afc2f733674ad38a5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<apex:page controller="PageMessagesFormController">
    <apex:form >
        <apex:pageMessages />
        <apex:pageBlock title="Error Handling" mode="edit">
            <apex:pageBlockSection >
                <apex:inputText label="Enter City Name: " value="{!cityName}" />
            </apex:pageBlockSection>
            <apex:pageBlockButtons >
                <apex:commandButton action="{!cancel}" value="Cancel" />
                <apex:commandButton action="{!createCity}" value="Save" />
            </apex:pageBlockButtons>
        </apex:pageBlock>
    </apex:form>
</apex:page>