Foren
Phone numbers in Enterprise Admin
Sergio Cabrera, geändert vor 12 Jahren.
Phone numbers in Enterprise Admin
Junior Member Beiträge: 68 Beitrittsdatum: 19.12.11 Neueste Beiträge
Hello, I need to implement a list like the phone numbers in Control Panel. It looks easy, but in phone_numbers.jsp I've seen two things that I don't know how it works:
Why can it use the "new PhoneImpl()"? Where is it declared? I thought I can't use the "impl()"s directly. And I have tried following the init.jsp and I can't find any declaration related to phones but the phone exceptions. Even we have:
I don't find the model.phone declaration, either. Thanks
if (phones.isEmpty()) {
phones = new ArrayList<phone>();
phones.add(new PhoneImpl());
phonesIndexes = new int[] {0};
}</phone>
Why can it use the "new PhoneImpl()"? Where is it declared? I thought I can't use the "impl()"s directly. And I have tried following the init.jsp and I can't find any declaration related to phones but the phone exceptions. Even we have:
<%
for (int i = 0; i < phonesIndexes.length; i++) {
int phonesIndex = phonesIndexes[i];
Phone phone = phones.get(i);
%>
<aui:model-context bean="<%= phone %>" model="<%= Phone.class %>" />
I don't find the model.phone declaration, either. Thanks