You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2007/08/22 16:51:33 UTC

T5:Maven or not?

Hi,

is it a must to use maven for T5? I use it to create a project then import
to Intellij as a native project, it works very well.

A.C.

-- 
View this message in context: http://www.nabble.com/T5%3AMaven-or-not--tf4312105.html#a12276382
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


Re: T5:Maven or not?

Posted by Konstantin Ignatyev <kg...@yahoo.com>.
Maybe, but the quick fix was to stop using maven :) -
as usual.
Maybe I am not compatible with Maven ;)

--- Robin Helgelin <lo...@gmail.com> wrote:

> On 8/22/07, Konstantin Ignatyev
> <kg...@yahoo.com> wrote:
> > Sometimes it will pick-up changes in the html
> > templates and page classes and sometimes not.
> >
> > When I started using jetty directly it would
> always
> > detect changes so T5 dynamic class loading worked
> as
> > it supposed to work.
> 
> Ok? Maybe it's your Ide that gives you trouble?
> 
> -- 
>         regards,
>         Robin
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail:
> users-help@tapestry.apache.org
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million tons of carbon to the atmosphere, destroy 115 square miles of tropical rainforest, create seventy-two miles of desert, eliminate between forty to one hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a Strategy for Reforming Universities and Public Schools.  New York:  State University of New York Press, 1997: (4) (5) (p.206)

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


Re: T5:Maven or not?

Posted by Robin Helgelin <lo...@gmail.com>.
On 8/22/07, Konstantin Ignatyev <kg...@yahoo.com> wrote:
> Sometimes it will pick-up changes in the html
> templates and page classes and sometimes not.
>
> When I started using jetty directly it would always
> detect changes so T5 dynamic class loading worked as
> it supposed to work.

Ok? Maybe it's your Ide that gives you trouble?

-- 
        regards,
        Robin

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


Re: T5:Maven or not?

Posted by Konstantin Ignatyev <kg...@yahoo.com>.
Sometimes it will pick-up changes in the html
templates and page classes and sometimes not.

When I started using jetty directly it would always
detect changes so T5 dynamic class loading worked as
it supposed to work.


--- Robin Helgelin <lo...@gmail.com> wrote:

> On 8/22/07, Konstantin Ignatyev
> <kg...@yahoo.com> wrote:
> > Not in my experience - Maven caused T5 to behave
> > strangely when used with jetty:run
> 
> Define "stangely"? I never had any problems with
> jetty:run.
> 
> -- 
>         regards,
>         Robin
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail:
> users-help@tapestry.apache.org
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million tons of carbon to the atmosphere, destroy 115 square miles of tropical rainforest, create seventy-two miles of desert, eliminate between forty to one hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a Strategy for Reforming Universities and Public Schools.  New York:  State University of New York Press, 1997: (4) (5) (p.206)

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


Re: T5:Maven or not?

Posted by Robin Helgelin <lo...@gmail.com>.
On 8/22/07, Konstantin Ignatyev <kg...@yahoo.com> wrote:
> Not in my experience - Maven caused T5 to behave
> strangely when used with jetty:run

Define "stangely"? I never had any problems with jetty:run.

-- 
        regards,
        Robin

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


Re: [T5.0.5] Caching and IE6

Posted by Jesse Kuhnert <jk...@gmail.com>.
I'm not familiar with that kind of caching.   Almost sounds like a
proxy could be sitting between you and the content - being overzealous
in caching..

I guess a header or similar things could be done of course to
eliminate this - at least until it's time to start doing perf
optimizations.

