Hi everyone,

Here is a question regarding dynamic titles in a Fusebox application.

At the moment, I'm passing the value of the page title via the URL -
index.cfm?fuseaction=whatever&pagetitle=page1. The problem I have with
setting the title within the appropriate cfcase statement is that each of my
fuseaction can represents several pages and therefore hard coding it in
there wouldn't work. Do any of you people have any other suggestions because
using a URL isn't exactly the most tidy method.

Andrew
----- Original Message -----
From: "Bill Killillay" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 10, 2000 8:41 PM
Subject: RE: URL parameter and the "-" character


> I thought you where talking about what a user was inputting, not what you
> named your var.  I am not sure but I don't think that your allowed to
use -
> in your variable naming.  Would have to look it up, but don't have time
> right now.  If your getting that input from the user then you could use
the
> method that I stated.  Otherwise, I would use the underscore in ALL my
> naming conventions rather then a -.  Just my .02.  Sorry I did not see
that
> before now.
>
> Bill
>
> > -----Original Message-----
> > From: CM Randall [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, September 10, 2000 12:22 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: URL parameter and the "-" character
> >
> >
> > I tried that, here is another example:
> >
> > <cfoutput>#URLEncodedFormat(url.CARD-ADDRESS2)#</cfoutput>
> >
> > This is the error I get:
> > An error occurred while evaluating the expression:
> >
> > #URLEncodedFormat(url.CARD-ADDRESS2)#
> >
> > Error near line 30, column 12.
> > ------------------------------------------------------------------------
> > Error resolving parameter URL.CARD
> >
> > The specified URL parameter cannot be found. This problem is very
> > likely due
> > to the fact that you have misspelled the parameter name.
> >
> >
> > The error occurred while processing an element with a general
> > identifier of
> > (#URLEncodedFormat(url.CARD-ADDRESS2)#), occupying document
> > position (30:11)
> > to (30:47) in the template file C:\Inetpub\wwwroot\New.cfm.
> >
> > This is the debug information from CF:
> > Parameters
> > URL Parameters:
> >
> > ARD-ADDRESS1=add1
> > CARD-ADDRESS2=add2
> > CARD-CITY=city
> > CARD-STATE=state
> >
> > Any ideas??
> >
> > CM
> >
> >
> > >From: "Bill Killillay" <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: <[EMAIL PROTECTED]>
> > >Subject: RE: URL parameter and the "-" character
> > >Date: Sun, 10 Sep 2000 11:55:59 -0400
> > >
> > >Check out URLEncodedFormat() it will do EXACTLY what your looking for.
> > >
> > >Bill
> > >
> > > > -----Original Message-----
> > > > From: CM Randall [mailto:[EMAIL PROTECTED]]
> > > > Sent: Sunday, September 10, 2000 11:53 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: URL parameter and the "-" character
> > > >
> > > >
> > > > I'm having a problem reading a URL parameter when it has a minus
> > > > sign "-" in
> > > > the URL var name.
> > > >
> > > > For example, someone is passing to me via URL
card-address=MyAddress.
> > > >
> > > > I can not read this by doing the following:
> > > > <cfoutput>#url.card-address1#</cfoutput>
> > > > OR
> > > > <cfset addr1 = url.card-address1>
> > > >
> > > > When I get an error is tells me that the parameter card doesn't
exist.
> > > >
> > > > How do I escape the - character so it doesn't error out?  I know
this
> > >can
> > > > work because it is displaying in the CF debug area at the
> > bottom of the
> > > > page.
> > > >
> > > > Thanks!
> > > >
> > > > CM
> > > >
> > > >
> >
>_________________________________________________________________________
> > > > Get Your Private, Free E-mail from MSN Hotmail at
> > >http://www.hotmail.com.
> > > >
> > > > Share information about yourself, create your own public profile at
> > > > http://profiles.msn.com.
> > > >
> > > > ------------------------------------------------------------------
> > > > ------------
> > > > To Unsubscribe visit
> > > > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fu
> > >sebox or send a message to [EMAIL PROTECTED] with
> > >'unsubscribe' in the body.
> > >
> > >-----------------------------------------------------------------
> > -------------
> > >To Unsubscribe visit
> > >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/f
> usebox or
> >send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> >the body.
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
> --------------------------------------------------------------------------
--
> --
> 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.
>
> --------------------------------------------------------------------------
----
> 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.


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