Re: How to set Security for Portlets ?

2003-01-29 Thread kristian . weissmann
Since I am quite a jetspeed newbie I do not know whether this is a good solution, but it should work: - define your group like "mygroup" - define a psml under WEB-INF/psml/group/mygroup/html/defaul.psml with portlets 1 and 2 - define your roles like "role1" and "role2" - define a psml under

RE: JSP vs Velocity

2003-01-29 Thread Pierre Henry
> How so? No, I'm not trying to start a Velocity vs. JSP war but I'm > interested in any shortcomings with the JSP integration. > > Best regards, > > Mark Orciuch - [EMAIL PROTECTED] Hi Mark! I described some problems I met with JSP's and actions in the "Tricky behavior with JSP portlet and for

RE: How to set Security for Portlets ?

2003-01-29 Thread Shiva Kumar T
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

RE: portlet object in doUpdate()

2003-01-29 Thread Pierre Henry
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

Re: JSP vs Velocity

2003-01-29 Thread Shan Gopalakrishnan
But wondering the overall templates need to be still velocity in jetspeed framework. the portlets can be jsp. remember that context object is always null in jsp :-) At 10:40 PM 1/29/2003 -0800, Michael Rothrock wrote: I would say that it works perfectly well for my strategy, but I believe there

How to set Security for Portlets ?

2003-01-29 Thread Sunil Sheshadri
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 --

Re: JSP vs Velocity

2003-01-29 Thread Michael Rothrock
I would say that it works perfectly well for my strategy, but I believe there's still an issue over how JSPs handle actions. I've been pushing that one off, but I will eventually reach a point where I can't ignore it. FWIW, my strategy is to prototype in JSP, then move the code into a class that

RE: JSP localization (l10n) taglib

2003-01-29 Thread Mark Orciuch
Hmmm, not sure about this one. Could these settings in tr.props help: locale.default.language=en locale.default.country=US If Velocity is the default, does it properly localize the strings? > -Original Message- > From: Fabio Latrofa [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January

RE: JSP vs Velocity

2003-01-29 Thread Mark Orciuch
> Furthermore, you'll find that JSP's integration is largely a kludge. How so? No, I'm not trying to start a Velocity vs. JSP war but I'm interested in any shortcomings with the JSP integration. Best regards, Mark Orciuch - [EMAIL PROTECTED] Jakarta Jetspeed - Enterprise Portal in Java http://ja

Some Quetions on jetspeed

2003-01-29 Thread Shiva Kumar T
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

Re: JSP vs Velocity

2003-01-29 Thread Shan Gopalakrishnan
I have one point to share. I had a prototype created using 1.4a and trying to port to 1.4b3, but went through slightly tough time in porting the code to 1.4b3 as I had done some good amount of customization changes to jetspeed 1.4a templates. The velocity templates has a lot of macros coded in i

RE: setTemplate using JSPAction

2003-01-29 Thread Mark Orciuch
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/ > -Origi

Re: JSP vs Velocity

2003-01-29 Thread Andrew C. Oliver
I have been using Jetspeed since November. I had no prior Turbine knowledge and Velocity knowledge was limited to editing a couple templates during contribution to site documentation. The best way to do it is to just do it, dive in, make it work. As you do it write documentation. Submit it a

Re: Language of the user

2003-01-29 Thread David Sean Taylor
On Wednesday, January 29, 2003, at 08:48 AM, Matthieu DELAHAIS wrote: Hi all, In my user table, I have the language of the user. So, I would like that Jetspeed uses automaticaly the language of the connect user. Any idea? I look at the portlet "change the language", but it doesn't work as I wa

Re: Customzing the Anon page

2003-01-29 Thread David Sean Taylor
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,

Re: services.JetspeedSecurity.secure.passwords=true

2003-01-29 Thread David Sean Taylor
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)

Getting a java.lang.NoClassDefFoundError

2003-01-29 Thread Tino Dai
Hi! I am running a weblogic 5.1sp12 server with jetspeed and turbine on a rh 8.0 After moving the web application from one server to another, I'm getting an exception thrown when somebody hits the login page. I have not changed anything except machines. Here is the error that I am getting:

How can i share common files and portlets between two jetspeed portals?

2003-01-29 Thread Sangam Dash
Hi I need some guidelines as to how can i share the common portlets and jsp and html files between two jetspeed portals as their jetspeed_home folders are different. Please help me Thanks sangam dash - To unsubscribe, e-mail:

RE: Is Jetspeed a good solution?

2003-01-29 Thread jasenj1
IMHO, Jetspeed is only a good solution if you have a dedicated staff or contractor(s) willing to get VERY intimate with the code - and who are very smart on the Jetspeed supporting technologies. Numerous people have requested examples of "real" portals being hosted under Jetspeed and I think the b

Language of the user

2003-01-29 Thread Matthieu DELAHAIS
Hi all, In my user table, I have the language of the user. So, I would like that Jetspeed uses automaticaly the language of the connect user. Any idea? I look at the portlet "change the language", but it doesn't work as I want... Thanks in Advance Matthieu ___

JSP localization (l10n) taglib

2003-01-29 Thread Fabio Latrofa
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 ha

Customzing the Anon page

2003-01-29 Thread BARDE, CEDRIC
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? Thanx a lo

Re: JSP vs Velocity

2003-01-29 Thread kristian . weissmann
Lucky guy! Write a book about it and share your knowledge - struts books we have enough! BTW, since your mail ends with apache.org - how much and how long are you involved in jetspeed / turbine? I am since 4 days and don` t think jetspeed is one of the "vanilla" frameworks to understand in a few

Re: JSP vs Velocity

2003-01-29 Thread Andrew C. Oliver
I found turbine pretty easy to deal with myself. [EMAIL PROTECTED] wrote: Hi, I think the popularity could be much better if the underlying turbine would not be such a high learning curve. With turbine 3 it may be much better, since then people can bet on horses, which they already know (especia

Re: JSP vs Velocity

2003-01-29 Thread Andrew C. Oliver
I suggest you will find that Velocity performs better in Jetspeed. Furthermore, you'll find that JSP's integration is largely a kludge. I would suggest that JSP is not appropriate for outputting binary files. -Andy Wei Guan wrote: I like Velocity. However, there are lots of JSP tags, such as J

services.JetspeedSecurity.secure.passwords=true

2003-01-29 Thread "Weßling, Achim"
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

Re: Portlet "Change the language"

2003-01-29 Thread Massimiliano Dessi
Jetspeed use l10n to change the language, in the portlet .vm (Velocity), you found $l10n.variableName in the velocity portlet. Jetspeed substitute variableName with the variableName in the JetspeedLocalizatio_language(it, en ,es,jp, fr de, ..).properties if the variableName don't exist and if the

Re: Jetspeed Access Control

2003-01-29 Thread kristian . weissmann
Unfortunately, there is a confusing typo in my last paragraph: And, some portlets on the SomethingElse pane should not be visible for a one ROLE [not group!] (let´s say for the ProjectInfo role). Is this possible? I could not manage this with security definitions in security.xreg and security ref