Re: js code in the jsp page
- From: Colin Walters <walters redhat com>
- To: ☠ <yarrr-list gnome org>
- Subject: Re: js code in the jsp page
- Date: Fri, 08 Apr 2005 09:08:24 -0400
On Fri, 2005-04-08 at 14:48 +0200, Alexander Larsson wrote:
> I see that someone has moved a bunch of code related to setting the
> document title to the jsp page. Any special reason for this?
>
> I think we should avoid putting much code in the page itself. Its much
> cleaner to separate the html from the code as much as possible.
Sure, we can separate it. The reason it was moved is because it is very
specific to the topic.jsp page. We want to be able to use the
JavaScript Topic class also for the topiclist.jsp page; there, we don't
want to have references to theTopic and have it changing window.title,
etc. We could rename topic.jsp to topicdisplay.jsp or something, and
move the code in it to topicdisplay.js.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]