Dynamic Portlet loader – is it possible?

2005-02-02 Thread evian_spring
Dynamic Portlet loader – is it possible?


Hi:

I would like to know if the following concept would be
feasible in Jetspeed 2.  

Let me explain it with an example….I have 4 portlets
called as follow  P1, P2, P3 and P4

The PSML page only shows P1 and P2 to the user.

The user would see P1 and P2…click a link on P1 and
then in the P2 would either render P1, P2, P3 or P4. 
This P2 would receive a message and with that message
it would know which Portlet to load….by default it
could load an empty Portlet.

I am not sure if this is clear but the concept
could/would be called a dynamic Portlet loader and
that’s what P2 would be.  

If you need more clarification let me know.

Is it even remotely possible?  I am looking for some
food for toughts/ideas/or if it is already implemented
somewhere.

Evian 

PS: Thanks you all for all previous answers. That
really helped me.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Editor of choice for portlet developement

2005-02-02 Thread Roger Ruttimann
The majority uses Eclipse.
Shah Amit wrote:
I think its gonna be Netbeans or Eclipse, but what would probably be 
like the "recommended" editor from the makers of Jetspeed if I may say !

Amit

-
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: Database Related Question

2005-02-02 Thread David Sean Taylor
mike long wrote:
I think David is saying that you should create implementations of the 
interfaces he references below. I am doing that to allow Jetspeed-2 to 
use an LDAP directory server instead of a relational database. My 
strategy has been to check out the Jetspeed-2 code from CVS and then 
write my own implementations of these classes and wire them in using the 
jetspeed-spring.xml, security.xml, and a couple other configuration 
files. A really good set of unit tests exists for the security 
components already that will tell you if your implementation of those 
interfaces is correct.   You will have good assurance that your 
implementation is correct when all the component/security tests work.  
The tests should run out of the box hooked up to your custom 
implementations.

Your work will be easier than mine since you are only mapping the 
Jetspeed-2 security tables to your own.   Since LDAP is not generally a 
transactional resource like a relational database, I am having 
difficulty because the existing suite of security tests is hardwired to 
use SQL persistence.  That said, the work for you is still considerable. 
I would suggest reading up on Maven, all the tutorials on JAAS, and then 
the Spring reference manual.  The later will show you how to wire the 
application together using your own security implementations.
I setup a new set of a maven project and basic skeletons for the 
services like this in a few minutes (but yes, I ve done it before).

Integration with the unit tests will take more time and thought.
But yes, if you are new to Spring and Maven and J2, its going to take 
more time. The lack of docs doesn't help:

http://portals.apache.org/jetspeed-2/spi.html
I still need to review your LDAP code. Sorry I haven't got to that yet.
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Database Related Question

2005-02-02 Thread mike long
I have had to learn JAAS as well.  You will find that the JAAS tutorials 
will help you to make the connections in your mind  between your 
security model and the JAAS security model. JAAS has nothing new, just a 
new version of ideas with which you are already familiar.

Shah Amit wrote:
Hi Mike,
Thanks for your reply. I am pretty good with Maven and I feel pretty 
comfortable with the Spring Dependency Injection part (where we would 
define the bean constructors in XML file and let spring initialize the 
beans).

I will probably have to read a lot regarding JAAS. It seems to be 
slightly different than "Apache Fulcrum" model.

My security model has user, group, permission, role, permission_role, 
group_role, and user_group tables. I am having a little big tough time 
visualizing this with JAAS where there is subject and principal. 
(Probably there will be a 1-1 mapping between them in my JAAS model 
... ??)

I will read all that I can get with JAAS.
Once again, thanks for all your help.
Amit
Original Message Follows
From: mike long <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Database Related Question
Date: Wed, 02 Feb 2005 15:44:31 -0500
I think David is saying that you should create implementations of the 
interfaces he references below. I am doing that to allow Jetspeed-2 to 
use an LDAP directory server instead of a relational database. My 
strategy has been to check out the Jetspeed-2 code from CVS and then 
write my own implementations of these classes and wire them in using 
the jetspeed-spring.xml, security.xml, and a couple other 
configuration files. A really good set of unit tests exists for the 
security components already that will tell you if your implementation 
of those interfaces is correct.   You will have good assurance that 
your implementation is correct when all the component/security tests 
work.  The tests should run out of the box hooked up to your custom 
implementations.

