Re: tacos @Cached in t4

2008-09-06 Thread michael lim
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

Wang terkumpul untuk anda sebanyak Rm300,000...

2008-09-06 Thread AFIQ DANIAL ROSHAIMI
Wang terkumpul untuk anda sebanyak Rm300,000... Segeralah mendaftar..kami akan memberi pulangan yang lumanyan.. ia sesuatu yang amat mudah,cuma ikuti cara dan langkah yang diberikan.. Kami akan ajar anda sehingga anda berjaya... tak percaya akan menyebabkan anda yang rugi terlebih dahulu lihat link

Re: T5: AJAX ActionLink exception if clicked as page loads

2008-09-06 Thread Filip S. Adamsen
Hi Geoff, Tapestry doesn't hook up zones etc. until the DOM is loaded, so the link isn't an AJAX link at the time you click it. You can check Request#isXhr in your event handler to see if it's an AJAX request - if it's not you can't return a Block, so you'll have to figure out another way to

Re: How to create simple wizard with tapestry

2008-09-06 Thread Filip S. Adamsen
Shouldn't that be @InjectPage? -Filip On 2008-09-05 15:15, Thiago H. de Paula Figueiredo wrote: Em Fri, 05 Sep 2008 09:17:09 -0300, Alex Florentino <[EMAIL PROTECTED]> escreveu: public Object onSuccess() { my.package.tranc.pages.User userPage = new my.package.tranc.pages.User();

Re: tacos @Cached in t4

2008-09-06 Thread Kalle Korhonen
You've misunderstood the purpose of @Cached. The documentation ( http://tacos.sourceforge.net/tacos4.1/tacos-annotations/index.html) says: "The Cached annotation allows you to cache the results of a pag/component me

Re: tacos @Cached in t4

2008-09-06 Thread michael lim
my .application look like this - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

tacos @Cached in t4

2008-09-06 Thread michael lim
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 public S

simple include

2008-09-06 Thread Luther Baker
I have a few files generated by a Flash-like IDE (Flex/Eclipse) ... that contain some junky javascript and at least one duplicated attribute on an object tag ... etc. I have a blog ... implemented in Tapestry - and I'd like to provide an internal link to this flash generated html page. Currently,

Re: [T5] How to remove tapestry.js file include?

2008-09-06 Thread Howard Lewis Ship
It's only included if you need it. Try turning off client-side validation (it's a parameter of the Form component). On Sat, Sep 6, 2008 at 12:19 AM, luna_guo <[EMAIL PROTECTED]> wrote: > > t5 5.0.14 > I find that the tapestry.js file make my page works so slowly in IE. > Is there any way to make

ASO question

2008-09-06 Thread ProAdmin Dariusz Dwornikowski
Hi I implemented data source as in book ( db4o also ). I got some problems. I keep the DataSource object in ASO. I can see that on every page I use it, the ASO calls its constructor. I would like to create it as singleton, so I do not get lockfile exceptions, which i get in case of db4o. -- P

Re: Problem with aso

2008-09-06 Thread Geoff Callender
For the record, you CAN reassign an ASO (eg. curruser = u). Don't know what I was thinking. Sorry if I misled anyone. Cheers, Geoff On 03/09/2008, at 9:44 PM, Geoff Callender wrote: Fernando's right. Your field curruser starts out as an ASO but if you reassign it (eg. curruser = u) then

T5: AJAX ActionLink exception if clicked as page loads

2008-09-06 Thread Geoff Callender
Is this a known problem? Is there a known solution? I have a page with 2 ActionLinks - the first link updates the whole page; the second link specifies a zone. If you click on the two links in quick succession then an exception is thrown. Alternatively, just Reload the page and click on th

Re: 5.0.15 date / application lockups with IE6

2008-09-06 Thread Andy Huhn
Howard, I have a core dump...I zipped it, and it's still 30Mb. It's too big to post as an attachment to the JIRA (10Mb limit), and it's too big to send to your gmail account (google bounced the message back). What's the best way to get this to you? Thanks, Andy On Thu, 2008-09-04 at 13:36 -070

Re: [T5] Tap 5.0.14 and t5components/editor (0.5.14) problem

2008-09-06 Thread Otho
It was late yesterday when I wrote that. After some more tests it seems that I found the problem. My Page used a layout and had only a > Description: > value="currentProduct.description" toolbarSet="Basic">Dummy > > > > > Long description: > value="currentProduct.longDescription" toolbarSet

[T5] How to remove tapestry.js file include?

2008-09-06 Thread luna_guo
t5 5.0.14 I find that the tapestry.js file make my page works so slowly in IE. Is there any way to make it faster or remove including of tapestry.js file? Thanks . /luna -- View this message in context: http://www.nabble.com/-T5--How-to-remove-tapestry.js-file-include--tp19343756p19343756.html