[JBoss Portal] - Re: i want to disable page
by Nagendra1020
Thanks peterj
it working but page tab is not getting disable. I am sending my *-object.xml code. This google page tab is display for all user who dont have admin righ. But open only for admin right. My requirement is that I want display goolge page tab on browser only for those user who have admin right.
<?xml version="1.0" encoding="UTF-8"?>
<if-exists>overwrite</if-exists>
<parent-ref>default</parent-ref>
<page-name>Google</page-name>
<window-name>HelloWorldJSPPortletWindow</window-name>
<instance-ref>HelloWorldJSPPortletInstance</instance-ref>
center
1
theme.renderSetId
emptyRenderer
layout.id
industrial
<security-constraint>
<policy-permission>
<role-name>Admin</role-name>
<action-name>view</action-name>
</policy-permission>
</security-constraint>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187993#4187993
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187993
17 years, 7 months
[JBoss Portal] - Re: Error occured accessing the
by SivaSekhar
HI Peter,
I created the jbossportal database and This database has 82 tables now.
This is the complete error message from the log-
anonymous wrote :
| 2008-11-10 09:56:07,845 ERROR [org.jboss.portal.server.servlet.PortalServlet] Unexpected exception
| java.lang.NullPointerException
| at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:252)
| at org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:112)
| at org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:81)
| at org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:72)
| at org.jboss.portal.core.controller.Controller.handle(Controller.java:252)
| at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
| at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
| at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:595)
| 2008-11-10 09:56:07,877 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal].[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception
| java.lang.NullPointerException
| at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:252)
| at org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:112)
| at org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:81)
| at org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:72)
| at org.jboss.portal.core.controller.Controller.handle(Controller.java:252)
| at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
| at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
| at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:595)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187991#4187991
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187991
17 years, 7 months
[JBoss Tools (users)] - Visual Editor: Problem with stylesheet path and multiple vie
by asgeirf
Hi folks,
I have a Seam-gen project with the following structure:
view/stylesheet/theme.css
| view/layout/template.xhtml
|
| view/home.xhtml (uses template.xhtml)
| view/admin/home.xhtml (uses template.xhtml)
The template references the stylesheet as follows:
<link rel="stylesheet" type="text/css" href="#{request.contextPath}/stylesheet/theme.css"/>
This works well at runtime, but not within the Visual Editor, which doesn't pick up the stylesheet. Giving the href a relative location like './stylesheet/theme.css' works well for views within the root 'view' folder, but not for views within sub-folders.
My current workaround is to add the relative path to the stylesheet within the template.
<!-- This href enables pages in first-level sub-folders to access the css -->
| <link rel="stylesheet" type="text/css" href="../stylesheet/theme.css"/>
|
| <!-- This href enables root folders to access the css -->
| <link rel="stylesheet" type="text/css" href="./stylesheet/theme.css"/>
My question is: Is there any way to avoid such a 'hack' to enable the visual editor to view styled pages within sub-folders. Is there any way to e.g. specify the absolute location of the stylesheet/template?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187984#4187984
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187984
17 years, 7 months
Message is not delivered
by Courier Mail Server
--<2880.73335616500875(a)baltika.stav.ru>
Content-Type: text/plain; charset=windows-1251
Content-Disposition: inline
Hello, jboss-user(a)lists.jboss.org!
Cannot deliver your message to follow recipients:
crazo(a)baltika.stav.ru
These recipients is not exists.
Your original message is attached.
Courier Mail Server (http://www.courierms.ru)
--<2880.73335616500875(a)baltika.stav.ru>
Content-Type: message/rfc822
Content-Disposition: attachment
Return-Path: <jboss-user(a)lists.jboss.org>
Delivered-To: baltika(a)stav.ru
Received: (qmail 20097 invoked by uid 509); 10 Nov 2008 04:24:52 +0300
Received: from 125.32.232.19 by m2.stav.ru (envelope-from <jboss-user(a)lists.jboss.org>, uid 507) with qmail-scanner-1.25-st-qms
(clamdscan: 0.83/3021. spamassassin: 3.0.2. perlscan: 1.25-st-qms.
Clear:RC:0(125.32.232.19):SA:0(-4.5/5.0):.
Processed in 1.020421 secs); 10 Nov 2008 01:24:52 -0000
X-Spam-Status: No, hits=-4.5 required=5.0
X-Antivirus-MYDOMAIN-Mail-From: jboss-user(a)lists.jboss.org via m2.stav.ru
X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:0(125.32.232.19):SA:0(-4.5/5.0):. Processed in 1.020421 secs Process 20065)
Received: from unknown (HELO mail.jefe.org) (125.32.232.19)
by m2.stav.ru with SMTP; 10 Nov 2008 04:24:51 +0300
Received: from [192.168.08.47] ([192.168.08.47]) by 125.32.232.19 with Microsoft SMTPSVC(6.0.3790.1830)
1 Jan 2002 00:11:37 +0700
From: =?windows-1251?B?wvHl4u7r7uQ=?= <jboss-user(a)lists.jboss.org>
To: =?windows-1251?B?we7w6PHr4OI=?= <baltika(a)stav.ru>
Subject: =?windows-1251?B?wOry8+Dr/O3uIO3gIDEwMCU=?=
Date: 1 Jan 2002 00:11:37 +0700
MIME-Version: 1.0
Content-Type: text/plain;
charset="windows-1251"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MimeOLE: Produced By Microsoft Exchange V6.5
X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0274], KAS30/Release
X-SpamTest-Info: Not protected
X-Spam: Not detected
X-Antivirus-MYDOMAIN-Message-ID: <1226280292107020065(a)m2.stav.ru>
åýáÛà Àêòóàëüíûé èíôîðìàöèîííûé îò÷åò
õÁÐïí Îñíîâû áåçîïàñíîñòè áèçíåñà
ýêáàÚ Êîíòàêòíûé òåëåôîí: 8-<495>-585-1O6-8
--<2880.73335616500875(a)baltika.stav.ru>--
17 years, 7 months
[JBoss Tools (users)] - Re: Content Assist with 3.0 Beta1
by afuerstenau
It worked here:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
| <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
| <%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
| <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
| <html>
| <head>
| <title></title>
| </head>
| <body>
| <f:view>
|
| </f:view>
| </body>
| </html>
I found something like the following while opening the jsf file:
!ENTRY org.jboss.tools.common.model 4 0 2008-11-10 00:13:59.345
| !MESSAGE Model feature org.jboss.tools.seam.internal.core.el.SeamPromptingProvider is not registered with extension point org.jboss.tools.common.model.classes
| !STACK 0
| java.lang.Exception: Model feature org.jboss.tools.seam.internal.core.el.SeamPromptingProvider is not registered with extension point org.jboss.tools.common.model.classes
| at org.jboss.tools.common.model.util.ModelFeatureFactory.createFeatureInstance(ModelFeatureFactory.java:83)
| at org.jboss.tools.jst.jsp.outline.ValueHelper.<clinit>(ValueHelper.java:74)
| at org.jboss.tools.jst.jsp.outline.JSPPropertySourceAdapter.<init>(JSPPropertySourceAdapter.java:66)
| at org.jboss.tools.jst.jsp.outline.JSPPropertySheetConfiguration$JSPPropertySourceProvider0.getPropertySource(JSPPropertySheetConfiguration.java:56)
| at org.eclipse.ui.views.properties.PropertySheetEntry.getPropertySource(PropertySheetEntry.java:470)
| at org.eclipse.ui.views.properties.PropertySheetEntry.setValues(PropertySheetEntry.java:752)
| at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:974)
| at org.eclipse.ui.views.properties.PropertySheetPage.selectionChanged(PropertySheetPage.java:490)
| at org.eclipse.wst.sse.ui.internal.properties.ConfigurablePropertySheetPage.selectionChanged(ConfigurablePropertySheetPage.java:166)
| at org.eclipse.ui.internal.AbstractSelectionService.firePostSelection(AbstractSelectionService.java:179)
| at org.eclipse.ui.internal.AbstractSelectionService.setActivePart(AbstractSelectionService.java:289)
| at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:125)
| at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:115)
| at org.eclipse.ui.internal.WWinPartService$1.partDeactivated(WWinPartService.java:48)
| at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:113)
| at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
| at org.eclipse.core.runtime.Platform.run(Platform.java:880)
| at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
| at org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(PartListenerList2.java:111)
| at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:241)
| at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:299)
| at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)
| at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)
| at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3491)
| at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:610)
| at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2832)
| at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
| at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
| at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
| at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
| at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
| at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
| at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643)
| at org.eclipse.ui.ide.IDE.openEditor(IDE.java:646)
| at org.eclipse.ui.ide.IDE.openEditor(IDE.java:605)
| at org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.execute(OpenResourceHandler.java:124)
| at org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.run(OpenResourceHandler.java:176)
| at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.execute(ActionDelegateHandlerProxy.java:289)
| at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
| at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
| at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
| at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:472)
| at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
| at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:882)
| at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:571)
| at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:512)
| at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:127)
| at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
| at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1184)
| at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002)
| at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
| at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
| at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
| at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
| at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1352)
| at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3894)
| at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:341)
| at org.eclipse.swt.widgets.Control.windowProc(Control.java:3787)
| at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
| at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)
| at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
| at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2371)
| at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
| at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
| at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
| at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
| at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
| at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
| at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
| at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
| at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
| at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
| at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
| at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
| at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
| at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
| at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
| at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187981#4187981
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187981
17 years, 7 months
Message is not delivered
by Courier Mail Server
--<3048.73335621880718(a)shr.edu.ru>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hello, jboss-user(a)lists.jboss.org!
Cannot deliver your message to following recipients:
burbelo(a)shr-imc.ranetka.ru
These recipients is not exists.
Your original message is attached.
Courier Mail Server (http://www.courierms.net)
--<3048.73335621880718(a)shr.edu.ru>
Content-Type: message/rfc822
Content-Disposition: attachment
Received: from mail.emps.equant.com ([190.21.241.97])
by shr.edu.ru with ESMTP id 026000AC
for <burbelo(a)shr-imc.ranetka.ru>; Mon, 10 Nov 2008 06:04:39 +0700
Received: from [192.168.83.82] ([192.168.83.82]) by 190.21.241.97 with Microsoft SMTPSVC(6.0.3790.1830)
9 Nov 2008 18:55:51 +0000
From: =?windows-1251?B?y+Xi?= <jboss-user(a)lists.jboss.org>
To: =?windows-1251?B?wO3k8OXp?= <burbelo(a)shr-imc.ranetka.ru>
Subject: =?windows-1251?B?z/Du8fLuIO4g0evu5u3u7A==?=
Date: 9 Nov 2008 18:55:51 +0000
MIME-Version: 1.0
Content-Type: text/plain;
charset="windows-1251"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MimeOLE: Produced By Microsoft Exchange V6.5
X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0274], KAS30/Release
X-SpamTest-Info: Not protected
X-Spam: Not detected
ØÞÒîÁ Óíèêàëüíûé èíôîðìàöèîííûé ìàòåðèàë
ÂýØôÆ î áåçîïàñíîñòè áèçíåñà
ÒØÞÒî Êîíòàêòíûé òåëåôîí: {495} 585 1O6 8
--<3048.73335621880718(a)shr.edu.ru>--
17 years, 7 months