You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Tasslehoff <ta...@hotmail.com> on 2008/12/18 18:24:49 UTC

scripts include

Hi all,

We're using Tapestry (4.0.2) Portlet, and encountered a small problem that
turned out quite big.

When it builds the page, it includes the required library (form.js) but the
link is broken (namely: http://app/?digest=...). We included the js lib on
the project and it works fine, but the bad request generates different
loading time problems on running the application (our client has a 30-sec
delay on the page). Is there a way we can remove the automatic include of
the library, so we can remove the broken request?

Thanks in advance for your help, and cheers for the good work.
-- 
View this message in context: http://www.nabble.com/scripts-include-tp21077247p21077247.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: scripts include

Posted by Howard Lewis Ship <hl...@gmail.com>.
That's odd; I don't understand why it would generate a URL in that format.

The solution is not to prevent the library, but to get it to generate
the correct URL.  In some cases, when working behind a firewall, you
have to give Tapestry some help to figure it out, by overriding a
built-in server.  Don't have that solution on the tip of my tongue
right now, though.

On Thu, Dec 18, 2008 at 9:24 AM, Tasslehoff <ta...@hotmail.com> wrote:
>
> Hi all,
>
> We're using Tapestry (4.0.2) Portlet, and encountered a small problem that
> turned out quite big.
>
> When it builds the page, it includes the required library (form.js) but the
> link is broken (namely: http://app/?digest=...). We included the js lib on
> the project and it works fine, but the bad request generates different
> loading time problems on running the application (our client has a 30-sec
> delay on the page). Is there a way we can remove the automatic include of
> the library, so we can remove the broken request?
>
> Thanks in advance for your help, and cheers for the good work.
> --
> View this message in context: http://www.nabble.com/scripts-include-tp21077247p21077247.html
> Sent from the Tapestry - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org