I don't... 

BTJ

On Fri, 1 Jun 2007 07:00:17 +0200
<[EMAIL PROTECTED]> wrote:

> Hi
> 
> Be aware the you can not have two panelnavigation2 menus on the same page.
> 
> Hermod
> 
> -----Original Message-----
> From: Bjørn T Johansen [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 31, 2007 3:07 PM
> To: users@myfaces.apache.org
> Subject: Re: This code works in all other browsers than Firefox, why?
> 
> 
> I removed the jscookmenu and started using panelnavigation2 instead and then 
> I noticed that now the submit by
> using the enter key is suddenly working using Firefox.... Something fishy 
> with the jscookmenu or?
> 
> BTJ
> 
> On Tue, 29 May 2007 15:30:43 +0100
> "Bruno Aranda" <[EMAIL PROTECTED]> wrote:
> 
> > Are you getting any javascript error? Can you give it a shot with
> > firebug (useful firefox plugin). Maybe you can see what is
> > happening...
> > 
> > Cheers,
> > 
> > Bruno
> > 
> > On 29/05/07, Bjørn T Johansen <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> > >
> > > <html>
> > >         <head>
> > > <script type="text/javascript"
> > > src="/nibstoreweb/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11804471/navmenu.jscookmenu.HtmlJSCookMenuRenderer/JSCookMenu.js"><!--
> > >
> > > //--></script>
> > > <script type="text/javascript"
> > > src="/nibstoreweb/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11804471/navmenu.jscookmenu.HtmlJSCookMenuRenderer/MyFacesHack.js"><!--
> > >
> > > //--></script>
> > > <script type="text/javascript"><!--
> > > var
> > > myThemeOfficeBase='/nibstoreweb/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11804471/navmenu.jscookmenu.HtmlJSCookMenuRenderer/ThemeOffice/';
> > >  //--></script>
> > > <script type="text/javascript"
> > > src="/nibstoreweb/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11804471/navmenu.jscookmenu.HtmlJSCookMenuRenderer/ThemeOffice/theme.js"><!--
> > >
> > > //--></script>
> > >
> > > <link rel="stylesheet" 
> > > href="/nibstoreweb/css/jscookmenu/ThemeOffice/theme.css" type="text/css" 
> > > />
> > >                 <meta http-equiv="Content-Type" content="text/html; 
> > > charset=ISO-8859-1">
> > >         <meta http-equiv="Pragma" content="no-cache" />
> > >         <meta http-equiv="Expires" content="-1" />
> > >         <meta name="COPYRIGHT" CONTENT="Copyright (c) 2007 by ASP AS">
> > >         <link rel="stylesheet" type="text/css" 
> > > href="/nibstoreweb/css/stylesheet.css"/>
> > >                 <title>NIB</title>
> > >         <SCRIPT LANGUAGE="JavaScript" 
> > > SRC="/nibstoreweb/secure/common/common.js"></SCRIPT>
> > >
> > >     </head>
> > >
> > >
> > >
> > >     <body class="page-background">
> > >
> > >
> > >         <form id="menu:formMenu" name="menu:formMenu" method="post"
> > > action="/nibstoreweb/secure/article/findarticle.faces" 
> > > enctype="application/x-www-form-urlencoded"><table
> > > border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td 
> > > width="60%"><script
> > > type="text/javascript"><!-- var menu_formMenu_mainMenu_menu = [[null, 
> > > 'Hovedmeny',
> > > 'menu_formMenu_mainMenu_menu:L]#{mainMenu.actionListener};Hovedmeny', 
> > > 'menu:formMenu', null,[null, 'Vare',
> > > 'menu_formMenu_mainMenu_menu:L]#{mainMenu.actionListener};Vare:A]#{mainMenu.article}',
> > >  'menu:formMenu',
> > > null], [null, 'Leverand&#248;r',
> > > 'menu_formMenu_mainMenu_menu:L]#{mainMenu.actionListener};Leverand&#248;r:A]#{mainMenu.supplier}',
> > > 'menu:formMenu', null], [null, 'Foresp&#248;rsler',
> > > 'menu_formMenu_mainMenu_menu:L]#{mainMenu.actionListener};Foresp&#248;rsler:A]#{mainMenu.requests}',
> > > 'menu:formMenu', null], [null, 'Logg ut', 
> > > 'menu_formMenu_mainMenu_menu:L]#{mainMenu.actionListener};Logg
> > > ut:A]#{mainMenu.logout}', 'menu:formMenu', null]]]; //--></script><div
> > > id="menu_formMenu_mainMenu_menu"></div> <script 
> > > type="text/javascript"><!-- if(window.cmDraw!=undefined)
> > > { cmDraw ('menu_formMenu_mainMenu_menu', menu_formMenu_mainMenu_menu, 
> > > 'hbr', cmThemeOffice,
> > > 'ThemeOffice');} //--></script></td><td width="30%"></td><td 
> > > align="right"></td></tr></table><input
> > > type="hidden" name="menu:formMenu_SUBMIT" value="1" /> <input 
> > > type="hidden" name="autoScroll" /> <input
> > > type="hidden" name="jscook_action" /><script type="text/javascript"><!--
> > >
> > >         function clear_menu_3AformMenu()
> > >         {
> > >                 clearFormHiddenParams_menu_formMenu('menu:formMenu');
> > >         }
> > >
> > >         function clearFormHiddenParams_menu_formMenu(currFormName)
> > >         {
> > >                 var f = document.forms['menu:formMenu'];
> > >                 f.elements['jscook_action'].value='';
> > >                 f.target='';
> > >         }
> > >
> > >         clearFormHiddenParams_menu_formMenu();
> > > //--></script><input type="hidden" name="javax.faces.ViewState" 
> > > id="javax.faces.ViewState"
> > > value="8EgC7hvJoXWgMHaUZxk5rx66APlnNueyP32ajDxbvc/i5akMf2jX5eYYlouo1lab4HNkKYGMn9PoWi1WBRzb471RJkmy5UcKOQcojsE1dBwUY9zw1xhkTA=="
> > >  /></form>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >       <table border="0" width="100%" cellspacing="0">
> > >         <!--<tr>-->
> > >           <!--<td>-->
> > >
> > >
> > >
> > >           <!--</td>-->
> > >         <!--</tr>-->
> > >         <tr>
> > >           <td>
> > >
> > >               <form id="content:formFindArticle" 
> > > name="content:formFindArticle" method="post"
> > > action="/nibstoreweb/secure/article/findarticle.faces" 
> > > enctype="application/x-www-form-urlencoded"><input
> > > id="content:formFindArticle:popupArticleGroupSubmitBtn"
> > > name="content:formFindArticle:popupArticleGroupSubmitBtn" type="submit" 
> > > value="popupArticleGroupSubmit"
> > > onclick="if(typeof
> > > window.clearFormHiddenParams_content_formFindArticle!='undefined'){clearFormHiddenParams_content_formFindArticle('content:formFindArticle');}if(typeof
> > > window.getScrolling!='undefined'){oamSetHiddenInput('content:formFindArticle','autoScroll',getScrolling());}"
> > > style="display:none" /> <input type="hidden" name="autoScroll" />
> > >
> > > <input id="content:formFindArticle:popupSupplierSubmitBtn"
> > > name="content:formFindArticle:popupSupplierSubmitBtn" type="submit" 
> > > value="popupSupplierSubmit"
> > > onclick="if(typeof
> > > window.clearFormHiddenParams_content_formFindArticle!='undefined'){clearFormHiddenParams_content_formFindArticle('content:formFindArticle');}if(typeof
> > > window.getScrolling!='undefined'){oamSetHiddenInput('content:formFindArticle','autoScroll',getScrolling());}"
> > > style="display:none" /><table border="0" cellpadding="5" 
> > > cellspacing="0"><tr><td
> > > colspan="2">&nbsp;</td></tr><tr><td class="label"><label 
> > > for="content:formFindArticle:varenr">Varenrs&#248;k:
> > > </label></td><td class="input" colspan="3"><input 
> > > id="content:formFindArticle:varenr"
> > > name="content:formFindArticle:varenr" type="text" value="" maxlength="25" 
> > > size="25" onkeypress="return
> > > submitEnter('content:formFindArticle:search', event);" 
> > > /></td></tr><tr><td class="label"><label
> > > for="content:formFindArticle:overgruppe">Varegruppes&#248;k: 
> > > </label></td><td class="input"><input
> > > id="content:formFindArticle:overgruppe" 
> > > name="content:formFindArticle:overgruppe" type="text" value=""
> > > maxlength="2" size="2" /><input id="content:formFindArticle:hovedgruppe"
> > > name="content:formFindArticle:hovedgruppe" type="text" value="" 
> > > maxlength="2" size="2" /><input
> > > id="content:formFindArticle:undergruppe" 
> > > name="content:formFindArticle:undergruppe" type="text" value=""
> > > maxlength="5" size="5" onkeypress="if ((event.charCode &amp;&amp; 
> > > event.charCode == 13) || (event.keyCode
> > > &amp;&amp; event.keyCode == 13))
> > > document.getElementById('content.formFindArticle:search').onclick();" 
> > > /><input
> > > id="content:formFindArticle:_idJsp23" 
> > > name="content:formFindArticle:_idJsp23" type="submit" value="&gt;"
> > > onclick="if(typeof
> > > window.clearFormHiddenParams_content_formFindArticle!='undefined'){clearFormHiddenParams_content_formFindArticle('content:formFindArticle');}if(typeof
> > > window.getScrolling!='undefined'){oamSetHiddenInput('content:formFindArticle','autoScroll',getScrolling());}"
> > >  /></td></tr><tr><td
> > > class="label"><label 
> > > for="content:formFindArticle:fritekst">Friteksts&#248;k: </label></td><td
> > > class="input"><input id="content:formFindArticle:fritekst" 
> > > name="content:formFindArticle:fritekst"
> > > type="text" value="" maxlength="50" size="40" 
> > > /></td></tr><tr><td>&nbsp;</td><td><input
> > > id="content:formFindArticle:search" name="content:formFindArticle:search" 
> > > type="submit" value="S&#248;k"
> > > onclick="if(typeof
> > > window.clearFormHiddenParams_content_formFindArticle!='undefined'){clearFormHiddenParams_content_formFindArticle('content:formFindArticle');}if(typeof
> > > window.getScrolling!='undefined'){oamSetHiddenInput('content:formFindArticle','autoScroll',getScrolling());}"
> > >  /></td></tr><tr><td>&nbsp;</td></tr></table><input
> > > type="hidden" name="content:formFindArticle_SUBMIT" value="1" /><input 
> > > type="hidden"
> > > name="content:formFindArticle:_link_hidden_" /><input type="hidden"
> > > name="content:formFindArticle:_idcl" /><script type="text/javascript"><!--
> > >
> > >         function clear_content_3AformFindArticle()
> > >         {
> > >                 
> > > clearFormHiddenParams_content_formFindArticle('content:formFindArticle');
> > >         }
> > >
> > >         function 
> > > clearFormHiddenParams_content_formFindArticle(currFormName)
> > >         {
> > >                 var f = document.forms['content:formFindArticle'];
> > >                 
> > > f.elements['content:formFindArticle:_link_hidden_'].value='';
> > >                 f.elements['content:formFindArticle:_idcl'].value='';
> > >                 f.target='';
> > >         }
> > >
> > >         clearFormHiddenParams_content_formFindArticle();
> > > //--></script><input type="hidden" name="javax.faces.ViewState" 
> > > id="javax.faces.ViewState"
> > > value="8EgC7hvJoXWgMHaUZxk5rx66APlnNueyP32ajDxbvc/i5akMf2jX5eYYlouo1lab4HNkKYGMn9PoWi1WBRzb471RJkmy5UcKOQcojsE1dBwUY9zw1xhkTA=="
> > >  /></form>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >           </td>
> > >
> > >         </tr>
> > >         <tr>
> > >           <td>
> > >             &nbsp;
> > >           </td>
> > >         </tr>
> > >         <tr>
> > >           <td>
> > >             <hr/>
> > >
> > >           </td>
> > >         </tr>
> > >         <tr>
> > >           <td>
> > >             <table styleClass="bordertop" cellpadding="1" cellspacing="0" 
> > > width="100%">
> > >               <tr>
> > >                 <td>
> > >                   <div align="center"><font color="#525D76" size="-3"><em>
> > >                   Copyright &#169; 2007, ASP AS
> > >                   </em></font></div><div align="center"><font 
> > > color="#525D76" size="-3"><em>
> > >
> > >                     Developed by ASP AS, version
> > >                   </em></font></div>
> > >                 </td>
> > >               </tr>
> > >             </table>
> > >           </td>
> > >         </tr>
> > >       </table>
> > >     <!-- MYFACES JAVASCRIPT -->
> > >
> > > <script type="text/javascript"><!--
> > >
> > >         function getScrolling()
> > >         {
> > >                 var x = 0; var y = 0;if (self.pageXOffset || 
> > > self.pageYOffset)
> > >                 {
> > >                         x = self.pageXOffset;
> > >                         y = self.pageYOffset;
> > >                 }
> > >                  else if ((document.documentElement &&
> > > document.documentElement.scrollLeft)||(document.documentElement && 
> > > document.documentElement.scrollTop)) {
> > >                         x = document.documentElement.scrollLeft;
> > >                         y = document.documentElement.scrollTop;
> > >                 }
> > >                  else if (document.body)
> > >                 {
> > >                         x = document.body.scrollLeft;
> > >                         y = document.body.scrollTop;
> > >                 }
> > >                 return x + "," + y;
> > >         }
> > >
> > > //--></script>
> > >
> > > </body>
> > >
> > > </html>
> > >
> > >
> > > This is the code that is generated and works in IE, Opera and Konqueror 
> > > but not in Firefox... I input a value
> > > in the input field "content:formFindArticle:varenr" and press Enter, 
> > > which should submit the page and call a
> > > search method... When pressing Enter in Firefox, it looks like the page 
> > > is submitted and the search method is
> > > called but at the end the same page is redrawn without any changes done 
> > > by the search method...
> > >
> > > Can anyone explain why this doesn't work in Firefox?
> > >
> > >
> > > Regards,
> > >
> > > BTJ
> > >
> > > --
> > > -----------------------------------------------------------------------------------------------
> > > Bjørn T Johansen
> > >
> > > [EMAIL PROTECTED]
> > > -----------------------------------------------------------------------------------------------
> > > Someone wrote:
> > > "I understand that if you play a Windows CD backwards you hear strange 
> > > Satanic messages"
> > > To which someone replied:
> > > "It's even worse than that; play it forwards and it installs Windows"
> > > -----------------------------------------------------------------------------------------------
> > >
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> 
> This email with attachments is solely for the use of the individual or
> entity to whom it is addressed. Please also be aware that the DnB NOR Group
> cannot accept any payment orders or other legally binding correspondence with
> customers as a part of an email. 
> 
> This email message has been virus checked by the anti virus programs used
> in the DnB NOR Group.
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Reply via email to