RE: How to set Security for Portlets ?
But if i have to give both role1 and role2 to a single portlet how to set that? Regards, Sunil P S. Off: 5010261 (extn :2261) Res: 3329038 -Original Message- From: Shiva Kumar T [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 1:13 PM To: Jetspeed Users List Subject: RE: How to set Security for Portlets ? Add a security reference for Portlets (someportlet.xreg)with the parent as the reference defined in security.xreg . Please find the example below. Say for portlet1 only role1 and admin have got all the rights and others does n't have any rights. This is for portlet1 done in portlets.xreg portlet-entry name=Portlet1 hidden=false type=ref parent=CustomizerVelocity application=false security-ref parent=role1-Only/ meta-info titleWeather/title descriptionCurrent weather conditions for a city/description /meta-info classnameorg.apache.jetspeed.portal.portlets.CustomizerVelocityPortlet/cl assname category group=Jetspeedweather/category /portlet-entry In security.xreg define the security reference as below. security-entry name=role1-Only meta-info titlerole1-only/title descriptionFull access to user with the manager role./description /meta-info access action=* allow-if role=admin xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow/ /access access action=* allow-if role=role1 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow/ /access /security-entry So role1 will have all the access to portlet1. In the same way you can do for all other portlets by modifying your security.xreg and portlet.xreg. Thanx Shiva -Original Message- From: sunil_ps(INT) Sent: Thursday, January 30, 2003 12:30 PM To: 'Jetspeed Users List' Subject: How to set Security for Portlets ? Hi, I have two new roles defined in my application. role1 and role2 I have 4 portlets. role1 has to access only 1 and 2 portlets. but role2 has to have access to all 1,2,3,4 portlets. How to sent the roles for the portlets ? Regards, Sunil P S. Off: 5010261 (extn :2261) Res: 3329038 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: services.JetspeedSecurity.secure.passwords=true
Hallo, that's not the problem. I did encrypt the passwords in the database. The problem was, that I allways got an exception! The solution was to change from Tomcat 4.1.18 LE jdk1.4 Zip-Edition to Tomcat 4.1.18 Zip-Edition! There seams to be some dependences in Jetspeed 1.4B3 to the extra-LIBs which come with Full-Tomcat-Edition, that the 1.4B2 didn't have! So, thanks for your! Achim -Ursprüngliche Nachricht- Von: David Sean Taylor [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 30. Januar 2003 04:57 An: Jetspeed Users List Betreff: Re: services.JetspeedSecurity.secure.passwords=true On Wednesday, January 29, 2003, at 05:23 AM, Weßling, Achim wrote: Hallo, I just tried to set the property 'services.JetspeedSecurity.secure.passwords' to true. I changed the password-field in the DB (MySQL) to the SHA-encoded password. I restarted jetspeed (1.4 B3 on tomcat 4.1.18 LE jdk1.4) and tried to login the admin. But I only get an exception! If I change everything back and try to login everything is nice. I also recognized, that the version 1.4 B3 throws an exception when I have a typo in the password!!! How can I solve this problems? Thanks! Your going to have to encrypt your passwords that are currently in the database. I can send you an action to do so if you'd like. Be careful to only run it only once -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] +01 707 773-4646 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to set Security for Portlets ?
In the security.xreg you can define one more access element as below for role2. Still you will have the same name role1-Only in your portlets.xreg. security-entry name=role1-Only meta-info titlerole1-only/title descriptionFull access to user with the manager role./description /meta-info access action=* allow-if role=role1 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow/ /access access action=* allow-if role=role2 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow/ /access /security-entry Regards shiva -Original Message- From: sunil_ps(INT) Sent: Thursday, January 30, 2003 1:34 PM To: 'Jetspeed Users List' Subject: RE: How to set Security for Portlets ? But if i have to give both role1 and role2 to a single portlet how to set that? Regards, Sunil P S. Off: 5010261 (extn :2261) Res: 3329038 -Original Message- From: Shiva Kumar T [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 1:13 PM To: Jetspeed Users List Subject: RE: How to set Security for Portlets ? Add a security reference for Portlets (someportlet.xreg)with the parent as the reference defined in security.xreg . Please find the example below. Say for portlet1 only role1 and admin have got all the rights and others does n't have any rights. This is for portlet1 done in portlets.xreg portlet-entry name=Portlet1 hidden=false type=ref parent=CustomizerVelocity application=false security-ref parent=role1-Only/ meta-info titleWeather/title descriptionCurrent weather conditions for a city/description /meta-info classnameorg.apache.jetspeed.portal.portlets.CustomizerVelocityPortlet/cl assname category group=Jetspeedweather/category /portlet-entry In security.xreg define the security reference as below. security-entry name=role1-Only meta-info titlerole1-only/title descriptionFull access to user with the manager role./description /meta-info access action=* allow-if role=admin xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow/ /access access action=* allow-if role=role1 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow/ /access /security-entry So role1 will have all the access to portlet1. In the same way you can do for all other portlets by modifying your security.xreg and portlet.xreg. Thanx Shiva -Original Message- From: sunil_ps(INT) Sent: Thursday, January 30, 2003 12:30 PM To: 'Jetspeed Users List' Subject: How to set Security for Portlets ? Hi, I have two new roles defined in my application. role1 and role2 I have 4 portlets. role1 has to access only 1 and 2 portlets. but role2 has to have access to all 1,2,3,4 portlets. How to sent the roles for the portlets ? Regards, Sunil P S. Off: 5010261 (extn :2261) Res: 3329038 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to set Security for Portlets ?
Thanks Shiva kumar, It's working. Regards, Sunil P S. Off: 5010261 (extn :2261) Res: 3329038 -Original Message- From: Shiva Kumar T [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 1:45 PM To: Jetspeed Users List Subject: RE: How to set Security for Portlets ? In the security.xreg you can define one more access element as below for role2. Still you will have the same name role1-Only in your portlets.xreg. security-entry name=role1-Only meta-info titlerole1-only/title descriptionFull access to user with the manager role./description /meta-info access action=* allow-if role=role1 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow/ /access access action=* allow-if role=role2 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow/ /access /security-entry Regards shiva -Original Message- From: sunil_ps(INT) Sent: Thursday, January 30, 2003 1:34 PM To: 'Jetspeed Users List' Subject: RE: How to set Security for Portlets ? But if i have to give both role1 and role2 to a single portlet how to set that? Regards, Sunil P S. Off: 5010261 (extn :2261) Res: 3329038 -Original Message- From: Shiva Kumar T [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 1:13 PM To: Jetspeed Users List Subject: RE: How to set Security for Portlets ? Add a security reference for Portlets (someportlet.xreg)with the parent as the reference defined in security.xreg . Please find the example below. Say for portlet1 only role1 and admin have got all the rights and others does n't have any rights. This is for portlet1 done in portlets.xreg portlet-entry name=Portlet1 hidden=false type=ref parent=CustomizerVelocity application=false security-ref parent=role1-Only/ meta-info titleWeather/title descriptionCurrent weather conditions for a city/description /meta-info classnameorg.apache.jetspeed.portal.portlets.CustomizerVelocityPortlet/cl assname category group=Jetspeedweather/category /portlet-entry In security.xreg define the security reference as below. security-entry name=role1-Only meta-info titlerole1-only/title descriptionFull access to user with the manager role./description /meta-info access action=* allow-if role=admin xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow/ /access access action=* allow-if role=role1 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow/ /access /security-entry So role1 will have all the access to portlet1. In the same way you can do for all other portlets by modifying your security.xreg and portlet.xreg. Thanx Shiva -Original Message- From: sunil_ps(INT) Sent: Thursday, January 30, 2003 12:30 PM To: 'Jetspeed Users List' Subject: How to set Security for Portlets ? Hi, I have two new roles defined in my application. role1 and role2 I have 4 portlets. role1 has to access only 1 and 2 portlets. but role2 has to have access to all 1,2,3,4 portlets. How to sent the roles for the portlets ? Regards, Sunil P S. Off: 5010261 (extn :2261) Res: 3329038 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Customzing the Anon page
Thank you very much David, it works perfectly! Have a nice day. Ced -Original Message- From: David Sean Taylor [SMTP:[EMAIL PROTECTED]] Sent: jeudi 30 janvier 2003 04:59 To: Jetspeed Users List Subject: Re: Customzing the Anon page On Wednesday, January 29, 2003, at 06:01 AM, BARDE, CEDRIC wrote: Hi all, I am working with Jetspeed 1.4b3 and a MySQL database. Everything is configured properly and works fine. My question is: how can I change the portlets that appear on the anon page of my portal? Before using a database, I used to change the PSML files. But now, how does it work? Login as Admin and go to the PSML Browser, and select the anonymous page from there and customize it using the Jetspeed customizer Thanx a lot in advance. Ced __ Cédric BARDE Disneyland Resort Paris - Information Services Bâtiment Robin Hood - BP 100 7 Marne-La-Vallée Tél : 01 64 74 65 49 Fax : 01 64 74 65 65 Email : [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] +01 707 773-4646 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSP localization (l10n) taglib
hi, i've a proposed patch for this issue. Try with the attached classes. It work for us for a few day. See http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg06302.html on custom localisation. Fabien Fabio Latrofa wrote: I'm trying to 'localize' Jetspeed using JSP templates and jetspeed:l10n taglib; I noticed that setting the services.TemplateService.default.extension property to jsp services.TemplateService.default.extension=jsp Jetspeed get only the default locale strings. Is there something else that I have to configure? Regards, Fabio Latrofa SIVA S.p.A Mail: [EMAIL PROTECTED] Tel. +39 0654220452 Fax +39 0654220484 Questa e-mail e' stata verificata dal sistema di antivirus della Siva S.P.A. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] /* * The Apache Software License, Version 1.1 * * Copyright (c) 2000-2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright *notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in *the documentation and/or other materials provided with the *distribution. * * 3. The end-user documentation included with the redistribution, *if any, must include the following acknowledgment: * This product includes software developed by the *Apache Software Foundation (http://www.apache.org/). *Alternately, this acknowledgment may appear in the software itself, *if and wherever such third-party acknowledgments normally appear. * * 4. The names Apache and Apache Software Foundation and * Apache Jetspeed must not be used to endorse or promote products *derived from this software without prior written permission. For *written permission, please contact [EMAIL PROTECTED] * * 5. Products derived from this software may not be called Apache or *Apache Jetspeed, nor may Apache appear in their name, without *prior written permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * http://www.apache.org/. */ package org.apache.jetspeed.services.customlocalization; /** * This service handles the generation of unique identifiers * * @author a href=mailto:[EMAIL PROTECTED];Dessì Massimiliano/a * @version $Id: JetspeedLocalizationService.java,v 1.3 2002/11/16 17:30:31 paulsp Exp $ */ // Java imports import java.util.Hashtable; import java.util.Locale; import java.util.ResourceBundle; // Turbine imports import org.apache.turbine.services.localization.TurbineLocalizationService; import org.apache.turbine.services.InitializationException; import org.apache.turbine.services.resources.TurbineResources; import org.apache.turbine.util.RunData; // Jetspeed imports import org.apache.jetspeed.om.security.JetspeedUser; public class JetspeedLocalizationService extends TurbineLocalizationService implements CustomLocalizationService { public JetspeedLocalizationService() { super(); } public void init() throws InitializationException { super.init(); } protected void initBundleNames(String ignored[]) { super.initBundleNames(ignored); } public String getDefaultBundleName() { return super.getDefaultBundleName(); } public ResourceBundle getBundle() { return super.getBundle(); } public ResourceBundle getBundle(String bundleName) { return super.getBundle(bundleName); } public ResourceBundle
RE: portlet object in doUpdate()
My advice is to check out how the customizer actions work like: org.apache.jetspeed.modules.actions .controllers.MultiColumnControllerAction and also in the dev mailling-list archive: http://nagoya.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED] che.orgmsgId=506924 Finally use the StateManager to pass objects around your different Action events. -- Raphaël Luta - [EMAIL PROTECTED] Jakarta Jetspeed - Enterprise Portal in Java http://jakarta.apache.org/jetspeed/ -Message d'origine- De : Pierre Henry [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 30 janvier 2003 08:38 À : Jetspeed Users List Objet : RE: portlet object in doUpdate() I would say it is ok without action. If you want buildNormalContext to be called after doUpdate, you still can call it explicitely from there... -Original Message- From: Wei Guan [mailto:[EMAIL PROTECTED]] Sent: mercredi, 29. janvier 2003 08:00 To: Jetspeed Users List Subject: Re: portlet object in doUpdate() Pierre: I tested your workaround. I used velocity. I used POST. Here is the behavior. if I removed action, I could get portlet in doUpdate(), however, buildNormalContext is never got called. if I keep the action, the portlet is null in doUpdate(), buildNormalContext is called after doUpdate(). Is it a bug? Thanks. - Original Message - From: Pierre Henry [EMAIL PROTECTED] To: Michael Rothrock [EMAIL PROTECTED] Cc: Jetspeed User List (E-mail) [EMAIL PROTECTED] Sent: Tuesday, January 28, 2003 2:26 AM Subject: RE: portlet object in doUpdate() I got them to work with GET, but it only works with Internet Explorer, It doesn't work with Mozilla, the buildNormalContext action is called, not the actions... (I tried MSIE 5 and 6 and Mozilla 1.2) Pierre -Original Message- From: Michael Rothrock [mailto:[EMAIL PROTECTED]] Sent: lundi, 27. janvier 2003 19:21 To: Jetspeed Users List; Pierre Henry Subject: Re: portlet object in doUpdate() Since I'm about to be working on this, let me ask a related question: has anyone gotten JSP actions to work with GET? Thanks! -- Michael On 1/27/03 1:09 AM, Pierre Henry [EMAIL PROTECTED] wrote: Hi Wei, I had the same problem last week (see my mail with title Tricky behavior with JSP portlet and forms). what I found out : - the form in the JSP doesn't need any action attribute - the ony needed hidden field is js_peid which contains the portlet's ID. When I put a hidden field for the action : INPUT TYPE=hidden name=action value=CustomizableXsqlPortlet1Action the right method was called but the portlet argument of the doUpdatefilter method was null, so the action class couldn't do much. So try to remove the action field... I hope it helps ! Pierre -Original Message- From: Wei Guan [mailto:[EMAIL PROTECTED]] Sent: lundi, 27. janvier 2003 07:49 To: [EMAIL PROTECTED] Subject: portlet object in doUpdate() I have a doUpdate in an VelocityAction class: VelocityPortlet portlet = (VelocityPortlet) context.get(portlet); the portlet is null. Is this a bug? Wei - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JSP localization (l10n) taglib
Fabien, Two quick favors: could you please open up a Bugzilla issue for this and attach your patches in diff format. Thanks! Best regards, Mark Orciuch - [EMAIL PROTECTED] Jakarta Jetspeed - Enterprise Portal in Java http://jakarta.apache.org/jetspeed/ -Original Message- From: Fabien Toral [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 3:47 AM To: Jetspeed Users List Subject: Re: JSP localization (l10n) taglib hi, i've a proposed patch for this issue. Try with the attached classes. It work for us for a few day. See http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg06 302.html on custom localisation. Fabien Fabio Latrofa wrote: I'm trying to 'localize' Jetspeed using JSP templates and jetspeed:l10n taglib; I noticed that setting the services.TemplateService.default.extension property to jsp services.TemplateService.default.extension=jsp Jetspeed get only the default locale strings. Is there something else that I have to configure? Regards, Fabio Latrofa SIVA S.p.A Mail: [EMAIL PROTECTED] Tel. +39 0654220452 Fax +39 0654220484 Questa e-mail e' stata verificata dal sistema di antivirus della Siva S.P.A. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JSP vs Velocity
But wondering the overall templates need to be still velocity in jetspeed framework. They can be either Velocity or JSP. the portlets can be jsp. remember that context object is always null in jsp :-) Yes, with JspPortlet, you would use request attributes which is equivalent to Velocity context. Best regards, Mark Orciuch - [EMAIL PROTECTED] Jakarta Jetspeed - Enterprise Portal in Java http://jakarta.apache.org/jetspeed/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JSP vs Velocity
Pierre, I described some problems I met with JSP's and actions in the Tricky behavior with JSP portlet and forms thread of this mailing list, and Wei and Michael met similar problems, see portlet object in doUpdate(). The tricky behaviour you are describing sounds like a browser issue unless you tried this with Velocity and it worked correctly. Let me know. The example in tutorial is misleading because it uses hidden action input field - I'll try to have it corrected. The correct method is to associate JspPortlet with its action via registry. My best advice would be to look closely at the two JspPortlet examples: StockQuotes and JetspeedQuestionnaire (these can only be found in the CVS head, I believe). Both of these use action events and illustrate how to use forms plus they work :) If these don't cover something you're trying to do, let me know and I'll try to provide more examples. Best regards, Mark Orciuch - [EMAIL PROTECTED] Jakarta Jetspeed - Enterprise Portal in Java http://jakarta.apache.org/jetspeed/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jetspeed and errorPage support in jsp is lacking
Anyone? It does not seem that jetspeed supports the notion of the jsp errorPage. i.e: %@ page errorPage=errorReport.jsp % We are doing a jsp:useBean ... that can dump a large stack trace onto the page if there is a problem connecting to another server. It would be nice to have the ability to do something like an error page to catch this error. Anyone know a work around for this? thanks, jim arnott Reuters RD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: portlet object in doUpdate()
I tested your workaround. I used velocity. I used POST. Here is the behavior. if I removed action, I could get portlet in doUpdate(), however, buildNormalContext is never got called. I think I know what you're talking about now. I logged this as a bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=16608. For now, call the buildNormalContext explicitly at the end of your doUpdate(). if I keep the action, the portlet is null in doUpdate(), buildNormalContext is called after doUpdate(). Don't keep the action - use registry to associate JspPortlet with its action. Best regards, Mark Orciuch - [EMAIL PROTECTED] Jakarta Jetspeed - Enterprise Portal in Java http://jakarta.apache.org/jetspeed/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Memory and JetSpeed
Hi !! I'm developing a portal system based on jetspeed 1.4b3 on a similar system and i haven't this problem, it works great! How much psml files do you have? Weßling, Achim Achim.Wessling@ To: Jetspeed Users List [EMAIL PROTECTED] gt-net.de cc: Subject: Memory and JetSpeed 30/01/2003 18.15 Please respond to Jetspeed Users List Hallo, I just setup Jetspeed 1.4B3 on a win2000 system with 2 Pentium III/700 and 1GB Memory. I use JDK 1.4.1 with Tomcat 4.1.18. The responsetime when I for example open the PSML Browser Portlet is about 30 seconds! Both cpu are working at about 50% for this time! Whats wrong? Did I have to give the tomcat some extra Memory when starting it? Did others also got those experiences? Thanks! Mit freundlichem Gruß Achim Weßling ** INFOKOM Gütersloh Fachbereich Technische Anwendungen / Zentrale Anwendungen Tel.: 05241/85-2926 [EMAIL PROTECTED] http://www2.infokom-gt.de/produkte - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multiple Portlets with applets on the same pane
Fellow Jetspeed Users, I have a pane with a number of portlets (ie WebPagePortlets) arranged in a single column with all portlets being in the minimized state at the beginning. Each web page wrapped by the WebPagePortlet contains an applet. Therefore to view the particualr applet, one clicks on the portlet's expand icon in the portlet's title bar. Now my question relates to the applet's event notifications - as in init(), start(), destroy()... If I open (expand) a second portlet containing an applet, it appears all previously opened portlets with their applets all restart. If I minimize one of the expanded portlets, the other applets will restart. It appears all applets regardless of,lets say portlet focus, receive these events. Is this behaviour correct ? I assumed being wrapped in individual WebPagePortlets, each would have behaved independantly which is the behaviour I wanted. Thx for any comments. Don(C) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSP localization (l10n) taglib
i've create a new bug : http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16615 It's only for the JSP taglib problem. Mark Orciuch wrote: Fabien, Two quick favors: could you please open up a Bugzilla issue for this and attach your patches in diff format. Thanks! Best regards, Mark Orciuch - [EMAIL PROTECTED] Jakarta Jetspeed - Enterprise Portal in Java http://jakarta.apache.org/jetspeed/ -Original Message- From: Fabien Toral [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 3:47 AM To: Jetspeed Users List Subject: Re: JSP localization (l10n) taglib hi, i've a proposed patch for this issue. Try with the attached classes. It work for us for a few day. See http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg06 302.html on custom localisation. Fabien Fabio Latrofa wrote: I'm trying to 'localize' Jetspeed using JSP templates and jetspeed:l10n taglib; I noticed that setting the services.TemplateService.default.extension property to jsp services.TemplateService.default.extension=jsp Jetspeed get only the default locale strings. Is there something else that I have to configure? Regards, Fabio Latrofa SIVA S.p.A Mail: [EMAIL PROTECTED] Tel. +39 0654220452 Fax +39 0654220484 Questa e-mail e' stata verificata dal sistema di antivirus della Siva S.P.A. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: setTemplate using JSPAction
It worked ! I will test it further but at the moment the same portlet that had never redirected to the next template, actually redirected correctly and showed the desired results. Thanks. -Original Message- From: Mark Orciuch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 8:49 PM To: Jetspeed Users List Subject: RE: setTemplate using JSPAction If you're using Jetspeed 1.4b4-dev check out from CVS today, then it should work. I just checked in a fix to make setTemplate work in JspPortlet yesterday. Best regards, Mark Orciuch - [EMAIL PROTECTED] Jakarta Jetspeed - Enterprise Portal in Java http://jakarta.apache.org/jetspeed/ -Original Message- From: Damle, Nikhil [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 1:04 PM To: 'Jetspeed Users List' Subject: setTemplate using JSPAction Hi, When I use the setTemplate method, ( ex. setTemplate(rundata, somefile.jsp) ), under what folder should this somefile.jsp file reside. Seems like jetspeed is not able to find this file. I have it under the templates/jsp/portlets/html folder. Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
user modification issue
I am trying to change the layout on the turbine user. Once I accept the changes for it to go back to the user home page I get a page cannot be displayed with the following url: http://htceadev1.htc.com/jetspeed/portal/media-type/html/user/turbine/page/d efault.psml http://htceadev1.htc.com/jetspeed/portal/media-type/html/user/turbine/page/ default.psml I am using the latest copy of Jetspeed on EAServer. Any suggestions? HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you.
Re: Need some help...
Actually some html and jsp files that i use in both the portal folders are common. I dont care about the xreg files even though they are common i can put them in two folders. But i want to have a common location for the html and jsp files that i use inside the IFramePortlets. Plus i want to put the jetspeed related jar files and the class files that are inside the WEB-INF/classes folder instead of copying them in both the portal folders. When i put the jar files related to jetspeed inside a tomcat/common lib folder after removing them from the jetspeed_home/WEB-INF/lib folder the portal pages cant find the class files. Is there a particular properties file where i need to specify the path of the jar files and class files? As when i create a new folder for a new portal inside the tomcat/webapps folder it is assumed that the jetspeed_home folder starts form there. So every file it looks inside jetspeed_home/ it doesnt load if the files are in a upper directory than the jetspeed_home folder. Did you get it what i mean to say? I have tomcat_home/webapps and then two portal folders which are two jetspeed_home folder... I dont know where exactly i need to specify the path information for the common files... Thanks a lot for the information and help Gloria Santiago Gala [EMAIL PROTECTED] wrote:Gloria Samson wrote: Hi I have started working recently on jetspeed and till now everything was smooth as the tutorial and the mailing list is great.. But now i have one problem coming up.. First thing can i have a portal inside another protal? I didnt try the above method though. What i need is to have two portals... What i did was i created two jetspeed home folder for two portals but a lot of them have some common portlets and use a common web context.. But i dont know how to share them across two portals? Can you elaborate on the kind of portlets that you want to share? (RSS, ...) If you want a usable solution, I would recommend just to duplicate the java classes and have the urls used (say RSS files, OCF feeds) served from a common document repository. This could even work for other files in WEB-INF, like xregs, if properly configured (I'm not sure at all). You would made properties pointing to those resources to an absolute URL like http://localhost/blah/blah and then you configure all similar properties, and say your web server to *only* serve these requests from localhost to avoid serving the source code of your templates, RSS files, etc. I'm not sure it could ever be made work with JSP. Compilation makes it much trickier. With Velocity it will not work due to assumption that templates are files in JetspeedTemplateLocatorService.java If you arrive further with this approach, please report back. ;-) WARNING: untested advice! don't blame me if it does not work. Where shud i specify the path for accessing common files by both the portals? I tried to use tomcat shared folder and put the jar files and some common files there but the jetspeed home cant access them? Funny, it should work for the classes. WRT common files, what files do you mean? See above. Is there any other way that i can share them? Please help me out... I have another problem with the security role of the logged in users but i am trying that right now so may be i will come up with some solution.. Thanks for the help and the great work on jetspeed which is really good for a cool portal website... Gloria Samson - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Re: Need some help...
Actually some html and jsp files that i use in both the portal folders are common. I dont care about the xreg files even though they are common i can put them in two folders. But i want to have a common location for the html and jsp files that i use inside the IFramePortlets. Plus i want to put the jetspeed related jar files and the class files that are inside the WEB-INF/classes folder instead of copying them in both the portal folders. When i put the jar files related to jetspeed inside a tomcat/common lib folder after removing them from the jetspeed_home/WEB-INF/lib folder the portal pages cant find the class files. Is there a particular properties file where i need to specify the path of the jar files and class files? As when i create a new folder for a new portal inside the tomcat/webapps folder it is assumed that the jetspeed_home folder starts form there. So every file it looks inside jetspeed_home/ it doesnt load if the files are in a upper directory than the jetspeed_home folder. Did you get it what i mean to say? I have tomcat_home/webapps and then two portal folders which are two jetspeed_home folder... I dont know where exactly i need to specify the path information for the common files... Thanks a lot for the information and help Gloria Santiago Gala [EMAIL PROTECTED] wrote:Gloria Samson wrote: Hi I have started working recently on jetspeed and till now everything was smooth as the tutorial and the mailing list is great.. But now i have one problem coming up.. First thing can i have a portal inside another protal? I didnt try the above method though. What i need is to have two portals... What i did was i created two jetspeed home folder for two portals but a lot of them have some common portlets and use a common web context.. But i dont know how to share them across two portals? Can you elaborate on the kind of portlets that you want to share? (RSS, ...) If you want a usable solution, I would recommend just to duplicate the java classes and have the urls used (say RSS files, OCF feeds) served from a common document repository. This could even work for other files in WEB-INF, like xregs, if properly configured (I'm not sure at all). You would made properties pointing to those resources to an absolute URL like http://localhost/blah/blah and then you configure all similar properties, and say your web server to *only* serve these requests from localhost to avoid serving the source code of your templates, RSS files, etc. I'm not sure it could ever be made work with JSP. Compilation makes it much trickier. With Velocity it will not work due to assumption that templates are files in JetspeedTemplateLocatorService.java If you arrive further with this approach, please report back. ;-) WARNING: untested advice! don't blame me if it does not work. Where shud i specify the path for accessing common files by both the portals? I tried to use tomcat shared folder and put the jar files and some common files there but the jetspeed home cant access them? Funny, it should work for the classes. WRT common files, what files do you mean? See above. Is there any other way that i can share them? Please help me out... I have another problem with the security role of the logged in users but i am trying that right now so may be i will come up with some solution.. Thanks for the help and the great work on jetspeed which is really good for a cool portal website... Gloria Samson - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
RE: user modification issue
What I noticed is that the port number (8080) does not exist under certain circumstances after executing certain features. Anyone have any ideas? -Original Message- From: Peeples, Kenny Sent: Thursday, January 30, 2003 3:37 PM To: Jetspeed Users List Subject: user modification issue I am trying to change the layout on the turbine user. Once I accept the changes for it to go back to the user home page I get a page cannot be displayed with the following url: http://htceadev1.htc.com/jetspeed/portal/media-type/html/user/turbine/page/d efault.psml http://htceadev1.htc.com/jetspeed/portal/media-type/html/user/turbine/page/ default.psml I am using the latest copy of Jetspeed on EAServer. Any suggestions? HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you.
RE: user modification issue
Okay I found it. In EA Server I had the domain name on the http properties for the jaguar server. Once I removed it everything was fine. -Original Message- From: Peeples, Kenny [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 4:23 PM To: 'Jetspeed Users List' Subject: RE: user modification issue What I noticed is that the port number (8080) does not exist under certain circumstances after executing certain features. Anyone have any ideas? -Original Message- From: Peeples, Kenny Sent: Thursday, January 30, 2003 3:37 PM To: Jetspeed Users List Subject: user modification issue I am trying to change the layout on the turbine user. Once I accept the changes for it to go back to the user home page I get a page cannot be displayed with the following url: http://htceadev1.htc.com/jetspeed/portal/media-type/html/user/turbine/page/d efault.psml http://htceadev1.htc.com/jetspeed/portal/media-type/html/user/turbine/page/ default.psml I am using the latest copy of Jetspeed on EAServer. Any suggestions? HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Memory and JetSpeed
I can't guarantee success, but it is wise to give Tomcat more memory. Try setting an env var like so: CATALINA_OPTS=-Xmx256m -Xms128m See the Tomcat docs for more info. Let us know... --- Weßling,_Achim [EMAIL PROTECTED] wrote: Hallo, I just setup Jetspeed 1.4B3 on a win2000 system with 2 Pentium III/700 and 1GB Memory. I use JDK 1.4.1 with Tomcat 4.1.18. The responsetime when I for example open the PSML Browser Portlet is about 30 seconds! Both cpu are working at about 50% for this time! Whats wrong? Did I have to give the tomcat some extra Memory when starting it? Did others also got those experiences? Thanks! Mit freundlichem Gruß Achim Weßling ** INFOKOM Gütersloh Fachbereich Technische Anwendungen / Zentrale Anwendungen Tel.: 05241/85-2926 [EMAIL PROTECTED] http://www2.infokom-gt.de/produkte - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need some help...
Gloria Samson wrote: Hi I have started working recently on jetspeed and till now everything was smooth as the tutorial and the mailing list is great.. But now i have one problem coming up.. First thing can i have a portal inside another protal? I didnt try the above method though. What i need is to have two portals... What i did was i created two jetspeed home folder for two portals but a lot of them have some common portlets and use a common web context.. But i dont know how to share them across two portals? Can you elaborate on the kind of portlets that you want to share? (RSS, ...) If you want a usable solution, I would recommend just to duplicate the java classes and have the urls used (say RSS files, OCF feeds) served from a common document repository. This could even work for other files in WEB-INF, like xregs, if properly configured (I'm not sure at all). You would made properties pointing to those resources to an absolute URL like http://localhost/blah/blah and then you configure all similar properties, and say your web server to *only* serve these requests from localhost to avoid serving the source code of your templates, RSS files, etc. I'm not sure it could ever be made work with JSP. Compilation makes it much trickier. With Velocity it will not work due to assumption that templates are files in JetspeedTemplateLocatorService.java If you arrive further with this approach, please report back. ;-) WARNING: untested advice! don't blame me if it does not work. Where shud i specify the path for accessing common files by both the portals? I tried to use tomcat shared folder and put the jar files and some common files there but the jetspeed home cant access them? Funny, it should work for the classes. WRT common files, what files do you mean? See above. Is there any other way that i can share them? Please help me out... I have another problem with the security role of the logged in users but i am trying that right now so may be i will come up with some solution.. Thanks for the help and the great work on jetspeed which is really good for a cool portal website... Gloria Samson - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Need some help...
Hi I have started working recently on jetspeed and till now everything was smooth as the tutorial and the mailing list is great.. But now i have one problem coming up.. First thing can i have a portal inside another protal? I didnt try the above method though. What i need is to have two portals... What i did was i created two jetspeed home folder for two portals but a lot of them have some common portlets and use a common web context.. But i dont know how to share them across two portals? Where shud i specify the path for accessing common files by both the portals? I tried to use tomcat shared folder and put the jar files and some common files there but the jetspeed home cant access them? Is there any other way that i can share them? Please help me out... I have another problem with the security role of the logged in users but i am trying that right now so may be i will come up with some solution.. Thanks for the help and the great work on jetspeed which is really good for a cool portal website... Gloria Samson - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
RE: Some Quetions on jetspeed
I found that the permissions associated to a role are not read from the corresponding table while displaying the actions of the portlets.Though the security references seem to be refered to (in the RegistryAccessController). Any thoughts? The security role browser doesn't seem to work properly. Has anyone else had this problem? -Original Message- From: Shiva Kumar T Sent: Thursday, January 30, 2003 10:25 AM To: Jetspeed Users List Subject: Some Quetions on jetspeed Hi, 1.What is the purpose of Associating Roles with permissions in JetSpeed,when we already have security references? 2.When i log in as admin In the content tab's Customize , you can add a reference ,after which it is updating the PSML file of the admin and the refered PSML's panes are coming in the Content Pane, then if i remove the just added reference then it is not showing the removed pane in the Content pane (Still this point it is fine), but it is not updating the admin's PSML (Ideally it should remove the reference from the admin PSML).If i log out and login then still it is not showing the removed reference in the Content Pane. But if i restart the Tomcat server then it is again showing the removed Reference inside the Content pane. What is the work around for this? Thanx Shiva - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Memory and JetSpeed
Hallo, I didn't add any psml yet! I have a base install only! I just recognized, jetspeed is throwing some exceptions when generating sites, so I will look at them and then report again (if I can't solve them). Achim -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 30. Januar 2003 18:29 An: Jetspeed Users List Betreff: Re: Memory and JetSpeed Hi !! I'm developing a portal system based on jetspeed 1.4b3 on a similar system and i haven't this problem, it works great! How much psml files do you have? Weßling, Achim Achim.Wessling@ To: Jetspeed Users List [EMAIL PROTECTED] gt-net.de cc: Subject: Memory and JetSpeed 30/01/2003 18.15 Please respond to Jetspeed Users List Hallo, I just setup Jetspeed 1.4B3 on a win2000 system with 2 Pentium III/700 and 1GB Memory. I use JDK 1.4.1 with Tomcat 4.1.18. The responsetime when I for example open the PSML Browser Portlet is about 30 seconds! Both cpu are working at about 50% for this time! Whats wrong? Did I have to give the tomcat some extra Memory when starting it? Did others also got those experiences? Thanks! Mit freundlichem Gruß Achim Weßling ** INFOKOM Gütersloh Fachbereich Technische Anwendungen / Zentrale Anwendungen Tel.: 05241/85-2926 [EMAIL PROTECTED] http://www2.infokom-gt.de/produkte - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]