Re: Refresh zone periodicaly

2010-08-12 Thread Inge Solvoll
Using the ZoneUpdater, you can easily just call update() on the zone object using setTimeout as mentioned by Pablo. http://tinybits.blogspot.com/2010/03/new-and-better-zoneupdater.html#comments You could also just fire

Re: T5.1 Ajax requests and responses out of order

2010-08-12 Thread Kartweel
Josh Canfield wrote: > > If Autocomplete isn't want you want then you could implement a > timeout so you only send the data when the user pauses. You can look > inside the scriptaculous code for an example. > Thanks. I actually have implemented a timeout so it only submits when the user pauses

Re: T5.1 Ajax requests and responses out of order

2010-08-12 Thread Josh Canfield
Sounds like Tapestry's Autocomplete mixin; based on the autocomplete control from scriptaculous. http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/mixins/Autocomplete.html If I know what I'm going to type into your input box then I'm probably going to be done typi

T5.1 Ajax requests and responses out of order

2010-08-12 Thread Kartweel
Hi, Before I re-invent the wheel, I was wondering if anyone has dealt with ajax requests and responses being out of order?. Issue 1 I have a field which submits with each character typed (with the goal of filtering down a list). What is happening is that the anti-virus is scanning the submitted

Re: Refresh zone periodicaly

