[Catalyst] How can we parse the path in catalyst
apv at sedition.com
Wed Mar 1 00:46:09 CET 2006
On Tuesday, February 28, 2006, at 02:25 PM, Vidya Sagar wrote:
> My deadline is fast approaching and out of those tensions i have been
> working on a small bug for hours and couldnot solve it.You said that
> the a fellow who has now asked the
> same set of questions... 6? times, while ignoring lots of advice
> and pointers and even trying to start a flame war.If at all i get
> solution there itself why will i raise the issue again and again.Not
> only to u,but to each and every one of us that would cost thousands
> and thousands of dollars in the real world.So kindly mind your words
> before abusing others.This is not fair.Thank you.
Okay, maybe I'm wrong. When I suggested the uri_for() to you the first
time, 16 days ago, did you try it? Have you tried it since I (and Matt)
recommended it again with sample code? If you tried it, what's wrong
with the output versus the expectation?
I was going to offer you a one-liner to replace all your:
"[%config.uri_base%]/WHATVER" with "[% c.uri_for("/WHATEVER") %]" --
but implying that the community is responsible for your deadlines and
helping you earn your paycheck, or that you have a special license to
disregard sound advice until someone helps you make spaghetti out of
your app, is not the kind of thing that engenders a lot of brotherhood.
More information about the Catalyst