@David,

While using event.getValue() will certainly work, this really should
not be necessary in this context -- what is the first line of your
version of frmPhrase.cfm? It should look like this:

<cfset event.copyToScope( variables, "xe_translate,phrase,phraseError" ) />

If "phraseError" is not included in the list of values passed to the
event.copyToScope() function, then you will definitely receive the
error you noted.

--
Ezra Parker


On Tue, Feb 23, 2010 at 2:07 PM, David <[email protected]> wrote:
> I got the same error that the variable "phraseError" did not exist.  I
> rewrote this:
>
> <cfoutput><p style="color: red;">#phraseError#</p></cfoutput>
>
> to this:
>
> <cfoutput><p style="color: red;">#event.getValue("phraseError")#</p></
> cfoutput>
>
> and it worked.
>
> If I got it right then maybe the tutorial could be updated.
>
> Cheers
>
> --
> Model-Glue Sites:
> Home Page: http://www.model-glue.com
> Documentation: http://docs.model-glue.com
> Bug Tracker: http://bugs.model-glue.com
> Blog: http://www.model-glue.com/blog
>
> You received this message because you are subscribed to the Google
> Groups "model-glue" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/model-glue?hl=en
>

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to