Yes, it's necessary for the command-links of the tabbed-pane to have a form around them.
That's only true of recent releases - before we tried to render a dummy-form for the links. We got rid of the dummyForm behaviour a while ago - as it was incompatible with the RI-way of doing things. regards, Martin On 9/24/06, Dave <[EMAIL PROTECTED]> wrote:
HI Martin, I searched the HTML source and found there was a nested form generated for Tabbed panel. If there is no form enclosing the tabbedPanel, a form will be generated. If I put a form inside the tabbedPanel, the page will have a nested form. The solution is one form enclosing the tabbedPanel. Thanks for your suggestion that led to the fix. Dave Martin Marinschek <[EMAIL PROTECTED]> wrote: 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 wrote: > The javascript looks good to me. What's your html-header? > > regards, > > Martin > > On 9/22/06, Mike Kienenberger 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 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 > > > > > > > > > action="/foo.faces" > > > enctype="application/x-www-form-urlencoded" > > > class="standard">> > > name="foo:bar:aform:_idJsp147" type="text" value="" />> > > 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();}" > > > /> > > > > > > > > > name="foo:bar:aform:_link_hidden_" /> > > > > > > ------ > > > 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 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 ________________________________ Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
-- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

