[Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

View: New views
15 Messages — Rating Filter:   Alert me  

[Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by Howard Lewis Ship :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tapestry is nice enough to bundle the Prototype and Scriptaculous
libraries it's client-side support is wired against, which is very
convienient.

--
Posted By Howard to Tapestry Central at 10/03/2009 07:25:00 AM

Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by Howard Lewis Ship :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Full blog posting here:
http://tapestryjava.blogspot.com/2009/10/tapestry-51-and-ie-8-customizing.html

On Sat, Oct 3, 2009 at 7:25 AM, Howard <hlship@...> wrote:
> Tapestry is nice enough to bundle the Prototype and Scriptaculous
> libraries it's client-side support is wired against, which is very
> convienient.
>
> --
> Posted By Howard to Tapestry Central at 10/03/2009 07:25:00 AM



--
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by Sergey Didenko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

BTW, is there a simple way to change the bundled Prototype for Google
CDN's one? ( http://ajax.googleapis.com/ajax/libs/prototype/1.6.1/prototype.js
)

>> Tapestry is nice enough to bundle the Prototype and Scriptaculous
>> libraries it's client-side support is wired against, which is very
>> convienient.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by Howard Lewis Ship :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Oct 4, 2009 at 3:39 PM, Sergey Didenko <sergey.didenko@...> wrote:
> BTW, is there a simple way to change the bundled Prototype for Google
> CDN's one? ( http://ajax.googleapis.com/ajax/libs/prototype/1.6.1/prototype.js
> )

Not a simple way, as that would defeat Tapestry's JavaScript aggegation.

>
>>> Tapestry is nice enough to bundle the Prototype and Scriptaculous
>>> libraries it's client-side support is wired against, which is very
>>> convienient.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>



--
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by Sergey Didenko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks. I'm planning to make it in the future.

>> BTW, is there a simple way to change the bundled Prototype for Google
>> CDN's one? ( http://ajax.googleapis.com/ajax/libs/prototype/1.6.1/prototype.js
>> )
>
> Not a simple way, as that would defeat Tapestry's JavaScript aggegation.
>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by Angelo Chen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Any update on this ?
Sergey Didenko wrote:
Thanks. I'm planning to make it in the future.

>> BTW, is there a simple way to change the bundled Prototype for Google
>> CDN's one? ( http://ajax.googleapis.com/ajax/libs/prototype/1.6.1/prototype.js
>> )
>
> Not a simple way, as that would defeat Tapestry's JavaScript aggegation.
>
>>

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

Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by Thiago H. de Paula Figueiredo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Em Thu, 15 Oct 2009 13:13:02 -0300, Angelo Chen  
<angelochen960@...> escreveu:

> Any update on this ?

Have you seen http://www.nabble.com/Prototype-1.6.1-td25724717s302.html?

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by Angelo Chen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Thiago,

Thanis for the link, but I was interested in the using of Google's CDN version of Prototype.js, of course T5's option to combine js into one file is a good option as well.

Thiago H. de Paula Figueiredo wrote:
Em Thu, 15 Oct 2009 13:13:02 -0300, Angelo Chen  
<angelochen960@yahoo.com.hk> escreveu:

> Any update on this ?

Have you seen http://www.nabble.com/Prototype-1.6.1-td25724717s302.html?

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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

Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by Dave Greggory :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm also looking for the ability to put all my assets (and Tapestry's) on a CDN, so that static content do not need to be served by the app server. While combining assets is an interesting feature, I would much rather prefer to have all static content on a CDN. Something about CDN functionality was mentioned by Howard during the lead up to 5.1 release, but I do not see any mention of it any where in the documentation. Did it not make the cut?



----- Original Message ----
From: Angelo Chen <angelochen960@...>
To: users@...
Sent: Thu, October 15, 2009 8:17:18 PM
Subject: Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry


Hi Thiago,

Thanis for the link, but I was interested in the using of Google's CDN
version of Prototype.js, of course T5's option to combine js into one file
is a good option as well.


Thiago H. de Paula Figueiredo wrote:

>
> Em Thu, 15 Oct 2009 13:13:02 -0300, Angelo Chen  
> <angelochen960@...> escreveu:
>
>> Any update on this ?
>
> Have you seen http://www.nabble.com/Prototype-1.6.1-td25724717s302.html?
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>
>

--
View this message in context: http://www.nabble.com/-Tapestry-Central--Tapestry-5.1-and-IE-8----Customizing-Tapestry-tp25729583p25918023.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


     

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by Angelo Chen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

built in CDN support for assets will be a nice feature, probably just some options to inject some links? maybe can be done with current version?

Dave Greggory wrote:
I'm also looking for the ability to put all my assets (and Tapestry's) on a CDN, so that static content do not need to be served by the app server. While combining assets is an interesting feature, I would much rather prefer to have all static content on a CDN. Something about CDN functionality was mentioned by Howard during the lead up to 5.1 release, but I do not see any mention of it any where in the documentation. Did it not make the cut?



----- Original Message ----
From: Angelo Chen <angelochen960@yahoo.com.hk>
To: users@tapestry.apache.org
Sent: Thu, October 15, 2009 8:17:18 PM
Subject: Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry


