Am Donnerstag, den 18.03.2010, 00:08 +0100 schrieb Tomas Doran:
In fact, generally - you don't want to be calling the generic -search
method in your controllers _at all_.
The specific search functionality should instead be pushed down into
your ResultSet classes, so that you say:
Thank you anyway.
I think I figure it out, it is just matter in what order you put all the { [
(.
On Wed, Mar 17, 2010 at 7:09 PM, Tomas Doran bobtf...@bobtfish.net wrote:
On 17 Mar 2010, at 18:00, nhyda wrote:
I am learning Catalyst for my project.
DBIx::Class question follows.. I think
On Thu, Mar 18, 2010 at 2:57 PM, nhyda nhydanh...@gmail.com wrote:
Thank you anyway.
I think I figure it out, it is just matter in what order you put all the {
[ (.
Do you really need to create the has_many relationship and do a join? I
would just search in table 2 like this:
my $rs =
On Thu, Mar 18, 2010 at 11:39 AM, Rodrigo rodrigol...@gmail.com wrote:
On Thu, Mar 18, 2010 at 2:57 PM, nhyda nhydanh...@gmail.com wrote:
Thank you anyway.
I think I figure it out, it is just matter in what order you put all the {
[ (.
Do you really need to create the has_many
I don't know whether someone has asked it yet.
here is my situation.
I have an action find that take one argument of book id
and I have another action author that chained to find
so in practice I use /find/1/author to list all the authors of book 1.
now I want to capture the book id use form
To give a little detail, I'm grabbing lots of related info from a DB all in
one query using DBIx::Class. I am passing the object directly to the stash
for processing in TT so I don't have to iterate through all that data, pick
out the pieces, and store seemingly redundant information. This works
nhyda wrote:
any suggestion for improvement is well welcome.
Yes, and you're more likely to get them by ASKING ON THE RIGHT LIST.
Still.
Cheers
t0m
___
List: Catalyst@lists.scsys.co.uk
Listinfo:
Hi,
I am not sure how to manage errors in my Catalyst application. When I detect an
error, I forward the error to my Error View, but the execution doesn't stop.
When my application was not in Catalyst, I used exit 1; once I had done
forward to my Error View, but this doesn't work in my
On Thu, Mar 18, 2010 at 3:03 PM, David oldskif...@yahoo.es wrote:
Hi,
I am not sure how to manage errors in my Catalyst application. When I detect
an error, I forward the error to my Error View, but the execution doesn't
stop.
When my application was not in Catalyst, I used exit 1; once I
On Thu, Mar 18, 2010 at 10:03 AM, David oldskif...@yahoo.es wrote:
Hi,
I am not sure how to manage errors in my Catalyst application. When I detect
an error, I forward the error to my Error View, but the execution doesn't
stop.
When my application was not in Catalyst, I used exit 1; once I
“so how do I parse the $book_id if I don't want to hard code the URL.”
I am a little confused by that statement. What do you mean parse $book_id you
already know the book_id. Are you basically trying to redirect the user back to
the URL they came from?
Thanks,
On Thu, Mar 18, 2010 at 9:38 AM, nhyda nhydanh...@gmail.com wrote:
I don't know whether someone has asked it yet.
here is my situation.
I have an action find that take one argument of book id
and I have another action author that chained to find
so in practice I use /find/1/author to list
12 matches
Mail list logo