Well they were all read/write on CF5. And the whole rest of the thistag scope is read/write still. So it's not too surprising...
> Yeah, you can pretty much kill that first line. That is a > read only > variable - not sure what that is all about, guess someone > thought that was a > property. > =D > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Bruce Sorge > Sent: Thursday, January 15, 2004 4:13 PM > To: [EMAIL PROTECTED] > Subject: RE: ThisTag attribute > Here is a snippet: > <cfset thistag.hasendtag = 1> > <cfparam name="attributes.caption" type="string"> > <cfparam name="attributes.width" default="90%"> > <cfsetting enablecfoutputonly="no"> > <cfif NOT compareNoCase(thistag.executionmode,"end")> > <cfset thistag.content = ThisTag.GeneratedContent> > <cfset ThisTag.GeneratedContent = ""> > <cfoutput>#Thistag.Content#</cfoutput> > </td> > </tr> > </table> > </TD> > </TR> > </TABLE> > </TD> > </TR> > </TABLE> > </td></tr></table> > <cfelse> > <table border="0" cellpadding="0" cellspacing="0" > width="<cfoutput>#attributes.width#</cfoutput>"> > <tr valign="top"><td> > <TABLE border="0" width="100%" cellpadding="1" > cellspacing="0" > bgcolor="cccc99"> > <TR> > <TD width="100%"> > <TABLE width="100%" border="0" cellpadding="<cfif > NOT > isDefined("attributes.tightFit")>4</cfif>" cellspacing="0" > bgcolor="cccc99" >> > <TR> > <TD valign="middle" align="left" > bgcolor="EEEECC"><cfoutput>#attributes.caption#</cfoutput> > </TD> > </TR> > <TR> > <TD bgcolor="FFFFFF" valign=top width=100%> > <table width=100% border=0 cellspacing=0 > cellpadding=4> > <tr> > <td> > </cfif> > _____ > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Nate Nielsen > Sent: Thursday, January 15, 2004 3:34 PM > To: [EMAIL PROTECTED] > Subject: RE: ThisTag attribute > Wow - can you give a code snippet of where hasEndTag is > trying to be set ? > The thisTag scope holds a couple pieces of information > that are handy when > writing a custom tag. The scope is only available when > you call a template > as a tag. > ThisTag.hasEndTag - bool telling you if the tag has an end > tag > thisTag.ExecutionMode - tells you if it is executing the > beginning or the > end of the tag > thisTag.generatedContent - this contains all the generated > html / content > that was generated between the start and end of a tag. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Bruce Sorge > Sent: Thursday, January 15, 2004 3:27 PM > To: [EMAIL PROTECTED] > Subject: ThisTag attribute > Hello all. I have an application that I inherited that was > written by a > contractor. It was written in CF5 and we just upgraded our > dev environment > to CFMX 6.1, and this site is generating an error: > The HasEndTag variable in the ThisTag scope can not be set > by the user. > I have never use the ThisTag scope so I am not sure what > it is doing. Can > someone shed some light? The on-line docs to not do much > good. > Thanks, > Bruce s. isaac dealey 214-823-9345 team macromedia volunteer http://www.macromedia.com/go/team chief architect, tapestry cms http://products.turnkey.to onTap is open source http://www.turnkey.to/ontap ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To unsubscribe: Send UNSUBSCRIBE to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org
