Re : T5 actionlink, ajax zone and user onclick handler

2008-04-20 Thread Julien HENRY
Hi Chris, Just a little suggestion. Because confirm.js depends on prototype I think you should add @IncludeJavaScriptLibrary(prototype.js) to your Confirm mixin. Thanks for this article Julien - Message d'origine De : Luca Fossato [EMAIL PROTECTED] À : Tapestry users

Re : T5 actionlink, ajax zone and user onclick handler

2008-04-16 Thread Julien HENRY
Hi, Instead of trying to deal with onclick html attribute you should use DOM lvl 2 events: http://www.prototypejs.org/api/event/observe The following JavaScript should work (not tested): Event.observe($('deleteLink'), 'click', function(event) {confirm('are you sure to delete this record

Re : T5: Layout question

2008-04-02 Thread Julien HENRY
Hi Onno, You don't need to do anything else. Everything outside of div class=text-column t:type=Border Page content /div will be discarded and the Layout component will be used instead. Is it not the case? Regards, Julien - Message d'origine De : Onno Scheffers

Re : Re : T5: Layout question

2008-04-02 Thread Julien HENRY
/div /div /div /div/body/html /div /div /div/body/html regards, Onno 2008/4/2, Julien HENRY [EMAIL PROTECTED]: Hi Onno, You don't need to do anything else. Everything outside of div class=text-column t:type=Border

[T5] How to add JavaScript in a component used in a layout

2008-03-29 Thread Julien HENRY
Hi, I'm using a custom JAR-packaged component in a template. When I use the component directly in a page (Start.tml) I have both JavaScript and CSS file included in the HTML. But when I try to put the component in my application layout (Layout.tml), there is only the CSS file. No JavaScript.

Re : [T5] How to add JavaScript in a component used in a layout

2008-03-29 Thread Julien HENRY
: Julien HENRY [EMAIL PROTECTED] À : users@tapestry.apache.org Envoyé le : Samedi, 29 Mars 2008, 15h23mn 34s Objet : [T5] How to add JavaScript in a component used in a layout Hi, I'm using a custom JAR-packaged component in a template. When I use the component directly in a page (Start.tml) I

Re : Re : [T5] How to add JavaScript in a component used in a layout

2008-03-29 Thread Julien HENRY
warning that the scripts haven't been added. I think I made a Jira for this a couple months ago. -mike On Mar 29, 2008, at 6:03 AM, Julien HENRY wrote: In fact, it could be a bug. I tried to add a beaneditform component in the Start page, and I have JavaScript (for client side

RE : Re: RE : tapestry5 without maven is ok ?

2007-10-16 Thread Julien HENRY
yes, you can. Just copy ~/.m2/repository --- MavenMan [EMAIL PROTECTED] a écrit : you are right ,thanks a lot . but my notebook is never connect Internet ,so can I transfer(copy) my local repository from one not offline computer to my notebook ? Julien HENRY wrote: Hi

[T5] Annotations are too static

2007-10-04 Thread Julien HENRY
Hi, I really like the way you can configure beaneditform and grid with annotations in T5 (Validation, Column ordering, ...). Therefore, for the kind of projects I have to deal with, I think it will be too static. Exemple: I have a page with a big form allowing user to create/update a card. The

RE : Re: [T5] Annotations are too static

2007-10-04 Thread Julien HENRY
It's not really client-side validation. Is the onValidate called by an AJAX request? IMHO checking if a field is filled when a checkbox is checked should not require a full page refresh. --- Robin Helgelin [EMAIL PROTECTED] a écrit : On 10/4/07, Julien HENRY [EMAIL PROTECTED] wrote: I have

RE : Re: T5: date picker component

2007-08-16 Thread Julien HENRY
Hi, As I said on google bug tracker, a good idea would be to put the date format in a localizable property file. Typically, date format will depend on the user locale. But I don't know how to do this... sorry. Julien --- Ted Steen [EMAIL PROTECTED] a écrit : This is something we will work on

[T5] Simple CRUD application with Hibernate : Relations

2007-07-22 Thread Julien HENRY
Hi, I'm learning Tapestry 5, and I would like to know how to do the following simple example : I have an object called Person and an object called Group. Person(id, name, group_id) Group(id, name) I would like to create a simple CRUD application. I'm following T5 tutorial (using beaneditform)

Mistake in Tapestry tutorial

2007-07-20 Thread Julien HENRY
Hi everybody, I'm new to Tapestry world, and I'm following the tutorial (http://tapestry.apache.org/tapestry5/tutorial1/first.html) I just want to point out a little mistake: because artifactId is tapestry-tutorial1, the Jetty context will be tapestry-tutorial1 and not tutorial1. You should then