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

        It would indeed be more helpful. :)

        • 16. Re: WSRP: images, css, and javascript from ICEfaces not comi
          lightguard

          Mailed you a small, non datasource war last night. Hope you get further with this one :)

          • 17. Re: WSRP: images, css, and javascript from ICEfaces not comi
            lightguard

            *bump* (I don't want to loose this)

            • 18. Re: WSRP: images, css, and javascript from ICEfaces not comi
              claprun

              Sorry, haven't had time to look at it yet...

              • 19. Re: WSRP: images, css, and javascript from ICEfaces not comi
                lightguard

                I really didn't think with the Holiday this week that there would be much going on :) Next week is fine if you don't get to it this week. Thanks Chris.

                • 20. Re: WSRP: images, css, and javascript from ICEfaces not comi
                  lightguard

                  Doesn't look like images and script tags are being rewritten like they should:

                  2008-07-03 09:28:02,930 TRACE [org.jboss.ws.core.MessageTrace] Incoming Request Message
                  <soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
                   <soapenv:Body>
                   <getMarkup xmlns='urn:oasis:names:tc:wsrp:v1:types'>
                   <registrationContext xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:nil='true'/>
                   <portletContext>
                   <portletHandle>/nomination_poc.nomination_poc_create</portletHandle>
                   </portletContext>
                   <runtimeContext>
                   <userAuthentication>wsrp:none</userAuthentication>
                   <portletInstanceKey>68</portletInstanceKey>
                   <namespacePrefix>_68_INSTANCE_zlpM_</namespacePrefix>
                   </runtimeContext>
                   <userContext>
                   <userContextKey>10117</userContextKey>
                   <profile>
                   <name>
                   <prefix/>
                   <given>Test</given>
                   <family>Test</family>
                   <middle/>
                   <suffix/>
                   <nickname>test</nickname>
                   </name>
                   </profile>
                   </userContext>
                   <markupParams>
                   <secureClientCommunication>false</secureClientCommunication>
                   <locales>en</locales>
                   <locales>de</locales>
                   <mimeTypes>text/html</mimeTypes>
                   <mode>wsrp:view</mode>
                   <windowState>wsrp:maximized</windowState>
                   <clientData>
                   <userAgent>Liferay WSRP Agent</userAgent>
                   </clientData>
                   <markupCharacterSets>UTF-8</markupCharacterSets>
                   <validNewModes>wsrp:view</validNewModes>
                   <validNewModes>wsrp:help</validNewModes>
                   <validNewModes>wsrp:edit</validNewModes>
                   <validNewWindowStates>wsrp:normal</validNewWindowStates>
                   <validNewWindowStates>wsrp:maximized</validNewWindowStates>
                   <validNewWindowStates>wsrp:minimized</validNewWindowStates>
                   </markupParams>
                   </getMarkup>
                   </soapenv:Body>
                  </soapenv:Envelope>
                  2008-07-03 09:28:03,090 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Response Message
                  <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
                   <env:Header/>
                   <env:Body>
                   <ns1:getMarkupResponse xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
                   <ns1:markupContext>
                   <ns1:useCachedMarkup xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'>false</ns1:useCachedMarkup>
                   <ns1:mimeType xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'>text/html</ns1:mimeType>
                   <ns1:markupString xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'><div>
                  <div id="cntIncDiv" style="display: none;"><script src="/nomination_poc/xmlhttp/1215098757426/icefaces-d2d.js" type="text/javascript"></script>
                  <script src="/nomination_poc/xmlhttp/1215098757426/ice-extras.js" type="text/javascript"></script></div><script id="IKwoYMRkPxGYSHaQT0TBcA:12:configuration-script" type="text/javascript">if (!window.sessions) window.sessions = []; window.sessions.push('IKwoYMRkPxGYSHaQT0TBcA');
                  var container = 'IKwoYMRkPxGYSHaQT0TBcA:12:configuration-script'.asElement().parentNode;
                  container.bridge = new Ice.Community.Application({session: 'IKwoYMRkPxGYSHaQT0TBcA',view: 12,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>
                  <a href="wsrp_rewrite?wsrp-urlType=resource&amp;amp;wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2Fhome.seam%3Fcid%3D12&amp;amp;wsrp-requiresRewrite=true/wsrp_rewrite" id="menuHomeId">Home</a>
                  <a href="wsrp_rewrite?wsrp-urlType=resource&amp;amp;wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FApprovalList.seam&amp;amp;wsrp-requiresRewrite=true/wsrp_rewrite" id="ApprovalId">Approval List</a>
                  <a href="wsrp_rewrite?wsrp-urlType=resource&amp;amp;wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FAwardlevelList.seam&amp;amp;wsrp-requiresRewrite=true/wsrp_rewrite" id="AwardlevelId">Awardlevel List</a>
                  <a href="wsrp_rewrite?wsrp-urlType=resource&amp;amp;wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FNomination.seam&amp;amp;wsrp-requiresRewrite=true/wsrp_rewrite" id="NominationCreateId">Create Nomination</a>
                  <a href="wsrp_rewrite?wsrp-urlType=resource&amp;amp;wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FNominationList.seam&amp;amp;wsrp-requiresRewrite=true/wsrp_rewrite" id="NominationId">Nomination List</a>
                  <a href="wsrp_rewrite?wsrp-urlType=resource&amp;amp;wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FEmployeeList.seam&amp;amp;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&amp;amp;wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2Flogin.seam%3Fcid%3D12&amp;amp;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>
                  <div class="iceOutConStatActv Actv connectionStatusActv" id="j_id11:connection-working" style="visibility: hidden;">requesting...</div>
                  <div class="iceOutConStatCaution Caution connectionStatusCaution" id="j_id11:connection-trouble" style="visibility: hidden;"></div>
                  <div class="iceOutConStatDisconnect Disconnect connectionStatusDisconnect" id="j_id11:connection-lost" style="visibility: hidden;"></div>
                  <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>
                  <form action="iceSubmit(&#39;wsrp_rewrite_:j_id16&#39;);" 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="12" /><div class="icePnlClpsblColpsd" id="wsrp_rewrite_:j_id16:j_id18"><div class="icePnlClpsblColpsdHdr" onclick="document.forms[&#39;wsrp_rewrite_:j_id16&#39;][&#39;wsrp_rewrite_:j_id16:j_id18Expanded&#39;].value=&#39;false&#39;; iceSubmit(document.forms[&#39;wsrp_rewrite_:j_id16&#39;],this,event); return false;"><h3 style="text-align: center">All Nominations</h3></div>
                  <div class="icePnlClpsblColpsdCnt"></div><input name="wsrp_rewrite_:j_id16:j_id18Expanded" type="hidden" /></div>
                  <div id="wsrp_rewrite_:j_id16hdnFldsDiv"><input name="focus_hidden_field" type="hidden" /></div></form>
                  <br /><form action="iceSubmit(&#39;wsrp_rewrite_:j_id39&#39;);" 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="12" /><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>
                  <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(&#39;&#39;);setFocus(&#39;&#39;);iceSubmitPartial(form,this,event); return false;" onfocus="setFocus(this.id);" onkeypress="iceSubmit(form,this,event);" onmousedown=";this.focus();" type="text" value="" /></span></div></div>
                  <div id="wsrp_rewrite_:j_id39:lastnamedecId"><div class="prop" id="displayProp"><span class="name" id="displayName">Last Name</span>
                  <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(&#39;&#39;);setFocus(&#39;&#39;);iceSubmitPartial(form,this,event); return false;" onfocus="setFocus(this.id);" onkeypress="iceSubmit(form,this,event);" onmousedown=";this.focus();" type="text" value="" /></span></div></div>
                  <br /><input class="iceCmdBtn portlet-form-button" id="wsrp_rewrite_:j_id39:j_id44" name="wsrp_rewrite_:j_id39:j_id44" onblur="setFocus(&#39;&#39;);" onclick="iceSubmitPartial(form, this, event);return false;" onfocus="setFocus(this.id);" type="submit" value="Find Nominee" /></div>
                  <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">
                   View Details</div></th>
                  <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>
                  <th class="iceDatTblColHdr2"><div id="hdrDv2"><a class="iceCmdLnk columnHeader" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:listemployeeidLinkId" onblur="setFocus(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:listemployeeidLinkId&#39;;iceSubmitPartial( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], this,event); return false;" onfocus="setFocus(this.id);">Employee Id </a></div></th>
                  <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>
                  <th class="iceDatTblColHdr1"><div id="hdrDv3"><a class="iceCmdLnk columnHeader" href="javascript:;" id="wsrp_rewrite_:j_id39:employeeListTableId:listfirstnameLinkId" onblur="setFocus(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:listfirstnameLinkId&#39;;iceSubmitPartial( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], this,event); return false;" onfocus="setFocus(this.id);">Employee Name </a></div></th></tr></thead>
                  <tbody><tr class="iceDatTblRow1 portlet-section-body iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:0" onclick="Ice.tableRowClicked(event, false,&#39;0&#39;, &#39;wsrp_rewrite_:j_id39&#39;, &#39;wsrp_rewrite_:j_id39:employeeListTableIdsel_rows&#39;);" onmouseout="this.className=&#39;iceDatTblRow1 portlet-section-body iceRowSel&#39;" onmouseover="this.className=&#39; portlet-section-body-hover iceRowSelMouseOver&#39;"><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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:0:j_id50&#39;;iceSubmitPartial( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], 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/img/info.gif" 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">
                   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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:0:selectNomineeLink&#39;;iceSubmit( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], this,event); return false;" onfocus="setFocus(this.id);">Fourth Employee</a></td></tr>
                  <tr class="iceDatTblRow2 portlet-section-alternate iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:1" onclick="Ice.tableRowClicked(event, false,&#39;1&#39;, &#39;wsrp_rewrite_:j_id39&#39;, &#39;wsrp_rewrite_:j_id39:employeeListTableIdsel_rows&#39;);" onmouseout="this.className=&#39;iceDatTblRow2 portlet-section-alternate iceRowSel&#39;" onmouseover="this.className=&#39; portlet-section-body-hover iceRowSelMouseOver&#39;"><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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:1:j_id50&#39;;iceSubmitPartial( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], 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/img/info.gif" 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">
                   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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:1:selectNomineeLink&#39;;iceSubmit( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], this,event); return false;" onfocus="setFocus(this.id);">First Employee</a></td></tr>
                  <tr class="iceDatTblRow1 portlet-section-body iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:2" onclick="Ice.tableRowClicked(event, false,&#39;2&#39;, &#39;wsrp_rewrite_:j_id39&#39;, &#39;wsrp_rewrite_:j_id39:employeeListTableIdsel_rows&#39;);" onmouseout="this.className=&#39;iceDatTblRow1 portlet-section-body iceRowSel&#39;" onmouseover="this.className=&#39; portlet-section-body-hover iceRowSelMouseOver&#39;"><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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:2:j_id50&#39;;iceSubmitPartial( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], 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/img/info.gif" 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">
                   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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:2:selectNomineeLink&#39;;iceSubmit( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], this,event); return false;" onfocus="setFocus(this.id);">Second Employee</a></td></tr>
                  <tr class="iceDatTblRow2 portlet-section-alternate iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:3" onclick="Ice.tableRowClicked(event, false,&#39;3&#39;, &#39;wsrp_rewrite_:j_id39&#39;, &#39;wsrp_rewrite_:j_id39:employeeListTableIdsel_rows&#39;);" onmouseout="this.className=&#39;iceDatTblRow2 portlet-section-alternate iceRowSel&#39;" onmouseover="this.className=&#39; portlet-section-body-hover iceRowSelMouseOver&#39;"><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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:3:j_id50&#39;;iceSubmitPartial( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], 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/img/info.gif" 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">
                   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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:3:selectNomineeLink&#39;;iceSubmit( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], this,event); return false;" onfocus="setFocus(this.id);">Third Employee</a></td></tr>
                  <tr class="iceDatTblRow1 portlet-section-body iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:4" onclick="Ice.tableRowClicked(event, false,&#39;4&#39;, &#39;wsrp_rewrite_:j_id39&#39;, &#39;wsrp_rewrite_:j_id39:employeeListTableIdsel_rows&#39;);" onmouseout="this.className=&#39;iceDatTblRow1 portlet-section-body iceRowSel&#39;" onmouseover="this.className=&#39; portlet-section-body-hover iceRowSelMouseOver&#39;"><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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:4:j_id50&#39;;iceSubmitPartial( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], 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/img/info.gif" 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">
                   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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:4:selectNomineeLink&#39;;iceSubmit( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], this,event); return false;" onfocus="setFocus(this.id);">Fifth Employee</a></td></tr>
                  <tr class="iceDatTblRow2 portlet-section-alternate iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:5" onclick="Ice.tableRowClicked(event, false,&#39;5&#39;, &#39;wsrp_rewrite_:j_id39&#39;, &#39;wsrp_rewrite_:j_id39:employeeListTableIdsel_rows&#39;);" onmouseout="this.className=&#39;iceDatTblRow2 portlet-section-alternate iceRowSel&#39;" onmouseover="this.className=&#39; portlet-section-body-hover iceRowSelMouseOver&#39;"><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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:5:j_id50&#39;;iceSubmitPartial( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], 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/img/info.gif" 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">
                   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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:5:selectNomineeLink&#39;;iceSubmit( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], this,event); return false;" onfocus="setFocus(this.id);">Sixth Employee</a></td></tr>
                  <tr class="iceDatTblRow1 portlet-section-body iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:6" onclick="Ice.tableRowClicked(event, false,&#39;6&#39;, &#39;wsrp_rewrite_:j_id39&#39;, &#39;wsrp_rewrite_:j_id39:employeeListTableIdsel_rows&#39;);" onmouseout="this.className=&#39;iceDatTblRow1 portlet-section-body iceRowSel&#39;" onmouseover="this.className=&#39; portlet-section-body-hover iceRowSelMouseOver&#39;"><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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:6:j_id50&#39;;iceSubmitPartial( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], 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/img/info.gif" 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">
                   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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:6:selectNomineeLink&#39;;iceSubmit( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], this,event); return false;" onfocus="setFocus(this.id);">Seventh Employee</a></td></tr>
                  <tr class="iceDatTblRow2 portlet-section-alternate iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:7" onclick="Ice.tableRowClicked(event, false,&#39;7&#39;, &#39;wsrp_rewrite_:j_id39&#39;, &#39;wsrp_rewrite_:j_id39:employeeListTableIdsel_rows&#39;);" onmouseout="this.className=&#39;iceDatTblRow2 portlet-section-alternate iceRowSel&#39;" onmouseover="this.className=&#39; portlet-section-body-hover iceRowSelMouseOver&#39;"><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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:7:j_id50&#39;;iceSubmitPartial( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], 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/img/info.gif" 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">
                   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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:7:selectNomineeLink&#39;;iceSubmit( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], this,event); return false;" onfocus="setFocus(this.id);">Mike Modano</a></td></tr>
                  <tr class="iceDatTblRow1 portlet-section-body iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:8" onclick="Ice.tableRowClicked(event, false,&#39;8&#39;, &#39;wsrp_rewrite_:j_id39&#39;, &#39;wsrp_rewrite_:j_id39:employeeListTableIdsel_rows&#39;);" onmouseout="this.className=&#39;iceDatTblRow1 portlet-section-body iceRowSel&#39;" onmouseover="this.className=&#39; portlet-section-body-hover iceRowSelMouseOver&#39;"><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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:8:j_id50&#39;;iceSubmitPartial( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], 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/img/info.gif" 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">
                   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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:8:selectNomineeLink&#39;;iceSubmit( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], this,event); return false;" onfocus="setFocus(this.id);">Marty Turco</a></td></tr>
                  <tr class="iceDatTblRow2 portlet-section-alternate iceRowSel" id="wsrp_rewrite_:j_id39:employeeListTableId:9" onclick="Ice.tableRowClicked(event, false,&#39;9&#39;, &#39;wsrp_rewrite_:j_id39&#39;, &#39;wsrp_rewrite_:j_id39:employeeListTableIdsel_rows&#39;);" onmouseout="this.className=&#39;iceDatTblRow2 portlet-section-alternate iceRowSel&#39;" onmouseover="this.className=&#39; portlet-section-body-hover iceRowSelMouseOver&#39;"><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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:9:j_id50&#39;;iceSubmitPartial( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], 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/img/info.gif" 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">
                   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(&#39;&#39;);" onclick="document.forms[&#39;wsrp_rewrite_:j_id39&#39;][&#39;wsrp_rewrite_:j_id39:_idcl&#39;].value=&#39;wsrp_rewrite_:j_id39:employeeListTableId:9:selectNomineeLink&#39;;iceSubmit( document.forms[&#39;wsrp_rewrite_:j_id39&#39;], this,event); return false;" onfocus="setFocus(this.id);">Brendon Morrow</a></td></tr></tbody></table></div>
                  <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">
                   Powered by ?<a href="http://jboss.com/products/seam">Seam</a>
                   ? and ?<a href="http://icefaces.org">ICEfaces</a>
                   ? Generated by icefaces-seam-gen<br /><form action="iceSubmit(&#39;timerForm&#39;);" 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="12" /><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(&#39;&#39;);" 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>
                  <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>
                   Current time is:<span class="iceOutTxt" id="timerForm:templateTimeId">Jul 3, 2008 9:28:03 AM</span></td><td>Synchronous Render Mode:<span class="iceOutTxt" id="timerForm:templateRenderModeId">false 23</span></td></tr>
                  <tr><td>Current Conversation Id:<span class="iceOutTxt" id="timerForm:templateConversationId">12</span></td><td>Is Long Running?<span class="iceOutTxt" id="timerForm:timerLongRunningId">true</span></td></tr></table></div></td></tr></table>
                  <div id="timerFormhdnFldsDiv"><input name="focus_hidden_field" type="hidden" /></div></form>
                  <table cellpadding="0" cellspacing="0" width="100%"><tr><td class="showcaseFooter">ICEsoft Technologies
                   Inc. ? ? ? Toll Free: 1-877-263-3822 USA and Canada<br /></td></tr></table></div><script id="IKwoYMRkPxGYSHaQT0TBcA:12:dynamic-code" type="text/javascript">id = 'timerForm:templatePanelGroupId';Effect.BlindUp(id,{submit:false});//802099430</script><script id="IKwoYMRkPxGYSHaQT0TBcA:12:focus-code" type="text/javascript"></script><script id="IKwoYMRkPxGYSHaQT0TBcA:12:select-code" type="text/javascript"></script><script id="IKwoYMRkPxGYSHaQT0TBcA:12:click-code" type="text/javascript"></script><noscript><meta content="0;url=/nomination_poc/xmlhttp/javascript-blocked" http-equiv="refresh" /></noscript></div>
                  </ns1:markupString>
                   <ns1:locale xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'>en</ns1:locale>
                   <ns1:requiresUrlRewriting xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'>true</ns1:requiresUrlRewriting>
                   <ns1:preferredTitle xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'>POC: Nomination_poc Create</ns1:preferredTitle>
                   </ns1:markupContext>
                   </ns1:getMarkupResponse>
                   </env:Body>
                  </env:Envelope>


                  • 21. Re: WSRP: images, css, and javascript from ICEfaces not comi
                    claprun

                    Indeed. It doesn't seem like Icefaces properly request a resource to be rendered on the producer side... I'm trying to figure out why... It maybe a bug in Icefaces or it may be a bridge issue. I could hack something on the consumer side to make it work but I'd rather find a clean solution to the problem...

                    • 22. Re: WSRP: images, css, and javascript from ICEfaces not comi
                      lightguard

                      ICEfaces isn't using a bridge (unless you're talking about something within JBoss portal). They have a class that implements the required portal interface and then just delegates to their render kit for the rest. If it is an ICEfaces problem I'll ask them for some help. Thanks for looking into this Chris.

                      • 23. Re: WSRP: images, css, and javascript from ICEfaces not comi
                        claprun

                        What do you mean by "required portal interface"?

                        • 24. Re: WSRP: images, css, and javascript from ICEfaces not comi
                          lightguard

                          Sorry extends GenericPortlet. Couldn't remember when I wrote the post if it was an interface or class, so I went with interface.

                          • 25. Re: WSRP: images, css, and javascript from ICEfaces not comi
                            claprun

                            OK. It does look like it might be an issue with Icefaces but I need to investigate some more.

                            • 26. Re: WSRP: images, css, and javascript from ICEfaces not comi
                              lightguard

                              Great, keep me posted.

                              • 27. Re: WSRP: images, css, and javascript from ICEfaces not comi
                                lightguard

                                Chris, here's the SOAP from the JSPPortlet sample that I set as remotable and loaded it up in liferay and soap-ui (just seeing the soap reponse). The images here are also not being rewritten:

                                2008-07-09 10:20:38,622 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Response Message
                                <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
                                 <env:Header/>
                                 <env:Body>
                                 <ns1:getMarkupResponse xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
                                 <ns1:markupContext>
                                 <ns1:useCachedMarkup xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'>false</ns1:useCachedMarkup>
                                 <ns1:mimeType xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'>text/html</ns1:mimeType>
                                 <ns1:markupString xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'>
                                
                                
                                
                                
                                
                                
                                
                                <table border="0" cellspacing="2" cellpadding="2">
                                 <tr>
                                 <td align="center"><a href="http://portal.demo.jboss.com" target="_blank"><img
                                 src="/portal-jsp-samples/images/dodemo.gif" border="0"
                                 alt="Try the latest release of JBoss Portal, live and online." /></a>
                                 <a href="http://labs.jboss.com/portal/jbossportal/download/index.html" target="_blank"><img
                                 src="/portal-jsp-samples/images/getcode.gif" border="0"
                                 alt="Download JBoss Portal and have it up and running in minutes." /></a>
                                 <a href="http://www.portletswap.com" target="_blank"><img
                                 src="/portal-jsp-samples/images/accessorize.gif" border="0"
                                 alt="Download portlets and layouts for your new JBoss Portal installation." /></a></td>
                                 </tr>
                                 <tr>
                                 <td></td>
                                 </tr>
                                 <tr>
                                 <td class="portlet-section-alternate">
                                 <font class="portlet-font">This is a basic installation of <b>JBoss Portal 2.6.5-GA
                                 </b>. You may
                                 log in at any time, using the <i>Login</i> link at the top-right of this page, with the following
                                 credentials:</font>
                                 </td>
                                 </tr>
                                 <tr>
                                 <td class="portlet-section-alternate" align="center">
                                 <b>user/user</b> or <b>admin/admin</b>
                                 </td>
                                 </tr>
                                 <tr>
                                 <td align="center">
                                 If you are in need of guidance with regards to navigating, configuring, or operating the portal, please view
                                 our <a href="http://labs.jboss.com/portal/jbossportal/docs/index.html" target="_blank">online documentation</a>.
                                 </td>
                                 </tr>
                                </table>
                                </ns1:markupString>
                                 <ns1:locale xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'>de</ns1:locale>
                                 <ns1:requiresUrlRewriting xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'>true</ns1:requiresUrlRewriting>
                                 <ns1:preferredTitle xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'>Greetings !</ns1:preferredTitle>
                                 </ns1:markupContext>
                                 </ns1:getMarkupResponse>
                                 </env:Body>
                                </env:Envelope>
                                


                                • 28. Re: WSRP: images, css, and javascript from ICEfaces not comi
                                  claprun

                                  It appears that the issue comes from the fact that the portlet / JSP page uses getContextPath to create the URL. This, in turn, does not trigger the resource processing done in WSRP. The proper solution would be for the portlet to use encodeURL... I understand that this is not an option in many cases so I will implement proper rewriting...
                                  http://jira.jboss.com/jira/browse/JBPORTAL-2067
                                  Thanks for your help.

                                  • 29. Re: WSRP: images, css, and javascript from ICEfaces not comi
                                    lightguard

                                    I can't comment on the JIRA issue, so I'll post here. I saw the code changes in JIRA and they look like they should be good. I'll test on our end and let you know.

                                    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" />


                                    Will that case still work?