Fórum
component liferay-ui:input-field not being rendered
German Tugores, modificado 11 Anos atrás.
component liferay-ui:input-field not being rendered
Junior Member Postagens: 33 Data de Entrada: 01/03/12 Postagens Recentes
Hi everyone,
I'm developing a hook for the announcements portelt and using expando to add fields to the AnnouncementsEntry class. I've already created the expando fields successfully (they show in database). Now I'm trying to override the interface, adding fields to the page, like this:
I've seen other examples like this, however the input field is not being rendered on the page, and I see no error in the tomcat console. Does anybode know what can be the problem?
Thanks in advance,
Germán
I'm developing a hook for the announcements portelt and using expando to add fields to the AnnouncementsEntry class. I've already created the expando fields successfully (they show in database). Now I'm trying to override the interface, adding fields to the page, like this:
<aui:input name="ExpandoAttributeName--rutaImagen--" type="hidden" value="rutaImagen" />
<aui:field-wrapper>
<liferay-ui:input-field model="<%= AnnouncementsEntry.class %>" fieldParam="ExpandoAttribute--rutaImagen--" bean="<%= entry %>" field="rutaImagen" />
</aui:field-wrapper>
I've seen other examples like this, however the input field is not being rendered on the page, and I see no error in the tomcat console. Does anybode know what can be the problem?
Thanks in advance,
Germán