On 8/23/07, Gabriel Lozano <gh...@gmail.com> wrote:
> In my case I´m not using an ajax request, normal request but I have to hit
> the refresh button to see the changes.
>
> 2007/8/22, Jesse Kuhnert <jk...@gmail.com>:
> >
> > I don't know what an "auto link" is - but if you are creating ajax
> > requests then you have to do something stupid like:
> >
> > // pseudo javascript
> > var url = "url";
> > url += new Date();
> >
> > Otherwise ie will see the same url and not bother to make the request.
> > (a premature optimization I guess)
> >
> > On 8/22/07, Siddhartha Argollo <sl...@tre-ba.gov.br> wrote:
> > > Hi all,
> > >
> > > I'm having an annoying problem with my pages in IE6. It doesn't happen
> > > with firefox.
> > > When the page has auto-links, sometimes it doesn't refresh when the link
> > > is clicked.
> > > The state before the click continues to be shown in the browser, in
> > > despite of the postback. I have to hit the refresh button to view the
> > > new state of the page. It even happens with the pager of the Grid
> > > component.
> > > I already inject all may pages with
> > >
> > > <META CONTENT="NO-CACHE" HTTP-EQUIV="CACHE-CONTROL"></META>
> > > <META CONTENT="NO-CACHE" HTTP-EQUIV="PRAGMA"></META>
> > >
> > > Anybody else has notice that? Is there something else I might try to
> > > solve this issue?
> > >
> > > Thanks.
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > For additional commands, e-mail: users-help@tapestry.apache.org
> > >
> > >
> >
> >
> > --
> > Jesse Kuhnert
> > Tapestry/Dojo team member/developer
> >
> > Open source based consulting work centered around
> > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>


-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

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


Re: [T5.0.5] Caching and IE6

Posted by Gabriel Lozano <gh...@gmail.com>.
In my case I´m not using an ajax request, normal request but I have to hit
the refresh button to see the changes.

2007/8/22, Jesse Kuhnert <jk...@gmail.com>:
>
> I don't know what an "auto link" is - but if you are creating ajax
> requests then you have to do something stupid like:
>
> // pseudo javascript
> var url = "url";
> url += new Date();
>
> Otherwise ie will see the same url and not bother to make the request.
> (a premature optimization I guess)
>
> On 8/22/07, Siddhartha Argollo <sl...@tre-ba.gov.br> wrote:
> > Hi all,
> >
> > I'm having an annoying problem with my pages in IE6. It doesn't happen
> > with firefox.
> > When the page has auto-links, sometimes it doesn't refresh when the link
> > is clicked.
> > The state before the click continues to be shown in the browser, in
> > despite of the postback. I have to hit the refresh button to view the
> > new state of the page. It even happens with the pager of the Grid
> > component.
> > I already inject all may pages with
> >
> > <META CONTENT="NO-CACHE" HTTP-EQUIV="CACHE-CONTROL"></META>
> > <META CONTENT="NO-CACHE" HTTP-EQUIV="PRAGMA"></META>
> >
> > Anybody else has notice that? Is there something else I might try to
> > solve this issue?
> >
> > Thanks.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: [T5.0.5] Caching and IE6

Posted by Josh Canfield <jo...@thedailytube.com>.
On 8/24/07, Siddhartha Argollo <sl...@tre-ba.gov.br> wrote:
> With auto-links I wanted to say "links to the same page".
> For example, when the user clicks the link, a condition for an if is
> met, rendering a block.
> With IE, instead of the new state of the page, it shows the same state
> before the click.
> I will be foreced to break the logic in several pages, instead of using
> if and blocks...
> In the case below, doesn't  the date interfere with the URL?

What is an auto-link? What layer are your "if" conditions in? The
javascript? tapestry template? Can you provide a snippet of code for
the links that don't work?

Appending date to your url is a pretty common cache-busting technique,
how could it interfere with the url? Just ignore it in your code...

-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

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


Re: [T5.0.5] Caching and IE6

Posted by Siddhartha Argollo <sl...@tre-ba.gov.br>.
With auto-links I wanted to say "links to the same page".
For example, when the user clicks the link, a condition for an if is 
met, rendering a block.
With IE, instead of the new state of the page, it shows the same state 
before the click.
I will be foreced to break the logic in several pages, instead of using 
if and blocks...
In the case below, doesn't  the date interfere with the URL?

