I've been developing MG2 apps for a while but now I'm trying to use
MG3, in doing so I went through the small tutorial on the website so I
can learn about the new functions.
I spent quite sometime pulling my hair when I kept getting the
following error
"Element TRANSLATEDPHRASE is undefined in VARIABLES."

I checked every single one of the pages, I Cfdumped the variables and
no luck, then I caved in and copy pasted the code from the example ( I
originally had typed things myself).

I found that this  "<cfset event.copyToScope(variables,
"xe.translationForm, translatedPhrase") /> " produces and error if you
leave a space after the comma and before "translatedPhrase".

Wouldn't make sense for readability purposes to allow for spaces but
when parsing through the list apply a trim so the variables can be
used without the space? After all CF doesn't allow for variable names
with blank spaces right?

I downloaded the latest stable from the website MG 3.1.185.

I don't consider this to be a show stopper but a small annoyance that
had me going for about 15-20 minutes.

I'm posting this in case someone encounters the same issue.

Fernando.

-- 
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