Your work will be easier than mine since you are only mapping the 
Jetspeed-2 security tables to your own.   Since LDAP is not generally 
a transactional resource like a relational database, I am having 
difficulty because the existing suite of security tests is hardwired 
to use SQL persistence.  That said, the work for you is still 
considerable. I would suggest reading up on Maven, all the tutorials 
on JAAS, and then the Spring reference manual.  The later will show 
you how to wire the application together using your own security 
implementations.

Regards,
Mike Long


Shah Amit wrote:
Hi David,
Please pardon my stupid questions. I am pretty new with JAAS so ...
By what you suggested, you mean to say that I should have my own 
implementation for almost all the interfaces in 
org.apache.jetspeed.security.spi .. ?? and then change the 
jetspeed-spring.xml file to point to my own interfaces ...

Would that mean I would be changing the source of jetspeed and 
building again ?? If not, how can I get the classfiles that I woudl 
write on jetspeed's classpath 

Appreciate the help ...
Thanks,
Amit
Original Message Follows
From: David Sean Taylor <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Database Related Question
Date: Tue, 01 Feb 2005 23:11:42 -0800
Shah Amit wrote:
Thanks for the reply.
Now I already have an existing schema where I have a users table 
with some users and I check logins against that table in my existing 
schema.

In that case, how should I configure my authentication mechanism ? 
Should I translate my current "user" and related tables to 
"Jetspeed2 Security" schema ?? Like, I just want to know what would 
be a good design ?? My feeling is I should translate my user and 
related tables to the jetspeed security model, but would like to get 
some feedback ...

I don't think that is necessary, although you could do that if its 
close. Or perhaps a view that combines the two...

A better solutoin may be to provide your own security handlers in the 
spring configuration. For ex, for credentials, user security, and 
roles, assemble your components something like:

  
  
  >
  

  
  
  >



  
  
  
   class="com.amit.portal.security.spi.impl.AmitRoleSecurityHandler"
  >


  

Thanks for your helps ...
Amit
Original Message Follows
From: David Sean Taylor <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Database Related Question
Date: Mon, 31 Jan 2005 12:17:16 -0800
Shah Amit wrote:
I have an existing database, and a website built on it. We are in a 
process of portalizing the website with Jetspeed2.

Now I downloaded jetspeed2 and the DB that it creates has quite a 
lot of tables (atleast 30 - 40). Out of all of these tables, I do 
understand that security_XXX tables would probably be used by the 
JAAS Security module of jetspeed. But apart from those, which are 
the tables that I would have to preserve on my productio

Re: Database Related Question

2005-02-02 Thread Shah Amit
Hi Mike,
Thanks for your reply. I am pretty good with Maven and I feel pretty 
comfortable with the Spring Dependency Injection part (where we would define 
the bean constructors in XML file and let spring initialize the beans).

I will probably have to read a lot regarding JAAS. It seems to be slightly 
different than "Apache Fulcrum" model.

My security model has user, group, permission, role, permission_role, 
group_role, and user_group tables. I am having a little big tough time 
visualizing this with JAAS where there is subject and principal. (Probably 
there will be a 1-1 mapping between them in my JAAS model ... ??)

I will read all that I can get with JAAS.
Once again, thanks for all your help.
Amit
Original Message Follows
From: mike long <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Database Related Question
Date: Wed, 02 Feb 2005 15:44:31 -0500
I think David is saying that you should create implementations of the 
interfaces he references below. I am doing that to allow Jetspeed-2 to use 
an LDAP directory server instead of a relational database. My strategy has 
been to check out the Jetspeed-2 code from CVS and then write my own 
implementations of these classes and wire them in using the 
jetspeed-spring.xml, security.xml, and a couple other configuration files. A 
really good set of unit tests exists for the security components already 
that will tell you if your implementation of those interfaces is correct.   
You will have good assurance that your implementation is correct when all 
the component/security tests work.  The tests should run out of the box 
hooked up to your custom implementations.

Your work will be easier than mine since you are only mapping the Jetspeed-2 
security tables to your own.   Since LDAP is not generally a transactional 
resource like a relational database, I am having difficulty because the 
existing suite of security tests is hardwired to use SQL persistence.  That 
said, the work for you is still considerable. I would suggest reading up on 
Maven, all the tutorials on JAAS, and then the Spring reference manual.  The 
later will show you how to wire the application together using your own 
security implementations.

Regards,
Mike Long


Shah Amit wrote:
Hi David,
Please pardon my stupid questions. I am pretty new with JAAS so ...
By what you suggested, you mean to say that I should have my own 
implementation for almost all the interfaces in 
org.apache.jetspeed.security.spi .. ?? and then change the 
jetspeed-spring.xml file to point to my own interfaces ...

