macromedia.coldfusion.advanced_techniques
[Top] [All Lists]

Re: Creating form element from within a component

Subject: Re: Creating form element from within a component
From: Azadi
Date: Fri, 05 Dec 2008 09:20:36 +0700
Newsgroups: macromedia.coldfusion.advanced_techniques

i see the same behaviour.
even with <cfsavecontent><cfselect ...>...</cfselect></cfsavecontent> in
the same .cfm page as the form (but outside the <cfform> tag), it still
throws the "Context validation error for tag cfselect. The tag must be
nested inside a cfform tag." error.

not sure if it is a bug or expected behaviour - will have to check the
documentation...

for a work-around, you can have the actual <cfselect> tag inside
<cfform> and just return <option> tags from you cfc...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

<Prev in Thread] Current Thread [Next in Thread>