Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
nitai_co #1
Using a compontent function with a cfset in a cfform
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
nitai_co Guest
-
CFFORM Function
Hello, I'm trying to create a cfform that takes has a selectable drop down and 2 date selector. THe CFselect is to pick the Gender, I have 2... -
cfset Help!
Hello everyone, I am just starting to learn ColdFusion, and I am learning how to use the <cfset> tag. I tried hard, but I can't figure out what's... -
Evaluate within CFSET
I'm looping through a list of sites. I've written queries to count the number of live and pending articles in tables that begin with the site's... -
cfset
Hi guys, I was just wondering if I use <cfset session.something=0> and I want to later set session.something to equal something else is it ok to... -
cfset question
I am setting a variable correctly with cfscript and I'm trying to do the equalivant with cfset. Here's how I set it in cfscript: oElement =...



Reply With Quote

