This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javascript errors with command links in icefaces includes

Mike Smithson
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having a problem with an include, where the content in the include seems to be functioning as if it is not within the "including" template's <ice:form>

Each time a user clicks a command link in the "included" content, they get the JavaScript error below (two times):

Internet explorer:
Exception thrown and not caught, line 19, char 4054.
Uncaught exception: couldn’t find container for property:bridge.

My understanding from some searching is that this is commonly a missing <form> tag. But the include seems to be properly wrapped by an <ice:form> tag.

searchScreen.jspx is the "including file", it has the <ice: form>, and the included "searchWorkArea.jspx" has the command buttons that throw the JavaScript errors.

The command links inside searchWorkArea.jspx that are causing JavaScript errors look like the following:

All of the links function properly after the 2 JavaScript alerts, it's basically an annoyance but I really want to understand and fix this problem. Is there something wrong with how these are constructed?

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic