Hi there,
I have extended the dmProfile.cfc with
<cfproperty name="aCompany" type="array" default="" required="no"
hint="Company" ftSeq="60" ftFieldset="Hotelaccess" ftLabel="Company"
ftJoin="company" />
and in the WebTop I can add Companies (new Type) to the users. This works
perfectly.
Now, for a LoggedIn User, I want to show him a DropDpwn Box with the
Companies he has access to.
>From the Session I can read out which Companies he has access to:
<cfset stlocal.companies = #session.dmProfile.aCompany# />
With a loop I can also show them as Teasers:
<cfloop from="1" to="#ArrayLen(stlocal.companies)#" index="i">
<skin:view typename="company" objectid="#stlocal.companies[i]#"
webskin="displayTeaserStandard" />
<cfset stlocal.company =
application.fapi.getContentObject(objectid="#stlocal.companies[i]#",
typename="company") />
But how can I bring this data to a form with a DropDown Box to select the
Company the User will now "work" for?
I am banging my head against the wall, as I really have no idea.
Thanks for your help,
Kay
--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry