aspose file tools*
The moose likes JSF and the fly likes Javascript errors with command links in icefaces includes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Javascript errors with command links in icefaces includes" Watch "Javascript errors with command links in icefaces includes" New topic
Author

Javascript errors with command links in icefaces includes

Mike Smithson
Greenhorn

Joined: Sep 15, 2011
Posts: 14
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.
Firefox:
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?



 
jQuery in Action, 2nd edition
 
subject: Javascript errors with command links in icefaces includes