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
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
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
/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
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.
: 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
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
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
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
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
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
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)
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
13 matches
Mail list logo