If your calling your object via contentObject, you can use stParams to pass
in the current language. Your handler file can then look like this:
display.cfm:
<CFIF IsDefined("Attributes.stParams.CurrentLanguage")>
<CFSET Lang = Attributes.stParams.CurrentLanguage>
<CFELSE>
<CFSET Lang = "EN">
</CFIF>
<CFA_Handler Object="Ob" ISOLanguage="#LANG">
foo foo faloom
</CFA_Handler>
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Allaire
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Wucher, Stephane [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 12, 2001 9:17 AM
> To: Spectra-Talk
> Subject: RE: Spectra and Multilingual
>
>
> Thank you for your quick answer.
>
> I have already created Types and Objects with Multilingual properties, no
> problem for that.
> The problem is more how to display an object with a selected language in a
> page.
> I've tried to use a cfa_contentobject (in my CFM page) and a cfa_handler
> (Object's Method) with ISOLanguage, but with no success.
>
> I didn't find in the Spectra documentation or on the Allaire web site an
> example of that.
>
> For example, in my CFM page I have a variable with the requested language
> (#sLangID#).
>
> How should I to code the cfa_handler/ISOLanguage to use it ?
> How can I pass my #sLangID# parameter ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.