RE: Error using Jboss+Liferay

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RE: Error using Jboss+Liferay

Shaw, Richard A
I was asked to keep you informed as to how I was getting on with making OPS work with Liferay portal - this emails shows my progress and then asks a question towards the end, please read to the end of my text if you can, I getting desparate (I'm just about to ring and arrange paid support ! ).

I'm getting closer to making OPS work with Liferay.

I've changed to using Tomcat+Liferay for the time being to reduce the number of factors (i.e. removed Jboss).

The first thing I had to do was change portlet.xml because the paths to the page-flows were not correct. So I removed the 3 portlets and added a new one pointing to my own page flow file.

OPS now runs and returns page information.

The next issue was the Liferay doesn't like to receive application/xml data. So I change epilogue-portlet.xml to force the content type to text/html and remove the xhtml namespace.

The next issue was that the script includes followed the following pattern <script src="..."/> and I discovered that this is an invalid format they have to be <script src="..."></script>. So I changed this with a stylesheet in epilogue-portlet.xml but it still insisted on usign /> to close the script unless I put something in it. I tried to add a comment.

Liferay now displays a page with no errors, however my OPS content does not appear. I've discovered if I remove the xforms.css then the contents are displayed but when I interact with the xform it disappears.

My initial thoughts are that the xforms.css stylesheet is telling the xform to be invisible until the onload function executes which then makes it visible, but I can't confirm this looking at the source.

The last thing I have tried is to see if the page load code in xforms.js is being executed, I put rubbish in the function expecting to see a scirpt error - I don't. I then tried adding an alert - I don't see that either. I even tried to confirm the page load when OPS is running in Tomcat alone (something that works fine) but still couldn't confirm the function was loading.

I've included the source code from my composite page (Liferay + OPS) in case anybody can see something that might be an issue.

Thanks in advance for any advice and sorry for the long HTML that follows.

Richard Shaw

<html>
<head>
<title>Home A1</title>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<link rel="Shortcut Icon" href="/html/themes/classic/images/liferay.ico" />
<link href="/c/portal/css_cached?theme_id=classic&color_scheme_id=01" type="text/css" rel="stylesheet" />
<link href="/c/portal/css?p_l_id=1&theme_id=classic&color_scheme_id=01" type="text/css" rel="stylesheet" />
<script language="JavaScript" src="/html/js/sniffer.js"></script>
<script language="JavaScript" src="/html/js/init.js"></script>
<script language="JavaScript" src="/html/js/menu.js"></script>
<script language="JavaScript" src="/html/js/rollovers.js"></script>
<script language="JavaScript" src="/html/js/util.js"></script>
<script language="JavaScript" src="/html/js/validation.js"></script>
<script language="JavaScript" src="/html/js/ajax.js"></script>
<script language="JavaScript" src="/html/js/dragdrop/coordinates.js"></script>
<script language="JavaScript" src="/html/js/dragdrop/drag.js"></script>
<script language="JavaScript" src="/html/js/dragdrop/dragdrop.js"></script>
<link rel="stylesheet" type="text/css" href="/html/js/calendar/calendar-blue.css">
<script language="JavaScript" src="/html/js/calendar/calendar_stripped.js"></script>
<script language="JavaScript" src="/html/js/calendar/calendar-setup_stripped.js"></script>
<script language="JavaScript" src="/c/portal/javascript_cached?theme_id=classic&language_id=en_US"></script>
<script language="JavaScript" src="/c/portal/javascript?theme_id=classic&language_id=en_US"></script>
</head>
<body>
<div id="layout-outer-side-decoration">
<div id="layout-inner-side-decoration">
<div id="layout-top-decoration">
<div id="layout-corner-ul"></div>
<div id="layout-corner-ur"></div>
</div>
<div id="layout-box">
<table border="0" cellpadding="0" cellspacing="0" width="760">
<tr>
<td><a class="bg" href="http://localhost"><img border="0" hspace="0" src="/image/company_logo?img_id=liferay.com&key=975080" vspace="0"></a></td>
<td align="right" nowrap valign="bottom">
<font class="bg" size="2"><b>
Welcome John Wayne!<br>
</b></font>
<font class="bg" size="1">
<a class="bg" href="http://localhost">Home</a> -
<a class="bg" href="http://localhost/c/portal/layout?p_l_id=1&p_p_id=2&p_p_action=1&p_p_state=maximized&p_p_mode=view&p_p_col_order=null&p_p_col_pos=5&p_p_col_count=6&_2_struts_action=%2Fmy_account%2Fedit_profile">My Account</a> -
<a class="bg" href="/c/portal/logout?referer=/c">Sign Out</a>
</font>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="760">
<tr>
<td><img border="0" height="10" hspace="0" src="/html/themes/classic/images/spacer.gif" vspace="0" width="1"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="760">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td nowrap valign="top"><img border="0" height="25" hspace="0" src="/html/themes/classic/color_schemes/01/tab_left_on.gif" vspace="0"></td>
<td align="center" background="/html/themes/classic/color_schemes/01/tab_middle_on.gif" nowrap width="231"><a class="layout-tab-selected" href="http://localhost/c/portal/layout?p_l_id=1&p_p_id=OPS+Operators_WAR_ops&p_p_action=0&p_p_state=normal&p_p_mode=view&p_p_col_order=null&p_p_col_pos=5&p_p_col_count=6&" ><font style="font-size: smaller"><b>Home A1</b></font></a></td>
<td nowrap valign="top"><img border="0" height="25" hspace="0" src="/html/themes/classic/color_schemes/01/tab_join_right_on.gif" vspace="0"></td>
<td align="center" background="/html/themes/classic/color_schemes/01/tab_middle_off.gif" nowrap width="231"><a class="layout-tab" href="/c/portal/layout?p_l_id=2" ><font style="font-size: smaller">Test 1</font></a></td>
<td nowrap valign="top"><img border="0" height="25" hspace="0" src="/html/themes/classic/color_schemes/01/tab_join_right_off.gif" vspace="0"></td>
<td align="center" background="/html/themes/classic/color_schemes/01/tab_middle_off.gif" nowrap width="232"><a class="layout-tab" href="/c/portal/layout?p_l_id=3" ><font style="font-size: smaller">Test 2</font></a></td>
<td nowrap valign="top"><img border="0" height="25" hspace="0" src="/html/themes/classic/color_schemes/01/tab_right_off.gif" vspace="0"></td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="1" cellspacing="0" width="760">
<tr class="layout-tab-selected">
<td><img border="0" height="1" hspace="0" src="/html/themes/classic/images/spacer.gif" vspace="0" width="1"></td>
<td width="758">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<input class="portlet-form-button" type="button" value="Content and Layout" onClick="self.location = '/c/portal/personalize_forward?group_id=-1';">
<input class="portlet-form-button" type="button" value="Look and Feel" onClick="self.location = '/c/portal/look_and_feel_forward?group_id=-1';">
</td>
<td align="right">
<font class="alpha" size="1">
My Communities
</font>
<font size="2">
<select name="my_communities_sel" style="font-family: Verdana, Arial; font-size: smaller; font-weight: normal;" onChange="self.location = '/c/portal/group_forward?group_id=' + this.value;">
<option style="background: #B6CBEB; color: #000000;"  value="-1">Desktop</option>
<option  value="3">CMS</option>
<option  value="1">General Guest</option>
</select>
</font>
</td>
</tr>
</table>
</td>
<td class="alpha"><img border="0" height="1" hspace="0" src="/html/themes/classic/images/spacer.gif" vspace="0" width="1"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="760">
<tr>
<td width="6"><img border="0" height="6" hspace="0" src="/html/themes/classic/images/shadow/left.gif" vspace="0" width="6"></td>
<td background="/html/themes/classic/images/shadow/middle.gif"><img border="0" height="1" hspace="0" src="/html/themes/classic/images/spacer.gif" vspace="0" width="1"></td>
<td width="6"><img border="0" height="6" hspace="0" src="/html/themes/classic/images/shadow/right.gif" vspace="0" width="6"></td>
</tr>
</table>
<script language="JavaScript">
function addPortlet(layoutId, portletId, columnId) {
// Do not use Ajax if the user is using an old browser, or adding an
// instanceable portlet, or adding the Bookmarks portlet. This needs to
// be abstracted out further because portlets with heavy usage of
// JavaScript will not load properly via Ajax.
if (is_ns_4 || portletIsInstanceable[portletId] || portletId == 28) {
self.location = "/c/portal/add_portlet?referer=" + encodeURIComponent("/c/portal/layout?p_l_id=" + layoutId + "&#p_" + portletId) + "&p_l_id=" + layoutId + "&p_p_id=" + portletId + "&p_p_col_order=" + columnId + "&refresh_page=1";
}
else {
eval("var portletTitle = portletTitles_" + columnId + "[portletId];");
if (portletTitle != null) {
eval("removeItem(document.layout_" + columnId + "_fm.add_" + columnId + "_sel, portletId);");
}
var returnArgs = new Array();
returnArgs["layoutId"] = layoutId;
returnArgs["portletId"] = portletId;
returnArgs["columnId"] = columnId;
loadPage(mainPath + "/portal/add_portlet", "p_l_id=" + layoutId + "&p_p_id=" + portletId + "&p_p_col_order=" + columnId, addPortletReturnFunction, returnArgs);
}
}
var addPortletReturnFunction =
function (xmlHttpReq, returnArgs) {
var columnId = returnArgs["columnId"];
var portletId = returnArgs["portletId"];
var container = DragDrop.firstContainer;
var newPortlet = document.createElement("div");
var newChild = document.createElement("div");
var newParent = document.createElement("div");
newPortlet.innerHTML = xmlHttpReq.responseText;
newChild.id = "portlet-title";
newChild.style.cssText = "position: absolute; left: 0; top: 0; height: 30px; width: 100px; z-index: 10; cursor: move;";
newParent.appendChild(newChild);
newParent.appendChild(newPortlet);
newParent.isNarrow = (columnId == "n1" || columnId == "n2");
newParent.isStatic = false;
newParent.portletId = portletId;
newParent.className = "portlet-boundary";
newParent.style.cssText = "position: relative; text-align: left;";
while (container != null) {
if (container.columnOrder == columnId) {
container.insertBefore(newParent, container.endPlaceholder);
if (!portletDraggingDisabled) {
DragDrop.makeItemDragable(newParent, newChild);
}
break;
}
container = container.nextContainer;
}
};
function closePortlet(layoutId, portletId, columnId) {
if (confirm('\u0041\u0072\u0065\u0020\u0079\u006f\u0075\u0020\u0073\u0075\u0072\u0065\u0020\u0079\u006f\u0075\u0020\u0077\u0061\u006e\u0074\u0020\u0074\u006f\u0020\u0072\u0065\u006d\u006f\u0076\u0065\u0020\u0074\u0068\u0069\u0073\u0020\u0063\u006f\u006d\u0070\u006f\u006e\u0065\u006e\u0074\u003f')) {
if (is_ns_4) {
if (isStandardColumn(columnId) == true) {
self.location = "/c/portlet_aggregator/remove_portlet?referer=" + encodeURIComponent("/c/portal/layout?p_l_id=" + layoutId) + "&p_l_id=" + layoutId + "&p_p_id=" + portletId;
}
else {
self.location = "/c/portal/portlet_aggregator/remove_portlet?referer=" + encodeURIComponent("/c/portal/layout?p_l_id=" + layoutId) + "&p_l_id=" + layoutId + "&p_p_id=" + portletId + "&p_p_col_id=" + pAggColumns[columnId] + "&p_p_aggregator_id=" + pAggPortletIds[columnId];
}
}
else {
var curItem = document.getElementById("p_p_id_" + portletId + "_");
var parent = curItem.parentNode;
parent.removeChild(curItem);
// Get rid of parent div from addPortlet
if (curItem = document.getElementById(portletId)) {
parent = curItem.parentNode;
parent.removeChild(curItem);
}
if (!isStandardColumn(columnId)) {
pAggPortlets[columnId] = closePortletId(pAggPortlets[columnId], portletId);
}
if (isStandardColumn(columnId) == true) {
self.location = "/c/portal/remove_portlet?referer=" + encodeURIComponent("/c/portal/layout?p_l_id=" + layoutId) + "&p_l_id=" + layoutId + "&p_p_id=" + portletId;
}
else {
self.location = "/c/portal/portlet_aggregator/remove_portlet?referer=" + encodeURIComponent("/c/portal/layout?p_l_id=" + layoutId) + "&p_l_id=" + layoutId + "&p_p_id=" + portletId + "&p_p_col_id=" + pAggColumns[columnId] + "&p_p_aggregator_id=" + pAggPortletIds[columnId];
}
eval("var portletTitle = portletTitles_" + columnId + "[portletId];");
if (portletTitle != null) {
eval("addItem(document.layout_" + columnId + "_fm.add_" + columnId + "_sel, portletTitles_" + columnId + "[portletId], portletId, true);");
}
}
}
else {
self.focus();
}
}
function minimizePortlet(layoutId, portletId, restore) {
if (is_ns_4) {
self.location = "/c/portal/minimize_portlet?referer=" + encodeURIComponent("/c/portal/layout?p_l_id=" + layoutId + "&#p_" + portletId) + "&p_l_id=" + layoutId + "&p_p_id=" + portletId + "&p_p_restore=" + restore;
}
else {
self.location = "/c/portal/minimize_portlet?referer=" + encodeURIComponent("/c/portal/layout?p_l_id=" + layoutId + "&#p_" + portletId) + "&p_l_id=" + layoutId + "&p_p_id=" + portletId + "&p_p_restore=" + restore;
}
}
function movePortlet(layoutId, portletId, columnId, columnPos) {
if (is_ns_4) {
// This method should only be called by the drag and drop callbacks
// which do not support by older browsers.
}
else {
if (isStandardColumn(columnId) == true) {
loadPage("/c/portal/move_portlet", "p_l_id=" + layoutId + "&p_p_id=" + portletId + "&p_p_col_order=" + columnId + "&p_p_col_pos=" + columnPos);
}
else {
}
}
}
function movePortletUp(layoutId, portletId, columnId) {
if (is_ns_4) {
if (isStandardColumn(columnId) == true) {
self.location = "/c/portal/move_portlet_up?referer=" + encodeURIComponent("/c/portal/layout?p_l_id=" + layoutId + "&#p_" + portletId) + "&p_l_id=" + layoutId + "&p_p_id=" + portletId;
}
else {
self.location = "/c/portal/portlet_aggregator/move_portlet_up?referer=" + encodeURIComponent("/c/portal/layout?p_l_id=" + layoutId + "&#p_" + portletId) + "&p_l_id=" + layoutId + "&p_p_id=" + portletId + "&p_p_col_id=" + pAggColumns[columnId] + "&p_p_aggregator_id=" + pAggPortletIds[columnId];
}
}
else {
var container = DragDrop.firstContainer;
var aItems = null;
var curItem = null
var previous = null;
var columnId = null;
var swapped = false;
while (container != null) {
aItems = container.childNodes;
columnId = container.columnOrder;
for (var i = 0; i < aItems.length; i++) {
curItem = aItems[i];
previous = DragUtils.previousItem(curItem);
if (curItem.className == DragDrop.portletClassName
/* Insert before bottom static portlets */
&& curItem.portletId == portletId) {
if (previous != null && !previous.isStatic) {
DragUtils.swap(curItem, previous);
swapped = true;
}
else if (container.endPlaceholder && DragUtils.previousItem(container.endPlaceholder) != curItem) {
container.removeChild(curItem);
container.insertBefore(curItem, container.endPlaceholder);
swapped = true;
}
break;
}
}
container = container.nextContainer;
}
if (swapped) {
if (isStandardColumn(columnId) == true) {
loadPage("/c/portal/move_portlet_up", "p_l_id=" + layoutId + "&p_p_id=" + portletId);
}
else {
loadPage("/c/portal/portlet_aggregator/move_portlet_up", "p_l_id=" + layoutId + "&p_p_id=" + portletId + "&p_p_col_id=" + pAggColumns[columnId] + "&p_p_aggregator_id=" + pAggPortletIds[columnId]);
}
}
}
}
function movePortletDown(layoutId, portletId, columnId) {
if (is_ns_4) {
if (isStandardColumn(columnId) == true) {
self.location = "/c/portal/move_portlet_down?referer=" + encodeURIComponent("/c/portal/layout?p_l_id=" + layoutId + "&#p_" + portletId) + "&p_l_id=" + layoutId + "&p_p_id=" + portletId;
}
else {
self.location = "/c/portal/portlet_aggregator/move_portlet_down?referer=" + encodeURIComponent("/c/portal/layout?p_l_id=" + layoutId + "&#p_" + portletId) + "&p_l_id=" + layoutId + "&p_p_id=" + portletId + "&p_p_col_id=" + pAggColumns[columnId] + "&p_p_aggregator_id=" + pAggPortletIds[columnId];
}
}
else {
var container = DragDrop.firstContainer;
var aItems = null;
var curItem = null
var next= null;
var columnId = null;
var swapped = false;
while (container != null) {
aItems = container.childNodes;
columnId = container.columnOrder;
for (var i = 0; i < aItems.length; i++) {
curItem = aItems[i];
next = DragUtils.nextItem(curItem);
if (curItem.className == DragDrop.portletClassName
&& curItem.portletId == portletId) {
if (next != null && !next.isStatic) {
DragUtils.swap(next, curItem);
swapped = true;
}
else if (container.startPlaceholder && DragUtils.nextItem(container.startPlaceholder) != curItem) {
/* Insert after top static portlets */
container.removeChild(curItem);
container.insertBefore(curItem, DragUtils.nextItem(container.startPlaceholder));
swapped = true;
}
else if (!container.startPlaceholder && curItem != aItems[0]) {
/* No top static portlets. Insert before 1st item */
container.removeChild(curItem);
container.insertBefore(curItem, aItems[0]);
swapped = true;
}
break;
}
}
container = container.nextContainer;
}
if (swapped) {
if (isStandardColumn(columnId) == true) {
loadPage("/c/portal/move_portlet_down", "p_l_id=" + layoutId + "&p_p_id=" + portletId);
}
else{
loadPage("/c/portal/portlet_aggregator/move_portlet_down", "p_l_id=" + layoutId + "&p_p_id=" + portletId + "&p_p_col_id=" + pAggColumns[columnId] + "&p_p_aggregator_id=" + pAggPortletIds[columnId]);
}
}
}
}
function isStandardColumn(columnId) {
if ((columnId == "n1") || (columnId == "n2") || (columnId == "w1") || (columnId == "w2")) {
return true;
}
else {
return false;
}
}
var pAggPortlets = new Array();
var pAggPortletsStatic = new Array();
var pAggColumns = new Array();
var pAggPortletIds = new Array();
</script>
<div id="layout-content-outer-decoration">
<div id="layout-content-inner-decoration">
<div id="layout-content-container">
<div valign="top">
<div id="p_p_id_OPS Operators_WAR_ops_" class="portlet-boundary">
<a name="p_OPS Operators_WAR_ops"></a>
<script language="JavaScript">
var curPortlet = document.getElementById("p_p_id_OPS Operators_WAR_ops_");
curPortlet.isNarrow = false;
curPortlet.portletId = "OPS Operators_WAR_ops";
curPortlet.isStatic = true;
curPortlet.isStaticStart = false;
curPortlet.isStaticEnd = true;
</script>
<div class="portlet-container">
<div class="portlet-header-bar">
<div class="portlet-title">
<div style="position: relative; font-size: smaller; padding-top: 5px;"><b>&nbsp;Triplanner Operators&nbsp;</b></div>
</div>
<div class="portlet-small-icon-bar">
<script language="JavaScript">
loadImage("p_OPS Operators_WAR_ops_min", "/html/themes/classic/images/portlet/min_on.gif", "/html/themes/classic/images/portlet/min_off.gif");
loadImage("p_OPS Operators_WAR_ops_restore", "/html/themes/classic/images/portlet/restore_on.gif", "/html/themes/classic/images/portlet/restore_off.gif");
</script>
<span id="p_p_body_OPS Operators_WAR_ops_min_buttons" rowspan="3">
<span class="portlet-small-icon"><a href="javascript: minimizePortlet('1', 'OPS Operators_WAR_ops', false);"><img border="0" height="14" hspace="0" name="p_OPS Operators_WAR_ops_min" src="/html/themes/classic/images/portlet/min_off.gif" title="Minimize" vspace="0" width="14" onMouseOut="offRollOver();" onMouseOver="onRollOver('p_OPS Operators_WAR_ops_min');"></a></span>
</span>
<script language="JavaScript">
loadImage("p_OPS Operators_WAR_ops_max", "/html/themes/classic/images/portlet/max_on.gif", "/html/themes/classic/images/portlet/max_off.gif");
loadImage("p_OPS Operators_WAR_ops_restore", "/html/themes/classic/images/portlet/restore_on.gif", "/html/themes/classic/images/portlet/restore_off.gif");
</script>
<span id="p_p_body_OPS Operators_WAR_ops_max_buttons" rowspan="3">
<span class="portlet-small-icon"><a href="http://localhost/c/portal/layout?p_l_id=1&p_p_id=OPS+Operators_WAR_ops&p_p_action=1&p_p_state=normal&p_p_col_order=w1&p_p_col_pos=0&p_p_col_count=1&#p_OPS Operators_WAR_ops"><img border="0" height="14" hspace="0" name="p_OPS Operators_WAR_ops_restore" src="/html/themes/classic/images/portlet/restore_off.gif" title="Restore" vspace="0" width="14" onMouseOut="offRollOver();" onMouseOver="onRollOver('p_OPS Operators_WAR_ops_restore');"></a></span>
</span>
<script language="JavaScript">
loadImage("p_OPS Operators_WAR_ops_close", "/html/themes/classic/images/portlet/close_on.gif", "/html/themes/classic/images/portlet/close_off.gif");
</script>
<span class="portlet-small-icon"><a href="javascript: closePortlet('1', 'OPS Operators_WAR_ops', 'w1');"><img border="0" height="14" hspace="0" name="p_OPS Operators_WAR_ops_close" src="/html/themes/classic/images/portlet/close_off.gif" title="Remove" vspace="0" width="14" onMouseOut="offRollOver();" onMouseOver="onRollOver('p_OPS Operators_WAR_ops_close');"></a></span>
</div>
</div><!-- end portlet-header-bar -->
<div class="portlet-top-decoration"><div><div></div></div></div>
<div class="portlet-box">
<div class="portlet-minimum-height">
<div id="p_p_body_OPS Operators_WAR_ops" >
<div id="p_p_content_OPS Operators_WAR_ops_" style="margin-top: 0; margin-bottom: 0;">
<br>
<?xml version="1.0" encoding="utf-8"?><div xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:context="java:org.orbeon.oxf.pipeline.StaticExternalContext" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:xforms="http://www.w3.org/2002/xforms"><style xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xi="http://www.w3.org/2001/XInclude" type="text/css">
.via-container { padding: 5px; margin-top: 1em; margin-bottom: 5px; border: solid 1px #f93; cursor: pointer; }
  </style><link xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xi="http://www.w3.org/2001/XInclude" rel="stylesheet" href="/ops/config/theme/jscalendar/calendar-blue.css" type="text/css"/><link xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xi="http://www.w3.org/2001/XInclude" rel="stylesheet" href="/ops/config/theme/xforms.css" type="text/css"/><script type="text:javascript" src="/ops/config/theme/jscalendar/calendar.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/config/theme/jscalendar/lang/calendar-en.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/config/theme/jscalendar/calendar-setup.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/ops/javascript/YAHOO.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/ops/javascript/dom.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/ops/javascript/dragdrop.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/ops/javascript/event.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/ops/javascript/animation.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/ops/javascript/slider.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/config/theme/javascript/xforms-style.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/ops/javascript/wz_tooltip.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/ops/javascript/overlib_mini.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/ops/javascript/time-utils.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/ops/javascript/sarissa.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/ops/javascript/xforms.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/ops/javascript/suggest-common.js">
&lt;!-- comment--&gt;
</script><script type="text:javascript" src="/ops/ops/javascript/suggest-actb.js">
&lt;!-- comment--&gt;
</script><form xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xi="http://www.w3.org/2001/XInclude" id="xforms-form" class="xforms-form" action="http://localhost/c/portal/layout?p_l_id=1&p_p_id=OPS+Operators_WAR_ops&p_p_action=1&p_p_state=maximized&p_p_mode=view&p_p_col_order=w1&p_p_col_pos=0&p_p_col_count=1&_OPS Operators_WAR_ops_oxf.path=%2Fxforms-server-submit" method="POST" onsubmit="return false"><input type="hidden" name="$static-state" value="session:236843B0-F703-9DC8-5EF7-62E55D1C504C"/><input type="hidden" name="$dynamic-state" value="session:5C389902-1614-5DC2-8FE3-8C07A478CCD8"/><input type="hidden" name="$client-state" value=""/><span id="xforms-repeat-tree"/><span id="xforms-repeat-indexes"/><span class="xforms-loading-error"/>
          <span id="xforms-element-8" class="xforms-group">
            <p><b>Get Operators</b></p>
<p>
<span id="xforms-element-9" class="xforms-control xforms-select-full xforms-invalid"><span><input type="checkbox" name="xforms-element-9" value="1">Bus</input></span><span><input type="checkbox" name="xforms-element-9" value="2">Train</input></span><span><input type="checkbox" name="xforms-element-9" value="16">Coach</input></span><span><input type="checkbox" name="xforms-element-9" value="8">Ferry</input></span></span><label class="xforms-alert xforms-alert-active" for="xforms-element-9">Please select at least one mode of transport</label>
</p>
Modes =<span id="xforms-element-28" class="xforms-control xforms-output xforms-invalid"/>
</span>
           <button id="xforms-element-29" class="xforms-control xforms-trigger xforms-readonly" type="button" disabled="disabled">Find</button>
    </form><table xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:portlet="http://orbeon.org/oxf/xml/portlet" id="xforms-messages" style="display: none"><tr><td style="padding-left: 1em"><img src="/ops/images/error-large.gif" alt="Error"/></td><td style="padding-right: 1em"><p>Please check form for invalid values</p></td></tr></table></div>
<br>
</div>
</div>
</div>
</div><!-- end portlet-box -->
<div class="portlet-bottom-decoration-2"><div><div></div></div></div>
</div><!-- End portlet-container -->
</div>
</div>
<div id="layout-bottom-separator">
</div>
</div>
</div>
</div>
<div id="layout-bottom-container">
</div>
<div id="bottom-container">
<br>
<div id="bottom-content">
<span class="bg">
<a class="bg" href="/c/portal/about">About</a> - <a class="bg" href="/c/portal/disclaimer">Disclaimer</a>
<script language="JavaScript">
if (is_ie_5_up) {
document.write("- <a class=\"bg\" style=\"cursor: hand\" onClick=\"this.style.behavior='url(#default#homepage)'; this.setHomePage('http://localhost');\">Make Liferay my start page!</a>");
}
</script>
</span>
</div>
</div>
</div>
<div id="layout-bottom-decoration">
<div id="layout-corner-bl"></div>
<div id="layout-corner-br"></div>
</div>
<div id="layout-bottom-decoration-2">
<div id="layout-corner-2-bl"></div>
<div id="layout-corner-2-br"></div>
</div>
</div>
</div>
<script language="JavaScript">
setTimeout("openSessionWarning()", 1740000);
function extendSession() {
loadPage("/c/portal/extend_session");
setTimeout("openSessionWarning()", 1740000);
}
function openSessionWarning() {
window.open("/c/portal/extend_session_confirm?p_p_state=pop_up", "session", "directories=no,height=150,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,width=300");
}
</script>
</body>
</html>

Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Atkins Transport Systems
Woodcote Grove
Ashley Road
Epsom
KT18 5BW

Direct Dial.: +44 (0) 1372 756407
Switchboard:  +44 (0) 1372 726140
Fax:          +44 (0) 1372 740055
www.atkinsglobal.com/transportsystems



-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet
Sent: 25 March 2006 03:32
To: Shaw, Richard A
Subject: Re: [ops-users] Error using Jboss+Liferay

[Sending a private reply]

On 3/23/06, Shaw, Richard A <[hidden email]> wrote:
> I still need to resolve the issue with the web service processor though.

Richard,

We can't help you much with the exception you are getting when calling a web service with Liferay Portal, as we are not supporting that configuration. It seems to be caused by a conflict between the Axis we are using the Liferay. This is typically the type of issues we can solve for you if you have a support plan. I am not trying to "sell"
you anything :), but I just mention this so you know how we work.

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/


This message has been scanned for viruses by MailControl - (see http://bluepages.wsatkins.co.uk/?4318150)


This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Error using Jboss+Liferay

Alessandro  Vernet
Administrator
On 4/6/06, Shaw, Richard A <[hidden email]> wrote:
> My initial thoughts are that the xforms.css stylesheet is telling the
> xform to be invisible until the onload function executes which then
> makes it visible, but I can't confirm this looking at the source.

Mmmh, the JavaScript should not make things visible "onload". We are
trying to initially generate the HTML on the server-side as it needs
to be displayed, to avoid some flickering effect when you load a page
for the first time.

> The last thing I have tried is to see if the page load code in xforms.js
> is being executed, I put rubbish in the function expecting to see
> a scirpt error - I don't. I then tried adding an alert - I don't see that either.

That is not good. If the initialization code in xforms.js does not
run, the XForms engine just won't work. I am sorry, but there isn't
much more I can do to help at this point without really getting my
hands dirty :) and trying to get the thing to work on Liferay.

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet