3 Replies Latest reply on Jan 29, 2007 9:25 AM by vitozabal

    IceFaces in JBPortal 2.6DR1

    vitozabal

      I found one issue with JBPortal 2.6DR1 related to using ajax. I deployed IceFaces Seam example portlet from http://wiki.jboss.org/wiki/Wiki.jsp?page=IcefacesSeamFaceletsPortlet on my configuration (JBoss4.0.5GA/JBPortal2.6 DR1). It is work fine while Im browsing by FireFox 1.5. But it gives an ajax-related javascript error when I use MS IE6.0.

      Moreover, if I use JBPortal2.4 - this ajax example works properly both with FireFox and MS IE.

      It seems there is some problem with javascript code in JBP2.6 DR1. What do you think?

        • 1. Re: IceFaces in JBPortal 2.6DR1
          theute

          The difference is that 2.6 is using some Ajax, so maybe there is some sort of collision.

          What error do you get ?

          • 2. Re: IceFaces in JBPortal 2.6DR1
            vitozabal

            Java script error:
            Line: 1668
            Char: 1
            Error: Object doesn't support this property or method
            Code: 0

            generated html code of this portlet:

            <div id="default.default.HelloWorldIcefacesSeamPortletWindow">
             <div class="portlet-container"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td class="portlet-titlebar-left"></td><td class="portlet-titlebar-center handle"><div class="portlet-titlebar-decoration"><span class="portlet-titlebar-title">HelloWorldIcefacesSeamPortletWindow</span></div><div class="portlet-mode-container"><div class="portlet-mode-minimized" onClick="location.href='/dilsy/portal/default/default/HelloWorldIcefacesSeamPortletWindow?action=a&windowstate=minimized';" title="minimized"></div><div class="portlet-mode-maximized" onClick="location.href='/dilsy/portal/default/default/HelloWorldIcefacesSeamPortletWindow?action=a&windowstate=maximized';" title="maximized"></div></div></td><td class="portlet-titlebar-right"></td></tr><tr><td class="portlet-content-left"></td><td class="portlet-body"><div class="portlet-content-center"><script language='javascript' src='/helloworld-icefaces-seam-portlet/xmlhttp/icefaces-d2d.js'></script><iframe frameborder="0" id="history-frame" style="z-index: 10000; visibility: hidden; width: 0; height: 0; opacity: 0.22; filter: alpha(opacity=22);"></iframe><form action="iceSubmit('jbpc863eae7_id1');" class="iceForm" context_type="class com.icesoft.faces.context.BridgeFacesContext" enctype="application/x-www-form-urlencoded" id="jbpc863eae7_id1" method="post" onsubmit="return false;" style=""><input name="jbpc863eae7_id1" type="hidden" value="jbpc863eae7_id1"></input>
             <input name="icefacesCssUpdates" type="hidden" value=""></input>
             <input name="viewNumber" type="hidden" value="1004"></input>
             <input name="icefacesID" type="hidden" value="pcWeftIALIDmUpJwEh_eag"></input>
             <div class="iceOutConStat" id="connection-status" style=""><div class="iceOutConStatInactive" id="connection-idle">Active: Idle.</div>
             <div class="iceOutConStatActive" id="connection-working" style="visibility: hidden;">Active: Working...</div>
             <div class="iceOutConStatCaution" id="connection-trouble" style="visibility: hidden;">Caution: Connection in danger.</div>
             <div class="iceOutConStatDisconnect" id="connection-lost" style="visibility: hidden;">Disconnected.</div></div>
             <table border="0" cellpadding="0" cellspacing="0" class="iceTabSet" id="jbpc863eae7_id1:jbpc863eae7_id3"><tr><td class="icePanelTab" id="jbpc863eae7_id1:jbpc863eae7_id3ht0"><table cellpadding="0" cellspacing="0" class="iceTabSetTabOn"><tr><td class="LeftTop"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td><td class="MiddleTop"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td><td class="RightTop"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td></tr>
             <tr><td class="LeftMiddle"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td><td class="MiddleMiddle"><a href="#" id="jbpc863eae7_id1:jbpc863eae7_id3.0" name="jbpc863eae7_id1:jbpc863eae7_id3.0" onblur="setFocus('');" onclick="document.forms['jbpc863eae7_id1']['jbpc863eae7_id1:_idcl'].value='jbpc863eae7_id1:jbpc863eae7_id3';iceSubmitPartial( document.forms['jbpc863eae7_id1'], this,event); return false;" onfocus="setFocus(this.id);"><table cellpadding="0" cellspacing="0"><tr><td><img border="border" class="iceTabSetHdrIconLeft" src="/helloworld-icefaces-seam-portlet/images/hello.png"></img></td><td class="MiddleMiddle">Hello</td></tr></table></a></td><td class="RightMiddle"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td></tr>
             <tr><td class="LeftBottom"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td><td class="MiddleBottom"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td><td class="RightBottom"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td></tr></table></td><td class="icePanelTab" id="jbpc863eae7_id1:jbpc863eae7_id3ht1"><table cellpadding="0" cellspacing="0" class="iceTabSetTabOff" onmouseout="this.className='iceTabSetTabOff';" onmouseover="this.className='iceTabSetTabOver';"><tr><td class="LeftTop"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td><td class="MiddleTop"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td><td class="RightTop"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td></tr>
             <tr><td class="LeftMiddle"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td><td class="MiddleMiddle"><a href="#" id="jbpc863eae7_id1:jbpc863eae7_id3.1" name="jbpc863eae7_id1:jbpc863eae7_id3.1" onblur="setFocus('');" onclick="document.forms['jbpc863eae7_id1']['jbpc863eae7_id1:_idcl'].value='jbpc863eae7_id1:jbpc863eae7_id3';iceSubmitPartial( document.forms['jbpc863eae7_id1'], this,event); return false;" onfocus="setFocus(this.id);"><table cellpadding="0" cellspacing="0"><tr><td><img border="border" class="iceTabSetHdrIconLeft" src="/helloworld-icefaces-seam-portlet/images/goodbye.png"></img></td><td class="MiddleMiddle">Good Bye</td></tr></table></a></td><td class="RightMiddle"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td></tr>
             <tr><td class="LeftBottom"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td><td class="MiddleBottom"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td><td class="RightBottom"><img alt="" height="1" src="/helloworld-icefaces-seam-portlet/xmlhttp/css/xp/css-images/spacer.gif" width="4"></img></td></tr></table></td><td class="iceTabSetTabSpacer"> </td></tr>
             <tr height="100%"><td class="iceTabSet" colspan="3" id="jbpc863eae7_id1:jbpc863eae7_id3td2"><span class="icePanelTab" id="jbpc863eae7_id1:jbpc863eae7_id3:jbpc863eae7_id4"><table border="0" class="icePnlGrd" id="jbpc863eae7_id1:jbpc863eae7_id3:jbpc863eae7_id5" style=""><tbody><tr class="icePnlGrdRow1"><td class="icePnlGrdColumn1" id="jbpc863eae7_id1:jbpc863eae7_id3:jbpc863eae7_id5-0-0"><span class="portlet-font" id="jbpc863eae7_id1:jbpc863eae7_id3:jbpc863eae7_id6" style="">Name:</span></td><td class="icePnlGrdColumn2" id="jbpc863eae7_id1:jbpc863eae7_id3:jbpc863eae7_id5-0-1"><input class="iceInputtext" id="jbpc863eae7_id1:jbpc863eae7_id3:jbpc863eae7_id7" name="jbpc863eae7_id1:jbpc863eae7_id3:jbpc863eae7_id7" onblur="setFocus('');iceSubmitPartial(form,this,event); return false;" onfocus="setFocus(this.id);" onkeypress="iceSubmit(form,this,event);" style="" type="text"></input></td></tr></tbody></table>
             <br><h3><span class="portlet-font" id="jbpc863eae7_id1:jbpc863eae7_id3:jbpc863eae7_id10" style=""></span></h3></span></td></tr></table>
             <input command_link_hidden_field="command_link_hidden_field" name="focus_hidden_field" type="hidden"></input>
             <input command_link_hidden_field="command_link_hidden_field" name="jbpc863eae7_id1:_ideventModel" type="hidden"></input>
             <input command_link_hidden_field="command_link_hidden_field" name="jbpc863eae7_id1:_idcl" type="hidden"></input></form><script id="dynamic-code" language="javascript"></script></div></td><td class="portlet-content-right"></td></tr><tr><td class="portlet-footer-left"></td><td class="portlet-footer-center"></td><td class="portlet-footer-right"></td></tr></table></div></div></div>
            


            • 3. Re: IceFaces in JBPortal 2.6DR1
              vitozabal

              So what about this issue?