[OGo-Developer] accessing telephone numbers of team members in OGOGroupsPage

Helge Hess developer@opengroupware.org
Tue, 6 Mar 2007 08:15:59 +0100


On Mar 5, 2007, at 22:31, Sebastian Reitenbach wrote:
>>> 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?

Well, I suppose the telephones are not fetched into the mentioned  
records. "session.teams" isn't really a recommended way to access  
teams anyways.

I think the best bet is too look at the Appointment-Viewer "view  
details" button and what it does.

Greets,
   Helge
-- 
Helge Hess
http://www.helgehess.eu/