[JBoss Portal] - Re: Is header content injection coded in portal 2.4.0 ?
by chuaky
Report :)
hi all,
I'm also facing the same problem when the </script> is not there during injection of the headers in jboss-portlet.xml.
By the way, one of the sample portlet HeaderContentPortlet doesn't seem to be working for me. What i see is a blank page. This portlet is activated by clicking on "Test" in the portal navigation bar and then select "header test". This portlet has the following definition in its jboss-portlet.xml
| <portlet>
| <portlet-name>HeaderContentPortlet</portlet-name>
| <remotable>false</remotable>
| <header-content>
| <link rel="stylesheet" type="text/css" href="/portlet-styles/HeaderContent.css" title="" media="screen"/>
| <script type="text/javascript" src="/portlet-styles/HeaderContent.js"/>
| <meta name="description" content="test"/>
| </header-content>
| </portlet>
|
Any advice on this issue is most welcomed.
Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011109#4011109
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011109
19Â years, 2Â months
[JBoss Portal] - Problem when getting Portlet Markup using WSRP
by giahieu2710
Hi,
I try to invoke portlet from JBoss Portal and I keep receiving an exception org.Jboss.Portal.wsrp.core.OperationFailedFault. And this is the stack trace:
Exceptions
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Pavonis.Wsrp.Proxy.WSRP_v1_Markup_Binding_SOAP.getMarkup(getMarkup getMarkup1) in C:\WSRP\WsrpViewerControl2005\WsrpService\WsrpProxy.cs:line 601
at Pavonis.Wsrp.WsrpService.wsrpGetMarkup() in C:\WSRP\WsrpViewerControl2005\WsrpService\WsrpService.cs:line 1525
A first chance exception of type 'System.Net.WebException' occurred in System.dll
A first chance exception of type 'System.Web.Services.Protocols.SoapException' occurred in System.Web.Services.dll
A first chance exception of type 'System.NullReferenceException' occurred in Wsrp.Service.dll
A first chance exception of type 'Pavonis.Wsrp.WsrpServiceException' occurred in Wsrp.Service.dll
I still can get the list of Remote Portlet offered by JBoss Portal like Weather Portlet or News Feed, Test Portlet etc, but none of them can display because I can't get the correct Markup. Any idea that I can fix it.
Thank you very much.
PS: I'm using an example of writing WSRP Consumer from MSDN Magazine and it works well with Portlets from NetUnity website, but not from my local Jboss Portal. This is the link:
http://msdn.microsoft.com/msdnmag/issues/06/02/wsrp/default.aspx
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011107#4011107
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011107
19Â years, 2Â months
[JBoss Seam] - SEO and Clean Urls possible
by bossfan2000
I finally did some reading on Seam last week, and must say it looked very interesting. I had never been a fan of JSF, but Seam seems to fix a lot of the stuff i didnt like.
So..it looks like apps do NOT have to store any session info beyond the request, which is good. However, i did have a couple more questions i hoped someone could answer.
1) I had read that javascript can sometimes cause problems for search bots. Does the javascript generated by seam (jsf?) cause search bot issues, or are they able to follow links with no problem?
1a) Could it be possible to avoid the js for submits for non-form links (like links to other pages, breadcrumbs, etc)
2) Are clean urls possible, without requiring the redirect stuff? I guess this is related to 1a) above. We generally prefer urls that just look like /some/url, and /some/other/url, and /some/url?param1=bob¶m2=steve
Anyone have any info on the questions above that they could provide?
thanks!
-jeff
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011083#4011083
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011083
19Â years, 2Â months