Adobe Dreamweaver Forums



Last 10 THreads :         Webhelp Instead of HTML Help for Desktop Applications? (Last Post : Peter Grainge - Replies : 1 - Views : 2 )           »          Help With a earth spinn flash site (Last Post : Balambur - Replies : 0 - Views : 1 )           »          pause imported swf when Captivate movie is paused (Last Post : j-wa - Replies : 0 - Views : 1 )           »          Filtering a Datagrid with Multiple Selections (Last Post : funnyduddy - Replies : 0 - Views : 1 )           »          Cross Domain Scripting (Last Post : Gabi_360RVR - Replies : 0 - Views : 1 )           »          Compatible issue with ie6 (Last Post : Osgood - Replies : 2 - Views : 3 )           »          Re: Kintana Dummy Page (Last Post : macrofireball - Replies : 0 - Views : 1 )           »          CSH Calls for Merged CHM's (Last Post : Peter Grainge - Replies : 1 - Views : 2 )           »          managing imported SWF framerates (Last Post : macrofireball - Replies : 6 - Views : 7 )           »          Web friendly URLs (Last Post : matthisco - Replies : 0 - Views : 1 )           »         


Mission Statement
DreamWeaverForum.infois an online Community of web developers joining together to better their field, share problems and solutions as well as promoting their cause.
We strive to bring you the best information, tools, downloads and news to support your work and companys efforts working in web development.
With our favorite tool "Dreamweaver" and the tools and information we bring you, You should be in a great postion to better your skills and show the world your work.
Come back often, Stay late we have many new things coming your way. Wish you all the best in 2009 information..



 



User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Cold Fusion > Rich Forms
 
Tags:



Reply
  #1 (permalink)  
Old 10-01-2008, 03:19 PM
RUNd
 
Posts: n/a
Diggs:
Default Bind failes in cflayoutarea after form submit

In a edit user page I've got a seperate form inside a cflayoutarea displaying
the comments about this user. In this form I have a cfselect and a cftextarea,
when changing the selected item in the cfselect the cftextarea shows the
comment. This all works fine untill I submit the form (when adding or updating
a comment) the comment is saved and the form is replaced by the same form in a
seperate .cfm. After submitting I get a javascript error and this is what the
coldfusion Ajax logger has to say about it: error:bind: Bind failed, element
not found: userCommentId

This is the form in the new page, I use the exact same form in the original
user detail page.

<cfform action="#request.self#?event=#XFA.saveComments#" name="commentsForm">
<input type="hidden" name="userId" value="#attributes.userId#">
<fieldset>
<legend>Comments</legend>
<div class="fm-req"><cfselect query="userComments"
name="userCommentId" selected="" value="userCommentId" display="dt_lastchanged"
size="1"></cfselect></div>
<div class="fm-req"><cftextarea richtext="false" name="comment"
bind="cfc:cfcs.users.getUserComment({userCommentId })" /></div>
<div id="fm-submit" class="fm-req">
<cfinput type="submit" name="submit" value="Save comment">
</div>
</fieldset>
</cfform>

Thanks for reading, hope to get some good insights!

Lauw



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-06-2008, 10:13 PM
Karzons
 
Posts: n/a
Diggs:
Default Re: Bind failes in cflayoutarea after form submit

i really like what you say about that.

Reply With Quote
  #3 (permalink)  
Old 10-12-2008, 07:13 AM
razitun
 
Posts: n/a
Diggs:
Default Re: Bind failes in cflayoutarea after form submit

Thanks for the nice update. Its really very nice.

Razi.
Reply With Quote


  #4 (permalink)  
Old 10-12-2008, 07:13 AM
TodaysKing
 
Posts: n/a
Diggs:
Default Re: Bind failes in cflayoutarea after form submit

[q]Originally posted by: RUNd
In an edit user page I've got a seperate form inside a cflayoutarea displaying
the comments about this user. In this form I have a cfselect and a cftextarea,
when changing the selected item in the cfselect the cftextarea shows the
comment. This all works fine untill I submit the form (when adding or updating
a comment) the comment is saved and the form is replaced by the same form in a
seperate .cfm. After submitting I get a javascript error and this is what the
coldfusion Ajax logger has to say about it: error:bind: Bind failed, element
not found: userCommentId

This is the form in the new page, I use the exact same form in the original
user detail page.

<cfform action="#request.self#?event=#XFA.saveComments#" name="commentsForm">
<input type="hidden" name="userId" value="#attributes.userId#">
<fieldset>
<legend>Comments</legend>
<div class="fm-req"><cfselect query="userComments"
name="userCommentId" selected="" value="userCommentId" display="dt_lastchanged"
size="1"></cfselect></div>
<div class="fm-req"><cftextarea richtext="false" name="comment"
bind="cfc:cfcs.users.getUserComment({userCommentId })" /></div>
<div id="fm-submit" class="fm-req">
<cfinput type="submit" name="submit" value="Save comment">
</div>
</fieldset>
</cfform>

