Adobe Dreamweaver Forums



Last 10 THreads :         Dreamweaver Snippets and Site Settings (Last Post : Murray *ACE* - Replies : 1 - Views : 2 )           »          S.O.S. CF insert error (Last Post : tpkelley - Replies : 4 - Views : 5 )           »          textinput highlight problem (Last Post : phil1943 - Replies : 0 - Views : 1 )           »          Passing data in paramaters (Last Post : Developer504 - Replies : 6 - Views : 7 )           »          How do I edit a Layout (Last Post : MaskedMan69 - Replies : 0 - Views : 1 )           »          anti spam (Last Post : Murray *ACE* - Replies : 23 - Views : 24 )           »          Resizing Rows as editing. (Last Post : twetzel2k - Replies : 0 - Views : 1 )           »          Newbie CSS Styles Not Showing up in Property Menu (Last Post : Murray *ACE* - Replies : 7 - Views : 8 )           »          Starter Page (Theme) (Last Post : Murray *ACE* - Replies : 3 - Views : 4 )           »          Creating a slideshow (Last Post : ljCharlie - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > 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 08:33 PM.


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