6

呼び出しシーケンスまたはコンバーターとバリデーターがどのように呼び出されるかの流れを知りたいです。同じサンプルコードを共有しています:

<f:view>
    <h:form>
        <h:inputText value="#{myBean.field}">
            <f:validateLength minimum="5" maximum="50"></f:validateLength>
            <f:validator validatorId="nameValidator" />
        </h:inputText>
        <br>
        <h:inputText id="date" value="#{myBean.date}">
            <f:convertDateTime pattern="dd-MMM-yyyy" />
            <f:converter converterId="dateConvertor" />
        </h:inputText>
        <br>
        <h:commandButton action="#{myBean.execute}" value="Submit"></h:commandButton>
    </h:form>
    <h:messages></h:messages>
</f:view>
4

1 に答える 1