Would that mean I would be changing the source of jetspeed and building 
again ?? If not, how can I get the classfiles that I woudl write on 
jetspeed's classpath 

Appreciate the help ...
Thanks,
Amit
Original Message Follows
From: David Sean Taylor <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Database Related Question
Date: Tue, 01 Feb 2005 23:11:42 -0800
Shah Amit wrote:
Thanks for the reply.
Now I already have an existing schema where I have a users table with some 
users and I check logins against that table in my existing schema.

In that case, how should I configure my authentication mechanism ? Should 
I translate my current "user" and related tables to "Jetspeed2 Security" 
schema ?? Like, I just want to know what would be a good design ?? My 
feeling is I should translate my user and related tables to the jetspeed 
security model, but would like to get some feedback ...

I don't think that is necessary, although you could do that if its close. 
Or perhaps a view that combines the two...

A better solutoin may be to provide your own security handlers in the 
spring configuration. For ex, for credentials, user security, and roles, 
assemble your components something like:

  
  
  >
  

  
  
  >
   

  
  
  
   class="com.amit.portal.security.spi.impl.AmitRoleSecurityHandler"
  >
   

  

Thanks for your helps ...
Amit
Original Message Follows
From: David Sean Taylor <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Database Related Question
Date: Mon, 31 Jan 2005 12:17:16 -0800
Shah Amit wrote:
I have an existing database, and a website built on it. We are in a 
process of portalizing the website with Jetspeed2.

Now I downloaded jetspeed2 and the DB that it creates has quite a lot of 
tables (atleast 30 - 40). Out of all of these tables, I do understand 
that security_XXX tables would probably be used by the JAAS Security 
module of jetspeed. But apart from those, which are the tables that I 
would have to preserve on my production database for jetspeed to work ??

Like, I know that there are lot of sample applications shipped with 
Jetspeed2, and lot of those applications might need their own tables. But 
if I were to remove all the sample applications shipped with J2, and only 
have the minimal skeleton of J2, what are th

Re: Database Related Question

2005-02-02 Thread mike long
I think David is saying that you should create implementations of the 
interfaces he references below. I am doing that to allow Jetspeed-2 to 
use an LDAP directory server instead of a relational database. My 
strategy has been to check out the Jetspeed-2 code from CVS and then 
write my own implementations of these classes and wire them in using the 
jetspeed-spring.xml, security.xml, and a couple other configuration 
files. A really good set of unit tests exists for the security 
components already that will tell you if your implementation of those 
interfaces is correct.   You will have good assurance that your 
implementation is correct when all the component/security tests work.  
The tests should run out of the box hooked up to your custom 
implementations.

Your work will be easier than mine since you are only mapping the 
Jetspeed-2 security tables to your own.   Since LDAP is not generally a 
transactional resource like a relational database, I am having 
difficulty because the existing suite of security tests is hardwired to 
use SQL persistence.  That said, the work for you is still considerable. 
I would suggest reading up on Maven, all the tutorials on JAAS, and then 
the Spring reference manual.  The later will show you how to wire the 
application together using your own security implementations.

Regards,
Mike Long


Shah Amit wrote:
Hi David,
Please pardon my stupid questions. I am pretty new with JAAS so ...
By what you suggested, you mean to say that I should have my own 
implementation for almost all the interfaces in 
org.apache.jetspeed.security.spi .. ?? and then change the 
jetspeed-spring.xml file to point to my own interfaces ...

Would that mean I would be changing the source of jetspeed and 
building again ?? If not, how can I get the classfiles that I woudl 
write on jetspeed's classpath 

Appreciate the help ...
Thanks,
Amit
Original Message Follows
From: David Sean Taylor <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Database Related Question
Date: Tue, 01 Feb 2005 23:11:42 -0800
Shah Amit wrote:
Thanks for the reply.
Now I already have an existing schema where I have a users table with 
some users and I check logins against that table in my existing schema.

In that case, how should I configure my authentication mechanism ? 
Should I translate my current "user" and related tables to "Jetspeed2 
Security" schema ?? Like, I just want to know what would be a good 
design ?? My feeling is I should translate my user and related tables 
to the jetspeed security model, but would like to get some feedback ...

I don't think that is necessary, although you could do that if its 
close. Or perhaps a view that combines the two...

