Book a Demo

Author Topic: html generation javascript issues  (Read 2908 times)

Grayson

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
html generation javascript issues
« on: June 01, 2011, 02:57:13 pm »
Hi,

this is a two part question

1\ I have noticed that the html pages seem fairly slow to respond, and then when doing some debugging of the page I noticed that the function "initPage" gets fired an unreasonable amount of times.  For instance on my test page when I click on an element in the index frame initPage gets called 92 times, is this by design?

2\ What I want to do is general an html script and then publish that html back out to the business.  However what they are asking for is to be able to make comments.  So what we are thinking is add another frame to the template and imbed a document editing component in it that changes based on the element that you click on in the indexframe.    Where can I put code that fires when the page is updated due to selecting a new element?

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: html generation javascript issues
« Reply #1 on: June 01, 2011, 03:07:54 pm »
Just regarding your second question - the following article on the EA Community website might be of help if you want a way for users to submit feedback on the model.
http://community.sparxsystems.com/resources/document-templates/add-diagram-feedback-and-comment-link-html-report

Grayson

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: html generation javascript issues
« Reply #2 on: June 02, 2011, 06:39:11 am »
awesome, thanks.  I have been trying to think of the simplest approach and this may just be good enough.