tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Herrera <pedro_herr...@hotmail.com>
Subject change header param
Date Mon, 31 Mar 2008 15:10:10 GMT

I´m using dojo + tiles2 :

In tiles.xml :

	<definition name="base_adm" template="/html/_adm/index.jsp">
		<put-attribute name="topo" value="/html/_adm/_includes/top.jsp" />
		<put-attribute name="menu" value="/html/_adm/_includes/menu.jsp" />
		<put-attribute name="identificacao" value="/html/_adm/_includes/id.jsp" />
		<put-attribute name="navegacao_global"
value="/html/_adm/_includes/navegation.jsp" />
		<put-attribute name="rodape" value="/html/_adm/_includes/foot.jsp" />
	</definition>

	<definition name="page.main" extends="base_adm">
		<put-attribute name="conteudo" value="/html/_adm/_includes/conteudo.jsp"
/>
	</definition>
	
...

How I use dojo tags,  I have to put in the head for a specific page: 
     <script type="text/javascript">
        dojo.require("dojo.parser");
       	dojo.require("dijit.form.ComboBox");
     </script>

My problem is that each page(jsp) has differents dojo.requires(need inside
head tags). How do I resolve this, ie, each page has a specific head ?

Herrera
-- 
View this message in context: http://www.nabble.com/change-header-param-tp16396401p16396401.html
Sent from the tiles users mailing list archive at Nabble.com.


Mime
View raw message