[transfer-dev] Re: transfer object onetomany (add to array)

2008-12-16 Thread Dan Wilson
GROAN.



On Tue, Dec 16, 2008 at 3:45 PM, Jared Rypka-Hauer
armchairde...@gmail.comwrote:


 So if the Matt standing on the mat has kids, do those kids hop on pop?

 It had to be said... I know I was not the only one thinking it.

 J

 On Dec 16, 2008, at 2:26 PM, Matt Quackenbush wrote:

  On Tue, Dec 16, 2008 at 2:23 PM, Matt Williams wrote:
 
  Whenever I walk out my front door, there's a Matt and a mat (it says
  Welcome). Matt is standing on the mat.
 
  ok. enough.
 
  Matt
 
 
  /cf_rimshot
 
  :D

 



-- 
Come to the edge, he said. They said: We are afraid. Come to the edge, he
said. They came. He pushed them and they flew.

Guillaume Apollinaire quotes

--~--~-~--~~~---~--~~
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 this message because you are subscribed to the Google Groups 
transfer-dev group.
To post to this group, send email to transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~--~~~~--~~--~--~---



[transfer-dev] Re: transfer object onetomany (add to array)

2008-12-16 Thread Matt Williams

No, they sat on a Matt with a hat.

I do! I do like green eggs and ham!

m@

On Dec 16, 3:45 pm, Jared Rypka-Hauer armchairde...@gmail.com wrote:
 So if the Matt standing on the mat has kids, do those kids hop on pop?

 It had to be said... I know I was not the only one thinking it.

 J

 On Dec 16, 2008, at 2:26 PM, Matt Quackenbush wrote:

  On Tue, Dec 16, 2008 at 2:23 PM, Matt Williams wrote:

  Whenever I walk out my front door, there's a Matt and a mat (it says
  Welcome). Matt is standing on the mat.

  ok. enough.

  Matt

  /cf_rimshot

  :D
--~--~-~--~~~---~--~~
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 this message because you are subscribed to the Google Groups 
transfer-dev group.
To post to this group, send email to transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~--~~~~--~~--~--~---



[transfer-dev] Re: transfer object onetomany (add to array)

2008-12-15 Thread Brian FitzGerald

Matt, dude, you're everywhere!  Thanks a lot for pointing me in the
right direction.  I was looking at the wrong object (question) the
whole time... shows you how bassackwards I tend to do things ;)



On Dec 15, 12:00 pm, Matt Osbun matt.os...@gmail.com wrote:
 If you have a Question-Answer relationship as a OneToMany, look for an
 AddParentQuestion method in the Answer object.

 On Mon, Dec 15, 2008 at 11:25 AM, Brian FitzGerald 

 fitzgeraldme...@gmail.com wrote:

  Greetings all,

  First of all, I think Transfer is incredible, and I am so glad I
  finally decided to give it a go!  That said, I'm having a minor issue
  that I wanted to see if anyone could help with.

  In my transfer.xml file, I have defined several manytomany
  relationships which, in the generated Transfer objects, expose a
  certain set of methods for working with my nested array of objects.
  One of these methods is add'ObjectName', to add a new object to the
  array.  This is great!

  The problem comes in when I have defined a onetomany relationship.
  The onetomany is for questions and answers, as each question can have
  many answers, but each answer can only have one question.  This is
  working fine and loading my answers as expected, but where I am
  confused is that the generated Transfer object does not expose any
  method called addAnswer, which would allow me to append an additional
  answer to the array.  It does however, offer many other methods to
  work with answers
  (sortAnswers,emptyAnswers,getAnswersArray,findAnswers,containsAnswers,
  etc.)

  Why is the addAnswer method not available on Transfer objects
  representing a relationship created with a onetomany?

  I initially figured it was no biggie anyway and just created an
  addAnswer method in my answer decorator to append an answer to the
  answer array by doing something like ...

  arrayAppend(getAnswersArray(), arguments.answer)

  but for some reason that hasn't worked.  Any ideas?

  Thanks in advance for any insight :)
  Brian
