Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How to get HTML::FormHandler to update related tables with has_one relationship

by three18ti (Scribe)
on Feb 24, 2013 at 21:44 UTC ( #1020436=note: print w/replies, xml ) Need Help??


in reply to How to get HTML::FormHandler to update related tables with has_one relationship

Ok, I don't think I'm making any progress, but I was able to create Classes for my "Owner" and "ServerType" tables. I used belongs_to relationships, and one works while the other does not... also again, I'm able to view the requisite field in my template, but the form does not recognize the relationship.

Perhaps I need to figure out a better way to provide a row? I thought that was the whole point of declaring relationships was that created the JOIN, but when I run with DBIC_TRACE=1 all I see is SELECT statements.

This further adds to my confusion as -some- relationships work while others don't...

  • Comment on Re: How to get HTML::FormHandler to update related tables with has_one relationship

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020436]
help
Chatterbox?
[Corion]: choroba: Ooof! I can imagine that ;)
[Corion]: I think at a Perl workshop some years ago I gave two talks on the same day and after that decided to only submit one talk per event ;)
[LanX]: you play the triangle, right?
[choroba]: just one of its angles, in fact
[LanX]: <|--
[choroba]: Reminds me of an old joke about an orchestra...
erix imagines that in a true Lancs accent
[choroba]: so a Czech orchestra rehearses a new piece by a German composer

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2017-03-27 11:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (319 votes). Check out past polls.