Re: comet implementation issue

2010-05-28 Thread rajesh sukumaran
Thanks for the inputs Peter. I had done some research on the ill effects of reverse AJAX but the advantages of having the feature outweighed its disadvantage. My idea of Jetty was that of a light weight embeddable HTTP server which can be used for unit testing or in situations where high load

Re: comet implementation issue

2010-05-28 Thread rajesh sukumaran
yes, you are right thread.sleep does not look like the right approach, it does not scale either. thanks - Original Message From: Thiago H. de Paula Figueiredo To: Tapestry users Sent: Tue, 25 May, 2010 6:41:08 AM Subject: Re: comet implementation issue On Mon, 24 May 2010 21:45:16 -

Re: T5 Loop Issue

2010-05-28 Thread Norman Franke
On May 28, 2010, at 9:15 PM, Thiago H. de Paula Figueiredo wrote: On Fri, 28 May 2010 19:41:45 -0300, Norman Franke wrote: Since I re-populate the list in the onPrepare() call, I'm not sure why it's doing this. The volatile option is not use anywhere, and if I tried, I get a NPE anyway.

Re: T5 Loop Issue

2010-05-28 Thread Thiago H. de Paula Figueiredo
On Fri, 28 May 2010 19:41:45 -0300, Norman Franke wrote: Since I re-populate the list in the onPrepare() call, I'm not sure why it's doing this. The volatile option is not use anywhere, and if I tried, I get a NPE anyway. Loop's volatile parameter is deprecated. Use formState="none" instea

T5 Loop Issue

2010-05-28 Thread Norman Franke
On a query page in my T5.1.0.5 app, I have a loop that is embedded in a form. The loop displays the query results in a table with a checkbox to allow the user to select a subset of the items. On one page, I keep getting database errors as Tapestry tries to restoreStateFromStoredClientValue

Re: T5: Using Event.observer with a form within a t:block

2010-05-28 Thread Thiago H. de Paula Figueiredo
On Fri, 28 May 2010 14:52:24 -0300, Josh Canfield wrote: I'm not in front of a computer right now so I can't verify this, but I don't think this affects the id's of other elements in the zone, does it? I believe we are looking for the form element in the zone, which as far as I can tell,

Re: Read Only Field in BeanEditForm

2010-05-28 Thread abangkis
ah... thanks thiago. That would work. Cheers, Abangkis On Sat, May 29, 2010 at 12:51 AM, Thiago H. de Paula Figueiredo wrote: > On Fri, 28 May 2010 14:24:45 -0300, abangkis wrote: > >> Hello, > > Hi! > >> is there any property to set a field in beaneditform to read only ? > > Not without over

Re: T5: Using Event.observer with a form within a t:block

2010-05-28 Thread Josh Canfield
You can try using a different method for finding the form. If you know it's the only form in the zone you can use Or give the zone a fixed client id (id parameter) instead of letting Tapestry do that. I'm not in front of a computer right now so I can't verify this, but I don't think this

Re: Read Only Field in BeanEditForm

2010-05-28 Thread Thiago H. de Paula Figueiredo
On Fri, 28 May 2010 14:24:45 -0300, abangkis wrote: Hello, Hi! is there any property to set a field in beaneditform to read only ? Not without overriding the block that renders the field i.e. using o . -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate

Read Only Field in BeanEditForm

2010-05-28 Thread abangkis
Hello, is there any property to set a field in beaneditform to read only ? I'm creating a page that edit my object, but i didn't want some field to be changed by the user. For now i'm creating a bean display and bean edit form in the same page. then excluding the read only field from the beanedit

Re: [tapx-yui] RichTextEditor: Unable to locate asset when in production mode

2010-05-28 Thread Howard Lewis Ship
Just checked in a fix. Man, it is so much easier to work on tapx than Tapestry; pure Git, no hassels. Your just lucky I'm working for the right client today, i.e., that fix is a priority for my client as well as for you. On Fri, May 28, 2010 at 9:16 AM, Howard Lewis Ship wrote: > Yep. Looks lik

Re: [tapx-yui] RichTextEditor: Unable to locate asset when in production mode

2010-05-28 Thread Howard Lewis Ship
Yep. Looks like yahoo-dom-event.js is always minimized. I'll check in a fix. On Fri, May 28, 2010 at 8:58 AM, Joost Schouten (ml) wrote: > Hi, > > I started using the RichTextEditor in the tapx-yui package (nice work btw!) > which works fine when running under production-mode=false, but when in

[tapx-yui] RichTextEditor: Unable to locate asset when in production mode

2010-05-28 Thread Joost Schouten (ml)
Hi, I started using the RichTextEditor in the tapx-yui package (nice work btw!) which works fine when running under production-mode=false, but when in production-mode, I get the exception at [1]. I am not quite sure but it looks like there is a minified asset missing. Am I correct? cheers, J

