Hi Justin,
exactly that was the point :-)
I always tried it only with the <ft:> tags, not with a HTML Form
Here is what I have now:
<!-----------------------------
ACTION
------------------------------>
<ft:serverSideValidation />
<ft:processform action="Select" exit="false">
<cfdump var="#form.company#" />
<cfset session.hds.company = #form.company# />
<cfdump var="#session.hds#" />
</ft:processform>
<!-----------------------------
VIEW
------------------------------>
<cfoutput>
<p>Welcome #session.dmProfile.firstname#
#session.dmProfile.lastname#. </p>
<ft:form>
<select name="company">
<cfset stlocal.companies = #session.dmProfile.aCompany# />
<cfloop from="1" to="#ArrayLen(stlocal.companies)#"
index="i">
<cfset stlocal.company =
application.fapi.getContentObject(objectid="#stlocal.companies[i]#",
typename="company") />
<option value="#stlocal.company.objectid#"
selected="#session.hds.company#">#stlocal.company.companyname#</option>
</cfloop>
</select>
<ft:button value="Select" />
</ft:form>
</cfoutput>
Thanks so much,
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