--~--~-~--~~~---~--~~
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 this message because you are subscribed to the Google Groups 
transfer-dev group.
To post to this group, send email to transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~--~~~~--~~--~--~---



[transfer-dev] Re: transfer object onetomany (add to array)

2008-12-15 Thread Charlie Griefer
he really is everywhere.  this morning i couldn't find my socks.  i looked
under the couch and not only did i find my socks... but hey, there's matt!

On Mon, Dec 15, 2008 at 11:06 AM, Brian FitzGerald 
fitzgeraldme...@gmail.com wrote:


 Matt, dude, you're everywhere!  Thanks a lot for pointing me in the
 right direction.  I was looking at the wrong object (question) the
 whole time... shows you how bassackwards I tend to do things ;)



 On Dec 15, 12:00 pm, Matt Osbun matt.os...@gmail.com wrote:
  If you have a Question-Answer relationship as a OneToMany, look for an
  AddParentQuestion method in the Answer object.
 
  On Mon, Dec 15, 2008 at 11:25 AM, Brian FitzGerald 
 
  fitzgeraldme...@gmail.com wrote:
 
   Greetings all,
 
   First of all, I think Transfer is incredible, and I am so glad I
   finally decided to give it a go!  That said, I'm having a minor issue
   that I wanted to see if anyone could help with.
 
   In my transfer.xml file, I have defined several manytomany
   relationships which, in the generated Transfer objects, expose a
   certain set of methods for working with my nested array of objects.
   One of these methods is add'ObjectName', to add a new object to the
   array.  This is great!
 
   The problem comes in when I have defined a onetomany relationship.
   The onetomany is for questions and answers, as each question can have
   many answers, but each answer can only have one question.  This is
   working fine and loading my answers as expected, but where I am
   confused is that the generated Transfer object does not expose any
   method called addAnswer, which would allow me to append an additional
   answer to the array.  It does however, offer many other methods to
   work with answers
   (sortAnswers,emptyAnswers,getAnswersArray,findAnswers,containsAnswers,
   etc.)
 
   Why is the addAnswer method not available on Transfer objects
   representing a relationship created with a onetomany?
 
   I initially figured it was no biggie anyway and just created an
   addAnswer method in my answer decorator to append an answer to the
   answer array by doing something like ...
 
   arrayAppend(getAnswersArray(), arguments.answer)
 
   but for some reason that hasn't worked.  Any ideas?
 
   Thanks in advance for any insight :)
   Brian
 



-- 
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.

--~--~-~--~~~---~--~~
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 this message because you are subscribed to the Google Groups 
transfer-dev group.
To post to this group, send email to transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~--~~~~--~~--~--~---



[transfer-dev] Re: transfer object onetomany (add to array)

2008-12-15 Thread Brian FitzGerald


lol - see?  there's a prime example of what I'm talking about :)

On Dec 15, 2:37 pm, Charlie Griefer charlie.grie...@gmail.com
wrote:
 he really is everywhere.  this morning i couldn't find my socks.  i looked
 under the couch and not only did i find my socks... but hey, there's matt!

 On Mon, Dec 15, 2008 at 11:06 AM, Brian FitzGerald 



 fitzgeraldme...@gmail.com wrote:

  Matt, dude, you're everywhere!  Thanks a lot for pointing me in the
  right direction.  I was looking at the wrong object (question) the
  whole time... shows you how bassackwards I tend to do things ;)

  On Dec 15, 12:00 pm, Matt Osbun matt.os...@gmail.com wrote:
   If you have a Question-Answer relationship as a OneToMany, look for an
   AddParentQuestion method in the Answer object.

   On Mon, Dec 15, 2008 at 11:25 AM, Brian FitzGerald 

   fitzgeraldme...@gmail.com wrote:

Greetings all,

First of all, I think Transfer is incredible, and I am so glad I
finally decided to give it a go!  That said, I'm having a minor issue
that I wanted to see if anyone could help with.

