Hi,
i should have to use cfgrid with fusebox 3 but the core file
fbx.....45_nix.cfm return me this error:
if (NOT IsDefined("attributes"))
attributes=structNew();
for(key in url){
if(NOT isDefined('attributes.#key#')){
SetVariable("attributes.#key#",trim(evaluate("url['#key#']")));}}
for(key in form){
if(NOT isDefined('attributes.#key#') AND NOT key IS "FIELDNAMES"){
SetVariable("attributes.#key#",trim(evaluate("form['#key#']")));}}
Error near line 127, column 39.
----------------------------------------------------------------------------
----
Parameter 1 of function IsDefined which is now
"attributes.__CFGRID__CFFORM_1__PRODUCTS" must be a syntactically valid
variable name
The error occurred while processing an element with a general identifier of
(CFSCRIPT), occupying document position (61:1) to (61:10) in the template
file
/home/httpd/html/hosting/prg_TopLevel/provaFB3/fbx_fusebox30_CF45_nix.cfm.
my idea is modify the form2attribute in this mode but an another error
return me:
if (NOT IsDefined("attributes"))
attributes=structNew();
for(key in url){
if(NOT isDefined('attributes.#key#')){
SetVariable("attributes.#key#",trim(evaluate("url['#key#']")));}}
for(key in form){
if(refindnocase("CFGRID",key) IS 0){
if(NOT isDefined('attributes.#key#') AND NOT key IS "FIELDNAMES"){
SetVariable("attributes.#key#",trim(evaluate("form['#key#']")));}}}
THE NEW ERROR IS:
if (NOT IsDefined("attributes"))
attributes=structNew();
for(key in url){
if(NOT isDefined('attributes.#key#')){
SetVariable("attributes.#key#",trim(evaluate("url['#key#']")));}}
for(key in form){
if(refindnocase("CFGRID",key) IS 0){
if(NOT isDefined('attributes.#key#') AND NOT key IS "FIELDNAMES"){
SetVariable("attributes.#key#",trim(evaluate("form['#key#']")));}}}
Error near line 129, column 3.
----------------------------------------------------------------------------
----
Parameter 1 of function Trim must be a basic value, i.e., a string, number,
logical, or date/time value
The error occurred while processing an element with a general identifier of
(CFSCRIPT), occupying document position (61:1) to (61:10) in the template
file
/home/httpd/html/hosting/prg_TopLevel/provaFB3/fbx_fusebox30_CF45_nix.cfm.
Date/Time: Wed Jul 24 00:30:22 2002
Help me!
Bye.
Filippo.
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists