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.
In
--
De : 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 pa
at 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
> val
Hi Onno,
You don't need to do anything else. Everything outside of
Page content
will be discarded and the Layout component will be used instead. Is it not the
case?
Regards,
Julien
- Message d'origine
De : Onno Scheffers <[EMAIL PROTECTED]>
À : Tapestry users
Env
Item 1Item 2
My content
regards,
Onno
2008/4/2, Julien HENRY <[EMAIL PROTECTED]>:
>
> Hi Onno,
>
> You don't need to do anything else. Everything outside of
>
>
>
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 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
Envoyé le :
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
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) t
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
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 f
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 PROTECT
Hi,
The first time you get tapestry, simply go in a sample
project and hit:
mvn dependency:go-offline
This will download all required dependencies in your
local repo.
Then, when you will be offline, just use Maven with -o
flag to tell it to use only local artifacts.
Regards,
Julien
--- MavenM
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 ?
>
Hi Michael,
I'm in holidays so I won't have the time to fully answer you (should not stay
too long on a computer ;)) but here are some tips:
1) Are you really talking about httpunit in your post? I hope you wanted to say
HtmlUnit, because don't expect JavaScript support with HttpUnit.
2) Conce
15 matches
Mail list logo