john barnes
Member since Mar 1, 2010
- Profile: /members/5557-john-barnes.htm
- URL: http://www.music-explained.com
- Comments: 10
Recent Blog Comments By john barnes
-
Learning ColdFusion 9: ORM Inheritance Mapping
Posted on Nov 16, 2010 at 11:59 AM
Would there be a way to entityLoad an array of rental objects which have been saved as 'rental', but not as 'game rental' or 'dvd rental'? Cheers... read more »
-
Learning ColdFusion 9: EntityNew() vs. The NEW Operator / CreateObject()
Posted on Oct 20, 2010 at 12:13 PM
Hi ben.. Yes I have actually done what you have suggested using a base component created by bob silverberg - http://bit.ly/b57VbL. Just thought it would be cool if cf9.0.1 had it as default.... read more »
-
Learning ColdFusion 9: EntityNew() vs. The NEW Operator / CreateObject()
Posted on Oct 18, 2010 at 5:05 PM
Thanks for the response John W. Yeah i had seen that, but wondered if you could pass a form struct to it? user = EntityNew("User",form); As you can do this with in coldbox.. user = entityNew("user") user.populate(form); Would make things a lot easier if that was possible ... read more »
-
Learning ColdFusion 9: EntityNew() vs. The NEW Operator / CreateObject()
Posted on Oct 18, 2010 at 2:52 PM
Does anyone have an example of the new functionality for entity new in cf 9.01. Apparently you can pass a struct of properties to to the function. So you can now post a form and pass it into an ORM entity on creation, allowing you to populate it without having to call all of the setters in sequenc... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Mar 4, 2010 at 10:22 AM
Yes ben, this seems to be the case.. I usually add return false to prevent this, but doesnt seem to function in this instance.. Rick, i have the files to send over, wondering where i should send them to for you to grab Thanks... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Mar 3, 2010 at 1:53 PM
I would really appreciate that rick, good idea.. I will post the code at work tomorrow Thanks... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Mar 3, 2010 at 12:43 PM
Its exactly the same as the processing code in the example in bens demo above... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Mar 3, 2010 at 12:19 PM
Hi Yes, i took out the code in the Jquery that hides the frame as well, to see the previous coldfusion errors, but there are none at present... The form works and the image gets uploaded, but the page seems to be submitted, instead of firing through ajax... The response i get on the net tab in fi... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Mar 3, 2010 at 10:40 AM
Ok, not sure why thats happening, but will have another go. Thanks... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Mar 1, 2010 at 8:30 AM
Actually...have modified code to remove the alert pop up box on click... The form seems to be getting submitted, as the page reloads, is there anyway of preventing this? I generally use return false at the end of the function, but that doesnt seem to be working in this instance Thanks... read more »