In my transfer.xml file, I have defined several manytomany
relationships which, in the generated Transfer objects, expose a
certain set of methods for working with my nested array of objects.
One of these methods is add'ObjectName', to add a new object to the
array.  This is great!

The problem comes in when I have defined a onetomany relationship.
The onetomany is for questions and answers, as each question can have
many answers, but each answer can only have one question.  This is
working fine and loading my answers as expected, but where I am
confused is that the generated Transfer object does not expose any
method called addAnswer, which would allow me to append an additional
answer to the array.  It does however, offer many other methods to
work with answers
(sortAnswers,emptyAnswers,getAnswersArray,findAnswers,containsAnswers,
etc.)

Why is the addAnswer method not available on Transfer objects
representing a relationship created with a onetomany?

I initially figured it was no biggie anyway and just created an
addAnswer method in my answer decorator to append an answer to the
answer array by doing something like ...

arrayAppend(getAnswersArray(), arguments.answer)

but for some reason that hasn't worked.  Any ideas?

Thanks in advance for any insight :)
Brian

 --
 I have failed as much as I have succeeded. But I love my life. I love my
 wife. And I wish you my kind of success.
--~--~-~--~~~---~--~~
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 this message because you are subscribed to the Google Groups 
transfer-dev group.
To post to this group, send email to transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~--~~~~--~~--~--~---



[transfer-dev] Re: transfer object onetomany (add to array)

2008-12-15 Thread Matt Osbun
Now, now- there's a perfectly reasonable explanation for me being under the
couch.

I was chasing the cat, and got stuck.  The whole sock thing was incidental.

Glad I could help, though.

On Mon, Dec 15, 2008 at 2:41 PM, Brian FitzGerald fitzgeraldme...@gmail.com
 wrote:



 lol - see?  there's a prime example of what I'm talking about :)

 On Dec 15, 2:37 pm, Charlie Griefer charlie.grie...@gmail.com
 wrote:
  he really is everywhere.  this morning i couldn't find my socks.  i
 looked
  under the couch and not only did i find my socks... but hey, there's
 matt!
 
  On Mon, Dec 15, 2008 at 11:06 AM, Brian FitzGerald 
 
 
 
  fitzgeraldme...@gmail.com wrote:
 
   Matt, dude, you're everywhere!  Thanks a lot for pointing me in the
   right direction.  I was looking at the wrong object (question) the
   whole time... shows you how bassackwards I tend to do things ;)
 
   On Dec 15, 12:00 pm, Matt Osbun matt.os...@gmail.com wrote:
If you have a Question-Answer relationship as a OneToMany, look for
 an
AddParentQuestion method in the Answer object.
 
On Mon, Dec 15, 2008 at 11:25 AM, Brian FitzGerald 
 
fitzgeraldme...@gmail.com wrote:
 
 Greetings all,
 
 First of all, I think Transfer is incredible, and I am so glad I
 finally decided to give it a go!  That said, I'm having a minor
 issue
 that I wanted to see if anyone could help with.
 
 In my transfer.xml file, I have defined several manytomany
 relationships which, in the generated Transfer objects, expose a
 certain set of methods for working with my nested array of objects.
 One of these methods is add'ObjectName', to add a new object to the
 array.  This is great!
 
 The problem comes in when I have defined a onetomany relationship.
 The onetomany is for questions and answers, as each question can
 have
 many answers, but each answer can only have one question.  This is
 working fine and loading my answers as expected, but where I am
 confused is that the generated Transfer object does not expose any
 method called addAnswer, which would allow me to append an
 additional
 answer to the array.  It does however, offer many other methods to
 work with answers

 (sortAnswers,emptyAnswers,getAnswersArray,findAnswers,containsAnswers,
 etc.)
 
 Why is the addAnswer method not available on Transfer objects
 representing a relationship created with a onetomany?
 
 I initially figured it was no biggie anyway and just created an
 addAnswer method in my answer decorator to append an answer to the
 answer array by doing something like ...
 
 arrayAppend(getAnswersArray(), arguments.answer)
 
 but for some reason that hasn't worked.  Any ideas?
 
 Thanks in advance for any insight :)
 Brian
 
  --
  I have failed as much as I have succeeded. But I love my life. I love my
  wife. And I wish you my kind of success.
 


