Re: CMS - Struts

2002-10-30 Thread Werner Ramaekers
Christophe wrote: I must say that i agree on the matter that it should be possible to use Struts as MVC within Jetspeed instead of velocity, there has been an attempt at integrating JSP based templates but they are setup in a wrong way. I have already addressed this to the Jetspeed-dev mailing l

RE: Problem with 1.42b installation of Jetspeed

2002-10-30 Thread Josh Hone
Has anyone run into a problem with the 1.42b installation of jetspeed. I am currently running a 1.4b2 under tomcat 4.1.3 (i think), jdk1.4, apache something new... on the latest Linux distribution for a physics portal I am developing and it works fine for me. I set up email registration, a de

WhereTo for jdbc drivers

2002-10-30 Thread D. S. Johnson
Hi Does anyone know where to put the JDBC drivers for JSP portals. I want my portal to access my database, but I keep getting an error concerning Jasper not finding the (Oracle) driver. I have tried putting the jar file just about everywhere I can think of, and I have added it to the CLASSPATH. But

RE: HelloWorld portlet

2002-10-30 Thread Jim . Jackson
Yes. I was using the TDK. It seemed the easiest way to get things going. I will pursue your suggestion. Thanks, very much. Jim Jackson SunGard EBS "David Sean

Re: HelloWorld portlet

2002-10-30 Thread Ozgur Balsoy
Assuming that you copied & pasted the registery files, could the problems be that 1) you have given the both of the portlets the same name, "HelloWorld." 2) you don't have a parent portlet called "HelloWorldPortlet." See 1). Ozgur [EMAIL PROTECTED] wrote: Can't get it to work. Shows up in Add Po

RE: HelloWorld portlet

2002-10-30 Thread David Sean Taylor
> -Original Message- > From: [EMAIL PROTECTED] [mailto:Jim.Jackson@;SunGard.com] > Sent: Wednesday, October 30, 2002 2:07 PM > To: [EMAIL PROTECTED] > Subject: RE: HelloWorld portlet > > > HHmm > My jetspeed does not seem to have a WEB-INF. > Should I create one? > HHmm , using the

RE: Need help with Users security roles

2002-10-30 Thread David Sean Taylor
> > Hi, > > Try to use org.apache.jetspeed.om.security.BaseTurbineUser instead of > org.apache.turbine.om.security.TurbineRole > Your advising to use the default implementation instead of the interface? Thats bad advice! The Role interface has a getName method which correctly retrieves the name o

RE: HelloWorld portlet

2002-10-30 Thread Jim . Jackson
HHmm My jetspeed does not seem to have a WEB-INF. Should I create one? C:\tdk\tdk\webapps\jetspeed\WEB-INF +--cache +--conf +--db +--lib +--log +--psml | +--group | | +--apache | | \--Jetspeed | | \--html | +--role | | +--admin | | \--user | \--user | +--admin | | +--

Re: Need help with Users security roles

