You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "mpopovits.rm" <mp...@hotmail.com> on 2002/07/29 23:11:03 UTC

Re: tiles & javascript - sorry for multiple posting

My sincere apologies for the multiple postings of this message.

--- In struts@y..., "mpopovits.rm" <mp...@h...> wrote:
> Hi,
> 
> I'm new to tiles and am wondering what the best way is to integrate 
> javascript, as follows:
> 
> Before Tiles:
> I had a main jsp (with some includes for header/footer) and some 
> embedded javascript and js file references.
> 
> After Tiles:
> I have tiles setup for header/footer/body.  The layout that I am 
> using is (and should be fairly generic) as is the header/footer.  
> Now, the body tile makes use of some javascript functions both 
> embedded and as js references.
> 
> Where do I put this javascript code? I am assuming that it should 
not 
> go in the layout because that is being used by multiple pages.  It 
> doesn't really belong in the header/footer either.  And shouldn't 
the 
> body tile just contain the body portion (not <head> information).
> 
> Any suggestions as the what the best approach is for this would be 
> greatly appreciated.
> 
> Many thanks,
> Michelle
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@j...>
> For additional commands, e-mail: <ma...@j...>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>