1 2 3 Previous Next 34 Replies Latest reply on Jul 10, 2008 2:21 PM by Jason Porter Go to original post
      • 30. Re: WSRP: images, css, and javascript from ICEfaces not comi
        Jason Porter Master

        Oops :)

        java.lang.NullPointerException
         at org.jboss.portal.wsrp.producer.AbsoluteURLReplacementGenerator.<init>(AbsoluteURLReplacementGenerator.java:41)
         at org.jboss.portal.wsrp.producer.RenderRequestProcessor.processFragmentString(RenderRequestProcessor.java:192)
         at org.jboss.portal.wsrp.producer.RenderRequestProcessor.processResponse(RenderRequestProcessor.java:136)
         at org.jboss.portal.wsrp.producer.MarkupHandler.getMarkup(MarkupHandler.java:106)
         at org.jboss.portal.wsrp.producer.WSRPProducerImpl.getMarkup(WSRPProducerImpl.java:177)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
         at $Proxy366.getMarkup(Unknown Source)
         at org.jboss.portal.wsrp.endpoints.MarkupEndpoint.getMarkup(MarkupEndpoint.java:61)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.wsf.container.jboss42.DefaultInvocationHandler.invoke(DefaultInvocationHandler.java:102)
         at org.jboss.wsf.container.jboss42.DefaultInvocationHandlerJAXRPC.invoke(DefaultInvocationHandlerJAXRPC.java:57)
         at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:220)
         at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408)
         at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
         at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
         at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
         at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.portal.wsrp.servlet.TransactionFilter.doFilter(TransactionFilter.java:78)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.portal.wsrp.servlet.ServletAccessFilter.doFilter(ServletAccessFilter.java:54)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
         at java.lang.Thread.run(Thread.java:613)
        


        I'll start debugging.

        • 31. Re: WSRP: images, css, and javascript from ICEfaces not comi
          Jason Porter Master

          Inside of RenderRequestProcessor.processFragment

          invocation.getDispatchedRequest() == null

          invocation.getRequestContext() == org.jboss.portal.wsrp.producer.WSRPRequestContext@3fc190

          You could make the AbsoluteURLReplacementGenerator class a singleton, or cache it somewhere for the life of the request as the serverAddress is not going to change for a request. I'm not sure of any other ideas at the moment :(

          "result"= "<div>\n<div id="cntIncDiv" style="display: none;"><script src="/nomination_poc/xmlhttp/1215704693308/icefaces-d2d.js" type="text/javascript"></script>\n<script src="/nomination_poc/xmlhttp/1215704693308/ice-extras.js" type="text/javascript"></script></div><script id="-SOdMtizEMwQL5IPbrUdDg:1:configuration-script" type="text/javascript">if (!window.sessions) window.sessions = []; window.sessions.push('-SOdMtizEMwQL5IPbrUdDg');\nvar container = '-SOdMtizEMwQL5IPbrUdDg:1:configuration-script'.asElement().parentNode;\ncontainer.bridge = new Ice.Community.Application({session: '-SOdMtizEMwQL5IPbrUdDg',view: 1,synchronous: false,redirectURI: null,connection: {context: {current: '/nomination_poc/',async: '/nomination_poc/'},timeout: 60000,heartbeat: {interval: 50000,timeout: 30000,retries: 3}}}, container);</script><iframe frameborder="0" id="history-frame" src="/nomination_poc/xmlhttp/blank" style="z-index: 10000; visibility: hidden; width: 0; height: 0; position: absolute; opacity: 0.22; filter: alpha(opacity=22);" title="Icefaces Redirect"></iframe><div class="menuButtons"><table class="icePnlGrd" id="menuPanelGrid"><tbody><tr class="icePnlGrdRow1"><td class="icePnlGrdCol leftMenu" id="menuPanelGrid-0-0"><div class="icePnlGrp" id="leftMenuId"><span class="iceOutTxt" id="menuProjectNameId">nomination_poc:</span>\n<a href="wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2Fhome.seam%3Fcid%3D4&wsrp-requiresRewrite=true/wsrp_rewrite" id="menuHomeId">Home</a>\n<a href="wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FApprovalList.seam&wsrp-requiresRewrite=true/wsrp_rewrite" id="ApprovalId">Approval List</a>\n<a href="wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FAwardlevelList.seam&wsrp-requiresRewrite=true/wsrp_rewrite" id="AwardlevelId">Awardlevel List</a>\n<a href="wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FNomination.seam&wsrp-requiresRewrite=true/wsrp_rewrite" id="NominationCreateId">Create Nomination</a>\n<a href="wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FNominationList.seam&wsrp-requiresRewrite=true/wsrp_rewrite" id="NominationId">Nomination List</a>\n<a href="wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FEmployeeList.seam&wsrp-requiresRewrite=true/wsrp_rewrite" id="EmployeeId">Employee List</a></div></td><td class="icePnlGrdCol rightMenu" id="menuPanelGrid-0-1"><div class="icePnlGrp" id="rightMenuId"><a href="wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2Flogin.seam%3Fcid%3D4&wsrp-requiresRewrite=true/wsrp_rewrite" id="menuLoginId">Login</a></div></td></tr></tbody></table></div><div class="iceOutConStat connectionStatus" id="j_id11"><div class="iceOutConStatInactv Inactv connectionStatusInactv" id="j_id11:connection-idle"></div>\n<div class="iceOutConStatActv Actv connectionStatusActv" id="j_id11:connection-working" style="visibility: hidden;">requesting...</div>\n<div class="iceOutConStatCaution Caution connectionStatusCaution" id="j_id11:connection-trouble" style="visibility: hidden;"></div>\n<div class="iceOutConStatDisconnect Disconnect connectionStatusDisconnect" id="j_id11:connection-lost" style="visibility: hidden;"></div>\n<script type="text/javascript">'j_id11'.asExtendedElement().findContainerFor('bridge').bridge.attachStatusManager(function(defaultStatusManager) {return new Ice.Status.ComponentStatusManager('j_id11:connection-working', 'j_id11:connection-idle', 'j_id11:connection-trouble', 'j_id11:connection-lost', defaultStatusManager);}, false);</script></div><div class="body"><div id="wsrp_rewrite_"><link href="/nomination_poc/xmlhttp/css/xp/xp-portlet.css" rel="stylesheet" type="text/css" /><link href="/nomination_poc/stylesheet/theme.css" rel="stylesheet" type="text/css" /><ul id="wsrp_rewrite_:globalMessages" style="display:none;"><li></li></ul>\n<form action="iceSubmit('wsrp_rewrite_:j_id16');" class="iceFrm" enctype="application/x-www-form-urlencoded" id="wsrp_rewrite_:j_id16" method="post" onsubmit="return false;"><script type="text/javascript">$element(document.getElementById('wsrp_rewrite_:j_id16')).captureAndRedirectSubmit();</script><input name="wsrp_rewrite_:j_id16" type="hidden" value="wsrp_rewrite_:j_id16" /><input name="icefacesCssUpdates" type="hidden" value="" /><input name="cid" type="hidden" value="4" /><div class="icePnlClpsblColpsd" id="wsrp_rewrite_:j_id16:j_id18"><div class="icePnlClpsblColpsdHdr" onclick="document.forms['wsrp_rewrite_:j_id16']['wsrp_rewrite_:j_id16:j_id18Expanded'].value='false'; iceSubmit(document.forms['wsrp_rewrite_:j_id16'],this,event); return false;"><h3 style="text-align: center">All Nominations</h3></div>\n<div class="icePnlClpsblColpsdCnt"></div><input name="wsrp_rewrite_:j_id16:j_id18Expanded" type="hidden" /></div>\n<div id="wsrp_rewrite_:j_id16hdnFldsDiv"><input name="focus_hidden_field" type="hidden" /></div></form>\n<br /><form action="iceSubmit('wsrp_rewrite_:j_id39');" class="iceFrm" enctype="application/x-www-form-urlencoded" id="wsrp_rewrite_:j_id39" method="post" onsubmit="return false;"><script type="text/javascript">$element(document.getElementById('wsrp_rewrite_:j_id39')).captureAndRedirectSubmit();</script><input name="wsrp_rewrite_:j_id39" type="hidden" value="wsrp_rewrite_:j_id39" /><input name="icefacesCssUpdates" type="hidden" value="" /><input name="cid" type="hidden" value="4" /><div class="icePnlGrp" id="wsrp_rewrite_:j_id39:j_id40"><div id="wsrp_rewrite_:j_id39:firstnamedecId"><div class="prop" id="displayProp"><span class="name" id="displayName">First Name</span>\n<span class="value" id="displayValue"><input class="iceInpTxt portlet-form-input-field" id="wsrp_rewrite_:j_id39:firstnamedecId:listfirstnameTextId" name="wsrp_rewrite_:j_id39:firstnamedecId:listfirstnameTextId" onblur="setFocus('');setFocus('');iceSubmitPartial(form,this,event); return false;" onfocus="setFocus(this.id);" onkeypress="iceSubmit(form,this,event);" onmousedown=";this.focus();" type="text" value="" /></span></div></div>\n<div id="wsrp_rewrite_:j_id39:lastnamedecId"><div class="prop" id="displayProp"><span class="name" id="displayName">Last Name</span>\n<span class="value" id="displayValue"><input class="iceInpTxt portlet-form-input-field" id="wsrp_rewrite_:j_id39:lastnamedecId:listlastnameTextId" name="wsrp_rewrite_:j_id39:lastnamedecId:listlastnameTextId" onblur="setFocus('');setFocus('');iceSubmitPartial(form,this,event); return false;" onfocus="setFocus(this.id);" onkeypress="iceSubmit(form,this,event);" onmousedown=";this.focus();" type="text" value="" /></span></div></div>\n<br /><input class="iceCmdBtn portlet-form-button" id="wsrp_rewrite_:j_id39:j_id44" name="wsrp_rewrite_:j_id39:j_id44" onblur="setFocus('');" onclick="iceSubmitPartial(form, this, event);return false;" onfocus="setFocus(this.id);" type="submit" value="Find Nominee" /></div>\n<div class="icePnlGrp" id="wsrp_rewrite_:j_id39:j_id46"><table cellspacing="0" class="iceDatTbl" id="wsrp_rewrite_:j_id39:employeeListTableId"><thead class="portlet-section-header"><tr><th class="iceDatTblColHdr1"><div id="hdrDv1">\n View Details</div></th>\n<th class="iceDatTblResBor" onmouseover="ResizableUtil.adjustHeight(this)" valign="top"><div class="iceDatTblResHdlr" onmousedown="new Ice.ResizableGrid(event);" style="cursor: e-resize; display:block; height:100%;"> </div></th>\n<th class="iceDatTblColHdr2"><div id="hdrDv2"><a class="iceCmdLnk columnHeader" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:listemployeeidLinkId" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:listemployeeidLinkId';iceSubmitPartial( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);">Employee Id </a></div></th>\n<th class="iceDatTblResBor" onmouseover="ResizableUtil.adjustHeight(this)" valign="top"><div class="iceDatTblResHdlr" onmousedown="new Ice.ResizableGrid(event);" style="cursor: e-resize; display:block; height:100%;"> </div></th>\n<th class="iceDatTblColHdr1"><div id="hdrDv3"><a class="iceCmdLnk columnHeader" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:listfirstnameLinkId" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:listfirstnameLinkId';iceSubmitPartial( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);">Employee Name </a></div></th></tr></thead>\n<tbody><tr class="iceDatTblRow1 portlet-section-body iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:0" onclick="Ice.tableRowClicked(event, false,'0', 'wsrp_rewrite_:j_id39', 'wsrp_rewrite_:j_id39:employeeListTableIdsel_rows');" onmouseout="this.className='iceDatTblRow1 portlet-section-body iceRowSel'" onmouseover="this.className=' portlet-section-body-hover iceRowSelMouseOver'"><td class="iceDatTblCol allCols"><div style="text-align:center"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:0:j_id50" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:0:j_id50';iceSubmitPartial( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);" style="border: none"><img alt="" class="iceGphImg" id="wsrp_rewrite_:j_id39:employeeListTableId:0:infoImg" src="/nomination_poc/wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080img%2Finfo.gif&wsrp-requiresRewrite=true/wsrp_rewrite" style="border: none" /></a></div></td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols">\n\t\t\t jkl123 </td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:0:selectNomineeLink" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:0:selectNomineeLink';iceSubmit( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);">Fourth Employee</a></td></tr>\n<tr class="iceDatTblRow2 portlet-section-alternate iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:1" onclick="Ice.tableRowClicked(event, false,'1', 'wsrp_rewrite_:j_id39', 'wsrp_rewrite_:j_id39:employeeListTableIdsel_rows');" onmouseout="this.className='iceDatTblRow2 portlet-section-alternate iceRowSel'" onmouseover="this.className=' portlet-section-body-hover iceRowSelMouseOver'"><td class="iceDatTblCol allCols"><div style="text-align:center"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:1:j_id50" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:1:j_id50';iceSubmitPartial( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);" style="border: none"><img alt="" class="iceGphImg" id="wsrp_rewrite_:j_id39:employeeListTableId:1:infoImg" src="/nomination_poc/wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080img%2Finfo.gif&wsrp-requiresRewrite=true/wsrp_rewrite" style="border: none" /></a></div></td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols">\n\t\t\t abc123 </td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:1:selectNomineeLink" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:1:selectNomineeLink';iceSubmit( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);">First Employee</a></td></tr>\n<tr class="iceDatTblRow1 portlet-section-body iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:2" onclick="Ice.tableRowClicked(event, false,'2', 'wsrp_rewrite_:j_id39', 'wsrp_rewrite_:j_id39:employeeListTableIdsel_rows');" onmouseout="this.className='iceDatTblRow1 portlet-section-body iceRowSel'" onmouseover="this.className=' portlet-section-body-hover iceRowSelMouseOver'"><td class="iceDatTblCol allCols"><div style="text-align:center"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:2:j_id50" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:2:j_id50';iceSubmitPartial( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);" style="border: none"><img alt="" class="iceGphImg" id="wsrp_rewrite_:j_id39:employeeListTableId:2:infoImg" src="/nomination_poc/wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080img%2Finfo.gif&wsrp-requiresRewrite=true/wsrp_rewrite" style="border: none" /></a></div></td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols">\n\t\t\t def456 </td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:2:selectNomineeLink" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:2:selectNomineeLink';iceSubmit( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);">Second Employee</a></td></tr>\n<tr class="iceDatTblRow2 portlet-section-alternate iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:3" onclick="Ice.tableRowClicked(event, false,'3', 'wsrp_rewrite_:j_id39', 'wsrp_rewrite_:j_id39:employeeListTableIdsel_rows');" onmouseout="this.className='iceDatTblRow2 portlet-section-alternate iceRowSel'" onmouseover="this.className=' portlet-section-body-hover iceRowSelMouseOver'"><td class="iceDatTblCol allCols"><div style="text-align:center"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:3:j_id50" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:3:j_id50';iceSubmitPartial( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);" style="border: none"><img alt="" class="iceGphImg" id="wsrp_rewrite_:j_id39:employeeListTableId:3:infoImg" src="/nomination_poc/wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080img%2Finfo.gif&wsrp-requiresRewrite=true/wsrp_rewrite" style="border: none" /></a></div></td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols">\n\t\t\t ghi789 </td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:3:selectNomineeLink" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:3:selectNomineeLink';iceSubmit( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);">Third Employee</a></td></tr>\n<tr class="iceDatTblRow1 portlet-section-body iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:4" onclick="Ice.tableRowClicked(event, false,'4', 'wsrp_rewrite_:j_id39', 'wsrp_rewrite_:j_id39:employeeListTableIdsel_rows');" onmouseout="this.className='iceDatTblRow1 portlet-section-body iceRowSel'" onmouseover="this.className=' portlet-section-body-hover iceRowSelMouseOver'"><td class="iceDatTblCol allCols"><div style="text-align:center"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:4:j_id50" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:4:j_id50';iceSubmitPartial( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);" style="border: none"><img alt="" class="iceGphImg" id="wsrp_rewrite_:j_id39:employeeListTableId:4:infoImg" src="/nomination_poc/wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080img%2Finfo.gif&wsrp-requiresRewrite=true/wsrp_rewrite" style="border: none" /></a></div></td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols">\n\t\t\t 123abc </td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:4:selectNomineeLink" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:4:selectNomineeLink';iceSubmit( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);">Fifth Employee</a></td></tr>\n<tr class="iceDatTblRow2 portlet-section-alternate iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:5" onclick="Ice.tableRowClicked(event, false,'5', 'wsrp_rewrite_:j_id39', 'wsrp_rewrite_:j_id39:employeeListTableIdsel_rows');" onmouseout="this.className='iceDatTblRow2 portlet-section-alternate iceRowSel'" onmouseover="this.className=' portlet-section-body-hover iceRowSelMouseOver'"><td class="iceDatTblCol allCols"><div style="text-align:center"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:5:j_id50" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:5:j_id50';iceSubmitPartial( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);" style="border: none"><img alt="" class="iceGphImg" id="wsrp_rewrite_:j_id39:employeeListTableId:5:infoImg" src="/nomination_poc/wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080img%2Finfo.gif&wsrp-requiresRewrite=true/wsrp_rewrite" style="border: none" /></a></div></td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols">\n\t\t\t 456def </td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:5:selectNomineeLink" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:5:selectNomineeLink';iceSubmit( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);">Sixth Employee</a></td></tr>\n<tr class="iceDatTblRow1 portlet-section-body iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:6" onclick="Ice.tableRowClicked(event, false,'6', 'wsrp_rewrite_:j_id39', 'wsrp_rewrite_:j_id39:employeeListTableIdsel_rows');" onmouseout="this.className='iceDatTblRow1 portlet-section-body iceRowSel'" onmouseover="this.className=' portlet-section-body-hover iceRowSelMouseOver'"><td class="iceDatTblCol allCols"><div style="text-align:center"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:6:j_id50" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:6:j_id50';iceSubmitPartial( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);" style="border: none"><img alt="" class="iceGphImg" id="wsrp_rewrite_:j_id39:employeeListTableId:6:infoImg" src="/nomination_poc/wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080img%2Finfo.gif&wsrp-requiresRewrite=true/wsrp_rewrite" style="border: none" /></a></div></td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols">\n\t\t\t 789ghi </td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:6:selectNomineeLink" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:6:selectNomineeLink';iceSubmit( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);">Seventh Employee</a></td></tr>\n<tr class="iceDatTblRow2 portlet-section-alternate iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:7" onclick="Ice.tableRowClicked(event, false,'7', 'wsrp_rewrite_:j_id39', 'wsrp_rewrite_:j_id39:employeeListTableIdsel_rows');" onmouseout="this.className='iceDatTblRow2 portlet-section-alternate iceRowSel'" onmouseover="this.className=' portlet-section-body-hover iceRowSelMouseOver'"><td class="iceDatTblCol allCols"><div style="text-align:center"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:7:j_id50" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:7:j_id50';iceSubmitPartial( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);" style="border: none"><img alt="" class="iceGphImg" id="wsrp_rewrite_:j_id39:employeeListTableId:7:infoImg" src="/nomination_poc/wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080img%2Finfo.gif&wsrp-requiresRewrite=true/wsrp_rewrite" style="border: none" /></a></div></td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols">\n\t\t\t 1a2b3c </td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:7:selectNomineeLink" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:7:selectNomineeLink';iceSubmit( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);">Mike Modano</a></td></tr>\n<tr class="iceDatTblRow1 portlet-section-body iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:8" onclick="Ice.tableRowClicked(event, false,'8', 'wsrp_rewrite_:j_id39', 'wsrp_rewrite_:j_id39:employeeListTableIdsel_rows');" onmouseout="this.className='iceDatTblRow1 portlet-section-body iceRowSel'" onmouseover="this.className=' portlet-section-body-hover iceRowSelMouseOver'"><td class="iceDatTblCol allCols"><div style="text-align:center"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:8:j_id50" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:8:j_id50';iceSubmitPartial( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);" style="border: none"><img alt="" class="iceGphImg" id="wsrp_rewrite_:j_id39:employeeListTableId:8:infoImg" src="/nomination_poc/wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080img%2Finfo.gif&wsrp-requiresRewrite=true/wsrp_rewrite" style="border: none" /></a></div></td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols">\n\t\t\t 4d5e6f </td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:8:selectNomineeLink" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:8:selectNomineeLink';iceSubmit( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);">Marty Turco</a></td></tr>\n<tr class="iceDatTblRow2 portlet-section-alternate iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:9" onclick="Ice.tableRowClicked(event, false,'9', 'wsrp_rewrite_:j_id39', 'wsrp_rewrite_:j_id39:employeeListTableIdsel_rows');" onmouseout="this.className='iceDatTblRow2 portlet-section-alternate iceRowSel'" onmouseover="this.className=' portlet-section-body-hover iceRowSelMouseOver'"><td class="iceDatTblCol allCols"><div style="text-align:center"><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:9:j_id50" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:9:j_id50';iceSubmitPartial( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);" style="border: none"><img alt="" class="iceGphImg" id="wsrp_rewrite_:j_id39:employeeListTableId:9:infoImg" src="/nomination_poc/wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2F172.29.37.175%3A8080img%2Finfo.gif&wsrp-requiresRewrite=true/wsrp_rewrite" style="border: none" /></a></div></td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols">\n\t\t\t 7g8h9i </td><td class="iceDatTblBlkTd"><img src="/nomination_poc/xmlhttp/css/xp/css-images/spacer.gif" /></td><td class="iceDatTblCol allCols"><input name="wsrp_rewrite_:j_id39:employeeListTableIdsel_rows" type="hidden" /><a class="iceCmdLnk" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:9:selectNomineeLink" onblur="setFocus('');" onclick="document.forms['wsrp_rewrite_:j_id39']['wsrp_rewrite_:j_id39:_idcl'].value='wsrp_rewrite_:j_id39:employeeListTableId:9:selectNomineeLink';iceSubmit( document.forms['wsrp_rewrite_:j_id39'], this,event); return false;" onfocus="setFocus(this.id);">Brendon Morrow</a></td></tr></tbody></table></div>\n<div id="wsrp_rewrite_:j_id39hdnFldsDiv"><input name="focus_hidden_field" type="hidden" /><input name="wsrp_rewrite_:j_id39:_idcl" type="hidden" /></div></form></div></div><div class="footer">\n Powered by  <a href="http://jboss.com/products/seam">Seam</a>\n  and  <a href="http://icefaces.org">ICEfaces</a>\n  Generated by icefaces-seam-gen<br /><form action="iceSubmit('timerForm');" class="iceFrm" enctype="application/x-www-form-urlencoded" id="timerForm" method="post" onsubmit="return false;"><script type="text/javascript">$element(document.getElementById('timerForm')).captureAndRedirectSubmit();</script><input name="timerForm" type="hidden" value="timerForm" /><input name="icefacesCssUpdates" type="hidden" value="" /><input name="cid" type="hidden" value="4" /><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td><table border="0" cellpadding="0" cellspacing="0"><tr><td class="tabbedContainerHeaderControl"><input class="iceCmdBtn portlet-form-button" id="timerForm:templateExpandPanelButtonId" name="timerForm:templateExpandPanelButtonId" onblur="setFocus('');" onclick="iceSubmitPartial(form, this, event);return false;" onfocus="setFocus(this.id);" src="/nomination_poc/img/orange-toggle-false.gif" style="width: 20px; height: 20px;" type="image" /></td><td class="iceDatTblColHdr2"><span class="iceOutTxt" id="timerForm:templatePanelId">Timer and Program Info Panel</span></td></tr></table></td></tr>\n<tr><td align="left" class="tabbedContainerContent" colspan="1"><div class="icePnlGrp" id="timerForm:templatePanelGroupId" style="display:none;"><table border="1" cellpadding="1" cellspacing="0" width="100%"><tr><td>\n Current time is:<span class="iceOutTxt" id="timerForm:templateTimeId">Jul 10, 2008 9:54:59 AM</span></td><td>Synchronous Render Mode:<span class="iceOutTxt" id="timerForm:templateRenderModeId">false 7</span></td></tr>\n<tr><td>Current Conversation Id:<span class="iceOutTxt" id="timerForm:templateConversationId">4</span></td><td>Is Long Running?<span class="iceOutTxt" id="timerForm:timerLongRunningId">true</span></td></tr></table></div></td></tr></table>\n<div id="timerFormhdnFldsDiv"><input name="focus_hidden_field" type="hidden" /></div></form>\n<table cellpadding="0" cellspacing="0" width="100%"><tr><td class="showcaseFooter">ICEsoft Technologies\n Inc.  •  Toll Free: 1-877-263-3822 USA and Canada<br /></td></tr></table></div><script id="-SOdMtizEMwQL5IPbrUdDg:1:dynamic-code" type="text/javascript">id = 'timerForm:templatePanelGroupId';Effect.BlindUp(id,{submit:false});//-1665125853</script><script id="-SOdMtizEMwQL5IPbrUdDg:1:focus-code" type="text/javascript"></script><script id="-SOdMtizEMwQL5IPbrUdDg:1:select-code" type="text/javascript"></script><script id="-SOdMtizEMwQL5IPbrUdDg:1:click-code" type="text/javascript"></script><noscript><meta content="0;url=/nomination_poc/xmlhttp/javascript-blocked" http-equiv="refresh" /></noscript></div>\n"


          • 32. Re: WSRP: images, css, and javascript from ICEfaces not comi
            Chris Laprun Master

            This has been fixed in subversion. I haven't looked into optimization so far. You're welcome to contribute such optimization, though... :)

            • 33. Re: WSRP: images, css, and javascript from ICEfaces not comi
              Chris Laprun Master

               

              "Lightguard" wrote:
              Also it doesn't look like they will handle situations that do not start with a / (probably not very likely, but it may be a possibility) such as:
              <img src="img/hello.gif" />


              Portlet URLs should always either use encodeURL or getContextPath to be correctly built and ensure portability. The fix is made to address the situation where getContextPath is used and doesn't properly transport over WSRP. I might actually make this behavior optional later on as there are use cases where the previous behavior would be required. The case where the URL is hand-built won't be addressed.

              • 34. Re: WSRP: images, css, and javascript from ICEfaces not comi
                Jason Porter Master

                I think one of the first optimizations for this (things are working great, thank you so much!) is not to pre-pend the host and all to hrefs that are javascript hrefs :) So far things have been good save that problem.

                1 2 3 Previous Next