tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: change header param
Date Mon, 31 Mar 2008 17:35:54 GMT
2008/3/31, Pedro Herrera <pedro_herrera@hotmail.com>:
>  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 ?

You could use a list attribute, containing the needed Dojo
requirement, and iterate in the JSP page:
In your case it could be:

<script type="text/javascript">
<c:forEach var="item" items="${list}">


View raw message