Are you trying to evaluate this as a number? If so just evaluate it as a string
and it should work.
I am using 4.5 but it also works on express.
-----Original Message-----
From: Mark Adams [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 09, 2000 11:43 AM
To: [EMAIL PROTECTED]
Subject: Re: CFPARAM default values
Here is my error message
Error Diagnostic Information
Cannot convert 100% to stk_real.
-Mark
----- Original Message -----
From: Mark Adams <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 09, 2000 11:36 AM
Subject: Re: CFPARAM default values
> Weird, what version of CF are you using? I'm using 4.0
>
> -Mark
>
> ----- Original Message -----
> From: James <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, September 09, 2000 11:38 AM
> Subject: RE: CFPARAM default values
>
>
> > Mark this code works fine for me.
> >
> > Mark, this code works fine for me.
> >
> > <CFPARAM name="tablew" default="100%">
> >
> > <table bgcolor="black" width="<cfoutput>#tablew#</cfoutput>"
> align="center">
> > <tr><td> </td></tr>
> > </table>
> >
> > -----Original Message-----
> > From: Mark Adams [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, September 09, 2000 11:23 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: CFPARAM default values
> >
> >
> > Thanks, Chris
> >
> > The problem with that is if you change the attribute value to a pixel
> value
> > rather than a %. You would always have a % attached like 640% wow that's
> > wide
> >
> > I am coming from Perl and still figuring out how to set values in CF.
> >
> > Also how do you set a URL value with <CFSET or is there another tag to
use
> > for that?
> >
> > Thanks Again!
> >
> > -Mark
> >
> > ----- Original Message -----
> > From: Chris Cortes <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, September 09, 2000 11:10 AM
> > Subject: Re: CFPARAM default values
> >
> >
> > > Mark why don't you go ahead and set your param like this:
> > >
> > > <cfparam name="tablew" default="100">
> > >
> > > and then make your call to the variable like this:
> > >
> > > <table width="#tablew#%"...>
> > >
> > > Chris Cortes
> > > Consultant
> > > [EMAIL PROTECTED]
> > > Direct 713-985-6244
> > > Cell 832-723-6485
> > >
> > > Stonebridge Technologies
> > > ...The Fast Track to e-Business.
> > > visit us at www.sbti.com
> > >
> > > ----- Original Message -----
> > > From: "Mark Adams" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Saturday, September 09, 2000 12:03 AM
> > > Subject: CFPARAM default values
> > >
> > >
> > > > Hello All!
> > > > I am using CFPARAM to set defaults for table sizes the default value
> is
> > > > "100%" but if I use this it errors obviously is the "%" How can this
> be
> > > > done?
> > > > This is the line: <cfparam name="tablew" default="100%">
> > > > Thanks in advance.
> > > >
> > > > -Mark :o)
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > ----
> > > > Archives: http://www.mail-archive.com/[email protected]/
> > > > To Unsubscribe visit
> > >
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
> or
> > > send a message to [EMAIL PROTECTED] with 'unsubscribe'
> in
> > > the body.
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > ----
> > > Archives: http://www.mail-archive.com/[email protected]/
> > > To Unsubscribe visit
> > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or
> > send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
> > the body.
> > >
> >
>
> --------------------------------------------------------------------------
> ----
> > Archives: http://www.mail-archive.com/[email protected]/
> > To Unsubscribe visit
> > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or
> send
> > a message to [EMAIL PROTECTED] with 'unsubscribe' in the
> body.
> >
>
> --------------------------------------------------------------------------
> ----
> > Archives: http://www.mail-archive.com/[email protected]/
> > To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> >
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send
a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.