Figured it out. You can invoke the conduit_set_[fieldname] method using
reflection (declared, not regular) and this will reflect the value in the
PerthreadMap. This function takes a singular argument with the type of the
field.
Cheers
On Mon, Dec 12, 2016 at 5:45 PM, David Diaz wrote:
> Hi all,
Hi all,
I am trying to set a persistent value of a field in my application on a XHR
request. I am using tynamo's tapestry-conversation and I want to copy the
old conversation's values to the new conversation. I am iterating through
each field in the old conversation and setting the value for the n
On Fri, 06 Dec 2013 11:33:05 -0200, Dusko Jovanovski
wrote:
It works both in pages and components.
Just remember that @Cached only caches method return values during a
request, but not between requests. I'm planning to do provide some caching
(not just in a single thread) i
It works both in pages and components.
On Fri, Dec 6, 2013 at 2:20 PM, John wrote:
> does @Cached work in only pages, or should it work in components too?
does @Cached work in only pages, or should it work in components too?
Thanks Thiago and Wulf's for helping.
I don't get this issue every time but happens too-often in some machines and
pages. Is there any settings possible in browser?
If I use the "no-cache" attributes even t he images will not be cached? Will
it create any performance issue?
On Sat, 15 Oct 2011 07:54:18 -0300, ManuPK wrote:
I am using tapestry version 5.0.18. In my application the tapestry pages
are getting cached. ie, when I hit the URL to load the page the request
is not reaching the server. I need to press ctrl+F5 to get the valid
page.
Is it because of
Hi Manu,
It helps to set the following meta tags:
Kind Regards,
Wulf
-Original Message-
From: ManuPK [mailto:manupk.t...@gmail.com]
Sent: Samstag, 15. Oktober 2011 12:54
To: users@tapestry.apache.org
Subject: Page is getting cached in Tapestry 5.0.18
I am using tapestry version
If the request isn't initiated by the browser to the server, then shouldn't
this be a browser issue ?
On Sat, Oct 15, 2011 at 12:54 PM, ManuPK wrote:
> I am using tapestry version 5.0.18. In my application the tapestry pages
> are
> getting cached. ie, when I hit the URL t
I am using tapestry version 5.0.18. In my application the tapestry pages are
getting cached. ie, when I hit the URL to load the page the request is not
reaching the server. I need to press ctrl+F5 to get the valid page.
Is it because of the page pooling? Or how can I make sure always the
On Thu, 28 Apr 2011 17:38:01 -0300, Adam Zimowski
wrote:
Hi Again -
Hi!
Is there a specific reason why watch parameter for @Cached annotation
requires public property when using default prop binding?
I'd guess the JVM bytecode verifier would complain about invalid access,
as the
Hi Again -
Is there a specific reason why watch parameter for @Cached annotation
requires public property when using default prop binding? This is an
inconvenient limitation IMO, as I don't necessarily want to expose my
watch property publicly. For example, my watch on getShoppingCart m
On Mon, 04 Oct 2010 14:18:19 -0300, Tobias Marx wrote:
Hello everyone!
Hi!
I am using Tapestry 5.1.5 and I noticed that a method annotated as
@Cached is executed several times for a single pageview.
I am using a "BaseComponent" class that contains this method. It is
c
Hello everyone!
I am using Tapestry 5.1.5 and I noticed that a method annotated as @Cached is
executed several times for a single pageview.
I am using a "BaseComponent" class that contains this method. It is called from
component that extends this.
Or is it possible @Cached is n
nt to flush the cached pages when i change the locale for the user.
> how can i do that?
>
> thanks
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>
hi
I want to flush the cached pages when i change the locale for the user.
how can i do that?
thanks
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h
No real answers, but if you want to run jawr 'offline' check out
http://github.com/andyhot/maven-jawr-plugin/
or this thread in jawr ML
http://markmail.org/message/ef4vtu7xl75fe3ra
On Thu, Jun 4, 2009 at 5:56 AM, Josh Long wrote:
> Where would I start if I wanted to add suppo
Where would I start if I wanted to add support for cached javascript
minification a la JAWR? I know that Tapestry 5.1 ships with intrinsic
support for combined JS files. Does that combination happen on each
request? Or is it cached? What of the gzip support? Cached or not
cached in memory? Finally
I believe self-calls are handled; you can use @Cached on non-public
methods as well.
On Thu, Mar 26, 2009 at 12:54 PM, Geoffrey Wiseman
wrote:
> Does tapestry manipulate the page class enough that @Cached affects
> self-calls?
>
> That is, if I wrote this code:
>
&
Does tapestry manipulate the page class enough that @Cached affects
self-calls?
That is, if I wrote this code:
@Cached
List getSomeExpensiveResult() { ... }
String getSummary() {
if( getSomeExpensiveResult().isEmpty() )
return "nothing";
else {
String summary = "&qu
? @Cached was written by Dan Adams.
On Mon, Dec 22, 2008 at 4:44 PM, Doug Hauge wrote:
> I'm trying to use the '@Cached' annotation with a watch expression
> to cache results of methods in a form contained within a loop. For
> some watch expressions, I construct a strin
I'm trying to use the '@Cached' annotation with a watch expression
to cache results of methods in a form contained within a loop. For
some watch expressions, I construct a string, so the code basically
looks like
@Cached(watch="watchKey")
Object getData() {
I'm sorry, but what do you expect Tapestry to do about that? You're
explicity setting the property each time the page is loaded. @Persist
doesn't change that.
You'll need to check whether or not persistThisOne is not null before
assigning to it for this to work.
-Filip
On 2008-09-07 08:39,
i tried this. whenever i press f5, pagebeginrender will still be called and db
will be hit
@Persist("session")
public abstract Collection getPersistThisOne();
public abstract void setPersistThisOne(Collection persistThisOne);
public void pageBeginRender(PageEvent event) {
System.out.prin
You've misunderstood the purpose of @Cached. The documentation (
http://tacos.sourceforge.net/tacos4.1/tacos-annotations/index.html) says:
"The Cached
<http://tacos.sourceforge.net/tacos4.1/apidocs/net/sf/tacos/annotations/Cached.html>annotation
allows you to cache the results of
my .application look like this
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
in my page, i do like below, but when i press refresh F5 on page, i keep on
getting database hit. when using cached, aren't it not suppose to call
getFromDB() for subsequent call ?
@Cached
public String getGenerateMenuCached() {
return dao.getFromDb();
}
//in my dao
p
Hi,
one of our clients has noticed, that when he accesses a simple page
with a grid through IE7, hitting the Pagers on the grid does not show
the requested Grid-Page but still the old one. Refreshing the page
thereafter show the right grid-page.
I can imagine that IE is doing some caching h
caching every method by default is definitely too error prone,
and unexpected for most people.
On Tue, Mar 25, 2008 at 3:23 PM, Francois Armand <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Yes, you are right. But loops are usually inside of components and pages
> contain those compo
[EMAIL PROTECTED] wrote:
Yes, you are right. But loops are usually inside of components and pages contain those
componentsbut all methods in the page itself could be @Cache methods in my opinion if
you do a "component based approach" and always package logical widgets into a
component.
-Nachricht
> Datum: Tue, 25 Mar 2008 13:33:19 +0100
> Von: Francois Armand <[EMAIL PROTECTED]>
> An: Tapestry users
> Betreff: Re: @Cached and caching in general
> Tobias Marx wrote:
> > Wouldn't it be useful to make the @Cache annotation the default
>
Tobias Marx wrote:
Wouldn't it be useful to make the @Cache annotation the default annotation
for all methods?
I can not imagine a case where it would make sense that during the rendering of
a page returns different results...
Just an example : you are in a loop (or grid or a beaneditor any
good idea. Do you mean requesting a page and cut
> it out or grabbing part of the DOM during same request. Just wondering... .
>
> -Ursprüngliche Nachricht-
> Von: Davor Hrg [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 19. März 2008 10:42
> An: Tapestry user
is kind of cache
is the jsessionid
parameter that may be cached in url (though we / many people
completely remove them
nowadays)
On Wed, Mar 19, 2008 at 1:55 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> I'm generally against these approached.
>
> Cache the data, ma
--
Von: Davor Hrg [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 19. März 2008 10:42
An: Tapestry users
Betreff: Re: AW: @Cached and caching in general
I agree that this is not something to take on lightly, and data should be
cached, and rendering left as is.
but besides caching this king of compon
I agree that this is not something to take on lightly,
and data should be cached, and rendering left as is.
but besides caching this king of component is useful
for capturing output so it can be sent via email for example.
I like to keep most things stateless (only dependant on parameters),
so
er properly,
I would have cached and replayed those already.. but i couldn't easily
do that.. But on second thought, you're right, maybe I should have
cached a DOM tree.. since it would have a much better guarantees for
replaying.
But on most cases, this component works pretty darn
lty of Tapestry. Components inside that cached
zone are not just rendering a character stream, they are generating
JavaScript, assigning unique ids (via PageRenderSupport) interacting
with an enclosing Form components, and doing other user-specific
things.
I would always look elsewhere first for p
would make sense that during the rendering
> of a page returns different results...
>
> Original-Nachricht
> > Datum: Tue, 18 Mar 2008 11:53:09 -0500
> > Von: "Adam Zimowski" <[EMAIL PROTECTED]>
>
> > An: "Tapestry users&q
gt; (e.g. cache only content not markup). Never the less I am in doupt,
> >> > if such a solution is necessary (dynamically cache results of
> >> > database queries in memory or on disk).
> >> >
> >> > So after all you might want to po
just go for
> optimization. Since you have a fallback solution at hand (cron-jobs +
> disk fragments) you are at the safe side. But I am in doupt if you
> really need the markup being cached. Caching the database results
> and recreate markup sounds more reasonable. You might sa
s.
> > Once you see any problems (performance is below required) just go for
> > optimization. Since you have a fallback solution at hand (cron-jobs +
> > disk fragments) you are at the safe side. But I am in doupt if you
> > really need the markup being cac
cation. As always use
> > the simpliest solution first. So database queries without any caches.
> > Once you see any problems (performance is below required) just go for
> > optimization. Since you have a fallback solution at hand (cron-jobs +
> > disk fragments) you are at the
side. But I am in doupt if you
really need the markup being cached. Caching the database results
and recreate markup sounds more reasonable. You might save you lots
of seeking time.
But you always know: Only the code / application will tell you!
Cheers,
Martin (Kersten)
-Ursprüngliche
.
Mimic what is done currently, but perhaps schedule refreshes with Quartz and
keep it within the same app.
Jonathan
> -Original Message-
> From: Tobias Marx [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 18, 2008 1:35 PM
> To: Tapestry users
> Subject: AW: @Cached and cac
ly only in some intervals and produce
cached raw output otherwise.
this would be very similar to output_buffer tricks in php.
Davor Hrg
On Tue, Mar 18, 2008 at 6:25 PM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote:
> That's a special case, really. Do what you want.
>
> -Filip
>
&
Hibernate as long as you can use your objects directly...but using
Hibernate for joins and unions is not much fun
So such a table would benefit a lot if is was cached...even if the individual
queries would be cached you still had to do all the loops and parsing of the
templates.
Original
4:28 +0100
Von: "Filip S. Adamsen" <[EMAIL PROTECTED]>
An: Tapestry users
Betreff: Re: AW: @Cached and caching in general
A factor 100?? C'mon. If, and I stress IF, your application would
benefit that much from this, fine. But Tapestry 5 applications in
general would - I
context and event handling. But for displaying 'cached' content
it might be an option.
If you go ahead and try it you may post your benchmarks. I don't
know who has stretched it before but I guess caching is always a
hot topic so if you can provide new insides your are welcome.
Cheers,
Ok...let's say factor 10 (unless you have many loops inside of loops inside of
loops that use queries on large tables).
Original-Nachricht
> Datum: Tue, 18 Mar 2008 18:14:28 +0100
> Von: "Filip S. Adamsen" <[EMAIL PROTECTED]>
> An: Tapestry users
> The problem is context I guess. Usally your component depends on lots
> of stuff. Parameters, URL, Services, Page-state, component state,
> HTTP-Parameters and so on.
Yes...but it must be possible somehow as some PHP template engines also do it.
Isn't there already some mechanism in the inte
08 18:01:40 +0100
Von: "Martin Kersten" <[EMAIL PROTECTED]>
An: "Tapestry users"
Betreff: AW: @Cached and caching in general
@Chached is only used during a single page rendering cycle. It would not
apply to your situation. (as far as I know)
Source:
http://sqllyw.wordpr
ginal-Nachricht
Datum: Tue, 18 Mar 2008 11:53:09 -0500
Von: "Adam Zimowski" <[EMAIL PROTECTED]>
An: "Tapestry users"
Betreff: Re: @Cached and caching in general
@Cache works on per request basis, so that anything you return from a
method which has @Cache annotatio
.
Original-Nachricht
> Datum: Tue, 18 Mar 2008 18:01:40 +0100
> Von: "Martin Kersten" <[EMAIL PROTECTED]>
> An: "Tapestry users"
> Betreff: AW: @Cached and caching in general
> @Chached is only used during a single page rendering cycle. It would not
>
needed. But as far as I know Tapestry and its agility, all
you need
-Ursprüngliche Nachricht-
Von: Tobias Marx [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 18. März 2008 17:58
An: Tapestry users
Betreff: Re: @Cached and caching in general
Ok. Thanks...this is what I wanted to know.
What
. So database queries without any caches.
Once you see any problems (performance is below required) just go for
optimization. Since you have a fallback solution at hand (cron-jobs +
disk fragments) you are at the safe side. But I am in doupt if you
really need the markup being cached. Caching the
00
> Von: "Adam Zimowski" <[EMAIL PROTECTED]>
> An: "Tapestry users"
> Betreff: Re: @Cached and caching in general
> @Cache works on per request basis, so that anything you return from a
> method which has @Cache annotation will get actually "built"
y hour it would re-generate/refresh its output and this way save lots of
performance.
Original-Nachricht
> Datum: Tue, 18 Mar 2008 17:52:11 +0100
> Von: "Davor Hrg" <[EMAIL PROTECTED]>
> An: "Tapestry users"
> Betreff: Re: @Cached and
@Cache works on per request basis, so that anything you return from a
method which has @Cache annotation will get actually "built" or
"retrieved" only once - but only once per http request. So if you're
building an expensive HTML fragment:
@Cached
public String b
@Cached is an annotation
that caches method call result per request.
so while page is rendering if multiple pieces of template
require that property it gets called only once...
Davor Hrg
On Tue, Mar 18, 2008 at 5:44 PM, Tobias Marx <[EMAIL PROTECTED]> wrote:
> I have not used T5 yet,
I have not used T5 yet, but would @Cached use the file system for caching HTML
fragments similiar to caching mechanisms in some php frameworks?
Or is this a pure memory-based cache?
I am thinking about migrating an old PHP application to T5 - it has really a
lot of traffic and any users are
i wrote my own service,but i found that when i request a service from one
window only first time,i can debug,then every time request the service from the
same window will response directly,i cant stop at the
break point,the situation like serivice is cached,so ,i want ask does the
service i
component on the same page. I could
then force this thing to behave correctly.
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: propertyselection not cached
Date: Tue, 9 Oct 2007 15:48:22 -0400
Folks,
I have a propertyselection component rigged
PROTECTED]
> Sent: Tuesday, October 09, 2007 3:48 PM
> To: users@tapestry.apache.org
> Subject: propertyselection not cached
>
>
> Folks,
>
> I have a propertyselection component rigged with 1,2,3,4,5...
>
> Everytime I select from my propertyselection... the this.
Folks,
I have a propertyselection component rigged with 1,2,3,4,5...
Everytime I select from my propertyselection... the this.form.submit() listener
gets called... but my property gets reset. Nothing sticks...
Gallery.JAVA
public IPage onFormSubmit (IRequestCycle cycle) {
IPage pag
componentry+demo&hl=en&gl=gr&ct=clnk&cd=1&client=firefox-a
>>
>>
>> We'll need to do some js debugging to figure out this...
>>
>>
>>
>> Christian Dutaret wrote:
>> > Hi all,
>> >
>> > I deployed a brand new web
web site which is based on T4.1.1 last week.
> It has just began to be indexed on Yahoo search and Live search.
>
> On both these search engines, whenever I request the cached page from
the
> search results, an alert box tells me "Permission refused to obtain
the
> Window.dojo p
on Yahoo search and Live search.
>
> On both these search engines, whenever I request the cached page from
the
> search results, an alert box tells me "Permission refused to obtain the
> Window.dojo property" (freely translated from French actually).
> I understand that the s
need to do some js debugging to figure out this...
Christian Dutaret wrote:
Hi all,
I deployed a brand new web site which is based on T4.1.1 last week.
It has just began to be indexed on Yahoo search and Live search.
On both these search engines, whenever I request the cached page from the
Hi all,
I deployed a brand new web site which is based on T4.1.1 last week.
It has just began to be indexed on Yahoo search and Live search.
On both these search engines, whenever I request the cached page from the
search results, an alert box tells me "Permission refused to obtai
It was a dumb question on my part. I should have replied when I saw it.
@Parameter has a 'cache' parameter. duh. :)
On Tue, 2006-06-20 at 14:30 -0400, Kevin Menard wrote:
> Have you looked at the source for the For component? If that can do it,
> you should be able to with your While.
>
--
Da
Parameters are cached by default but it can be turned off using its
"cache" property.
BR,
Norbi
Dan Adams wrote:
I want to write a @While component that takes a condition just like @If
does. The problem is that you can't give an ognl expression for the
condition and have it
Have you looked at the source for the For component? If that can do it,
you should be able to with your While.
--
Kevin
On Tue, 20 Jun 2006 14:15:08 -0400, Dan Adams <[EMAIL PROTECTED]> wrote:
I want to write a @While component that takes a condition just like @If
does. The problem is that
I want to write a @While component that takes a condition just like @If
does. The problem is that you can't give an ognl expression for the
condition and have it evaluated each time I call getCondition(). Anyone
know a way to do this?
--
Dan Adams
Software Engineer
Interactive Factory
617.235.585
74 matches
Mail list logo