hi,

Sorry to disturb you again but I am trying out this code but it is not
working:

*Page1:*

<!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0
Strict//EN&quot;&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en" 
       
xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd";>

<body>
        <wicket:extend>
        
        </wicket:extend>

</body>
<wicket:head>
*JS code here...*
</wicket:head>
</html>


Page2:

<!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0
Strict//EN&quot;&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en" 
   
xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd";>
    <head></head>
<body>
        
        <wicket:child />
</body>
<head></head>
</html>

*JS code is not being called...:(. I have tried out all combinations like
removing head tags from Page2 or enclosing wicket:head tags with head tags
in Page1*




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p4650871.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to