Hi all,

I am parsing a XML file in a component. Then I call the component and output
the result in a template. This all works perefect.

Now I would like to use cfform and within a cfinput message I call the
function again, but I get an error message.

Also trying to set the function call to a variable fails. So the question is
how I can set this into a variables or better yet how to set it into the
message attribute inside a cfinput?

The code looks like this:

<cfinput type="text" name="hosts_name" size="40" class="text"
message="#defaultsObj.trans("error")#" required="yes">

or

<cfset test="#defaultsObj.trans("error")#">

Everywhere else in the template this code "#defaultsObj.trans("error")#"
returns me the text of the XMl file.

TIA.

Nitai