2002-10-30 Thread Maciej Dziergwa
Użytkownik Shorney, Rob napisał: How do I get the description of the role, at present I have the following in the getContent() method of the protlet try { Iterator roles = JetspeedRoleManagement.getRoles(runData.getUser().getUserName()); while (roles.hasNext()) { tr =

RE: HelloWorld portlet

2002-10-30 Thread Weaver, Scott
Why not put the portlet's class file in the WEB-INF/classes/directory? Scott > -Original Message- > From: [EMAIL PROTECTED] [mailto:Jim.Jackson@;SunGard.com] > Sent: Wednesday, October 30, 2002 4:50 PM > To: [EMAIL PROTECTED] > Subject: RE: HelloWorld portlet > > > I tried several diffe

RE: HelloWorld portlet

2002-10-30 Thread Jim . Jackson
I tried several differrent places. 1. Altered classpath to have the location where I compilied the java file into class file 2. share\lib 3. webapps\jetspeed\WEB-INF\lib In all cases, I re-started Catalina. None worked. Here is the error in jetspeed log [10:21:43,597 ERROR] org.apache.jetspeed.p

Re: CMS - Struts

2002-10-30 Thread Christophe
> I must say that i agree on the matter that it should be possible to use > Struts as MVC within Jetspeed instead of velocity, > there has been an attempt at integrating JSP based templates but they > are setup in a wrong way. > I have already addressed this to the Jetspeed-dev mailing list in the

RE: HelloWorld portlet

2002-10-30 Thread Jim . Jackson
I tried several differrent places. 1. Altered classpath to have the location 2. share\lib 3. webapps\jetspeed\WEB-INF\lib In all cases, I re-started Catalina. None worked. Here is the error in jetspeed log [10:21:43,597 ERROR] org.apache.jetspeed.portal.PortletException: PortletFactory: Unable t

RE: HelloWorld portlet

2002-10-30 Thread David Sean Taylor
> -Original Message- > From: [EMAIL PROTECTED] [mailto:Jim.Jackson@;SunGard.com] > Sent: Wednesday, October 30, 2002 7:54 AM > To: [EMAIL PROTECTED] > Subject: HelloWorld portlet > > > Can't get it to work. > Shows up in Add Portlets, but not on the user page after adding. > Any ideas,

Need help with Users security roles

2002-10-30 Thread Shorney, Rob
How do I get the description of the role, at present I have the following in the getContent() method of the protlet try { Iterator roles = JetspeedRoleManagement.getRoles(runData.getUser().getUserName()); while (roles.hasNext()) { tr = (org.apache.turbine.om.security.Tu

RE: Need help with getPaneByName

2002-10-30 Thread David Sean Taylor
> -Original Message- > From: Michael Rothrock [mailto:michael@;michaelrothrock.com] > Sent: Wednesday, October 30, 2002 10:17 AM > To: Jetspeed Users List > Subject: Need help with getPaneByName > > > Hello! > > I'm becoming a bit frustrated by what should be an easy task: creating a > li

Need help with getPaneByName

2002-10-30 Thread Michael Rothrock
Hello! I'm becoming a bit frustrated by what should be an easy task: creating a link to activate a different pane on a menu pane. Right now, I have two panes, Home and Features. I have a Velocity portlet on Home that should have a link to Features. I tried the following: $jslink.getPaneByName(

RE: RE: Registry-CastorRegistryService

2002-10-30 Thread Luta, Raphael (VUN)
From: Alfer, Daniel [mailto:daniel.alfer@;volkswagen.de] > > Hey! > > Thanks Raphael and Hugh, > > now it works, but i´ve still the problem that the regestry > changes or not > permanent. > How it is possible to store new RegistryEntry or update RegistryEntry. > First, i thought that jetspeed

CustomLanguage service +portlet

2002-10-30 Thread Massimiliano Dessi
I'd like to give to the jetspeed comunity the sources of a portlet and the correlated service to change the current language. Jetspeed by default reads the header from the request and to change the language is necessary to modify the browser settings. How it works: this service is similar to the

HelloWorld portlet

2002-10-30 Thread Jim . Jackson
Can't get it to work. Shows up in Add Portlets, but not on the user page after adding. Any ideas, anybody ? Here is my portlet: package com.sungard.portal.portlets; import org.apache.jetspeed.portal.portlets.AbstractPortlet; import org.apache.turbine.util.RunData; import org.apache.ecs.ConcreteEl

RE: Hidden portlets

2002-10-30 Thread Mark Orciuch
> What's the best place to put all the hidden portlets? Is it possible to > put it in some PSML and then only add reference to this file? You can place hidden portlets in arbitrary PSML and then reference it from there. > How to do this? Check out "JSLINK Examples" portlet, it'll point you in t

RE: Problem with 1.42b installation of Jetspeed

2002-10-30 Thread Hugh Brien
Try the following URL if you want that war file. http://www.hughbrien.com/jetspeed/downloads/ This is a slow connection someone may want to post it somewhere else. r Hugh -Original Message- From: Hugh Brien [mailto:hpbrien@;comcast.net] Sent: Tuesday, October 29, 2002 10:53 PM To: Jetspe

Calling another jsp

2002-10-30 Thread Vijay Kumar
Hi, I donot know how to specify the jsp path in action attribute. In spite of having the jsp (which is called) in the same folder (calling jsp) I am getting resource not found. I know that calling a jsp directly will not serve any purpose as it would not be displayed as a portlet. Could anybody p

Re: #parse/#include in VelocityPortlet

2002-10-30 Thread Massimiliano Dessi
Parser a text file locate in a template root (WEB-INF\templates\vm) example : #include ("web.TXT") velocity put the content of web.txt in a template - Original Message - From: "Stefan Kuhn" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2

RE: #parse/#include in VelocityPortlet

2002-10-30 Thread Weaver, Scott
I use #parse all the time. Are you sure that the template path you are using is correct? Remember, #include and #parse directives require that the resource you want include be within the resource loader path. Scott > -Original Message- > From: Stefan Kuhn [mailto:skuhn@;ice.mpg.de] >

#parse/#include in VelocityPortlet

2002-10-30 Thread Stefan Kuhn
Hi everybody, I just tried to use #parse/#include directives in a velocity portlet, but I didn't get it working. Does anybody have experiences with that ? Thanks Stefan -- Stefan Kuhn M. A. MPI of Chemical Ecology, Winzerlaer Str. 10, Beutenberg Campus, 07745 Jena, Germany Tel: +49(0)3641 57126

RE: Jetspeed and Netscape 4.7

2002-10-30 Thread ebardet
A quick hack would be upgrading Netscape! If this is not an acceptable solution for you, you can dig into the JSP or VM files and get rid of some tables. E -Original Message- From: NAJMAN Yves - SOP ( [EMAIL PROTECTED] ) [mailto:YNajman@;sophia-antipolis.sema.slb.com] Sent: 30 October 200

RE: Jetspeed and Netscape 4.7

2002-10-30 Thread Luta, Raphael (VUN)
One possible way would be to try to optimize the number of tables by making assumptions about the context in which a specific template is rendered (for example with controls). In the current setup, each controller, control and portlet takes no risk with its context and sets up its own HTML table t

Hidden portlets

2002-10-30 Thread Łukasz Olek
Hi! What's the best place to put all the hidden portlets? Is it possible to put it in some PSML and then only add reference to this file? How to do this? Is it possible to hide all those portlets(references) in customize view? Thanks for any help Greetings Lukasz Olek

Jetspeed and Netscape 4.7

2002-10-30 Thread NAJMAN Yves - SOP ( [EMAIL PROTECTED] )
Because Jetspeed construct pages with many HTML tables, Netscape 4 takes a long time (minutes) to display a rich page (many portlets). As far as I know this is a problem in Netscape that have an horrible algorythm for imbricated tables. Did anyone find a quick hack that would make Jetspeed usa

RE: Url invalid

2002-10-30 Thread Luta, Raphael (VUN)
And clean your datasource.properties if you have activated the BadURLDaemon. > -Message d'origine- > De : Hugh Brien [mailto:hpbrien@;comcast.net] > Envoyé : mercredi 30 octobre 2002 05:24 > À : Jetspeed Users List > Objet : RE: Url invalid > > > I have seen that issue before. Try delet

RE: RE: Registry-CastorRegistryService

2002-10-30 Thread Luta, Raphael (VUN)
I'm currently making updates to the Registry code and as I can tell everything looks right, can you send the exact code you're using to add a new entry ? I'm also adding a new method that should help writing portlet definitions programatically: RegistryEntry Registry.createEntry(registryName) I

RE: Security - User Roles

2002-10-30 Thread Łukasz Olek
Hi! Ju must catch the exception that is thrown by getRoles(): try { Iterator roles = JetspeedRoleManagement.getRoles(rundata.getJetspeedUser().getUserName()) ; } catch (JetspeedSecurityException ex) { ... //do something with ex } Greetings Lukasz Olek > -Original Message- >

RE: Security - User Roles

2002-10-30 Thread Shorney, Rob
Hi, Again many thanks. I have now put this into a try catch and that has sorted it out. However, how do I get the description of the role, at present I have the following try { Iterator roles = JetspeedRoleManagement.getRoles(runData.getUser().getUserName()); while (roles.ha

Re: Security - User Roles

2002-10-30 Thread Raffaele Ragni
Umm, if i remember right it seems that you are using a function that can thrown an Exception, so you need to catch it or throw too. |- Raffaele Ragni < [EMAIL PROTECTED] > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770 |- CONE Sistemi Informativi - Original Message - From: "Shor

Re: Url invalid

2002-10-30 Thread Raffaele Ragni
ok, i can't restart it now so i will see, though i've assumed that was something with cache, thanks |- Raffaele Ragni < [EMAIL PROTECTED] > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770 |- CONE Sistemi Informativi - Original Message - From: "Hugh Brien" <[EMAIL PROTECTED]> To:

RE: Security - User Roles

2002-10-30 Thread Shorney, Rob
Hi, Many thanks for this, however when I put this code in and compile I get the following error. I have put the code in the getContent() method "UserDetails.java": Error #: 360 : unreported exception: org.apache.jetspeed.services.security.JetspeedSecurityException; must be caught or declared to