2010-08-12 Thread Pablo dos Reis
Hi Mite, You can use one javascrit, like this function execute() { // refresh div setTimeout('execute()', 2000); } In this case the div will be refresh for each 2 seconds 2010/8/12 Mite > > Hi > Is there a way to refresh a zone on a fixed period automatically? > > Thanks > -- > View this

Re: Refresh zone periodicaly

2010-08-12 Thread Tornn
Hi Mite! Consider this Tapestry Jump Start example: http://202.177.217.122:8080/jumpstart/examples/javascript/ajaxactionlink If you add to your page timer (via javascript) which will click on this link (you can make link hidden so user cant see it). Than you will have exactly behavior you want

Refresh zone periodicaly

2010-08-12 Thread Mite
Hi Is there a way to refresh a zone on a fixed period automatically? Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/Refresh-zone-periodicaly-tp2498534p2498534.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Stream redirection problem when using JFreeChart with Tapestry

2010-08-12 Thread Chuck Kring
Did you verify that the _context in onChart() is valid? On 8/12/2010 1:45 PM, Ruksen Inanir wrote: Thanks for the response. I had not post the Chart component to keep the mail shorter. But here it is; public class Chart { @Inject private ComponentResources _resources; @Inject

Re: Tapestry 5.2 Grid inPlace Ajax navigation is no longer working

2010-08-12 Thread Thiago H. de Paula Figueiredo
On Thu, 12 Aug 2010 18:56:44 -0300, Darren Williams wrote: Thanks Thiago, Hi! we were trying to avoid rebuilding the beanModelSource on each render, because it is backed by a large dataset. I can't see the relation between a large data set and the BeanModel creation. The same BeanMod

Re: Tapestry 5.2 Grid inPlace Ajax navigation is no longer working

2010-08-12 Thread Darren Williams
Thanks Thiago, we were trying to avoid rebuilding the beanModelSource on each render, because it is backed by a large dataset. We have modified your suggestion as shown below. Is this the best technique to persist this value like we have here, instead of constantly creating? @Persist

Re: Tapestry 5.2 Grid inPlace Ajax navigation is no longer working

2010-08-12 Thread Thiago H. de Paula Figueiredo
On Thu, 12 Aug 2010 17:46:55 -0300, Darren Williams wrote: When upgrading to Tapestry 5.2 the inPlace Ajax grid no longer works. It appears to be related to the sorting and the fact that the _grid sort model gets reset to null when using the navigation. It works fine if you don't use the

Tapestry 5.2 Grid inPlace Ajax navigation is no longer working

2010-08-12 Thread Darren Williams
When upgrading to Tapestry 5.2 the inPlace Ajax grid no longer works. It appears to be related to the sorting and the fact that the _grid sort model gets reset to null when using the navigation. It works fine if you don't use the AJAX inPlace call. Is anyone else seeing the same thing on Tap 5.

RE: Stream redirection problem when using JFreeChart with Tapestry

2010-08-12 Thread Ruksen Inanir
Thanks for the response. I had not post the Chart component to keep the mail shorter. But here it is; public class Chart { @Inject private ComponentResources _resources; @Inject private TypeCoercer _coercer; /**list(array) of paired values(label & value): [String,Number,Stri

Re: Stream redirection problem when using JFreeChart with Tapestry

2010-08-12 Thread Chuck Kring
A few things: 1) You didn't include the chart component. It's the thing that is generating the exception. 2) I would verify that _context in getStream() is a valid JFreeChart and that ChartUtils.writeBufferedImageAsJpeg works correctly. I suspect that a problem with the chart is causing

Re: Tapestry 5.2 + TSS 3.0.0 + Hibernate 3.5.2 QuickGuide

2010-08-12 Thread Todd Orr
Raising this one from the dead. I've followed all these instructions on the 5.2 alpha and I can't get anything to work. The primary issue is that Tapestry appears to have no knowledge of any of the security services. I receive this error in the browser on load: Exception assembling root component

RE: Stream redirection problem when using JFreeChart with Tapestry

2010-08-12 Thread Ruksen Inanir
Hi, I placed the the exact same Chart.java from http://wiki.apache.org/tapestry/Tapestry5HowToCreateGenericGraphComponent under the package 'com.mycompany.myproject.webapp.components'. My tapestry version is 5.1.0.5. And I use jfreechart 1.0.12. here is my \src\main\webapp\reports\LineChar

Re: tapestry-jersey

2010-08-12 Thread Kalle Korhonen
On Thu, Aug 12, 2010 at 9:15 AM, Borut Bolčina wrote: > perhaps this should go to tynamo user list, but I guess no one will mind > posting this here. > Before looking at the source code for tynamo-resteasy, how hard would it be > to write tapestry-jersey integration module? Not that hard :) In al

tapestry-jersey

2010-08-12 Thread Borut Bolčina
Hello, perhaps this should go to tynamo user list, but I guess no one will mind posting this here. I am successfully using tapestry-resteasy integration module, but have come to a dead-end on a JSONP issue. I wanted my web service to return a JSON wrapped in a javascript callback function and fou

Re: T5.1 - Problem with form submission and zone rerendering

2010-08-12 Thread Katia Aresti Gonzalez
Thabks for d'acces :) Anyway, I'm happy to know tyou solved your problem, even if i dnd't help a lot in the end .) good luck with your tapestry project 2010/8/12 Josh Canfield > > Thank you very much!!! This is great. > > Now it works! > Great! > > > I'm sorry for badly written question > > N

Re: T5.1 - Problem with form submission and zone rerendering

2010-08-12 Thread Josh Canfield
> Thank you very much!!! This is great. > Now it works! Great! > I'm sorry for badly written question No worries, I'm just lazy and don't want to have to think too hard ;) -- Josh On Aug 12, 2010, at 3:51 AM, Tornn wrote: > Hi Josh! > > Thank you very much!!! This is great. > Now it works

Re: Custom Validation Bubbles

2010-08-12 Thread Rich M
Thanks Josh, that was exactly what I was looking to do. Hopefully I'll be able to start seeing these things on my own sometime soon! -Rich On 08/11/2010 08:11 PM, Josh Canfield wrote: If you are looking to get the error bubble to pop up after you submit the form you could use this: public c

Re: T5.1 - Problem with form submission and zone rerendering

2010-08-12 Thread Tornn
Hi Josh! Thank you very much!!! This is great. Now it works! I'm not sure if this is last issue on my way, but this current issue is solved. Thank you again. p.s. I'm sorry for badly written question. I will try harder to write good questions, which will save community time. 2010/8/12 J

Re: Another IllegalAccessError in 5.2 alpha [bug?]

2010-08-12 Thread Peter Stavrinides
Just my two cents regarding: > binder.bind(MyInterface.class, MyImplementation.class).preventReloading(); Since Tapestry knows it can't reload package private or protected services, surely then it should not attempt to? If convention over configuration is embraced then the framework should only

Re: T5.1 - Problem with form submission and zone rerendering

2010-08-12 Thread Tornn
Hi Katia Thank you for you attention. See answers below 12 августа 2010 г. 0:02 пользователь Katia Aresti Gonzalez написал: > I've checkout your code this afternoon in order to make it run. i didn't > have much time, i had thing to do. I uploaded war file for you: http://tasks-journal.googlecode

Re: Another IllegalAccessError in 5.2 alpha [bug?]

2010-08-12 Thread Vjeran Marcinko
No luck here. I still get IllegalAccessError raised. I probably don't have enough understanding of Tapestry to know where to apply this reloading prevention, so I took my module service class where I have filter registered, and add there this bind(..) method: public static void bind(ServiceBin

Re: Another IllegalAccessError in 5.2 alpha [bug?]

2010-08-12 Thread Peter Stavrinides
Thanks for the help Howard... it makes perfect sense when you understand whats happening, otherwise we have no chance of guessing it from this error. Cheers, Peter - Original Message - From: "Howard Lewis Ship" To: "Tapestry users" Sent: Wednesday, 11 August, 2010 19:54:58 GMT +02:00 A