Re: jquery

2012-01-02 Thread Emmanuel DEMEY
You can also our own implementation of the Autocomplete mixin, using jquery. Which version do you use ? Which jquery does not work ? Do you have a JavaScript error ? Manu 2012/1/2 csckid > With this code > configuration.add(JQuerySymbolConstants.SUPPRESS_PROTOTYPE, "false"); > > the mixin is

Why Components in Loop are the only one instance? What should I do?

2012-01-02 Thread Bo Gao
I put a Component in a Loop, and when I call System.out.println(this); I found that there are only one instance of the component. If I have some persist value in this Components they can't work well. Why this happened? What should I do if I want to put a Complex Component with persist value int

RE: [ANN] JumpStart upgraded to Tapestry 5.3.1

2012-01-02 Thread Guerin Laurent
As always, a really useful resource :-) Many thanks Geoff for your work! Laurent -Message d'origine- De : Geoff Callender [mailto:geoff.callender.jumpst...@gmail.com] Envoyé : lundi 2 janvier 2012 05:38 À : Tapestry users Objet : [ANN] JumpStart upgraded to Tapestry 5.3.1 Hi all, JumpS

Re: [t5.3.1] Tapestry encodes to "<br />"

2012-01-02 Thread Muhammad Gelbana
Yea when I started searching for a solution I looked into the "Component templates" page for a solution I think your choice to add it to the Expansions section is the best I can think of. Thank you for the follow up. On Mon, Jan 2, 2012 at 3:52 AM, Bob Harner wrote: > You're right, more docume

Re: [ANN] JumpStart upgraded to Tapestry 5.3.1

2012-01-02 Thread Muhammad Gelbana
I consider it the second home for tapestry :) Thanks a lot Geoff :) On Mon, Jan 2, 2012 at 10:36 AM, Guerin Laurent wrote: > As always, a really useful resource :-) > Many thanks Geoff for your work! > > Laurent > > -Message d'origine- > De : Geoff Callender [mailto:geoff.callender.jumpst

Re: [ANN] JumpStart upgraded to Tapestry 5.3.1

2012-01-02 Thread François Facon
Hi Geoff, Thank you for your contribution. Jumpstart is so useful. Best François 2012/1/2 Geoff Callender : > Hi all, > > JumpStart has been upgraded from Tapestry 5.2.6 to 5.3.1. There are some new > examples for some new components: > >        - Kaptcha >        - Tree Browse >        - Check

Re: jquery

2012-01-02 Thread csckid
I am using tapestry5-jquery version 2.6.1 When I wrote this line *configuration.add(JQuerySymbolConstants.SUPPRESS_PROTOTYPE, "false");* Mixin is working but simple jquery isn't working. This is the error message for simple jquery method *$(document).ready is not a function* about.tml http://ta

Missing step in Tutorial

2012-01-02 Thread noidsonly
Issue in http://tapestry.apache.org/using-tapestry-with-hibernate.html 1. Tutorial does not say explicitly that needs to be created by reader. 2. After creating this file manually, running with Jetty from Eclipse does not include libraries. I get the error "JDBC Driver class not found: org.h2.Dri

Class reloading

2012-01-02 Thread Christian Grobmeier
Hello folks recently a Customer asked me to do some stuff with Tapestry. Being a Struts user for a good while and trying out many other frameworks, Tapestry impressed me lots. One of the things which made me eyes pop out of their holes is the automatic class reloading you guys have implemented. It

Re: Missing step in Tutorial

2012-01-02 Thread Massimo Lusetti
On Sat, Dec 31, 2011 at 9:11 PM, wrote: > Issue in  http://tapestry.apache.org/using-tapestry-with-hibernate.html > > 1. Tutorial does not say explicitly that needs to be created by reader. > 2. After creating this file manually, running with Jetty from Eclipse does > not include libraries. I ge

Re: Class reloading

2012-01-02 Thread Howard Lewis Ship
Yes, I like the idea of your "stakeholder" seeing you build and change the app live. The reloading stuff dates back to 2006; it's just a matter of dealing with Java ClassLoader objects ... customizing how they load classes and monitoring .class files for changes. When a .class file changes, Tapestr

Re: T5.3.1 mongodb?

2012-01-02 Thread Igor Drobiazko
I think it's still open. First, I'd like to concentrate on providing basic integration. Maybe we can come up with a simple interface comparable to ValueEncoder and the user would implement it using any mapper library. I think this is a topic for the developer's list. On Thu, Dec 29, 2011 at 3:00 P

Re: Why Components in Loop are the only one instance? What should I do?

2012-01-02 Thread Josh Canfield
This is by design. Tapestry pages/ components have static structure so no matter how many times you g through the loop you only get one instance of the component. What specifically are you trying to do? Maybe someone can offer some design tips. Josh On Jan 2, 2012 12:17 AM, "Bo Gao" wrote:

Re: [ANN] JumpStart upgraded to Tapestry 5.3.1

2012-01-02 Thread Chris Mylonas
Thanks Geoff for keeping jumpstart up to date, it's a fantastic resource. Happy New Year! On 02/01/2012, at 8:30 PM, François Facon wrote: > Hi Geoff, > > Thank you for your contribution. > Jumpstart is so useful. > > Best > François > > 2012/1/2 Geoff Callender : >> Hi all, >> >> JumpStart

Re: development with eclipse+tomcat

2012-01-02 Thread Paul Stanton
I think I may have one outstanding issue with this configuration regarding classloaders... ComponentResources cr = container.getComponentResources(); Component comp = cr.getEmbeddedComponent(zoneClientId); log.debug(Zone.class.getName() + " == " + comp.getClass().getName

Re: Why Components in Loop are the only one instance? What should I do?

2012-01-02 Thread Elivoa
I have a zone in my component. And an event link to refresh the zone. So I need to use a persists value to store the zone's client id, and I persist some value that will show inside the zone. I have changed all the values I want to persist to context values and it works for me now. Is this the

ajax improvements in 5.3

2012-01-02 Thread Paul Stanton
Hi all, I've started using T5.3 for the latest project and am migrating some of the ajax api 'extensions' I had to write in order to become productive. I've noticed that much has improved since T5.1 and am eager to make sure that I am not missing out on further improvements by re-implementing

How to export maven poms from gradle for tapestry

2012-01-02 Thread Alex Kotchnev
I use NetBeans and I wanted to look something up in the Tapestry source tree. NetBeans has pretty decent Maven support, so in the past, I was able to just check out the source tree and then open the projects. Now, w/ the build moved to Gradle, there are no more pom files that I can open. I have a

Re: ajax improvements in 5.3

2012-01-02 Thread robert baker
Hi, Here's what I do to do to raise an arbitrary AJAX event on a component: 1. Inject ComponentResources into the component (let's say the variable is named "resources"). 2. In the component's setupRender handler, call resources.createEventLink and store the returned Link in a field. You can bake