review.setParentProduct(product)
cfset application.transfer.save(review)
cflocation url=product.cfm?id=#form.productId# addtoken=false
cfabort
/cfif
--
Paul Marcotte
Fancy Bread - in the heart or in the head?
http://www.fancybread.com
Hey all,
I just processed some updates to the wiki Tutorials page. If I missed
anything please let me know.
Cheers,
Paul
--~--~-~--~~~---~--~~
Before posting questions to the group please read:
want to add this post.
http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/modelling-a-properties-map-with-transfer-194
--
Paul Marcotte
Fancy Bread - in the heart or in the head?
http://www.fancybread.com
--~--~-~--~~~---~--~~
Before
of the point of Transfer is that you're dealing with Objects and their
relationships, not tables and foreign keys. So trying to go behind it's
back and do things like using foreign key columns directly is discouraged.
--
Paul Marcotte
Fancy Bread - in the heart or in the head?
http
to do an
update
instead of a delete. So you code would still call the delete method.
--
Paul Marcotte
Fancy Bread - in the heart or in the head?
http://www.fancybread.com
--~--~-~--~~~---~--~~
Before posting questions to the group please read:
http
-use the same instance for all
injections, thus resulting in the behavior you noted.
--
Ezra Parker
--
Paul Marcotte
Fancy Bread - in the heart or in the head?
http://www.fancybread.com
--~--~-~--~~~---~--~~
Before posting questions to the group please
the getMemento method is really useful for debugging as you can see
what is persisted. Just do cfdump var=#objGallery.getMemento()# /
BTW: getMemento is ONLY for debugging :)
--
Paul Marcotte
Fancy Bread - in the heart or in the head?
http://www.fancybread.com
, not
the ProductId key. If you instead wanted to use a setProductId()
method, then *that* would require that you use a decorator for your
Gallery object so you could add the method yourself.
Does that make sense?
--
Ezra Parker
--
Paul Marcotte
Fancy Bread - in the heart or in the head
? And have another decorator? basically I have a couple of
functions that I want all of my transfer beans to have but I don't
want to create a decorator for every transfer object.
--
Paul Marcotte
Fancy Bread - in the heart or in the head?
http://www.fancybread.com
.
HTH
--
Paul Marcotte
Fancy Bread - in the heart or in the head?
http://www.fancybread.com
--~--~-~--~~~---~--~~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions
of maintainability
later. So, while this does work, I'd argue that it'd be better to just
use decorator=BaseDecorator on every object/ in your transfer.xml
instead of this much black magic.
--
Paul Marcotte
Fancy Bread - in the heart or in the head?
http://www.fancybread.com
with this.
Thanks guys.
Stephen
--
Paul Marcotte
Fancy Bread - in the heart or in the head?
http://www.fancybread.com
--~--~-~--~~~---~--~~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions
, transfer is great! Long live transfer. Send Mark money.
--
Paul Marcotte
Fancy Bread - in the heart or in the head?
http://www.fancybread.com
--~--~-~--~~~---~--~~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web
Ooops, I misread your post. You could use an afterNew Observer instead.
But I'm wondering if configure is fired even on get()?
***heads to docs...
Paul
On Fri, Nov 28, 2008 at 1:59 PM, Paul Marcotte [EMAIL PROTECTED] wrote:
Hi Jared,
You can call nullifyDates() in the configure method
use multiple cf datasources...
but you can specify in your mapping xml
object table=owner.tablefoo /
From there, it should just work as normal, assuming your database can
support it.
Is that what you were asking? ...
--
Paul Marcotte
Fancy Bread - in the heart or in the head
)
--
Paul Marcotte
Fancy Bread - in the heart or in the head?
http://www.fancybread.com
--~--~-~--~~~---~--~~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
You received
Rather than
/tags
/trunk
/project1
/project2
/branches
Which has gotten to the point that its driving me nuts (and I have
some new stuff to add)
So if you SVN details break, this is why.
Mark
--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
--
Paul Marcotte
Fancy Bread
!
Brian
--
Paul Marcotte
Fancy Bread - in the heart or in the head?
http://www.fancybread.com
--~--~-~--~~~---~--~~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
[EMAIL PROTECTED] wrote:
I see how that could work, but wouldn't that also remove all of the
handy child functions that the onetomany relationship would give you?
On Oct 15, 12:31 pm, Paul Marcotte [EMAIL PROTECTED] wrote:
Hi John,
I would suggest using a manytoone for nesting categories
19 matches
Mail list logo