A better solutoin may be to provide your own security handlers in the 
spring configuration. For ex, for credentials, user security, and 
roles, assemble your components something like:

  
  
  >
  

  
  
  >


  
  
  
   class="com.amit.portal.security.spi.impl.AmitRoleSecurityHandler"
  >


  

Thanks for your helps ...
Amit
Original Message Follows
From: David Sean Taylor <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Database Related Question
Date: Mon, 31 Jan 2005 12:17:16 -0800
Shah Amit wrote:
I have an existing database, and a website built on it. We are in a 
process of portalizing the website with Jetspeed2.

Now I downloaded jetspeed2 and the DB that it creates has quite a 
lot of tables (atleast 30 - 40). Out of all of these tables, I do 
understand that security_XXX tables would probably be used by the 
JAAS Security module of jetspeed. But apart from those, which are 
the tables that I would have to preserve on my production database 
for jetspeed to work ??

Like, I know that there are lot of sample applications shipped with 
Jetspeed2, and lot of those applications might need their own 
tables. But if I were to remove all the sample applications shipped 
with J2, and only have the minimal skeleton of J2, what are the 
tables that I need to preserve ??

Ive gone thru something similar here.
Minimized, its not that much smaller (see below)
summary:
phase 1 schema: need this for the capability map component which only 
runs against a relational database store

phase 2 schema: need the profiler schema
phase3 ojb: ojb internals
prefs schema: to handle preferences - required for proper operation 
using prefs

registry schema: all Portlet app and portlet info from portlet.xml 
stored here

security-schema: you could minimize this by removing SSO tables
or providing your own security components

# 
---
# MEDIA_TYPE
# 
---
drop table if exists MEDIA_TYPE;

