Re: Tapestry & Spring localization

2012-09-26 Thread mandark
If we want to use decorators, why not decorate the org.apache.tapestry5.ioc.Messages interface and why decorate ComponentMessagesSource. Also, is there a good example for me to follow for decorating the interface. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-Pers

Re: BufferedImage in Tapestry

2012-09-26 Thread gonzalomp87
Hi! Up the thread because I have a problem. I was working with Jetty and the above code worked perfectly but in tomcat not showing the image and nor give any error .Anyone know what could be the cause? -- View this message in context: http://tapestry.1045711.n5.nabble.com/BufferedImage-in-Tap

Re: How to get selected value from Autocomplete list onto server side?

2012-09-26 Thread djst
Okay. I'll look in to it. Thanks for the help. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-get-selected-value-from-Autocomplete-list-onto-server-side-tp5716506p5716510.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: How to get selected value from Autocomplete list onto server side?

2012-09-26 Thread Dieter Sauvillers
I guess what you are looking for is a mix of two different things on one hand the autocomplete mixin which provides the pincodes, but on the other hand you want the onvaluechanged from a select component. Maybe you can look at that implementation, but I think is pretty similar to the zoneupdater.

Re: How to get selected value from Autocomplete list onto server side?

2012-09-26 Thread djst
Okay... Isn't there a way another way of implementing this? Or is there a way to extend or configure the autocomplete mixin to provide submission when the user chooses from the dropdown menu? -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-get-selected-value-fro

Re: Updating image inside zone

2012-09-26 Thread ch_pasha
No, I think I solved the problem by adding fake context to the chart component. I think the problem was that browser cached the image with src="someurl" (because the chart is ultimately just an html img. By adding "random" data (our context) to the url we prevent the image from caching (this is

Re: Updating image inside zone

2012-09-26 Thread Charlouze
Maybe your component jfreechart:jpegchart caches the datas. 2012/9/26 ch_pasha > Yes I can > > > tml wrote > > > > ${execution.id} > > > > > > > > > > > chart="chart" > > width="850" height="600"/> > > > > > > java wrote > > @Injec

RE: Tapestry 5.3.2 autocomplete mixin not working

2012-09-26 Thread djst
Hey I fixed the problem. It turned out that some of my code in onActivate() caused it not to call onProvideCompletions(), so the error was a bit besides my question. Sorry about that. Anyway, thanks for your quick answers and help! /David From: Charlouze [via Tapestry] [mailto:ml-node+s10457

Re: Updating image inside zone

2012-09-26 Thread ch_pasha
Yes I can tml wrote > > ${execution.id} > > > > >chart="chart" > width="850" height="600"/> > java wrote > @InjectComponent > private Zone chartZone; > > @OnEvent(value = "showChart") > Object onShowChart(RestwertExec

Re: Updating image inside zone

2012-09-26 Thread Dieter Sauvillers
Can you provide the code when performing zone update? On 26 September 2012 11:50, ch_pasha wrote: > Hi all, > > I have an image with dynamic content inside zone component (jfreechart > actually). Unfortunately when triggering the zone update image content is > never updated - getter method return

Updating image inside zone

2012-09-26 Thread ch_pasha
Hi all, I have an image with dynamic content inside zone component (jfreechart actually). Unfortunately when triggering the zone update image content is never updated - getter method returning streamresponse is called only once when the page is first loaded but never again,when zone is updated. I

Re: Again with the tapestry, hibernate and switching the database

2012-09-26 Thread Taha Siddiqi
My point here is that you can't do it with tapestry-hibernate module but you can always do it with "tapestry" and "hibernate". :) You can take a look at https://github.com/tawus/tapestry5 where I have modified tapestry-hibernate to work with multiple databases. If you can tweak it further you m

Re: Ordering problem

2012-09-26 Thread Lance Java
You will need to store your cart somewhere between requests. Either in the session or on the client via a cookie. Most likely, it will be a global session object and you will declare it as: @SessionState(create=?) private Cart cart; http://tapestry.apache.org/session-storage.html -- View thi