Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javascript "this" in portal not referring properly, any solution please?

 
Paul Earnest
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

While migrating the existing struts 2 application to portlet in jboss portal, Im facingt the following problem.

In a javascript file, "this." keyword is used in many places but when deployed in portal this(current object) is not referred properly.

The javascript method is not calling at all.

Your response is appreciated.
Thanks in advance,

Regards
Paul.
 
Ray Carrender
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
where is "this(content)" located? on the page, in a js file imported? What's the parent page?

Ray
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic