--0-1804289383-963344688=:6412
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi Friends,
Just joined this list and am posting my first
question:

In my application, forms are being called either
directly using URL or as custom tags through common
pages... meaning that I could directly post to a page
or could call the same page using CFModule.

Here is the question:
The input to the page is a structure when it is called
as a custom tag and when it is called directly there
is no input. So the need arises to default the input
to something like StructNew()...

However the following code is not working and gives
strange errors (I mean, really strange!!)

<cfparam type="struct" name="Attributes.MyStruct"
default="#StructNew()#">

I have attached the errors as HTML files..

One error is:
**********************
Attributes.MyStruct=CFTempOnlyForSetVariableNeverUseThisNameInYourCFMLCode122333444455555654321
Cannot assign result to symbol Attributes.MyStruct
**********************

Another error is:
Error Diagnostic Information
************************
Request canceled or ignored by serverServer busy or
unable to fulfill request. The server is unable to
fulfill your request due to extremely high traffic or
an unexpected internal error. Please attempt your
request again (if you are repeatedly unsuccessful you
should notify the site administrator). (Location Code:
26)
************************

Is this a bug in CFML? Because if I have ArrayNew(1)
as default and type="array" everything works fine.

Thanks in advance

PlanetCF
Differential Technologies 
Fairfax, VA



__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/
--0-1804289383-963344688=:6412
Content-Type: text/plain; name="Error Occurred While Processing Request.htm"
Content-Description: Error Occurred While Processing Request.htm
Content-Disposition: inline; filename="Error Occurred While Processing Request.htm"

</TD></TD></TD></TH></TH></TH></TR></TR></TR></TABLE></TABLE></TABLE></A></ABBREV></ACRONYM></ADDRESS></APPLET></AU></B></BANNER></BIG></BLINK></BLOCKQUOTE></BQ></CAPTION></CENTER></CITE></CODE></COMMENT></DEL></DFN></DIR></DIV></DL></EM></FIG></FN></FONT></FORM></FRAME></FRAMESET></H1></H2></H3></H4></H5></H6></HEAD></I></INS></KBD></LISTING></MAP></MARQUEE></MENU></MULTICOL></NOBR></NOFRAMES></NOSCRIPT></NOTE></OL></P></PARAM></PERSON></PLAINTEXT></PRE></Q></S></SAMP></SCRIPT></SELECT></SMALL></STRIKE></STRONG></SUB></SUP></TABLE></TD></TEXTAREA></TH></TITLE></TR></TT></U></UL></VAR></WBR></XMP><HTML><HEAD><TITLE>Error
 Occurred While Processing Request</TITLE></HEAD><BODY><HR><H3>Error Occurred While 
Processing Request</H3><P> <TABLE BORDER><TR><TD><H4>Error Diagnostic 
Information</H4><P>An error has occurred while processing the expression:<XMP>   
Attributes.MyStruct=CFTempOnlyForSetVariableNeverUseThisNameInYourCFMLCode122333444455555654321
</XMP><P><P> <P>Error near line 1, column 1.<HR><P>Cannot assign result to symbol 
Attributes.MyStruct<P><P><p>The error occurred while processing an element with a 
general identifier of (CFPARAM), occupying document position (1:1) to 
(1:74).</p><P><P>Date/Time: 07/11/00 15:29:33<BR>Browser: Mozilla/4.0 (compatible; 
MSIE 5.0; Windows NT; DigExt)<BR>Remote Address: 
127.0.0.1<P></TD></TR></TABLE><P>Please inform the <a 
href="mailto:[EMAIL PROTECTED]">site administrator</a> that this error has occurred (be 
sure to include the contents of this page in your message to the administrator).<P><HR>
</BODY></HTML>
--0-1804289383-963344688=:6412
Content-Type: text/plain; name="Error 403.htm"
Content-Description: Error 403.htm
Content-Disposition: inline; filename="Error 403.htm"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0040)http://127.0.0.1//myapps/ParamStruct.cfm -->
</TD></TD></TD></TH></TH></TH></TR></TR></TR></TABLE></TABLE></TABLE></ABBREV></APPLET></AU></BANNER></BQ></CAPTION></COMMENT></FIG></FN></FORM></FRAME></FRAMESET><HTML><HEAD><TITLE>Error
 Occurred While Processing Request</TITLE>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY></A></ACRONYM>
<ADDRESS></ADDRESS></B></BIG></BLINK>
<BLOCKQUOTE></BLOCKQUOTE>
<CENTER></CENTER></CITE></CODE></DEL></DFN>
<DIR></DIR>
<DIV></DIV>
<DL></DL></EM></FONT>
<H1></H1>
<H2></H2>
<H3></H3>
<H4></H4>
<H5></H5>
<H6></H6></I></INS></KBD><LISTING></LISTING></MAP></MARQUEE>
<MENU></MENU></MULTICOL></NOBR></NOFRAMES></NOSCRIPT></NOTE>
<OL></OL>
<P></P></PARAM></PERSON><PLAINTEXT></PLAINTEXT><PRE></PRE></Q></S></SAMP></SCRIPT></SELECT></SMALL></STRIKE></STRONG></SUB></SUP></TABLE></TD></TEXTAREA></TH></TITLE></TR></TT></U>
<UL></UL></VAR></WBR><XMP></XMP>
<HR>

<H3>Error Occurred While Processing Request</H3>
<P>
<TABLE border=1>
  <TBODY>
  <TR>
    <TD>
      <H4>Error Diagnostic Information</H4>
      <P>An error has occurred while processing the expression:<XMP>   
Attributes.MyStruct=CFTempOnlyForSetVariableNeverUseThisNameInYourCFMLCode122333444455555654321
</XMP>
      <P>
      <P>
      <P>Error near line 1, column 1.
      <HR>

      <P>Cannot assign result to symbol Attributes.MyStruct
      <P>
      <P>
      <P>The error occurred while processing an element with a general 
      identifier of (CFPARAM), occupying document position (1:1) to (1:74).</P>
      <P>
      <P>Date/Time: 07/11/00 15:17:20<BR>Browser: Mozilla/4.0 (compatible; MSIE 
      5.0; Windows NT; DigExt)<BR>Remote Address: 127.0.0.1
      <P></P></TD></TR></TBODY></TABLE>
<P>Please inform the <A href="mailto:[EMAIL PROTECTED]">site administrator</A> 
that this error has occurred (be sure to include the contents of this page in 
your message to the administrator).
<P>
<HR>
</BODY></HTML>

--0-1804289383-963344688=:6412
Content-Type: text/html; name="Error.htm"
Content-Description: Error.htm
Content-Disposition: inline; filename="Error.htm"


<HTML><HEAD><TITLE>Error</TITLE></HEAD><BODY><HR><H3>Error Occurred While Processing 
Request</H3><P><TABLE BORDER><TR><TD><H4>Error Diagnostic Information</H4><P>Request 
canceled or ignored by serverServer busy or unable to fulfill request. The server is 
unable to fulfill your request due to extremely high traffic or an unexpected internal 
error. Please attempt your request again (if you are repeatedly unsuccessful you 
should notify the site administrator). (Location Code: 26)<P></TD></TR></TABLE><P>
</BODY></HTML>Please inform the <a href="mailto:[EMAIL PROTECTED]">site 
administrator</a> that this error has occurred (be sure to include the contents of 
this page in your message to the administrator).<P><HR>
--0-1804289383-963344688=:6412--
------------------------------------------------------------------------------
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.

Reply via email to