Hi i want to use geoserver+openlayers in LifeRay portlet. My main question its how to do this? I mean how to include geoserver in liferay, how to open geoserver's admin panel in liferay. Next question its how to use deafult geoserver's css. When i create simple html page i use
<link href="http://localhost:8080/geoserver/openlayers/theme/default/style.css" type="text/css"/>
But in LifeRay all css gonna be include in file liferay-portlet.xml can someone say how to add this css in this file?
Next question: how to use wms? In html i use this
layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
"http://localhost:8080/geoserver/wms", {layers: 'cite:filedata', transparent: true, format: "image/png"});
I gonna change this link to wms to use this in portlet?
And final question: i try add OpenLayers.js in layfray-portlet.xml but after deploy my portlet i dont see any map controls on the page just empty DIV.
this is part of liferay-portlet.xml
<portlet>
<portlet-name>MyGreeting</portlet-name>
<icon>/icon.png</icon>
<instanceable>true</instanceable>
<header-portlet-javascript>/js/jquery.min.js</header-portlet-javascript>
<header-portlet-javascript>/js/OpenLayers.js</header-portlet-javascript>
<footer-portlet-css>/css/main.css</footer-portlet-css>
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
<css-class-wrapper>MyGreeting-portlet</css-class-wrapper>
</portlet>
That what i get.

Im foget say about one thing. I see a error in firebug with this text:
localhost:8080/poller/receive error 404 Not Found
Anyone have ideas?