Hi Anabelle,
I was able to reproduce the problem regarding the email address appearing in the "Favorite Color" field. I think this only happens in Google Chrome when the "Autofill" feature is on. The reason why Chrome puts the email address there, is because it sees that it is the field immediately before the "password1" field and assumes that it is some type of username/email address type of field. When I moved the emailAddress field from the "Identification" column over to the "Security" column, then Chrome Autofill started working in a smarter way.
I tried to reproduce the problem you mentioned regarding the PrimeFaces password component tag, but it worked fine for me. This is what I used:
1<aui:field id="password1" label="#{i18n['password']}">
2 <p:password value="#{registrantModelBean.registrant.password1}" required="true"/>
3 <p:message for="password1" />
4</aui:field>
5<aui:field id="password2" label="#{i18n['password']}">
6 <p:password value="#{registrantModelBean.registrant.password2}" required="true"/>
7 <p:message for="password2" />
8</aui:field>
Neil
Please sign in to flag this as inappropriate.