Jesse Kuhnert wrote:
> I don't know what an "auto link" is - but if you are creating ajax
> requests then you have to do something stupid like:
>
> // pseudo javascript
> var url = "url";
> url += new Date();
>
> Otherwise ie will see the same url and not bother to make the request.
>  (a premature optimization I guess)
>
> On 8/22/07, Siddhartha Argollo <sl...@tre-ba.gov.br> wrote:
>   
>> Hi all,
>>
>> I'm having an annoying problem with my pages in IE6. It doesn't happen
>> with firefox.
>> When the page has auto-links, sometimes it doesn't refresh when the link
>> is clicked.
>> The state before the click continues to be shown in the browser, in
>> despite of the postback. I have to hit the refresh button to view the
>> new state of the page. It even happens with the pager of the Grid
>> component.
>> I already inject all may pages with
>>
>> <META CONTENT="NO-CACHE" HTTP-EQUIV="CACHE-CONTROL"></META>
>> <META CONTENT="NO-CACHE" HTTP-EQUIV="PRAGMA"></META>
>>
>> Anybody else has notice that? Is there something else I might try to
>> solve this issue?
>>
>> Thanks.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>>     
>
>
>   

-- 
Siddhartha Argollo
Técnico Judiciário
TRE-BA
slargollo@tre-ba.gov.br


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


Re: [T5.0.5] Caching and IE6

Posted by Jesse Kuhnert <jk...@gmail.com>.
I don't know what an "auto link" is - but if you are creating ajax
requests then you have to do something stupid like:

// pseudo javascript
var url = "url";
url += new Date();

Otherwise ie will see the same url and not bother to make the request.
 (a premature optimization I guess)

On 8/22/07, Siddhartha Argollo <sl...@tre-ba.gov.br> wrote:
> Hi all,
>
> I'm having an annoying problem with my pages in IE6. It doesn't happen
> with firefox.
> When the page has auto-links, sometimes it doesn't refresh when the link
> is clicked.
> The state before the click continues to be shown in the browser, in
> despite of the postback. I have to hit the refresh button to view the
> new state of the page. It even happens with the pager of the Grid
> component.
> I already inject all may pages with
>
> <META CONTENT="NO-CACHE" HTTP-EQUIV="CACHE-CONTROL"></META>
> <META CONTENT="NO-CACHE" HTTP-EQUIV="PRAGMA"></META>
>
> Anybody else has notice that? Is there something else I might try to
> solve this issue?
>
> Thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

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


Re: [T5.0.5] Caching and IE6

Posted by Siddhartha Argollo <sl...@tre-ba.gov.br>.
That's the problem. The meta tag isn't  working...

Gabriel Lozano wrote:
> Hi,
>
> I have had the same problem. I have a page for managing the items in a list
> (select list). But when i go to the page where the list is I have to hit the
> refresh button. By the way, does the meta content worked? Hope to see a good
> solution for this!!.
>
> 2007/8/22, Siddhartha Argollo <sl...@tre-ba.gov.br>:
>   
>> Hi all,
>>
>> I'm having an annoying problem with my pages in IE6. It doesn't happen
>> with firefox.
>> When the page has auto-links, sometimes it doesn't refresh when the link
>> is clicked.
>> The state before the click continues to be shown in the browser, in
>> despite of the postback. I have to hit the refresh button to view the
>> new state of the page. It even happens with the pager of the Grid
>> component.
>> I already inject all may pages with
>>
>> <META CONTENT="NO-CACHE" HTTP-EQUIV="CACHE-CONTROL"></META>
>> <META CONTENT="NO-CACHE" HTTP-EQUIV="PRAGMA"></META>
>>
>> Anybody else has notice that? Is there something else I might try to
>> solve this issue?
>>
>> Thanks.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>>     
>
>   

-- 
Siddhartha Argollo
Técnico Judiciário
TRE-BA
slargollo@tre-ba.gov.br


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


Re: [T5.0.5] Caching and IE6

Posted by Gabriel Lozano <gh...@gmail.com>.
Hi,

I have had the same problem. I have a page for managing the items in a list
(select list). But when i go to the page where the list is I have to hit the
refresh button. By the way, does the meta content worked? Hope to see a good
solution for this!!.

