Hmm, I don't fully understand the problem... Routing::gen() simply
generates a URL, it doesn't do any redirects. You could have a route
like this:
<route name="userdt" pattern="^/lala/(eid:\d+)$" module="Default"
action="DoSomething" />
then an incoming URL /lala/13 would run that action and eid would be
13. And $ro->gen('userdt', array('eid' => 12)) would generate /lala/12
or am I missing something?
David
Am 13.03.2007 um 06:44 schrieb surej ns:
> Plz help me all
>
>
> <a href="
>
> .$ro->gen('userdt', array('eid'=>$row[ 'empID'])).">".$row
> [ 'empName']."</a>
>
> i have given the code for redirection like above.Redirections
> works,but when the new page loads and the attached string is not
> there.If i refresh the page the attached querstring will appear.Why
> is it not comming for the first time.Plz tell me a solution for that.
>
> i Feel i am troubling all too much. I am working in agavi for the
> first time..so i have full of doubts.
>
> thax
>
> surej
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users