tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Henry (JIRA)" <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-2314) No JavaScript when you put t:type="layout" on the body
Date Sat, 29 Mar 2008 15:24:25 GMT
No JavaScript when you put t:type="layout" on the body
------------------------------------------------------

                 Key: TAPESTRY-2314
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2314
             Project: Tapestry
          Issue Type: Bug
    Affects Versions: 5.0.11
            Reporter: Julien Henry


No JavaScript inclusion if you put the t:type="layout" on your <body> tag.

Step to reproduce:

1) Set up a new basic project with a Layout component used in the Start page.
2) Add a component to the start page that will add some JavaScript stuff (for example a beaneditform
with Client-Side validation)
3) Now, in the Start.tml depending on the place you put the t:type="layout" you may have JavaScript
or not. 
* If you put it on the <html> tag (like in the documentation) it works. 
* If you put it on a <div> tag in the <body> section it works
* BUT if you put it on the <body> tag it will not works.

It's very annoying because for me it seems to be the most logical place to put it (I want
all what is in the <body> tag to be included in the layout in place of <body/>).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message