Hi Thiago,

Thanis for the link, but I was interested in the using of Google's CDN
version of Prototype.js, of course T5's option to combine js into one file
is a good option as well.


Thiago H. de Paula Figueiredo wrote:
>
> Em Thu, 15 Oct 2009 13:13:02 -0300, Angelo Chen  
> <angelochen960@yahoo.com.hk> escreveu:
>
>> Any update on this ?
>
> Have you seen http://www.nabble.com/Prototype-1.6.1-td25724717s302.html?
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>

--
View this message in context: http://www.nabble.com/-Tapestry-Central--Tapestry-5.1-and-IE-8----Customizing-Tapestry-tp25729583p25918023.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


     

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

RE: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by Andy Blower :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How's the progress coming with the tapx code for this Howard? There doesn't appear to have been any commits for a month, but I can't find a release either. Anyway, I decided to add it to our core library module since we can't wait any longer.

I am also curious about why the contributeClasspathAssetAliasManager method is needed, I can't understand why the default line:

      configuration.add("scriptaculous/" + tapestryVersion, scriptaculousPath);

is not sufficient and why you need to add:

        configuration.add("tapx-prototype/1.6.1", "com/howardlewisship/tapx/prototype");

Could you illuminate me please?

Thanks,

Andy Blower.

> -----Original Message-----
> From: Howard Lewis Ship [mailto:hlship@...]
> Sent: 03 October 2009 15:58
> To: users@...
> Subject: Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing
> Tapestry
>
> Full blog posting here:
> http://tapestryjava.blogspot.com/2009/10/tapestry-51-and-ie-8-
> customizing.html
>
> On Sat, Oct 3, 2009 at 7:25 AM, Howard <hlship@...> wrote:
> > Tapestry is nice enough to bundle the Prototype and Scriptaculous
> > libraries it's client-side support is wired against, which is very
> > convienient.
> >
> > --
> > Posted By Howard to Tapestry Central at 10/03/2009 07:25:00 AM
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by Howard Lewis Ship :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Has it been a month?  Wow!  Head spinning ... I've been busy, as you can expect.

Yes, I'm getting ready to roll the version number to a stable value in
the next day or two.



On Fri, Nov 6, 2009 at 9:11 AM, Blower, Andy <Andy.Blower@...> wrote:

> How's the progress coming with the tapx code for this Howard? There doesn't appear to have been any commits for a month, but I can't find a release either. Anyway, I decided to add it to our core library module since we can't wait any longer.
>
> I am also curious about why the contributeClasspathAssetAliasManager method is needed, I can't understand why the default line:
>
>      configuration.add("scriptaculous/" + tapestryVersion, scriptaculousPath);
>
> is not sufficient and why you need to add:
>
>        configuration.add("tapx-prototype/1.6.1", "com/howardlewisship/tapx/prototype");
>
> Could you illuminate me please?

Picture an existing application that's been deployed using Tapestry
5.1.0.5; the prototype.js is exposed to the client as
/assets/scriptaculous/5.1.0.5/prototype.js.

Now the application is rebuild with tapx-prototype and redeployed.
Without the remapping, the URL would be unchanged and some clients
would continue to use the old prototype.js.

With the new contribution, the URL will now be
/assets/tapx-prototype/1.6.1/prototype.js which will force the browser
to reload.

That being said, I'm finding the current version number system too
complicated. Rather than hide assets behind a mish-mash of application
version numbers, library version numbers and Tapestry's version
number, I'm thinking of simplifying it to be just the application
version number. So all asset URLs would be /asset/XYZ/...  where XYZ
was the application version number. That means that on an update to
the application, clients would have to download a fresh copy of
prototype.js, tapestry.js, etc. (the core Tapestry stack) but it would
be harder to screw up some of these other path & version number
details.



>
> Thanks,
>
> Andy Blower.
>
>> -----Original Message-----
>> From: Howard Lewis Ship [mailto:hlship@...]
>> Sent: 03 October 2009 15:58
>> To: users@...
>> Subject: Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing
>> Tapestry
>>
>> Full blog posting here:
>> http://tapestryjava.blogspot.com/2009/10/tapestry-51-and-ie-8-
>> customizing.html
>>
>> On Sat, Oct 3, 2009 at 7:25 AM, Howard <hlship@...> wrote:
>> > Tapestry is nice enough to bundle the Prototype and Scriptaculous
>> > libraries it's client-side support is wired against, which is very
>> > convienient.
>> >
>> > --
>> > Posted By Howard to Tapestry Central at 10/03/2009 07:25:00 AM
>>
>>
>>
>> --
>> Howard M. Lewis Ship
>>
>> Creator of Apache Tapestry
>>
>> The source for Tapestry training, mentoring and support. Contact me to
>> learn how I can get you up and productive in Tapestry fast!
>>
>> (971) 678-5210
>> http://howardlewisship.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>



--
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


