Fórumok
aui:input dissappears
Dominique Ebert, módosítva 11 év-val korábban
aui:input dissappears
Junior Member Bejegyzések: 29 Csatlakozás dátuma: 2013.02.01. Legújabb bejegyzések
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
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