[OGo-Developer] accessing telephone numbers of team members in OGOGroupsPage
Sebastian Reitenbach
developer@opengroupware.org
Mon, 05 Mar 2007 22:31:47 +0100
developer@opengroupware.org wrote:
> On Mar 4, 2007, at 16:44, Sebastian Reitenbach wrote:
> > but adding
> > NSLog(@"Team members: %@", members);
> > just after running the team::members command, only shows me an
> > array of
> > <EOGenericRecord:
> > description Person attributes={ of the team members. Unfortunately
> > they do not
> > contain the extended attributes nor telephone numbers.
>
> That doesn't matter, the description only lists the attributes of the
> table.
>
hmm, ok, did not know yet.
> > I am looking for a way to access these values in the webui.
>
> If they are fetched, they should be available like 'item.01_tel' etc.
>
unfortunately doesn't seem to work for me. the code below create two empty lines
where I
thought would be fine if the telephone numbers appear.
<var:popup list="session.teams" item="item" string="item.description"
selection="selectedGroup"
noSelectionString="noSelectionString"
const:onChange="document.editform.submit();" />
<html:br />
<var:foreach list="selectedGroup.members" item="account">
<var:string value="account.firstname" /><html:br />
<var:string value="account.name" /><html:br />
<var:string value="account.01_tel" /><html:br />
<var:string value="account.04_tel_ext" /><html:br />
<html:a directActionName="activate" var:_oid="account.companyId">
<var:string value="account.login" /><html:br />
</html:a>
<var:string value="account.url" /><html:br />
</var:foreach>
something must still be missing?
Sebastian