RE: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by Andy Blower :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Picture an existing application that's been deployed using Tapestry
> 5.1.0.5; the prototype.js is exposed to the client as
> /assets/scriptaculous/5.1.0.5/prototype.js.
>
> Now the application is rebuild with tapx-prototype and redeployed.
> Without the remapping, the URL would be unchanged and some clients
> would continue to use the old prototype.js.
>
> With the new contribution, the URL will now be
> /assets/tapx-prototype/1.6.1/prototype.js which will force the browser
> to reload.

Right, I understand now - thanks. So we don't need this since we've not released yet and it'll only change again if we upgrade T5 versions.
 

> That being said, I'm finding the current version number system too
> complicated. Rather than hide assets behind a mish-mash of application
> version numbers, library version numbers and Tapestry's version
> number, I'm thinking of simplifying it to be just the application
> version number. So all asset URLs would be /asset/XYZ/...  where XYZ
> was the application version number. That means that on an update to
> the application, clients would have to download a fresh copy of
> prototype.js, tapestry.js, etc. (the core Tapestry stack) but it would
> be harder to screw up some of these other path & version number
> details.

I like it the way it is personally, seems elegant and efficient.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by bbcooper :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I am also looking for a way to serve all T5 application's JavaScript, CSS
and images from our own CDN. Does anybody have an advice on this? Is it at
all possible with T5?

Second question - has anybody ever noticed that scriptaculous.js or
prototype.js or tapestry css is returned to the user instead of normal
response?

Thanks,
Borut

2009/10/16 Dave Greggory <davegreggory@...>

> I'm also looking for the ability to put all my assets (and Tapestry's) on a
> CDN, so that static content do not need to be served by the app server.
> While combining assets is an interesting feature, I would much rather prefer
> to have all static content on a CDN. Something about CDN functionality was
> mentioned by Howard during the lead up to 5.1 release, but I do not see any
> mention of it any where in the documentation. Did it not make the cut?
>
>
>
> ----- Original Message ----
> From: Angelo Chen <angelochen960@...>
> To: users@...
> Sent: Thu, October 15, 2009 8:17:18 PM
> Subject: Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing
> Tapestry
>
>
> Hi Thiago,
>
> Thanis for the link, but I was interested in the using of Google's CDN
> version of Prototype.js, of course T5's option to combine js into one file
> is a good option as well.
>
>
> Thiago H. de Paula Figueiredo wrote:
> >
> > Em Thu, 15 Oct 2009 13:13:02 -0300, Angelo Chen
> > <angelochen960@...> escreveu:
> >
> >> Any update on this ?
> >
> > Have you seen http://www.nabble.com/Prototype-1.6.1-td25724717s302.html?
> >
> > --
> > Thiago H. de Paula Figueiredo
> > Independent Java consultant, developer, and instructor
> > http://www.arsmachina.com.br/thiago
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@...
> > For additional commands, e-mail: users-help@...
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/-Tapestry-Central--Tapestry-5.1-and-IE-8----Customizing-Tapestry-tp25729583p25918023.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

by Juan E. Maya :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

U could create a new "URIAssetFactory" to obtain assets from a
external resource or u could use the one provided by chenillekit.

On Mon, Nov 23, 2009 at 2:36 PM, Borut Bolčina <borut.bolcina@...> wrote:

> Hello,
>
> I am also looking for a way to serve all T5 application's JavaScript, CSS
> and images from our own CDN. Does anybody have an advice on this? Is it at
> all possible with T5?
>
> Second question - has anybody ever noticed that scriptaculous.js or
> prototype.js or tapestry css is returned to the user instead of normal
> response?
>
> Thanks,
> Borut
>
> 2009/10/16 Dave Greggory <davegreggory@...>
>
>> I'm also looking for the ability to put all my assets (and Tapestry's) on a
>> CDN, so that static content do not need to be served by the app server.
>> While combining assets is an interesting feature, I would much rather prefer
>> to have all static content on a CDN. Something about CDN functionality was
>> mentioned by Howard during the lead up to 5.1 release, but I do not see any
>> mention of it any where in the documentation. Did it not make the cut?
>>
>>
>>
>> ----- Original Message ----
>> From: Angelo Chen <angelochen960@...>
>> To: users@...
>> Sent: Thu, October 15, 2009 8:17:18 PM
>> Subject: Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing
>> Tapestry
>>
>>
>> Hi Thiago,
>>
>> Thanis for the link, but I was interested in the using of Google's CDN
>> version of Prototype.js, of course T5's option to combine js into one file
>> is a good option as well.
>>
>>
>> Thiago H. de Paula Figueiredo wrote:
>> >
>> > Em Thu, 15 Oct 2009 13:13:02 -0300, Angelo Chen
>> > <angelochen960@...> escreveu:
>> >
>> >> Any update on this ?
>> >
>> > Have you seen http://www.nabble.com/Prototype-1.6.1-td25724717s302.html?
>> >
>> > --
>> > Thiago H. de Paula Figueiredo
>> > Independent Java consultant, developer, and instructor
>> > http://www.arsmachina.com.br/thiago
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@...
>> > For additional commands, e-mail: users-help@...
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/-Tapestry-Central--Tapestry-5.1-and-IE-8----Customizing-Tapestry-tp25729583p25918023.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...