• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Javascript errors with command links in icefaces includes

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
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?



 
The fastest and most reliable components of any system are those that are not there. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic