[JBoss JIRA] Created: (JBPORTAL-1317) Role Management Portlet: Create New Role Broken
by Bernard Tison (JIRA)
Role Management Portlet: Create New Role Broken
-----------------------------------------------
Key: JBPORTAL-1317
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1317
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Core
Affects Versions: 2.6.Alpha2
Environment: Portal 2.6 trunk on JBoss AS 4.0.5
Fedora FC6, Firefox Browser 1.5
Reporter: Bernard Tison
Assigned To: Julien Viet
The create new role link in the role management portlet is broken.
The link calls a javascript function. This javascript is defined in the jboss-portlet.xml of the portlet.
<portlet>
<portlet-name>RolePortlet</portlet-name>
<transaction>
<trans-attribute>Required</trans-attribute>
</transaction>
<header-content>
<script type="text/javascript" language="javascript">
function hideShow(id)
{
var navpoint = document.getElementById(id);
if (navpoint.className == 'hidden') {
navpoint.className = 'shown';
} else {
navpoint.className = 'hidden';
}
}
</script>
</header-content>
</portlet>
This javascript does not get injected into the rendered HTML. The resulting HTML fragment looks like:
<!-- insert header content that was possibly set by portlets on the page -->
<script type="text/javascript"></script>
I also tested this with the sample HeaderContentPortlet. I defined the following fragment in the jboss-portlet.xml of the HeaderContentPortlet:
<header-content>
<link rel="stylesheet" type="text/css" href="/portlet-styles/HeaderContent.css" media="screen"/>
<script type="text/javascript" language="javascript">
function hideShow(id)
{
var navpoint = document.getElementById(id);
if (navpoint.className == 'hidden') {
navpoint.className = 'shown';
} else {
navpoint.className = 'hidden';
}
}
</script>
<meta name="description" content="test"/>
</header-content>
The resulting HTML:
<!-- insert header content that was possibly set by portlets on the page -->
<link type="text/css" rel="stylesheet" href="/portal-samples/portlet-styles/HeaderContent.css" media="screen"/>
<script type="text/javascript"></script>
<meta name="description" content="test"/>
Wrapping the javascript function in a CDATA element did not solve the problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Created: (JBAS-3724) NotFoundInDispatcherException from InvokerLocator when accessing remote calls when on a non default port
by Grant Quimby (JIRA)
NotFoundInDispatcherException from InvokerLocator when accessing remote calls when on a non default port
--------------------------------------------------------------------------------------------------------
Key: JBAS-3724
URL: http://jira.jboss.com/jira/browse/JBAS-3724
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Deployment services, EJB3, Remoting
Affects Versions: JBossAS-4.0.4.GA
Environment: One JBoss 4.0.4.GA install with two instances, one on the default ports and one on ports with an increase of 1000 on all port numbers.
Reporter: Grant Quimby
Assigned To: Dimitris Andreadis
Priority: Blocker
When trying to access a remote application that is running in a server instance that does not have the default InvokerLocator port (3873) the remote caller recieves a NotFoundInDispatcherException when trying to call a method in the EJB3 Stateless Session Bean as the EJB3 Session Bean's InvokerLocator is at port 4873 and not port 3873 where the Remote Proxy looks.
Similar issue for Service Beans at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89537
This is okay presently but in approximately two weeks we need to be running four instances with Session beans in two of them, which is currently not possible in a production version.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months