Interesting, using URL as a variable name does not work on our CF5 servers. Now I do know it worked on the 4.x servers prior though.
On Wed, 23 Feb 2005 12:38:08 -0500, Bill Rawlinson <[EMAIL PROTECTED]> wrote: > hey, lets not dog cf5 - i'm unfortunately stuck with CF5 for a project > as it is what our customer requires and they can not upgrade (due to > some poor variable naming among other things in an existing app they > have). > > So, CF5 is a valid reason - not a fun one perhaps, but valid. > > bad variable naming example: > > <cfset url = "index.cfm?page=somepage"> > <!--- add arguments ---> > <cfset url = url & "&arg1t=argval1&arg2=argval2"> > ... > ... > > <cflocation url="#url#" addtoken="no"> > > .. > > that works fine in CF5 - but CFMX (as it should) doesn't like it. > > On Wed, 23 Feb 2005 12:17:26 -0500, John Farrar > <[EMAIL PROTECTED]> wrote: > > John Farrar > > > > I might like the functionality also... but note you say you don't expect > > the same functionality... then you say "It doesn't work as expected". The > > expectation is to run like ASP, that is where it came from. (Or VBScript) > > With that said... this is a cool concept... and I like your expectation. If > > I get a window and someone else doesn't do it first... I will try to package > > the concept up into a CFC to use. > > > > My Concept... > > objQuery > > att: each field in query > > att: recordCount > > att: currentRow > > method: next, previous... etc. > > > > Write up all the specs for me... and I will put one together. The advantage > > to doing it in a CFC is you can pass the recordset in... CF can dynamically > > move to any record, forward, back... etc. A custom tag would not do this for > > you... tags can't be instantiated and lack persistance. UDF's also lack > > persistance. Therefore a CFC seems the way to go... unless someone has a > > reason to use another tool. (And please don't say CF5!) > > > > John Farrar > > > > Murat Demirci wrote: > > > > It is difficult as you said to program CF like ASP. I don't try to get same > > functionality of ASP using CF. I'd just wanted to develop a custom tag that > > iterates on a query object like <cftable> or <cfoutput query="">. This > > doesn't mean CF should implement next(), previous() and other methods for > > query objects, for example query.currentRow could be writeable: <cfquery > > name="myQuery" ..> Select ... </cfquery> <cfset myQuery.currentRow = 2 /> > > <cfoutput>#myQuery.field1#</cfoutput> However CF doesn't allow this > > currently (it doesn't work as expected). Murat. > > ---------------------------------------------------------- You are > > subscribed to cfcdev. To unsubscribe, send an email to [email protected] > > with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is > > run by CFCZone (www.cfczone.org) and supported by CFXHosting > > (www.cfxhosting.com). An archive of the CFCDev list is available at > > www.mail-archive.com/[email protected] > > -- > [EMAIL PROTECTED] > http://blog.rawlinson.us > > I have 50! gmail invites,want one? > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email to > [email protected] with the words 'unsubscribe cfcdev' as the subject of the > email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting > (www.cfxhosting.com). > > An archive of the CFCDev list is available at > www.mail-archive.com/[email protected] > > -- Aaron Rouse http://www.happyhacker.com/ ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
