Foren

AlloyUI

vinod kumar, geändert vor 11 Jahren.

AlloyUI

Junior Member Beiträge: 64 Beitrittsdatum: 04.10.12 Neueste Beiträge
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, geändert vor 11 Jahren.

Moved to AlloyUI Forum

Liferay Legend Beiträge: 1399 Beitrittsdatum: 17.09.10 Neueste Beiträge
Moved to AlloyUI forum. Please post further AlloyUI questions here. Thanks!
thumbnail
Yatin Patel, geändert vor 11 Jahren.

RE: AlloyUI

New Member Beiträge: 24 Beitrittsdatum: 12.10.11 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: AlloyUI

Junior Member Beiträge: 64 Beitrittsdatum: 04.10.12 Neueste Beiträge
thanku yatin patel