2007/8/22, Siddhartha Argollo <sl...@tre-ba.gov.br>:
>
> Hi all,
>
> I'm having an annoying problem with my pages in IE6. It doesn't happen
> with firefox.
> When the page has auto-links, sometimes it doesn't refresh when the link
> is clicked.
> The state before the click continues to be shown in the browser, in
> despite of the postback. I have to hit the refresh button to view the
> new state of the page. It even happens with the pager of the Grid
> component.
> I already inject all may pages with
>
> <META CONTENT="NO-CACHE" HTTP-EQUIV="CACHE-CONTROL"></META>
> <META CONTENT="NO-CACHE" HTTP-EQUIV="PRAGMA"></META>
>
> Anybody else has notice that? Is there something else I might try to
> solve this issue?
>
> Thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

[T5.0.5] Caching and IE6

Posted by Siddhartha Argollo <sl...@tre-ba.gov.br>.
Hi all,

I'm having an annoying problem with my pages in IE6. It doesn't happen 
with firefox.
When the page has auto-links, sometimes it doesn't refresh when the link 
is clicked.
The state before the click continues to be shown in the browser, in 
despite of the postback. I have to hit the refresh button to view the 
new state of the page. It even happens with the pager of the Grid 
component.
I already inject all may pages with

<META CONTENT="NO-CACHE" HTTP-EQUIV="CACHE-CONTROL"></META>
<META CONTENT="NO-CACHE" HTTP-EQUIV="PRAGMA"></META>

Anybody else has notice that? Is there something else I might try to 
solve this issue?

Thanks.



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


Re: T5:Maven or not?

Posted by Konstantin Ignatyev <kg...@yahoo.com>.
Not in my experience - Maven caused T5 to behave
strangely when used with jetty:run 

The moment I stopped using Maven and just run jetty
directly and point it to target directory, everything
became nice and smooth.

I like Maven's idea but it just does not work reliably
for me. 

--- Robin Helgelin <lo...@gmail.com> wrote:

> On 8/22/07, Daniel Jue <te...@gmail.com> wrote:
> > No, it is not required.  It sure felt like it was
> required back when
> > everyone was using Tapestry snapshots--but that
> was only to keep up
> > with all the changes.  However, the directory
> structure that the
> > Tapestry Achetypes setup are pretty helpful.
> 
> And you'll get a lot of help when needing more
> dependencies for your
> project, or deploying or your project or ... :-)
> 
> -- 
>         regards,
>         Robin
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail:
> users-help@tapestry.apache.org
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million tons of carbon to the atmosphere, destroy 115 square miles of tropical rainforest, create seventy-two miles of desert, eliminate between forty to one hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a Strategy for Reforming Universities and Public Schools.  New York:  State University of New York Press, 1997: (4) (5) (p.206)

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


Re: T5:Maven or not?

Posted by Robin Helgelin <lo...@gmail.com>.
On 8/22/07, Daniel Jue <te...@gmail.com> wrote:
> No, it is not required.  It sure felt like it was required back when
> everyone was using Tapestry snapshots--but that was only to keep up
> with all the changes.  However, the directory structure that the
> Tapestry Achetypes setup are pretty helpful.

And you'll get a lot of help when needing more dependencies for your
project, or deploying or your project or ... :-)

-- 
        regards,
        Robin

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


Re: T5:Maven or not?

Posted by Daniel Jue <te...@gmail.com>.
No, it is not required.  It sure felt like it was required back when
everyone was using Tapestry snapshots--but that was only to keep up
with all the changes.  However, the directory structure that the
Tapestry Achetypes setup are pretty helpful.

On 8/22/07, Angelo Chen <an...@yahoo.com.hk> wrote:
>
> Hi,
>
> is it a must to use maven for T5? I use it to create a project then import
> to Intellij as a native project, it works very well.
>
> A.C.
>
> --
> View this message in context: http://www.nabble.com/T5%3AMaven-or-not--tf4312105.html#a12276382
> 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