Fórum

aui:input dissappears

thumbnail
Dominique Ebert, modificado 11 Anos atrás.

aui:input dissappears

Junior Member Postagens: 29 Data de Entrada: 01/02/13 Postagens Recentes
Hello everybody!
While developing a JSP-File I stumbled upon a very weird Issue and can't find a solution for it.
I made a JSP and whenever I set the model-context to a class I have written, all aui-inputs that point to that class (using the field, or path property, checked both) will disappear in the output file. As soon as I delete the model-context tag, they re-appear.

Code:

<aui:model-context bean="${invitationValidator}" model="<%= InvitationValidator.class %>" />

<aui:form action="${CONFIRM_INVITE_URL}" method="POST">
<aui:fieldset>
<aui:input name="inviteeFirstName" field="inviteeFirstName" disabled="false" label="${FORM_INVITEE_FIRSTNAME_MESSAGE}">
<aui:validator name="required" />
</aui:input>
<form:errors path="invitationValidator.inviteeFirstName" cssClass="os_error" />

(......)

And to be sure, I checked that the Object "invitationValidator" is not null. Any suggestions? Thanks in advance and kindest regards