but with pylons 0.97beta3 and webhelpers0.6

if I use ${h.url_for()}
it apper error as below ........
⇝  AttributeError: 'module' object has no attribute 'url_for'


On Mon, Mar 31, 2008 at 1:26 AM, Alec <[EMAIL PROTECTED]> wrote:
>
>  张沈鹏(电子科大 毕/就业倒计时...) 写道:
>
> > in develop version
>  >
>  > when you create a project
>  >
>  > the default index.html says
>  >
>  > <p>
>  > The URL you called: ${h.url_for()}
>  > </p>
>  >
>  >
>  > but it's should be
>  >
>  > ${h.rails.url_for()}
>  >
>  Actually, url_for() exposed in 'h' namespace. see webhelpers package
>  manual :)
>
> > but,I has no privilege to change the source code
>  >
>  > so wish any body do for a favor
>  >
>  >
>
>
>  >
>



-- 
博客:http://zsp.javaeye.com/
个人网站:http://zsp007.com.cn/
电子科大,7月就要毕业了,何去何从...
双学位:生物医学工程+计算机科学与技术
 -- 张教主

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to