Re: 答复: Why it convert my path

2008-04-08 Thread Thiago HP
On 4/8/08, Chris Lewis <[EMAIL PROTECTED]> wrote: > If I'm understanding you, it seems that your problem is getting the path > (url) for asset files like JS and CSS. DO NOT hard code these in > templates! Use the @IncludeJavaScriptLibrary and @IncludeStylesheet > annotations on the page class, a

Re: 答复: Why it convert my path

2008-04-08 Thread Chris Lewis
normally.I found > if I use the "securePage" it will be ok but " securepage" I will get the > errors. > > -----邮件原件- > 发件人: Chris Lewis [mailto:[EMAIL PROTECTED] > 发送时间: 2008年4月8日 15:16 > 收件人: Tapestry users > 主题: Re: Why it convert my path > > I&

答复: Why it convert my path

2008-04-08 Thread 滕训华
27; 主题: 答复: Why it convert my path Thanks for your reply. Yes,it will be ok to read the page whatever the " SecurePage" or " securepage" But because my page need other js file or css file to run normally.I found if I use the "securePage" it will be ok but "

答复: Why it convert my path

2008-04-08 Thread 滕训华
errors. -邮件原件- 发件人: Chris Lewis [mailto:[EMAIL PROTECTED] 发送时间: 2008年4月8日 15:16 收件人: Tapestry users 主题: Re: Why it convert my path I'm not sure what you mean by "which leads to some js or css can not read", but the case change of page names is normal and should be harmless as T

Re: Why it convert my path

2008-04-08 Thread Chris Lewis
I'm not sure what you mean by "which leads to some js or css can not read", but the case change of page names is normal and should be harmless as T5 handles pages in a case-insensitive manner. Therefore it won't matter if a link is made to SecurePage, securepage, securePage, or even SeCuRePaGe - it

Why it convert my path

2008-04-08 Thread 滕训华
I have a form in a page and when the form is submitted,it will open another page which is under the securePage path.But when it turn to this page,the “securePage” is change to “securepage”,which leads to some js or css can not read.why and how to solve this?