Thanks for reading, hope to get some good insights!

Lauw[/q]

Thank you very much RUNd for this great coding, i used this and it is working
absolutly fine.

Good Luck!

Regards!

http://www.bluepornblogs.com/ | http://www.getxxxblogs.com/ |
http://www.pinkbloglisting.com/ | http://www.adultblogbox.com/

Reply With Quote
  #5 (permalink)  
Old 10-31-2008, 06:41 PM
Karzons
 
Posts: n/a
Diggs:
Default Re: Bind failes in cflayoutarea after form submit

i really like what you say about that.

Reply With Quote
  #6 (permalink)  
Old 10-31-2008, 06:42 PM
razitun
 
Posts: n/a
Diggs:
Default Re: Bind failes in cflayoutarea after form submit

Thanks for the nice update. Its really very nice.

Razi.
Reply With Quote


  #7 (permalink)  
Old 10-31-2008, 06:42 PM
TodaysKing
 
Posts: n/a
Diggs:
Default Re: Bind failes in cflayoutarea after form submit

[q]Originally posted by: RUNd
In an edit user page I've got a seperate form inside a cflayoutarea displaying
the comments about this user. In this form I have a cfselect and a cftextarea,
when changing the selected item in the cfselect the cftextarea shows the
comment. This all works fine untill I submit the form (when adding or updating
a comment) the comment is saved and the form is replaced by the same form in a
seperate .cfm. After submitting I get a javascript error and this is what the
coldfusion Ajax logger has to say about it: error:bind: Bind failed, element
not found: userCommentId

This is the form in the new page, I use the exact same form in the original
user detail page.

<cfform action="#request.self#?event=#XFA.saveComments#" name="commentsForm">
<input type="hidden" name="userId" value="#attributes.userId#">
<fieldset>
<legend>Comments</legend>
<div class="fm-req"><cfselect query="userComments"
name="userCommentId" selected="" value="userCommentId" display="dt_lastchanged"
size="1"></cfselect></div>
<div class="fm-req"><cftextarea richtext="false" name="comment"
bind="cfc:cfcs.users.getUserComment({userCommentId })" /></div>
<div id="fm-submit" class="fm-req">
<cfinput type="submit" name="submit" value="Save comment">
</div>
</fieldset>
</cfform>

Thanks for reading, hope to get some good insights!

Lauw[/q]

Thank you very much RUNd for this great coding, i used this and it is working
absolutly fine.

Good Luck!

Regards!

http://www.bluepornblogs.com/ | http://www.getxxxblogs.com/ |
http://www.pinkbloglisting.com/ | http://www.adultblogbox.com/

Reply With Quote
  #8 (permalink)  
Old 11-02-2008, 01:54 AM
Karzons
 
Posts: n/a
Diggs:
Default Re: Bind failes in cflayoutarea after form submit

i really like what you say about that.

Reply With Quote
  #9 (permalink)  
Old 11-02-2008, 01:54 AM
razitun
 
Posts: n/a
Diggs:
Default Re: Bind failes in cflayoutarea after form submit

Thanks for the nice update. Its really very nice.

Razi.
Reply With Quote


  #10 (permalink)  
Old 11-02-2008, 01:54 AM
TodaysKing
 
Posts: n/a
Diggs:
Default Re: Bind failes in cflayoutarea after form submit

[q]Originally posted by: RUNd
In an edit user page I've got a seperate form inside a cflayoutarea displaying
the comments about this user. In this form I have a cfselect and a cftextarea,
when changing the selected item in the cfselect the cftextarea shows the
comment. This all works fine untill I submit the form (when adding or updating
a comment) the comment is saved and the form is replaced by the same form in a
seperate .cfm. After submitting I get a javascript error and this is what the
coldfusion Ajax logger has to say about it: error:bind: Bind failed, element
not found: userCommentId

This is the form in the new page, I use the exact same form in the original
user detail page.

<cfform action="#request.self#?event=#XFA.saveComments#" name="commentsForm">
<input type="hidden" name="userId" value="#attributes.userId#">
<fieldset>
<legend>Comments</legend>
<div class="fm-req"><cfselect query="userComments"
name="userCommentId" selected="" value="userCommentId" display="dt_lastchanged"
size="1"></cfselect></div>
<div class="fm-req"><cftextarea richtext="false" name="comment"
bind="cfc:cfcs.users.getUserComment({userCommentId })" /></div>
<div id="fm-submit" class="fm-req">
<cfinput type="submit" name="submit" value="Save comment">
</div>
</fieldset>
</cfform>

Thanks for reading, hope to get some good insights!

Lauw[/q]

Thank you very much RUNd for this great coding, i used this and it is working
absolutly fine.

Good Luck!

Regards!

http://www.bluepornblogs.com/ | http://www.getxxxblogs.com/ |
http://www.pinkbloglisting.com/ | http://www.adultblogbox.com/

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 09:21 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk