I was playing around with making my site more fusebox like and copied the
code off of fusebox.org.  I already had a working application, but went
through and made it more compliant with your structure.  Once I got
everything displaying properly I clicked on a link and noticed that I didn't
have any attributes being passed to my pages from the cf_formurl2attributes
... Inside of cf_formurl2attributes the area where urlvalue and urlname are
appended to a list to be passed to the calling page is enclosed in the
following if statement located on line 33:
<CFIF refindnocase("[[:alpha:]]",left(trim(urlname),1)) and NOT ISDEFINED(
'caller.ATTRIBUTES.' & urlname )>

My problem was simply that I was not meeting the above condition for some
reason (I finally figured out it was checking for cfid & cftoken).

I can copy the defaultcase part of the switch statemtent that is embeded in
the if statement (that's a mouthful isn't it?) and add the following check
at the end of the if statement:

<cfelse>
 <cfif urlvalue is "null">
     <cfset "caller.attributes.#urlname#" = "">
 <cfelse>
     <cfset "caller.attributes.#urlname#" = urlvalue>
 </cfif>
 <cfset request.attributeslist =
listappend(request.attributeslist,urlname,"&")>
 <cfset request.attributeslist =
listappend(request.attributeslist,urlencodedformat(evaluate("caller.attribut
es.#urlname#")),"=")>
</cfif>

I think what is going on is I'm not using cfid or cftoken in the url and
because of that the tag is simply not posting the values of urlname and
value to a list?

Am I doing something wrong ... or is the tag only designed to work with cfid
and cftoken?

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to