Re: [Catalyst] Updating a database entry

2011-04-02 Thread Rohan M
Hi Adam, Did you try putting result-set in the variable rather than directly putting it into stash? my $user = $c->model('DB::Tech')->find({id => $userid}); $user->update({ id => $username, firstname => $fname, lastname => $lname,

[Catalyst] Updating a database entry

2011-04-02 Thread Adam Jimerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First of all hello people of the list! I am working on my first Catalyst app and need some help updating an entry from my database. $c->stash( users_rs => $c->model('DB::Tech')); my $user = $c->stash->{users_rs}->find({ id => $userid }); die "No s

Re: [Catalyst] HTML::FormHandler IDs not playing with JQuery

2011-04-02 Thread Jason Galea
On Tue, Mar 29, 2011 at 8:43 PM, Victor Churchill wrote: > Trouble is I would like to use id="q1_select.0" as a JQuery selector > to control the show/hide of 'child' questions, and the selector does > not like the ".0". I determined with a couple of manual tests that I > can't select an item with