Foros de discusión

AlloyUI

vinod kumar, modificado hace 11 años.

AlloyUI

Junior Member Mensajes: 64 Fecha de incorporación: 4/10/12 Mensajes recientes
i observed that in the create account jsp i saw this tag
<aui:input name="firstName" />
with out having any type attribute one text box is showing

and i am trying do some modification like
<aui:input name="secondmail" />
it is not displaying any text box
just showing secondmail


here is the code i used


<aui:fieldset>
<aui:column>
<aui:input name="firstName" />

<aui:input name="middleName" />

<aui:input name="lastName" />

<c:if test="<%= !PrefsPropsUtil.getBoolean(company.getCompanyId(), PropsKeys.USERS_SCREEN_NAME_ALWAYS_AUTOGENERATE) %>">
<aui:input bean="<%= user2 %>" model="<%= User.class %>" name="screenName" />
</c:if>

<aui:input bean="<%= user2 %>" model="<%= User.class %>" name="emailAddress" />



<aui:input name="secondemail" />
</aui:column>
thumbnail
James Falkner, modificado hace 11 años.

Moved to AlloyUI Forum

Liferay Legend Mensajes: 1399 Fecha de incorporación: 17/09/10 Mensajes recientes
Moved to AlloyUI forum. Please post further AlloyUI questions here. Thanks!
thumbnail
Yatin Patel, modificado hace 11 años.

RE: AlloyUI

New Member Mensajes: 24 Fecha de incorporación: 12/10/11 Mensajes recientes
Hi Vinod,

<aui:input name="firstName" /> this field all attribute available in it's bean.

Find your form bean like "<aui:model-context bean="<%= entry %>" model="<%= BlogsEntry.class %>" />" check model file and see all attribute over there.

So, If you want to create <aui:input name="secondmail" /> then you have to add all attribute in model.

Read more: http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Alloy+UI+Forms+%28aui%29

Thanks,
Yatin Patel
vinod kumar, modificado hace 11 años.

RE: AlloyUI

Junior Member Mensajes: 64 Fecha de incorporación: 4/10/12 Mensajes recientes
thanku yatin patel