Do me a favour and check if you have forms embedded in a form. That's disallowed in HTML, and might be the reason for this!
regards, Martin On 9/22/06, Martin Marinschek <[EMAIL PROTECTED]> wrote:
The javascript looks good to me. What's your html-header? regards, Martin On 9/22/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > Supposedly Myfaces Core 1.1.4 and Tomahawk 1.1.3 are compatible. But > maybe we missed something. > > I'm using Core 1.1.4 and Tomahawk 1.1.5-snapshot (Aug 18th) myself. > > Wait a little bit and see if someone more knowledgeable about > javascript comes online to help you. I'm pretty useless when it > comes to javascript errors. > > On 9/22/06, Dave <[EMAIL PROTECTED]> wrote: > > I have already removed MyFaces libs coming with JBoss. But it did not solve > > the issue. > > > > In FireFox javascipt console: > > > > Error: Error in parsing value for property 'cursor'. Declaration dropped. > > Source File: > > http://localhost:8080/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11589087/tabbedpane.HtmlTabbedPaneRenderer/defaultStyles.css > > Line: 40 > > .myFaces_panelTabbedPane_disabledHeaderCell label{ cursor: > > normal; background-color: silver; } > > > > > > Error: f has no properties > > Source File: http://localhost:8080/foo.faces > > Line: 148 > > > > <form id="foo:bar:aform" name="foo:bar:aform" method="post" > > action="/foo.faces" > > enctype="application/x-www-form-urlencoded" > > class="standard"><input id="'foo:bar:aform:_idJsp147" > > name="foo:bar:aform:_idJsp147" type="text" value="" /><input > > id="foo:bar:aform:search" name="foo:bar:aform:search" type="submit" > > value="Search" > > onclick="clear_foo_3Abar_3Aaform();if(window.getScrolling!=undefined){document.forms['foo:bar:aform'].elements['autoScroll'].value=getScrolling();}" > > /><input type="hidden" name="foo:bar:aform_SUBMIT" value="1" /> > > <input type="hidden" name="autoScroll" /> > > <input type="hidden" name="jsf_sequence" value="6" /><input type="hidden" > > name="foo:bar:aform:_link_hidden_" /><script > > type="text/javascript"><!--function clear_foo_3Abar_3Aaform() { var f = > > document.forms['foo:bar:aform']; > > f.elements['foo:bar:aform:_link_hidden_'].value=''; > > f.target=''; } clear_foo_3Abar_3Aaform(); //--></script></form> > > > > ------ > > The 2nd error message says f has no properties. The form does not have > > "target" property, but I am not sure whether that is what it means. > > > > MyFaces and Tomahawk, which combination is tested to be compatible? > > > > Thanks for help. > > > > > > Mike Kienenberger <[EMAIL PROTECTED]> wrote: > > I haven't tried that particular combination of MyFaces Core and > > Tomahawk, but it's possible that there's a javascript incompatibility > > between them. It may also be that you've simply got the extensions > > filter configuration wrong. The easiest thing to do would be to > > check to see what javascript errors firefox is showing. > > > > On 9/22/06, Dave wrote: > > > I did not add my own JavaScript code. All JavaScript code are generated by > > > MyFaces. Anyone saw the same error message on IE status bar? > > > > > > Thanks! > > > > > > Mike Kienenberger wrote: > > > I'd guess javascript errors. Firefox has a separate console window > > > that will display them. > > > Don't remember how it's done for IE. > > > > > > On 9/22/06, Dave wrote: > > > > I saw "Errors on Page" message on IE status bar after showing a MyFaces > > > > page, but I did not see the error message on FireFox. The page seems > > > working > > > > well, but users does not like the error message on the status bar. > > > > > > > > Is there a way to debug it? What might be the cause? > > > > > > > > I am using MyFaces 1.1.4 and Tomahawk 1.1.3 on JBoss AS 4.0.4CR2. > > > > > > > > Thanks for help. > > > > > > > > ________________________________ > > > > All-new Yahoo! Mail - Fire up a more powerful email and get things done > > > > faster. > > > > > > > > > > > > > > > > > > > > ________________________________ > > > All-new Yahoo! Mail - Fire up a more powerful email and get things done > > > faster. > > > > > > > > > > > > > > ________________________________ > > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates > > starting at 1ยข/min. > > > > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces
-- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