Re: T5: Using Event.observer with a form within a t:block

2010-05-28 Thread Thiago H. de Paula Figueiredo
On Fri, 28 May 2010 12:22:10 -0300, Josh Canfield wrote: When elements are loaded into a zone their id's get modified to ensure they are still unique in the page. You can try using a different method for finding the form. If you know it's the only form in the zone you can use Or give t

Re: T5: Using Event.observer with a form within a t:block

2010-05-28 Thread Josh Canfield
When elements are loaded into a zone their id's get modified to ensure they are still unique in the page. You can try using a different method for finding the form. If you know it's the only form in the zone you can use $('testzone').select('form')[0] Or you can put a class on it: $('testz

RE: T5_EASY_FCKEDITOR and T 5.2.0-SNAPSHOT

2010-05-28 Thread Jim O'Callaghan
, sorry wrong list. -Original Message- From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk] Sent: 28 May 2010 13:37 To: 'Tapestry users' Subject: T5_EASY_FCKEDITOR and T 5.2.0-SNAPSHOT Is there was any plan to release a version of t5easyfckeditor that works with the T5.2.0-SNAPSHOT? At

Re: T5: Using Event.observer with a form within a t:block

2010-05-28 Thread immutability
OK - I'm halfway through now (I think so, at least) :-) I believe that I need to "hook" into the Tapestry.ZONE_UPDATED_EVENT event when my t:zone is updated with the t:block containing the form - this is what I do: Event.observe('zoneTest', Tapestry.ZONE_UPDATED_EVENT, function() { ale

Re: Ajax working in noConflict() mode for jquery, but not jquery itself and vice versa

2010-05-28 Thread Nikola Milikic
Thanks Robin for the reply. You were right about the problem. I didn't use $ in my call for box to open, but I wasn't aware that fancy box jquery itself script used $ everywhere. After I replaced it with "jQuery" string it worked like a charm. Thanks! Regards, Nikola On Wed, May 26, 2010 at 10

Re: T5: LinkSubmit should be generic

2010-05-28 Thread paha
very strange. well i never used LinkSubmit. but as i said, the code works as expected (at least from my point of view :) ) only if you change the if statement. "as is" the form never gets submitted. i know almost nothing about js, and very little about t5. perhaps my code won't work in some comple

T5_EASY_FCKEDITOR and T 5.2.0-SNAPSHOT

2010-05-28 Thread Jim O'Callaghan
Is there was any plan to release a version of t5easyfckeditor that works with the T5.2.0-SNAPSHOT? At the moment I'm getting the following stack trace at startup: java.lang.RuntimeException: Error invoking constructor org.apache.tapestry5.internal.services.ClasspathAssetAliasManagerImpl(AssetP

Re: T5: LinkSubmit should be generic

2010-05-28 Thread Inge Solvoll
Don't know, I only copied the code from LinkSubmit and did some very minor changes, not including the stuff you're listing here :) On Fri, May 28, 2010 at 2:09 PM, paha wrote: > > Hi Inge, > > tried you code today. doesn't seem to work. maybe i'm using it incorrectly. > i have following template

Re: T5: LinkSubmit should be generic

2010-05-28 Thread paha
Hi Inge, tried you code today. doesn't seem to work. maybe i'm using it incorrectly. i have following template > >t:mixins="anySubmit" t:event="selected" > t:clientEvent="change"/> > > > this part in if if (onsubmit == undefined || onsubmit.call

Re: @Persist("session") field is null after AjaxRequest

2010-05-28 Thread Andreas Andreou
I tried this example (and some non-ajax permutations) and i indeed see different behavior with cookies enabled vs. disabled. If that's not expected, then a new issue should be raised in jira. On Fri, May 28, 2010 at 09:51, Paul Stanton wrote: > well, its worth discussing - the question being sho

Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

2010-05-28 Thread Robin Komiwes
Hi! Just saw your email. Dialog component is still under development and will be released with 1.1.0. Anyway, there is a test application bundled with this project. Each component is tested in a custom page which could also be used a sample. You may be interested by: http://github.com/got5/tapestr

Re: [ANN] Spock Framework 0.4 released, with improved Tapestry support

2010-05-28 Thread Robin Komiwes
Nice, it seems awesome! I'm looking forward to try it! On Fri, May 28, 2010 at 11:04 AM, Peter Niederwieser wrote: > Dear Tapestry community, > > the Spock team is very happy to announce the release of Spock 0.4, the > Enterprise-ready testing framework for Java and Groovy apps (official > releas

[ANN] Spock Framework 0.4 released, with improved Tapestry support

2010-05-28 Thread Peter Niederwieser
Dear Tapestry community, the Spock team is very happy to announce the release of Spock 0.4, the Enterprise-ready testing framework for Java and Groovy apps (official release notes). As you may know, Spock also provides an extension for testing Tapestry 5 apps. The main functions of this extensi