dev@woodstock.java.net

Re: table v table2? no table widget ??

From: Padraig Byrne <padraigbyrne_at_yahoo.com>
Date: Mon, 20 Aug 2007 09:46:15 -0700 (PDT)

select.js is per examples function initAllRows() { // Disable table actions by default. var table = document.getElementById("form1:table1"); table.initAllRows(); } ----- Original Message ---- From: Dan Labrecque <Dan.Labrecque@Sun.COM> To: dev@woodstock.dev.java.net Sent: Monday, August 20, 2007 5:37:35 PM Subject: Re: table v table2? no table widget ?? Padraig Byrne wrote: > I enabled debug as part of trying to get to the bottom of this problem > > Debug off & table widget loading but still an issue > > Error is happening when I click checkbox to invoke "initAllRows" from javascript > > Page load trace > > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/__package__.js (34ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/props.js (34ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/cookie.js (33ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/browser.js (56ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/body.js (23ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/common.js (34ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/formElements.js (34ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/theme.js (45ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/META-INF/dojo/src/widget/__package__.js (34ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/META-INF/dojo/src/xml/Parse.js (34ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/META-INF/dojo/src/widget/Widget.js (56ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/META-INF/dojo/src/lang/declare.js (56ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/META-INF/dojo/src/ns.js (56ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/META-INF/dojo/src/widget/Manager.js (56ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/META-INF/dojo/src/a11y.js (45ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/META-INF/dojo/src/uri/__package__.js (34ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/META-INF/dojo/src/widget/Parse.js (34ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/META-INF/dojo/src/widget/DomWidget.js (56ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/META-INF/dojo/src/widget/HtmlWidget.js (44ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/META-INF/dojo/src/html/util.js (34ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/META-INF/dojo/src/lfx/toggle.js (34ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/__package__.js (45ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/common.js (34ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/props.js (34ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/widgetBase.js (34ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/jsfx/__package__.js (45ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/jsfx/common.js (33ms)dojo.js (line 769) > Error in parsing value for property 'font-weight'. Declaration dropped. > undefined > theme.css (line 118) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/imageHyperlink.js (12ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/hyperlink.js (12ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/anchor.js (2ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/image.js (47ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/label.js (100ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/dropDown.js (89ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/listbox.js (22ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/button.js (34ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/textField.js (2ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/fieldBase.js (12ms)dojo.js (line 769) > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/widget/staticText.js (57ms)dojo.js (line 769) > > > When checkbox clicked > > GET http://localhost:8080/seamgen2/theme/com/sun/webui/jsf/suntheme/javascript/table.js (45ms)dojo.js (line 769) > _23.getProps is not a function > var _45=_43.slice(0,i).join("."); > The table.js file should have been included in the page prior to clicking on your checkbox. If it has not, the table most likely would not have rendered properly. What does the onClick JavaScript look like for the checkbox? Dan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@woodstock.dev.java.net For additional commands, e-mail: dev-help@woodstock.dev.java.net