Foren

Home » Alloy UI » English

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
kumar E
AlloyUI
3. Januar 2013 00:48
Antwort

kumar E

Rang: Junior Member

Nachrichten: 64

Eintrittsdatum: 3. Oktober 2012

Neue 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>
Yatin Patel
RE: AlloyUI
9. Januar 2013 21:59
Antwort

Yatin Patel

Rang: New Member

Nachrichten: 24

Eintrittsdatum: 12. Oktober 2011

Neue 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
kumar E
RE: AlloyUI
22. Januar 2013 01:32
Antwort

kumar E

Rang: Junior Member

Nachrichten: 64

Eintrittsdatum: 3. Oktober 2012

Neue Beiträge

thanku yatin patel