--~--~-~--~~~---~--~~
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 this message because you are subscribed to the Google Groups 
transfer-dev group.
To post to this group, send email to transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~--~~~~--~~--~--~---



[transfer-dev] Re: transfer object onetomany (add to array)

2008-12-15 Thread Jared Rypka-Hauer

That's just... creepy. I can think of few things more disturbing than  
finding Matt under my couch.

In the bar at a conference, that's a whole other issue. ;)

J

On Dec 15, 2008, at 1:37 PM, Charlie Griefer wrote:

 he really is everywhere.  this morning i couldn't find my socks.  i  
 looked under the couch and not only did i find my socks... but hey,  
 there's matt!

--~--~-~--~~~---~--~~
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 this message because you are subscribed to the Google Groups 
transfer-dev group.
To post to this group, send email to transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~--~~~~--~~--~--~---



[transfer-dev] Re: transfer object onetomany (add to array)

2008-12-15 Thread Jared Rypka-Hauer
Dude, wrong Matt. :P he meant Quackenbush. ;)

J

PS - I did find him on the floor next to my door under a pile of  
shoes a few minutes ago though. ;)

On Dec 15, 2008, at 1:44 PM, Matt Osbun wrote:

 Now, now- there's a perfectly reasonable explanation for me being  
 under the couch.

 I was chasing the cat, and got stuck.  The whole sock thing was  
 incidental.

 Glad I could help, though.

 On Mon, Dec 15, 2008 at 2:41 PM, Brian FitzGerald  
 fitzgeraldme...@gmail.com wrote:


 lol - see?  there's a prime example of what I'm talking about :)

 On Dec 15, 2:37 pm, Charlie Griefer charlie.grie...@gmail.com
 wrote:
  he really is everywhere.  this morning i couldn't find my socks.   
 i looked
  under the couch and not only did i find my socks... but hey,  
 there's matt!

--~--~-~--~~~---~--~~
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 this message because you are subscribed to the Google Groups 
transfer-dev group.
To post to this group, send email to transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~--~~~~--~~--~--~---



[transfer-dev] Re: transfer object onetomany (add to array)

2008-12-15 Thread Charlie Griefer
d'oH!  i did mean Quackenbush, but i didn't realize the omnipresent Matt in
question was actually Matt Osbun.  my bad :)
in my defense, it's dark under the couch and was hard to differentiate.

On Mon, Dec 15, 2008 at 12:52 PM, Jared Rypka-Hauer armchairde...@gmail.com
 wrote:

 Dude, wrong Matt. :P he meant Quackenbush. ;)
 J

 PS - I did find him on the floor next to my door under a pile of shoes a
 few minutes ago though. ;)

 On Dec 15, 2008, at 1:44 PM, Matt Osbun wrote:

 Now, now- there's a perfectly reasonable explanation for me being under the
 couch.

 I was chasing the cat, and got stuck.  The whole sock thing was incidental.

 Glad I could help, though.

 On Mon, Dec 15, 2008 at 2:41 PM, Brian FitzGerald 
 fitzgeraldme...@gmail.com wrote:



 lol - see?  there's a prime example of what I'm talking about :)

 On Dec 15, 2:37 pm, Charlie Griefer charlie.grie...@gmail.com
 wrote:
  he really is everywhere.  this morning i couldn't find my socks.  i
 looked
  under the couch and not only did i find my socks... but hey, there's
 matt!


 



-- 
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.

--~--~-~--~~~---~--~~
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 this message because you are subscribed to the Google Groups 
transfer-dev group.
To post to this group, send email to transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~--~~~~--~~--~--~---