CREATE TABLE MEDIA_TYPE
(
MEDIATYPE_ID INTEGER NOT NULL,
NAME VARCHAR (80) NOT NULL,
   

Re: Database Related Question

2005-02-02 Thread Shah Amit
Thanks a lot for the quick reply. I get the idea.
Amit
Original Message Follows
From: David Sean Taylor <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Database Related Question
Date: Wed, 02 Feb 2005 12:31:55 -0800
Shah Amit wrote:
Hi David,
Please pardon my stupid questions. I am pretty new with JAAS so ...
By what you suggested, you mean to say that I should have my own 
implementation for almost all the interfaces in 
org.apache.jetspeed.security.spi .. ?? and then change the 
jetspeed-spring.xml file to point to my own interfaces ...
Only implement what you need.
Would that mean I would be changing the source of jetspeed and building 
again ?? If not, how can I get the classfiles that I woudl write on 
jetspeed's classpath 

No.
1. create a maven project
2. add these deps to your project.xml:
  
 
  jetspeed2:jetspeed-api
  2.0-M2-dev
  
false
  


  jetspeed-security
  jetspeed2
  2.0-M2-dev
  
false
  

  
3. build a jar containing your classes
maven jar
4. make a maven goal to install your jar and spring config into J2, 
something like

  


  

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
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: Database Related Question

2005-02-02 Thread David Sean Taylor
Shah Amit wrote:
Hi David,
Please pardon my stupid questions. I am pretty new with JAAS so ...
By what you suggested, you mean to say that I should have my own 
implementation for almost all the interfaces in 
org.apache.jetspeed.security.spi .. ?? and then change the 
jetspeed-spring.xml file to point to my own interfaces ...
Only implement what you need.
Would that mean I would be changing the source of jetspeed and building 
again ?? If not, how can I get the classfiles that I woudl write on 
jetspeed's classpath 

No.
1. create a maven project
2. add these deps to your project.xml:
  
 
  jetspeed2:jetspeed-api
  2.0-M2-dev
  
false
  


  jetspeed-security
  jetspeed2
  2.0-M2-dev
  
false
  

  
3. build a jar containing your classes
maven jar
4. make a maven goal to install your jar and spring config into J2, 
something like

  


  

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Database Related Question

2005-02-02 Thread Shah Amit
Hi David,
Please pardon my stupid questions. I am pretty new with JAAS so ...
By what you suggested, you mean to say that I should have my own 
implementation for almost all the interfaces in 
org.apache.jetspeed.security.spi .. ?? and then change the 
jetspeed-spring.xml file to point to my own interfaces ...

Would that mean I would be changing the source of jetspeed and building 
again ?? If not, how can I get the classfiles that I woudl write on 
jetspeed's classpath 

Appreciate the help ...
Thanks,
Amit
Original Message Follows
From: David Sean Taylor <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Database Related Question
Date: Tue, 01 Feb 2005 23:11:42 -0800
Shah Amit wrote:
Thanks for the reply.
Now I already have an existing schema where I have a users table with some 
users and I check logins against that table in my existing schema.

In that case, how should I configure my authentication mechanism ? Should I 
translate my current "user" and related tables to "Jetspeed2 Security" 
schema ?? Like, I just want to know what would be a good design ?? My 
feeling is I should translate my user and related tables to the jetspeed 
security model, but would like to get some feedback ...

I don't think that is necessary, although you could do that if its close. Or 
perhaps a view that combines the two...

A better solutoin may be to provide your own security handlers in the spring 
configuration. For ex, for credentials, user security, and roles, assemble 
your components something like:

  
  
  >
  

  
  
  >
   

  
  
  
   class="com.amit.portal.security.spi.impl.AmitRoleSecurityHandler"
  >
   
  


Thanks for your helps ...
Amit
Original Message Follows
From: David Sean Taylor <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Database Related Question
Date: Mon, 31 Jan 2005 12:17:16 -0800
Shah Amit wrote:
I have an existing database, and a website built on it. We are in a 
process of portalizing the website with Jetspeed2.

Now I downloaded jetspeed2 and the DB that it creates has quite a lot of 
tables (atleast 30 - 40). Out of all of these tables, I do understand that 
security_XXX tables would probably be used by the JAAS Security module of 
jetspeed. But apart from those, which are the tables that I would have to 
preserve on my production database for jetspeed to work ??

Like, I know that there are lot of sample applications shipped with 
Jetspeed2, and lot of those applications might need their own tables. But 
if I were to remove all the sample applications shipped with J2, and only 
have the minimal skeleton of J2, what are the tables that I need to 
preserve ??

Ive gone thru something similar here.
Minimized, its not that much smaller (see below)
summary:
phase 1 schema: need this for the capability map component which only runs 
against a relational database store

phase 2 schema: need the profiler schema
phase3 ojb: ojb internals
prefs schema: to handle preferences - required for proper operation using 
prefs

registry schema: all Portlet app and portlet info from portlet.xml stored 
here

security-schema: you could minimize this by removing SSO tables
or providing your own security components

# ---
# MEDIA_TYPE
# ---
drop table if exists MEDIA_TYPE;
CREATE TABLE MEDIA_TYPE
(
MEDIATYPE_ID INTEGER NOT NULL,
NAME VARCHAR (80) NOT NULL,
CHARACTER_SET VARCHAR (40),
TITLE VARCHAR (80),
DESCRIPTION MEDIUMTEXT,
PRIMARY KEY(MEDIATYPE_ID)
);
# ---
# CLIENT
# ---
drop table if exists CLIENT;
CREATE TABLE CLIENT
(
CLIENT_ID INTEGER NOT NULL,
NAME VARCHAR (80) NOT NULL,
USER_AGENT_PATTERN VARCHAR (128),
MANUFACTURER VARCHAR (80),
MODEL VARCHAR (80),
VERSION VARCHAR (40),
PREFERRED_MIMETYPE_ID INTEGER NOT NULL,
PRIMARY KEY(CLIENT_ID)
);
# ---
# MIMETYPE
# ---
drop table if exists MIMETYPE;
CREATE TABLE MIMETYPE
(
MIMETYPE_ID INTEGER NOT NULL,
NAME VARCHAR (80) NOT NULL,
PRIMARY KEY(MIMETYPE_ID)
);
# ---
# CAPABILITY
# ---
drop table if exists CAPABILITY;
CREATE TABLE CAPABILITY
(
CAPABILITY_ID INTEGER NOT NULL,
CAPABILITY 

SessionState

2005-02-02 Thread angeloimm
Hi all; can i get the SessionState of a portlet A in a portlet B; i could use 
this method:

((JetspeedRunData)(rundata)).getPortletSessionState(String name); but what name 
must i use? The id of the portlet A or the name in xreg file of portlet A?




Navighi a 2 MEGA e i primi 3 mesi sono GRATIS. 
Scegli Libero Adsl Flat senza limiti su http://www.libero.it



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Editor of choice for portlet developement

2005-02-02 Thread Scott T. Weaver
FWIW I use eclipse.
Shah Amit wrote:
I think its gonna be Netbeans or Eclipse, but what would probably be 
like the "recommended" editor from the makers of Jetspeed if I may say !

Amit

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
"Great minds discuss ideas. Average minds discuss events. Small minds discuss 
people."  - Admiral Hyman Rickover
***
*   Scott T. Weaver   *
* <[EMAIL PROTECTED]> *
* *
* --  *
*   Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container  *
* *
* OpenEdit, Website Content Management*
*    *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Help with Jetspeed

2005-02-02 Thread Shah Amit
If you are just doing it from scratch, you might want to give a try to 
Jetspeed2. It follows the Java Portlet specs. I am not much familiar with 
Jetspeed1.x. Just started with Jetspeed2. You would need maven to build that 
though ...

Amit
Original Message Follows
From: "lorenzo baylon" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: jetspeed-user@jakarta.apache.org
Subject: Help with Jetspeed
Date: Tue, 01 Feb 2005 19:59:07 -0500
hi there!!!
> my name is lhorenz, a neophyte in java programming and became so
> interested about your project Jetspeed.
> I tried to install it in my system by downloading the source files,
> and to create my own trial portlet, I've created an action and a
> velocity file. May I ask where to put these files (directory)
> together with the source files of Jetspeed so I can rebuild it and
> deploy later? how about the rebuilding process, I'm getting this
> error message >>> BUILD FAILED
> /home/angelbert/downloads/current/jetspeed-1.5/build.xml:24:
> Following error occured while executing this line
> java.io.FileNotFoundException:
> /home/angelbert/downloads/current/jetspeed-1.5/build/build.xml (No
> such file or directory)
>
> May I ask this help from you guys?
>
> Thanks in advance and more power!!!
>
> lhorenz
--
___
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
-
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]


Help with Jetspeed

2005-02-02 Thread lorenzo baylon
hi there!!!
> my name is lhorenz, a neophyte in java programming and became so 
> interested about your project Jetspeed.
> I tried to install it in my system by downloading the source files, 
> and to create my own trial portlet, I've created an action and a 
> velocity file. May I ask where to put these files (directory) 
> together with the source files of Jetspeed so I can rebuild it and 
> deploy later? how about the rebuilding process, I'm getting this 
> error message >>> BUILD FAILED
> /home/angelbert/downloads/current/jetspeed-1.5/build.xml:24: 
> Following error occured while executing this line
> java.io.FileNotFoundException: 
> /home/angelbert/downloads/current/jetspeed-1.5/build/build.xml (No 
> such file or directory)
>
> May I ask this help from you guys?
>
> Thanks in advance and more power!!!
>
> lhorenz
-- 
___
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Security web.xml Example

2005-02-02 Thread Stephen Hatfield
Thanks to both Ate and Marina for their replies. It worked out just as 
they said!

-Original Message-
From: Ate Douma <[EMAIL PROTECTED]>
To: Jetspeed Users List 
Sent: Tue, 01 Feb 2005 23:20:12 +0100
Subject: Re: Security web.xml Example
Stephen Hatfield wrote:
Hello-
> I have installed J2 on Linux and all is working properly except the 
> login portlet is empty. I saw a previous post on an addition to the > 
web.xml file in security/WEB-INF. I have no files at all in that > 
directory in webapps in Tomcat (5.0.28).
Then something went wrong during deployment.
You should see numerous files there, all contained within the 
security.war.
There is no need to add anything else.

I'd suggest stopping Tomcat and removing the empty folder. Also, remove
the security.xml from $TOMCAT/conf/Catalina/localhost.
Then, restart Tomcat and once Jetspeed is up and running, move the
security.war out of the jetspeed/WEB-INF/deploy in some temporary 
folder.

After a few seconds, Jetspeed will try to undeploy the security 
application.
Once that is done, you can move the security.war back in the deploy 
folder,
and Jetspeed will (try to) deploy it again.
Please, check the Tomcat console carefully for error messages. If all 
goes
well the security/WEB-INF shouldn't be empty now.

I have a question and a request.
> Question - what files should be in the security/WEB-INF directory?
> Request - would someone please post a link to an example web.xml 
file > for security/WEB-INF?
> Thank you!
Stephen Hatfield
> 
-
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]


$cslink and layouts/default.vm problem (Jetspeed-1.6-dev)

2005-02-02 Thread Bjørn Vidar Remme
Hi, 

I just discovered that the line 

in layouts/default.vm sometimes returns the last URL generated by the
$clink object in one of the previous requestes. The statement above
would thus expand to something like http://mysite/theapp/portal/images/logos/somelogo.gif";>.

I guess there is some sort of reuse of the actual java object here so
I changed the code to



Can anybody confirm this problem?


Regards, 
Bjørn Vidar Remme

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]