HP Service Manager web client “Read Only” fix

June 16, 2010

“Read-only” fields do not display in the web client

The following fix come directly from HP – there is a bug where read-only fields will not display correctly web clients.  Using the steps below should fix this problem:

Having problems with ‘read-only’ fields not displaying values and display lists correctly on your Web Client?
There is a hidden fix for the 'read only' issue in the web client that involves modifying the ‘topaz.js’ file, which is located under the ‘js’ directory in the Web-Tier folder structure (example: C:Program FilesApache Software FoundationTomcat 5.5webappswebtier-7.11js).
To fix the issue with ‘read-only’ fields not displaying values and display lists correctly on your Web Client, the following tasks must be done to resolve the issue.
1. Search for the following function
"function setComfillReadonly(field, sValue)"
in the topaz.js file.
You will see the following lines in this function:
if (dvdTrue(sValue))
{
field.style.display = "none";
field.style.visibility = "hidden";
fieldReadonly.style.display = "";
fieldReadonly.style.visibility = "";
2. After the line that executes:      fieldReadonly.style.visibility = "";
add the following line: fieldReadonly.value = field.value;
3. Then restart the Application Server (Tomcat, WAS, etc).

Comments

No Comments Yet.

Got something to say?





Spam Protection by WP-SpamFree

Contact Us

Laura Walker
Director of Business Development
Office: 701-232-5697 x27
Mobile: 701-306-7774
Email: lwalker@stratacominc.com

Client Testimonial

“As the project progressed through the various phases, StrataCom demonstrated their customer service commitment. A high level of responsiveness both in day-to-day support as well as with the deliverables assigned to them was realized. StrataCom became a true partner with us and the project team genuinely felt that our success was a priority for them. As a partner, StrataCom actively performed knowledge transfer and mentored our technical staff, accelerating our learning curve with the product.” ~Client Project Manager