Re: Jetspeed 1.6

2005-04-20 Thread Jonathan Hawkins
I have retrieved the latest Jetspeed 1 from CVS, built it and have it 
running against Tomcat 5.0.28.

How do I go bout deploying JSR-168 compliant portlets, I know in J2 you 
can drop the war file into J2, wahat about J1.6+Fusion.

Thanks
Jon
Raphaël Luta wrote:
[EMAIL PROTECTED] wrote:
Taken from the Wiki
"Fusion runs JSR-168 Portlets inside of Jetspeed 1.6. To build 
Fusion, you
need to first install and build Jetspeed-2. (building J2 will not be
necessary with the final release and distribution of 1.6)"

When will the final release of 1.6 be ?
Many thanks
Jon

David is currently working on it as a release manager.
It currently undergoes a period of QA testing to ensure that the
release will be as stable as possible.
If you're interested, you can help us test the soon to be release
by downloading the latest Jetspeed 1 CVS image and trying to
build and run it.
Make sure to report any problem you may encounter so that we may
fix them before the release.


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


Re: Jetspeed 1.6

2005-04-20 Thread Jonathan Hawkins
Still trying to get to cvs.apache.org, can ping it ok, but can't login 
to retrieve Jetspeed. Anybody else having same problem, I have tried 
from two different locations. Keep on getting "cannot connect to host".

Jon
Jonathan Hawkins wrote:
Is there a problem wih cvs.apache.org, keep getting cannot connect to 
host

Thanks
Jon
Raphaël Luta wrote:
[EMAIL PROTECTED] wrote:
Taken from the Wiki
"Fusion runs JSR-168 Portlets inside of Jetspeed 1.6. To build 
Fusion, you
need to first install and build Jetspeed-2. (building J2 will not be
necessary with the final release and distribution of 1.6)"

When will the final release of 1.6 be ?
Many thanks
Jon

David is currently working on it as a release manager.
It currently undergoes a period of QA testing to ensure that the
release will be as stable as possible.
If you're interested, you can help us test the soon to be release
by downloading the latest Jetspeed 1 CVS image and trying to
build and run it.
Make sure to report any problem you may encounter so that we may
fix them before the release.


-
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: Jetspeed 1.6

2005-04-20 Thread Jonathan Hawkins
Is there a problem wih cvs.apache.org, keep getting cannot connect to host
Thanks
Jon
Raphaël Luta wrote:
[EMAIL PROTECTED] wrote:
Taken from the Wiki
"Fusion runs JSR-168 Portlets inside of Jetspeed 1.6. To build 
Fusion, you
need to first install and build Jetspeed-2. (building J2 will not be
necessary with the final release and distribution of 1.6)"

When will the final release of 1.6 be ?
Many thanks
Jon

David is currently working on it as a release manager.
It currently undergoes a period of QA testing to ensure that the
release will be as stable as possible.
If you're interested, you can help us test the soon to be release
by downloading the latest Jetspeed 1 CVS image and trying to
build and run it.
Make sure to report any problem you may encounter so that we may
fix them before the release.


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


Re: Single Sign on

2005-04-15 Thread Jonathan Hawkins
Thanks for the input.
What we have is an Oracle Forms app running in an IFrame, applets, JSP 
application and portlet(s). We need one repository for maintianing user 
information. LDAP is not an option unfortunately. Users can change 
passwords in each application at the moment, so the change would need to 
be propogated between all the applications.

Thanks
Jon
Roger Ruttimann wrote:
There is an SSO component in Jetspeed.
You can add remote credentials for a Jetspeed group or user to the 
credential store.
Look at the SSO portlets how to use the credentials store.

We use SSO to manage db credentials and web access. We attach remote 
credentials to groups (e.g Application1, Application2,..) and then 
assign users to that group. If a user logs into Jetspeed and tries to 
access a protected application/site it will use the remote credentials 
if the user is a member of the group.

Roger
Jeff Linwood wrote:
Hi,
One approach would be for your portlet to use the portlet API's user
preferences to store the user's username and passwords for each of the
portlet applications. The user would authenticate to Jetspeed (or any
other portlet-API compatible portal), and then the portlets would log
the user in from the stored username and password in preferences.
Jeff
On 4/15/05, Jonathan Hawkins <[EMAIL PROTECTED]> wrote:
 

We are using Jetspeed as a window into our different applications. Each
applkication requires a silent login which we have partially solved 
with
some drawbacks.

I am looking at providing a single sign on solution that can be shared
by each application, the user signs into Jetspeed and then each
application can authenticate against the single sign on solution.
Has anybody any experience of this or suggestions. I have found a
particularly interesting article here,
http://www-106.ibm.com/developerworks/web/library/wa-singlesign/
One requirement would be the ability to deploy the SSO solution ina any
portal !!
Would be interested in your views
Jon Hawkins
-
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]


Single Sign on

2005-04-15 Thread Jonathan Hawkins
We are using Jetspeed as a window into our different applications. Each 
applkication requires a silent login which we have partially solved with 
some drawbacks.

I am looking at providing a single sign on solution that can be shared 
by each application, the user signs into Jetspeed and then each 
application can authenticate against the single sign on solution.

Has anybody any experience of this or suggestions. I have found a 
particularly interesting article here, 
http://www-106.ibm.com/developerworks/web/library/wa-singlesign/

One requirement would be the ability to deploy the SSO solution ina any 
portal !!

Would be interested in your views
Jon Hawkins
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Can I use Hibernate with Jetspeed 2 ??

2005-01-18 Thread Jonathan Hawkins
What is the issue with the licences.
Thanks
Jon Hawkins
David Sean Taylor wrote:
Shah Amit wrote:
Hi all,
I tried to look up on google, but only found an article dated back in 
May that J2 will soon have Hibernate support.

I would like to know if I can use Hibernate with J2. I dont know the 
best way to architect this, but if J2 doeesnot provide any inbuilt 
support and I have to write everything in my application, I guess 
that is fine too.

The Apache license is not compatible with Hibernates license.
Thus we cannot use Hibernate in Jetspeed-2.
However you are free to use Hibernate in your portlet applications or 
component implementations.

I downloaded the code from CVS on 17th Jan. and there was a DB 
Browser application in that, but that doesnot work, and it probably 
looks like it is still not finished, and also it doesnot user 
Hibernate I think.

The DB Browser should work fine.
Let me know if it doesn't.
Again, its in an Apache CVS. Can't use Hibernate.


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


RE: Jetspeed using Oracle

2004-12-10 Thread Jonathan Hawkins
Dan,

Thanks for all the info, will give it a go. Are you aware if Jetspeed2 needs
rebuilding for each database vendor, or were David's recommendations
implemented (torque jar file per database).

Jon

-Original Message-
From: Dan Moore [mailto:[EMAIL PROTECTED]
Sent: 09 December 2004 21:15
To: Jetspeed Users List
Subject: Re: Jetspeed using Oracle


Hi Jonathan,

I went through some shenanigans to get PSML with Oracle working.  Check
out this thread for more information:

http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
.apache.org&by=thread&from=902500

Dan

--- Jonathan Hawkins <[EMAIL PROTECTED]> wrote:

> I've managed to get Jetspeed using Oracle for the security stuff. I'm
> now
> trying to get it to use Oracle for the psml registry, to no avail. I
> have
> followed the instructions in
> http://portals.apache.org/jetspeed-1/psml_db.html . When performing
> maven
> import it always reports no profiles to export. When attempting a
> build I
> never get target/classes/sql/security-schema.sql.   What am I doing
> wrong,
> does anyone have a sql script to populate a default db-psml.
> 
> Many thanks
> 
> Jon Hawkins
> 
> 
> This email and any files transmitted with it are confidential 
> and intended solely for the use of the individual or entity to 
> whom they are addressed. Any unauthorised distribution or 
> copying is strictly prohibited. Whilst Cedar Software Ltd 
> takes steps to prevent the transmission of viruses via e-mail, 
> we cannot guarantee that any email or attachment is free from 
> computer viruses and you are strongly advised to undertake your 
> own anti-virus precautions. Cedar Software Ltd grants no 
> warranties regarding performance, use or quality of any e-mail 
> or attachment and undertakes no liability for loss or damage, 
> howsoever caused.  
> 
> 
> For more information on Cedar Software and our products, 
> please visit our web site at http://www.cedar.com/Home.asp
> 
> 
> -
> 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]


This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised distribution or 
copying is strictly prohibited. Whilst Cedar Software Ltd 
takes steps to prevent the transmission of viruses via e-mail, 
we cannot guarantee that any email or attachment is free from 
computer viruses and you are strongly advised to undertake your 
own anti-virus precautions. Cedar Software Ltd grants no 
warranties regarding performance, use or quality of any e-mail 
or attachment and undertakes no liability for loss or damage, 
howsoever caused.  


For more information on Cedar Software and our products, 
please visit our web site at http://www.cedar.com/Home.asp


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



Jetspeed using Oracle

2004-12-09 Thread Jonathan Hawkins
I've managed to get Jetspeed using Oracle for the security stuff. I'm now
trying to get it to use Oracle for the psml registry, to no avail. I have
followed the instructions in
http://portals.apache.org/jetspeed-1/psml_db.html . When performing maven
import it always reports no profiles to export. When attempting a build I
never get target/classes/sql/security-schema.sql.   What am I doing wrong,
does anyone have a sql script to populate a default db-psml.

Many thanks

Jon Hawkins


This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised distribution or 
copying is strictly prohibited. Whilst Cedar Software Ltd 
takes steps to prevent the transmission of viruses via e-mail, 
we cannot guarantee that any email or attachment is free from 
computer viruses and you are strongly advised to undertake your 
own anti-virus precautions. Cedar Software Ltd grants no 
warranties regarding performance, use or quality of any e-mail 
or attachment and undertakes no liability for loss or damage, 
howsoever caused.  


For more information on Cedar Software and our products, 
please visit our web site at http://www.cedar.com/Home.asp


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



RE: Problem installing J2M1

2004-12-06 Thread Jonathan Hawkins
Check your Java version. Sure I've seen somewhere that this is a Java
problem, I use 1.4.2_04 on Windows and do not get that error, get plenty of
otheres, but not that one !!

-Original Message-
From: Loreno F. de Oliveira [mailto:[EMAIL PROTECTED]
Sent: 06 December 2004 14:22
To: Jetspeed Users List
Subject: Problem installing J2M1


Hi all,

I've just downloaded J2 from the link bellow and I was not able to start it.
Im using Tomcat 5.0.30, as recomended, I start the database but at the 
tomcat
log I get the following exception:

Caused by: org.apache.jetspeed.prefs.PreferencesException: Failed to 
initialize prefs api.  java.lang.InternalError: Can't instantiate 
Preferences factory java.lang.ClassNotFoundException: 
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl

Does anybody knows what can be wrong??

[]'s

Loreno

David Sean Taylor wrote:

>
> The Apache Portals community is pleased to announce the release of
> Jetspeed 2.0 M1.
>
> This is our first milestone release and brings Jetspeed closer to a 
> final 2.0 release.
>
> Feedback is greatly appreciated, especially in the form of bug reports.
>
> You can download Jetspeed 2.0 M1 from:
>
> http://www.apache.org/dist/portals/jetspeed-2/
>
> Release notes and installation instructions are at:
>
> http://www.apache.org/dist/portals/jetspeed-2/JETSPEED-2.0-M1-README.txt
>
> The Jetspeed Project Wiki and Home pages can be found here:
>
> http://wiki.apache.org/portals/Jetspeed2
>
> http://portals.apache.org/jetspeed-2/
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised distribution or 
copying is strictly prohibited. Whilst Cedar Software Ltd 
takes steps to prevent the transmission of viruses via e-mail, 
we cannot guarantee that any email or attachment is free from 
computer viruses and you are strongly advised to undertake your 
own anti-virus precautions. Cedar Software Ltd grants no 
warranties regarding performance, use or quality of any e-mail 
or attachment and undertakes no liability for loss or damage, 
howsoever caused.  


For more information on Cedar Software and our products, 
please visit our web site at http://www.cedar.com/Home.asp


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



Restrict user to single logon

2004-12-02 Thread Jonathan Hawkins
Is it easily possible to restrict a user being logged onto Jetspeed only
once, if they try to logon in another browser or PC a message such as "you
are already logged on" is displayed.

Thanks

Jon Hawkins


This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised distribution or 
copying is strictly prohibited. Whilst Cedar Software Ltd 
takes steps to prevent the transmission of viruses via e-mail, 
we cannot guarantee that any email or attachment is free from 
computer viruses and you are strongly advised to undertake your 
own anti-virus precautions. Cedar Software Ltd grants no 
warranties regarding performance, use or quality of any e-mail 
or attachment and undertakes no liability for loss or damage, 
howsoever caused.  


For more information on Cedar Software and our products, 
please visit our web site at http://www.cedar.com/Home.asp


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



Email Portlet and attachment handling

2004-11-25 Thread Jonathan Hawkins
I originally had a problem whereby I could not open attachments in the email
portlet and thought this was down to TOmcat version.

However, if I have one pane with one portlet (the email portlet) I get the
open/save/cancel dialog as expected whe I click on the attachment's link. If
I add another portlet using the one column layout with the email portlet at
the top , this still works. If I swap the portlets so that email portlet is
at the bottom it no longer works with the following exception being thrown
:-

ERROR Error in doDownload()
java.lang.IllegalStateException: getWriter() has already been called for
this response
at
org.apache.coyote.tomcat5.CoyoteResponse.getOutputStream(CoyoteResponse.java
:568)
at
org.apache.coyote.tomcat5.CoyoteResponseFacade.getOutputStream(CoyoteRespons
eFacade.java:148)
at
org.apache.jetspeed.modules.actions.portlets.email.EmailPortlet.doDownload(E
mailPortlet.java:1488)
at sun.reflect.GeneratedMethodAccessor221.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.turbine.modules.ActionEvent.executeEvents(ActionEvent.java:189)
at
org.apache.jetspeed.modules.actions.portlets.PortletActionEvent.executeEvent
s(PortletActionEvent.java:142)
at
org.apache.jetspeed.modules.actions.portlets.GenericMVCAction.perform(Generi
cMVCAction.java:105)
at
org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at
org.apache.jetspeed.portal.portlets.GenericMVCPortlet.buildContent(GenericMV
CPortlet.java:276)
at
org.apache.jetspeed.portal.portlets.GenericMVCPortlet.getContent(GenericMVCP
ortlet.java:207)
at
org.apache.jetspeed.portal.security.portlets.PortletWrapper.getContent(Portl
etWrapper.java:119)
at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:207)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:250)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
.java:109)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
.java:109)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:27
1)
at org.apache.velocity.Template.merge(Template.java:296)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
at
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(Tu
rbineVelocityService.java:494)
at
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(Tu
rbineVelocityService.java:336)
at
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVe
locity.java:143)
at
org.apache.jetspeed.portal.controls.VelocityPortletControl.getContent(Veloci
tyPortletControl.java:155)
at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:207)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:250)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
a:153)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
a:153)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:27
1)
at org.apache.velocity.Template.merge(Template.java:296)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
at
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(Tu
rbineVelocityService.java:494)
  

RE: Email Portlet

2004-11-25 Thread Jonathan Hawkins
Further to my email question, this works in Tomcat 5.0.28 and not 5.0.19,
must be a bug fix somewhere !!!

-Original Message-
From: Jonathan Hawkins 
Sent: 23 November 2004 13:09
To: 'Jetspeed Users List'
Subject: Email Portlet


I have managed to get the email portlet to connect, read and send email. The
problem occurs when trying to read an attachment.

The porcess goes into the EmailPortlet.doDownload method, when processing
the line :-

m_response.getOutputStream().write(b, 0, b.length);

The following error is thrown :-

java.lang.IllegalStateException: getWriter() has already been called for
this response

Any assistance would be greatly appreciated, has anyone ever had the email
portlet working with attachments ?

Setup is as follows :-

Windows 2000 Proffessional
Jetspeed 1.5
Tomcat 5.0.19
Java 1.4.2_04
Mercury Mail Server 4.01a

Many thanks

Jon Hawkins


This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised distribution or 
copying is strictly prohibited. Whilst Cedar Software Ltd 
takes steps to prevent the transmission of viruses via e-mail, 
we cannot guarantee that any email or attachment is free from 
computer viruses and you are strongly advised to undertake your 
own anti-virus precautions. Cedar Software Ltd grants no 
warranties regarding performance, use or quality of any e-mail 
or attachment and undertakes no liability for loss or damage, 
howsoever caused.  


For more information on Cedar Software and our products, 
please visit our web site at http://www.cedar.com/Home.asp


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



Email Portlet

2004-11-23 Thread Jonathan Hawkins
I have managed to get the email portlet to connect, read and send email. The
problem occurs when trying to read an attachment.

The porcess goes into the EmailPortlet.doDownload method, when processing
the line :-

m_response.getOutputStream().write(b, 0, b.length);

The following error is thrown :-

java.lang.IllegalStateException: getWriter() has already been called for
this response

Any assistance would be greatly appreciated, has anyone ever had the email
portlet working with attachments ?

Setup is as follows :-

Windows 2000 Proffessional
Jetspeed 1.5
Tomcat 5.0.19
Java 1.4.2_04
Mercury Mail Server 4.01a

Many thanks

Jon Hawkins


This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised distribution or 
copying is strictly prohibited. Whilst Cedar Software Ltd 
takes steps to prevent the transmission of viruses via e-mail, 
we cannot guarantee that any email or attachment is free from 
computer viruses and you are strongly advised to undertake your 
own anti-virus precautions. Cedar Software Ltd grants no 
warranties regarding performance, use or quality of any e-mail 
or attachment and undertakes no liability for loss or damage, 
howsoever caused.  


For more information on Cedar Software and our products, 
please visit our web site at http://www.cedar.com/Home.asp


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



RE: Do Roles work ?

2004-10-21 Thread Jonathan Hawkins
Thanks for the reply, that will certainly do in the short term. The idea was
to have the portlet close button available dependant upon the user's role.

Thanks

-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: 22 October 2004 01:23
To: Jetspeed Users List
Subject: Re: Do Roles work ?

Jonathan Hawkins wrote:

> Dan,
> 
> Thanks for the reply. The Close box I am trying to disable is on every
> portlet's title bar, first icon I think.
> 

If you simply need to get rid of it on a global level,

services.JetspeedSecurity.permission.default.anonymous=view
services.JetspeedSecurity.permission.default.loggedin=view,customize,maximiz
e,minimize,print,info



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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 


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



RE: Do Roles work ?

2004-10-20 Thread Jonathan Hawkins
Dan,

Thanks for the reply. The Close box I am trying to disable is on every
portlet's title bar, first icon I think.

Jon

-Original Message-
From: Dan Moore [mailto:[EMAIL PROTECTED] 
Sent: 20 October 2004 14:56
To: Jetspeed Users List
Subject: Re: Do Roles work ?

Hi Jonathan,

--- Jonathan Hawkins <[EMAIL PROTECTED]> wrote:

> I created a role with every permission except close permission.
> Created a
> new user and gave him the new role and no others. Logged in as the
> new user
> and he can still use the close button on the portlets. Shouldn't the
> close
> button either be disabled or invisible ?

This procedure has workd for me.  Did you follow the directions under
the RoleMerge heading here:
http://portals.apache.org/jetspeed-1/config_guide.html

That's required before you get roles copied, otherwise, I believe a new
user is given psml copied from the turbine user.  (Just so you know,
rolemerging doesn't work out of the box for any page except
default.psml, see
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
ache.org&msgNo=14891
for more).

Also, I'm not sure where you see the close box.  Is it on the home page
or in the customizer?  Even when I didn't give folks the close
permission, when they're in the customizer, they have the ability to
close portlets.  My solution was to not allow them to customize certain
groups of portlets.

Dan

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 


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



Do Roles work ?

2004-10-20 Thread Jonathan Hawkins
I created a role with every permission except close permission. Created a
new user and gave him the new role and no others. Logged in as the new user
and he can still use the close button on the portlets. Shouldn't the close
button either be disabled or invisible ?

Any advice appreciated.

Thanks

Jon Hawkins

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 


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



Web content takes over the portal !

2004-10-19 Thread Jonathan Hawkins
We have an Iframe portlet that when it loads the default content the content
takes over the whole browser and the rest of the portal disappears, an
example being set http://www.bbc.co.uk or .com as the default page for an
IFrame portlet.

Is there a way of stopping this behaviour.

Thanks

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 


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



How to use my own customization page ?

2004-10-11 Thread Jonathan Hawkins
This is the scenario that I have been trying to solve for far too long now
!!! 

I have a JSP Portlet that I want to use my own customization page when the
user clicks on the customize icon on the portlet title. Fairly
straightforward stuff I would have thought.

I've set the providescustomization to true in my portlet xreg file and in
the BuildConfigureContext in my action class I have called setTemplate to my
customization page. First problem is you can only set the customization page
to be a jsp page, I assume because it is a jsp portlet.

I have now got my customization page to call the CustomizeAction class,
that's fine, except I get no parameters returned. So taking a look at
another portlet I see that when the customize icon is clicked the
CustomizeAction.BuildNormalContext method is called and the context is setup
to tell the system that I am customizing. Second problem, my jsp portlet
uses it's own action class and I don't want all the
CustomizeAction.BuildNormalContext stuff in my action classes
BuildNormalContext.

Basically, I want my jsp portlet to use my own customization page, any
assistance would be greatly appreciated. The amount of time that this has
taken and the "apparent" brick walls that I have come up against leaves me
thinking that Jetspeed 1.5 is not ideal for application development, which
is a shame.

Many thanks

Jon Hawkins

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 


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



RE: JSP Customize action

2004-10-11 Thread Jonathan Hawkins
I have a JSP Portlet and able to set the customize template to my own
customize.jsp (The JSP action class won't let me set the template to be a vm
file)

I've managed to get the CustomizeAction.doUpdate to be called but Vector
params = (Vector) customizationState.getAttribute("customize-parameters");
returns null so no updates are performed.

Any assistance would be greatly appreciated as I can't find any examples of
a jsp customization page.

Many thanks


This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised distribution or 
copying is strictly prohibited. Whilst Cedar Software Ltd 
takes steps to prevent the transmission of viruses via e-mail, 
we cannot guarantee that any email or attachment is free from 
computer viruses and you are strongly advised to undertake your 
own anti-virus precautions. Cedar Software Ltd grants no 
warranties regarding performance, use or quality of any e-mail 
or attachment and undertakes no liability for loss or damage, 
howsoever caused.  


For more information on Cedar Software and our products, 
please visit our web site at http://www.cedar.com/Home.asp


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



JSP Customize action

2004-10-11 Thread Jonathan Hawkins
Can someone let me know what the jsp equivalent of the following would be



Many thanks


This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised distribution or 
copying is strictly prohibited. Whilst Cedar Software Ltd 
takes steps to prevent the transmission of viruses via e-mail, 
we cannot guarantee that any email or attachment is free from 
computer viruses and you are strongly advised to undertake your 
own anti-virus precautions. Cedar Software Ltd grants no 
warranties regarding performance, use or quality of any e-mail 
or attachment and undertakes no liability for loss or damage, 
howsoever caused.  


For more information on Cedar Software and our products, 
please visit our web site at http://www.cedar.com/Home.asp


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



RE: List of user's portlets

2004-10-08 Thread Jonathan Hawkins
Thanks for the response. What I originally wanted to do was to present to
the user a drop won list of those portlet that are configured in their
profile. We are adding some "Add to Favourites" functionality whereby we
have static links and also user defined links which are created at runtime
by populating parameters within our Links portlet. This specifies the
anchor,url and forward:name. Ideally we wanted to just present the list of
portlets to the user so that they can say "look at the Goods Receipting
screen in the Financials portlet.

Many thanks

Jon

-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: 08 October 2004 07:36
To: Jetspeed Users List
Subject: Re: List of user's portlets

Jonathan Hawkins wrote:

> Definitely in an action class. 

Well that seems odd since the profile gets put in way up front, in the 
access controller action. Guess Im stumped on this one without more code 
examples.

Due to timescales we have restricted the
> functionality and concentrating on a customized "customize-portelt" page.
I
> have had some assistance yesterday with this, see thread "changing default
> customize page" and even that is causing problems.
> 

Yes, I saw that. Using your own template for a portlet's customize mode 
is very common.

> U have been looking on and off at Jetspeed for about three years and still
> believe it is the way forward for us, just get very frustrated with the
> myriad of interfaces/methods etc. From what I have seen so far I am hoping
> that Jetspeed 2 will be far clearer for those of use attemting to extend
> jetspedd and make it an application rich environment.

J1 can be confusing for application developers because of Turbine's 
architecture mixed in. Most common programming problems are with 
actions. I think the portlet api gets the render/action phases down 
pretty well. You should try to develop a JSR 168 portlet in J1, just for 
something to compare to and see how you like the standard.

-- 
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]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 


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



RE: List of user's portlets

2004-10-07 Thread Jonathan Hawkins
Definitely in an action class. Due to timescales we have restricted the
functionality and concentrating on a customized "customize-portelt" page. I
have had some assistance yesterday with this, see thread "changing default
customize page" and even that is causing problems.

U have been looking on and off at Jetspeed for about three years and still
believe it is the way forward for us, just get very frustrated with the
myriad of interfaces/methods etc. From what I have seen so far I am hoping
that Jetspeed 2 will be far clearer for those of use attemting to extend
jetspedd and make it an application rich environment.

Cheers

Jon

-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: 08 October 2004 07:04
To: Jetspeed Users List
Subject: Re: List of user's portlets

Jonathan Hawkins wrote:

> David,
> 
> I believe it was the profile, everytime I tried to step through thecode
> using eclipseit would throw a null pointer exception and hang.
> 
> Thanks for assistance.

Are you in an action?
The profile should always be set.

 public void doPerform(RunData data) throws Exception
  {
  Profile profile = ((JetspeedRunData)
  data).getCustomizedProfile();


Portlets portlets =
  profile.getDocument().getPortlets();

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
 


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



RE: List of user's portlets

2004-10-07 Thread Jonathan Hawkins
David,

I believe it was the profile, everytime I tried to step through thecode
using eclipseit would throw a null pointer exception and hang.

Thanks for assistance.

Jon

-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]
Sent: 08 October 2004 06:32
To: Jetspeed Users List
Subject: Re: List of user's portlets


[EMAIL PROTECTED] wrote:

> David,
> 
> Tried your code but kept getting nullpointerexceptions on
> 
> Portlets portlets = profile.getDocument().getPortlets();
>
What is null, the document set or the profile?

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


This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised distribution or 
copying is strictly prohibited. Whilst Cedar Software Ltd 
takes steps to prevent the transmission of viruses via e-mail, 
we cannot guarantee that any email or attachment is free from 
computer viruses and you are strongly advised to undertake your 
own anti-virus precautions. Cedar Software Ltd grants no 
warranties regarding performance, use or quality of any e-mail 
or attachment and undertakes no liability for loss or damage, 
howsoever caused.  


For more information on Cedar Software and our products, 
please visit our web site at http://www.cedar.com/Home.asp


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



RE: List of user's portlets

2004-10-06 Thread Jonathan Hawkins
Many thanks, will give that a go tomorrow.

Jon Hawkins

-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: 06 October 2004 18:43
To: Jetspeed Users List
Subject: Re: List of user's portlets

Jonathan Hawkins wrote:

> 
> I want to get a list of the portlets by name or id that are in the users
> profile, not a list of available portlets but only those that are
currently
> configured in the portal for that user.
> 
> Any assistance appreciated.

Try somethin like this:

 public void doPerform(RunData data) throws Exception
 {
 Profile profile = ((JetspeedRunData) data).getCustomizedProfile();
 Portlets portlets = profile.getDocument().getPortlets();
 if (portlets == null)
 {
 return;
 }
 int count = 0;
 count = traverse(portlets, count);
 super.doPerform(data);

 }

 private int traverse(Portlets portlets, int count)
 {
 // First let's add all the Entries in the current level
 Iterator eItr = portlets.getEntriesIterator();
 while(eItr.hasNext())
 {
 Entry entry =  (Entry)eItr.next();

 Portlet portlet = null;
 try
 {
 portlet = PortletFactory.getPortlet(entry);
 }
 catch (Exception e)
 {
 log.error("Could not create portlet for entry " + 
entry.getId(), e);
 continue;
 }
 if (portlet == null)
 {
 log.error("Could not create portlet for entry " + 
entry.getId());
 continue;
 }
}
 //Now if there are child levels, drill down recursively
 if(portlets.getPortletsCount() > 0)
 {
 Iterator pItr = portlets.getPortletsIterator();
 while(pItr.hasNext())
 {
 Portlets childPortlets = (Portlets)pItr.next();
 count += traverse(childPortlets, count);
 }
 }
 return count;
 }

-- 
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]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.768 / Virus Database: 515 - Release Date: 22/09/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.768 / Virus Database: 515 - Release Date: 22/09/2004
 


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



RE: List of user's portlets

2004-10-06 Thread Jonathan Hawkins


I want to get a list of the portlets by name or id that are in the users
profile, not a list of available portlets but only those that are currently
configured in the portal for that user.

Any assistance appreciated.



 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.768 / Virus Database: 515 - Release Date: 22/09/2004
 


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



List of user's portlets

2004-10-05 Thread Jonathan Hawkins
I want to get a list of the portlets by name or id that are in the users
profile, not a list of available portlets but only those that are currently
configured in the portal for that user.

Any assistance appreciated.



This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised distribution or 
copying is strictly prohibited. Whilst Cedar Software Ltd 
takes steps to prevent the transmission of viruses via e-mail, 
we cannot guarantee that any email or attachment is free from 
computer viruses and you are strongly advised to undertake your 
own anti-virus precautions. Cedar Software Ltd grants no 
warranties regarding performance, use or quality of any e-mail 
or attachment and undertakes no liability for loss or damage, 
howsoever caused.  


For more information on Cedar Software and our products, 
please visit our web site at http://www.cedar.com/Home.asp


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



RE: Automatic Refresh of Portlet

2004-07-28 Thread Jonathan Hawkins
Apologies for spelling mistake in original post !!

We have a portlet that displays users tasks as part of a workflow. We
want the portlet to refresh at set intervals, 30 seconds for example.
Ideally we do not want the entire portal to refresh, so the question is,
any ideas / mechanisms for achieving this.

So far, we have come up with an applet polling a web service, using
meta-refresh etc

-Original Message-
From: Jonathan Hawkins [mailto:[EMAIL PROTECTED] 
Sent: 28 July 2004 09:57
To: 'Jetspeed Users List'
Subject: Automatic Refresh of Portlet

We have a portlet that displays users tasks as part of a workflow. We
want the portlet to refresh at set intervals, 30 seconds for example.
Ideally we do not want the entire portal to refresh, so the wuation is,
any ideas / mechanisms for achieving this.

So far, we have come up with an applet polling a web service, using
meta-refresh etc

Many thanks

Jon Hawkins



-
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]



Automatic Refresh of Portlet

2004-07-28 Thread Jonathan Hawkins
We have a portlet that displays users tasks as part of a workflow. We
want the portlet to refresh at set intervals, 30 seconds for example.
Ideally we do not want the entire portal to refresh, so the wuation is,
any ideas / mechanisms for achieving this.

So far, we have come up with an applet polling a web service, using
meta-refresh etc

Many thanks

Jon Hawkins



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



RE: [J1] Fusion

2004-06-30 Thread Jonathan Hawkins
What is the recommendation for a complete JSR168 implementation, J1
Fusion or wait for Jetspeed 2. Any timescales for Jetspeed 2 ?

Thanks

Jon Hawkins

-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: 30 June 2004 22:42
To: 'Jetspeed Users List'
Subject: [J1] Fusion

Jetspeed-1 now supports JSR-168 Portlets (Java Portlet API)
The project code name was Fusion, since we are taking Jetspeed-2 and 
running inside Jetspeed-1
J2 is built almost entirely on components, and pipelines, facilitating 
the embedding of the J2 Portal engine inside other apps, or portals

J1 has two J2 pipelines inside of Jetspeed-1
One pipeline renders JSR 168 portlets, the others executes actions
For more details, look at the code under the /fusion directory in J1

Sorry for the lack of documentation, but this code was just checked in 
this week
Im working on more detailed documentation soon to be available

BUILDING

This gets a little tricky.
In theory, you should be able to build J1 and it will download the 
entire J2 dependencies
But ... if you have ever built J2 before, you might get the wrong 
dependencies, since the J2 jars are not snapshots
If you have J2 installed on your system, recommend deleting your local 
J2 maven repo, or simply rebuilding J2 (after updating to the CVS head)
Also, I've tried this on a clean system, and I seem to get intermittent 
problems with the J1 and J2 plugins downloading...

You need some properties:

Set this property in your ${HOME}/build.properties

org.apache.jetspeed.fusion=true

The default is false, so by default J1 builds without JSR-168 support

For the Jetspeed-1 Plugin:

maven.war.appserver.home = {path to the root of your Tomcat}

For the database, you will need to run a separate database for the J2 
registry.
I hope to integrate the 2 databases, but I should probably get a vote 
first

To start HypersonicSQL, From the fusion directory

db.fusion.start

If you want to use another database (only Oracle or MySQL currently 
supported), override the properties found in fusion/project.properties 
in your  ${HOME}/build.properties

 From the jetspeed home directory

maven -Dmaven.test.skip=true war
maven deploy

Startup Tomcat

Drop one or more of these webapps into the 
${TOMCAT_HOME}/jetspeed/WEB-INF/deploy directory for example (or take 
any JSR 168 portlet app deployment):

http://www.bluesunrise.com/portlets/

And it will pick up the portlets in about 10 seconds or less

The app should be expanded out to the webapps directory of Tomcat
Go into the customizer, and go to add portlets, filter by "Portlet API" 
or "JSR 168", select your portlets

If you have any problems, please respond to this email, and not 
directly to me
That way everyone can benefit from your experience


--
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: [J1] Fusion

2004-06-30 Thread Jonathan Hawkins
Followed your instructions and this was the first of many compile arrors

[javac] Compiling 11 source files to
D:\Development\CVSRoot\jakarta-jetspeed
\fusion\target\classes
[javac]
D:\Development\CVSRoot\jakarta-jetspeed\fusion\src\java\org\apache\j
etspeed\fusion\modules\actions\FusionAccessController.java:24: package
org.apach
e.jetspeed.container.session does not exist
[javac] import
org.apache.jetspeed.container.session.NavigationalStateCompon
ent;

Is there code missing ?

Jon Hawkins

-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: 30 June 2004 22:42
To: 'Jetspeed Users List'
Subject: [J1] Fusion

Jetspeed-1 now supports JSR-168 Portlets (Java Portlet API)
The project code name was Fusion, since we are taking Jetspeed-2 and 
running inside Jetspeed-1
J2 is built almost entirely on components, and pipelines, facilitating 
the embedding of the J2 Portal engine inside other apps, or portals

J1 has two J2 pipelines inside of Jetspeed-1
One pipeline renders JSR 168 portlets, the others executes actions
For more details, look at the code under the /fusion directory in J1

Sorry for the lack of documentation, but this code was just checked in 
this week
Im working on more detailed documentation soon to be available

BUILDING

This gets a little tricky.
In theory, you should be able to build J1 and it will download the 
entire J2 dependencies
But ... if you have ever built J2 before, you might get the wrong 
dependencies, since the J2 jars are not snapshots
If you have J2 installed on your system, recommend deleting your local 
J2 maven repo, or simply rebuilding J2 (after updating to the CVS head)
Also, I've tried this on a clean system, and I seem to get intermittent 
problems with the J1 and J2 plugins downloading...

You need some properties:

Set this property in your ${HOME}/build.properties

org.apache.jetspeed.fusion=true

The default is false, so by default J1 builds without JSR-168 support

For the Jetspeed-1 Plugin:

maven.war.appserver.home = {path to the root of your Tomcat}

For the database, you will need to run a separate database for the J2 
registry.
I hope to integrate the 2 databases, but I should probably get a vote 
first

To start HypersonicSQL, From the fusion directory

db.fusion.start

If you want to use another database (only Oracle or MySQL currently 
supported), override the properties found in fusion/project.properties 
in your  ${HOME}/build.properties

 From the jetspeed home directory

maven -Dmaven.test.skip=true war
maven deploy

Startup Tomcat

Drop one or more of these webapps into the 
${TOMCAT_HOME}/jetspeed/WEB-INF/deploy directory for example (or take 
any JSR 168 portlet app deployment):

http://www.bluesunrise.com/portlets/

And it will pick up the portlets in about 10 seconds or less

The app should be expanded out to the webapps directory of Tomcat
Go into the customizer, and go to add portlets, filter by "Portlet API" 
or "JSR 168", select your portlets

If you have any problems, please respond to this email, and not 
directly to me
That way everyone can benefit from your experience


--
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]



Invoke a Jetspeed Portlet from outside of the portal container

2004-06-10 Thread Jonathan Hawkins
We have an excel spreadsheet that may contain financial ledger information
and URL that would call our application. Our application is an applet
running within an IFRAME portlet. This application works fine and we can
invoke it no problem from a URL within Jetspeed. Is there a mechanism
whereby we can invoke the Jetspeed portlet from outside of Jetspeed.

The only resolution I can think of so far is to have a jetspeed portlet
monitoring an execution queue which is not ideal.

Any thoughts ?


*** 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. Any unauthorised distribution or copying is strictly 
prohibited. 
 
Whilst Cedar Software Ltd takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly 
advised to undertake your own anti-virus precautions. 
 
Cedar Software Ltd grants no warranties regarding performance, 
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused. 

CedAr is a leading UK supplier of Financial, eProcurement, Performance Management and, 
following the recent acquisition of Goldenhill Computer Systems Ltd, HR and Payroll 
software. Cedars solutions deliver increased capabilities and offer a direct and 
measurable financial return on investment.  The company has a customer base of more 
than 500 organisations in both the public and private sector. 
Particular sector strengths include Airlines, Business Services,
Education, Emergency Services, Financial Services, Government, Health, Local 
Authorities, Not for Profit, Retail and Utilities.  For more
information, please visit www.cedar.com 
2003 CedAr Software Ltd. All Rights Reserved. 
Cedar Software Ltd. Incorporation number 3214465
 ***


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



RE: Trying to deploy Jetspeed 2

2004-05-26 Thread Jonathan Hawkins
org.apache.velocity.tools.view.ViewToolInfo.setClassname(ViewToolInfo
.java:122)
... 51 more
26-May-2004 21:50:06 org.apache.coyote.http11.Http11Protocol start

-Original Message-
From: Al. Oupraxay [mailto:[EMAIL PROTECTED] 
Sent: 26 May 2004 20:36
To: 'Jetspeed Users List'
Subject: RE: Trying to deploy Jetspeed 2

Try deploy it on Tomcat 4.x. and see if it works.

Aloundeth, 

-Original Message-----
From: Jonathan Hawkins [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 26, 2004 9:35 AM
To: 'Jetspeed Users List'
Subject: Trying to deploy Jetspeed 2

Have now built Jetpseed 2 but unable to deploy with the following error,
any
assistance greatly appreciated.

INFO: Installing web application at context path /jetspeed from URL
file:D:/Deve lopment/jakarta-tomcat-5.0.19/webapps/jetspeed
26-May-2004 17:33:06 org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
Utils.java:1789)
at
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
Utils.java:1684)
at
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
java:1713)
at
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
9)
at
org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySe
tterRule.java:244)
at
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
at
org.apache.velocity.tools.view.XMLToolboxManager.load(XMLToolboxManag
er.java:185)
at
org.apache.velocity.tools.view.servlet.ServletToolboxManager.getInsta
nce(ServletToolboxManager.java:210)
at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.initToolbo
x(VelocityViewServlet.java:269)
at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.init(Veloc
ityViewServlet.java:212)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1044)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:88
7)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3959)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
284)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:866)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:85
0)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)

at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:320)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:657
)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:476
)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:394)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)

at
org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)

at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521
)
at
org.apache.catalina.core.StandardService.start(StandardService.java:5
19)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:234
5)
at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

Trying to deploy Jetspeed 2

2004-05-26 Thread Jonathan Hawkins
Have now built Jetpseed 2 but unable to deploy with the following error,
any assistance greatly appreciated.

INFO: Installing web application at context path /jetspeed from URL
file:D:/Deve
lopment/jakarta-tomcat-5.0.19/webapps/jetspeed
26-May-2004 17:33:06 org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
Utils.java:1789)
at
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
Utils.java:1684)
at
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
java:1713)
at
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
9)
at
org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySe
tterRule.java:244)
at
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
at
org.apache.velocity.tools.view.XMLToolboxManager.load(XMLToolboxManag
er.java:185)
at
org.apache.velocity.tools.view.servlet.ServletToolboxManager.getInsta
nce(ServletToolboxManager.java:210)
at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.initToolbo
x(VelocityViewServlet.java:269)
at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.init(Veloc
ityViewServlet.java:212)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1044)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:88
7)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3959)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
284)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:866)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:85
0)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)

at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:320)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:657
)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:476
)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:394)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)

at
org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)

at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521
)
at
org.apache.catalina.core.StandardService.start(StandardService.java:5
19)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:234
5)
at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
Caused by: java.lang.NoClassDefFoundError:
org/apache/commons/configuration/Conf
iguration
at java.lang.Class.getDeclaredConstructors0(Native Method)
at
java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
at java.lang.Class.getConstructor0(Class.java:1922)

RE: How do you debug action classes in Jetspeed

2004-05-18 Thread Jonathan Hawkins
I have just started using Eclipse, would you mind describing the steps
involved, many thanks.

Jon Hawkins

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 17 May 2004 21:24
To: Jetspeed Users List
Subject: Re: How do you debug action classes in Jetspeed


I use Eclipse and it works perfectly




Michael Rothrock <[EMAIL PROTECTED]> 
17-05-2004 16:19
Por favor, responda a
"Jetspeed Users List" <[EMAIL PROTECTED]>


Para
Jetspeed Users List <[EMAIL PROTECTED]>
cc

Asunto
Re: How do you debug action classes in Jetspeed






This works for me on a Linux box:

/usr/bin/dtomcat4 jpda start

Then I can attach to it with my debugger (IDEA) and set breakpoints, etc.

-- Michael

On 5/14/04 12:02 PM, "alex" <[EMAIL PROTECTED]> wrote:

> I am new to Jetspeed and can't seem to find a way to JIT debug the 
action
> classes. Any ideas would be greatly appreciated...
> Alex
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.671 / Virus Database: 433 - Release Date: 4/28/2004
> 
> 
> 
> -
> 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]




*** 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. Any unauthorised distribution or copying is strictly 
prohibited. 
 
Whilst Cedar Software Ltd takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly 
advised to undertake your own anti-virus precautions. 
 
Cedar Software Ltd grants no warranties regarding performance, 
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused. 

CedAr is a leading UK supplier of Financial, eProcurement, Performance Management and, 
following the recent acquisition of Goldenhill Computer Systems Ltd, HR and Payroll 
software. Cedars solutions deliver increased capabilities and offer a direct and 
measurable financial return on investment.  The company has a customer base of more 
than 500 organisations in both the public and private sector. 
Particular sector strengths include Airlines, Business Services,
Education, Emergency Services, Financial Services, Government, Health, Local 
Authorities, Not for Profit, Retail and Utilities.  For more
information, please visit www.cedar.com 
2003 CedAr Software Ltd. All Rights Reserved. 
Cedar Software Ltd. Incorporation number 3214465
 ***


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



Email Portlet

2004-05-12 Thread Jonathan Hawkins
I have the Email portlet connected to an Exchange Server and I can send and
receive email.

When I attempt to view the content of a message, all I get is :-


[EMAIL PROTECTED]


Any assistance appreciated.

Regards,

Jon Hawkins


*** 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. Any unauthorised distribution or copying is strictly 
prohibited. 
 
Whilst Cedar Software Ltd takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly 
advised to undertake your own anti-virus precautions. 
 
Cedar Software Ltd grants no warranties regarding performance, 
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused. 

CedAr is a leading UK supplier of Financial, eProcurement, Performance Management and, 
following the recent acquisition of Goldenhill Computer Systems Ltd, HR and Payroll 
software. Cedars solutions deliver increased capabilities and offer a direct and 
measurable financial return on investment.  The company has a customer base of more 
than 500 organisations in both the public and private sector. 
Particular sector strengths include Airlines, Business Services,
Education, Emergency Services, Financial Services, Government, Health, Local 
Authorities, Not for Profit, Retail and Utilities.  For more
information, please visit www.cedar.com 
2003 CedAr Software Ltd. All Rights Reserved. 
Cedar Software Ltd. Incorporation number 3214465
 ***


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



Default Template

2004-05-06 Thread Jonathan Hawkins
I have created a default template for a non-logged in user ok, copied the
required default.psml file to the anon user.

I also want a template for a new logged in user who belongs to a specific
group.

I created a new user and setup the portlets they would see, no problem,
copied the psml file from that user into the html directory for that group.
Whenever I create a new user I deselect them from the default Jetspeed group
and add them to the CedAr group, but when I log them in the portlets defined
for the Jetspeed group appear.

How do I get new users to use my portlets by default.

Cheers

Jon

-Original Message-
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: 06 May 2004 08:49
To: Jetspeed Users List
Subject: Re: Converting the existing application into portal framework


Dear Oliver,
you are right, but I was speaking of a "one minute setup"!

1. no portal context -> isolated context (e .g user information have to be
submitted through url...not beautiful)
Usually, my webapps starts with a jsp retrieving user info from the portal
with proper tags.

2. no layout scheme from the portal
Correct, you have to adopt a compliant layout. It depends on webapp
complexity.

3. possibly a scrollbar hierarchy
It depends on webapp structure. Jsps + servlets work quite well since you
can define the IFramePortlet size and then
navigate inside.

Anyway, everybody got his way, and that's mine only! :-)

Cheers
Stefano

- Original Message - 
From: "Oliver Pfau" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:34 AM
Subject: AW: Converting the existing application into portal framework


Hi,

I am working on this problems, too. But when you use an iframe you have
significant disadvantages:

1. no portal context -> isolated context (e .g user information have to be
submitted through url...not beautiful)
2. no layout scheme from the portal
3. possibly a scrollbar hierarchy

the minimal effort speaks for an usage of an iframe. but if you use
javascript or target="_top" you possibly loose the context of the iframe and
your application is showed in a own browser window. Also newer browser
versions are required, too.

Greetings
O. Pfau


-Ursprüngliche Nachricht-
Von: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 6. Mai 2004 09:19
An: Jetspeed Users List
Betreff: Re: Converting the existing application into portal framework


Dear Karthik,
my personal experience for a quick setup:

use an IFramePortlet to host an external webapp inside Jetspeed

Everything "seems" integrated but you keep modules separated.
All my portal is setup this way.

Hope it helps somehow
Cheers,
Stefano


- Original Message - 
From: "Karthik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:24 AM
Subject: Converting the existing application into portal framework


Hi All,



I have just started to work on portal implementation of our Web Application
using Jetspeed-1.5.



My present scenario is:



 1. I have a working web application.

 2. I have to implement the portal concept into my web application.

 3. I have downloaded the Jetspeed1.5 war file and deployed into my
Application server (I'm using Jboss).



My doubts are:



 4. Now, how should I convert the existing application into individual
portlets and where should I deploy these portlets.

 5. Will my portlet application work independently or will I be required to
deploy my portlet application inside the  JetSpeed.



 Any help will be appreciated. Thanks in Advance.



Best regards,

Karthik.G




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.665 / Virus Database: 428 - Release Date: 4/21/2004




-
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]


*** 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. Any unauthorised distribution or copying is strictly 
prohibited. 
 
Whilst Cedar Software Ltd takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly 
advised to undertake your own anti-virus precautions. 
 
Cedar Software Ltd grants no warranties regarding performance, 
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused. 

CedA

Jetspeed Licensing

2004-05-06 Thread Jonathan Hawkins
We are looking at using Jetspeed as our Portal container for our various web
applications. Do we have to display the "Powered by Jetspeed" logo ?

Many thanks

Jon

-Original Message-
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: 06 May 2004 08:49
To: Jetspeed Users List
Subject: Re: Converting the existing application into portal framework


Dear Oliver,
you are right, but I was speaking of a "one minute setup"!

1. no portal context -> isolated context (e .g user information have to be
submitted through url...not beautiful)
Usually, my webapps starts with a jsp retrieving user info from the portal
with proper tags.

2. no layout scheme from the portal
Correct, you have to adopt a compliant layout. It depends on webapp
complexity.

3. possibly a scrollbar hierarchy
It depends on webapp structure. Jsps + servlets work quite well since you
can define the IFramePortlet size and then
navigate inside.

Anyway, everybody got his way, and that's mine only! :-)

Cheers
Stefano

- Original Message - 
From: "Oliver Pfau" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:34 AM
Subject: AW: Converting the existing application into portal framework


Hi,

I am working on this problems, too. But when you use an iframe you have
significant disadvantages:

1. no portal context -> isolated context (e .g user information have to be
submitted through url...not beautiful)
2. no layout scheme from the portal
3. possibly a scrollbar hierarchy

the minimal effort speaks for an usage of an iframe. but if you use
javascript or target="_top" you possibly loose the context of the iframe and
your application is showed in a own browser window. Also newer browser
versions are required, too.

Greetings
O. Pfau


-Ursprüngliche Nachricht-
Von: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 6. Mai 2004 09:19
An: Jetspeed Users List
Betreff: Re: Converting the existing application into portal framework


Dear Karthik,
my personal experience for a quick setup:

use an IFramePortlet to host an external webapp inside Jetspeed

Everything "seems" integrated but you keep modules separated.
All my portal is setup this way.

Hope it helps somehow
Cheers,
Stefano


- Original Message - 
From: "Karthik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:24 AM
Subject: Converting the existing application into portal framework


Hi All,



I have just started to work on portal implementation of our Web Application
using Jetspeed-1.5.



My present scenario is:



 1. I have a working web application.

 2. I have to implement the portal concept into my web application.

 3. I have downloaded the Jetspeed1.5 war file and deployed into my
Application server (I'm using Jboss).



My doubts are:



 4. Now, how should I convert the existing application into individual
portlets and where should I deploy these portlets.

 5. Will my portlet application work independently or will I be required to
deploy my portlet application inside the  JetSpeed.



 Any help will be appreciated. Thanks in Advance.



Best regards,

Karthik.G




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.665 / Virus Database: 428 - Release Date: 4/21/2004




-
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]


*** 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. Any unauthorised distribution or copying is strictly 
prohibited. 
 
Whilst Cedar Software Ltd takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly 
advised to undertake your own anti-virus precautions. 
 
Cedar Software Ltd grants no warranties regarding performance, 
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused. 

CedAr is a leading UK supplier of Financial, eProcurement, Performance Management and, 
following the recent acquisition of Goldenhill Computer Systems Ltd, HR and Payroll 
software. Cedars solutions deliver increased capabilities and offer a direct and 
measurable financial return on investment.  The company has a customer base of more 
than 500 organisations in both the public and private sector. 
Particular sector strengths include Airl

RE: Email Portlet

2004-05-05 Thread Jonathan Hawkins
http://java.sun.com/products/javamail/


-Original Message-
From: Roger Ruttimann [mailto:[EMAIL PROTECTED] 
Sent: 05 May 2004 16:44
To: Jetspeed Users List
Subject: Re: Email Portlet

Where did you get the mail.jar file from?

Thanks
Roger

-Original Message-
From: Jonas Lim <[EMAIL PROTECTED]>
Sent: May 4, 2004 11:52 PM
To: Jetspeed Users List <[EMAIL PROTECTED]>
Subject: Re: Email Portlet

Can you check if you have mail.jar on your web-inf\lib. I'm not sure if
it
is included in the jetspeed distribution.

Regards,
Jonas





- Original Message -
From: "Jonathan Hawkins" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, May 05, 2004 2:20 PM
Subject: RE: Email Portlet


> I am using the binary distribution. Email.class and EmailPortlet.class
> both exist within the jetspeed-1.5.jar. I have also tried adding my
own
> debug statements and manually including the classes under
> WEB-INF\classes etc.
>
> I have tried using Exchange Server and Sendmail IMAP server,but as the
> class does not get loaded that won't make any difference.
>
> Again, any assistance very much appreciated.
>
> -Original Message-
> From: Jonas Lim [mailto:[EMAIL PROTECTED]
> Sent: 05 May 2004 03:10
> To: Jetspeed Users List
> Subject: Re: Email Portlet
>
> Hi John,
>
> Did you check if the EmailPortlet.class was created?   Also,  did the
> error
> appear when you added the portlet or when you click some actions in
the
> email portlet? Btw, what mail server are you using?
>
> Regards,
> Jonas
>
> - Original Message -
> From: "Jonathan Hawkins" <[EMAIL PROTECTED]>
> To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> Sent: Wednesday, May 05, 2004 3:22 AM
> Subject: Email Portlet
>
>
> > Trying to use the email portlet that ships with 1.5
> >
> > Keep getting the following exception
> >
> > [04 May 2004 20:19:38 DEBUG] - GenericMVCPortlet: Executing action
> > [portlets.ema
> > il.EmailPortlet] for portlet [Email]
> > [04 May 2004 20:19:38 ERROR] - GenericMVCPortlet - error executing
> > action
> > java.lang.ClassNotFoundException:
> >
> > Requested Action not found: portlets.email.EmailPortlet
> > Turbine looked in the following modules.packages path:
> > [org.apache.jetspeed.modules, org.apache.turbine.modules]
> >
> > at
> >
org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java
> > :174)
> >
> > Any assistance greatly appreciated
> >
> > Jon Hawkins
> >
> >
> >
> >
-
> > 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]



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



RE: Email Portlet

2004-05-05 Thread Jonathan Hawkins
That did the trick, shame that exception lead me to believe that there
was a problem in the EmailPortlet !!

Thanks for your assistance

Jon

-Original Message-
From: Jonas Lim [mailto:[EMAIL PROTECTED] 
Sent: 05 May 2004 07:52
To: Jetspeed Users List
Subject: Re: Email Portlet

Can you check if you have mail.jar on your web-inf\lib. I'm not sure if
it
is included in the jetspeed distribution.

Regards,
Jonas





- Original Message -
From: "Jonathan Hawkins" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, May 05, 2004 2:20 PM
Subject: RE: Email Portlet


> I am using the binary distribution. Email.class and EmailPortlet.class
> both exist within the jetspeed-1.5.jar. I have also tried adding my
own
> debug statements and manually including the classes under
> WEB-INF\classes etc.
>
> I have tried using Exchange Server and Sendmail IMAP server,but as the
> class does not get loaded that won't make any difference.
>
> Again, any assistance very much appreciated.
>
> -Original Message-
> From: Jonas Lim [mailto:[EMAIL PROTECTED]
> Sent: 05 May 2004 03:10
> To: Jetspeed Users List
> Subject: Re: Email Portlet
>
> Hi John,
>
> Did you check if the EmailPortlet.class was created?   Also,  did the
> error
> appear when you added the portlet or when you click some actions in
the
> email portlet? Btw, what mail server are you using?
>
> Regards,
> Jonas
>
> - Original Message -
> From: "Jonathan Hawkins" <[EMAIL PROTECTED]>
> To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> Sent: Wednesday, May 05, 2004 3:22 AM
> Subject: Email Portlet
>
>
> > Trying to use the email portlet that ships with 1.5
> >
> > Keep getting the following exception
> >
> > [04 May 2004 20:19:38 DEBUG] - GenericMVCPortlet: Executing action
> > [portlets.ema
> > il.EmailPortlet] for portlet [Email]
> > [04 May 2004 20:19:38 ERROR] - GenericMVCPortlet - error executing
> > action
> > java.lang.ClassNotFoundException:
> >
> > Requested Action not found: portlets.email.EmailPortlet
> > Turbine looked in the following modules.packages path:
> > [org.apache.jetspeed.modules, org.apache.turbine.modules]
> >
> > at
> >
org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java
> > :174)
> >
> > Any assistance greatly appreciated
> >
> > Jon Hawkins
> >
> >
> >
> >
-
> > 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: Email Portlet

2004-05-04 Thread Jonathan Hawkins
I am using the binary distribution. Email.class and EmailPortlet.class
both exist within the jetspeed-1.5.jar. I have also tried adding my own
debug statements and manually including the classes under
WEB-INF\classes etc.

I have tried using Exchange Server and Sendmail IMAP server,but as the
class does not get loaded that won't make any difference.

Again, any assistance very much appreciated.

-Original Message-
From: Jonas Lim [mailto:[EMAIL PROTECTED] 
Sent: 05 May 2004 03:10
To: Jetspeed Users List
Subject: Re: Email Portlet

Hi John,

Did you check if the EmailPortlet.class was created?   Also,  did the
error
appear when you added the portlet or when you click some actions in the
email portlet? Btw, what mail server are you using?

Regards,
Jonas

- Original Message -
From: "Jonathan Hawkins" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, May 05, 2004 3:22 AM
Subject: Email Portlet


> Trying to use the email portlet that ships with 1.5
>
> Keep getting the following exception
>
> [04 May 2004 20:19:38 DEBUG] - GenericMVCPortlet: Executing action
> [portlets.ema
> il.EmailPortlet] for portlet [Email]
> [04 May 2004 20:19:38 ERROR] - GenericMVCPortlet - error executing
> action
> java.lang.ClassNotFoundException:
>
> Requested Action not found: portlets.email.EmailPortlet
> Turbine looked in the following modules.packages path:
> [org.apache.jetspeed.modules, org.apache.turbine.modules]
>
> at
> org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java
> :174)
>
> Any assistance greatly appreciated
>
> Jon Hawkins
>
>
>
> -
> 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]



Email Portlet

2004-05-04 Thread Jonathan Hawkins
Trying to use the email portlet that ships with 1.5

Keep getting the following exception

[04 May 2004 20:19:38 DEBUG] - GenericMVCPortlet: Executing action
[portlets.ema
il.EmailPortlet] for portlet [Email]
[04 May 2004 20:19:38 ERROR] - GenericMVCPortlet - error executing
action
java.lang.ClassNotFoundException:

Requested Action not found: portlets.email.EmailPortlet
Turbine looked in the following modules.packages path:
[org.apache.jetspeed.modules, org.apache.turbine.modules]

at
org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java
:174)

Any assistance greatly appreciated

Jon Hawkins



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



RE: Malformed Portlet

2004-05-04 Thread Jonathan Hawkins
The problem was caused by the following

mailto:[EMAIL PROTECTED] 
Sent: 04 May 2004 16:30
To: Jetspeed Users List
Subject: Re: Malformed Portlet


Le 4 mai 04, à 13:04, Jonathan Hawkins a écrit :

> I have a JSP Portlet that creates a list of URLs. Currently all the  
> JSP does
> is display them.
>
> If I use the following code the border on the right hand side of the  
> portlet
> is not displayed :-
>
>   <%for (int i = 0; i < linkList.length; i++) {
> %>
>HREF="? 
> eventSubmit_doOpenApp=<%=linkList[i].getMUrl()%
>> &js_peid=<%=jspeid%>"><%=linkList[i].getMAnchor()%>
>   
>
> <%}%>
>

Can you send us the generated markup when the JSP is run ? Also I  
assule you're running
an IE version. Have you tried with a different browser (like the  
excellent Mozilla Firefox) to
check if the issue is browser dependant ?

--
Raphaël Luta - [EMAIL PROTECTED]
Apache Jetspeed - Enterprise Portal in Java
http://portals.apache.org/


-
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]



Malformed Portlet

2004-05-04 Thread Jonathan Hawkins
I have a JSP Portlet that creates a list of URLs. Currently all the JSP does
is display them.

If I use the following code the border on the right hand side of the portlet
is not displayed :-

<%for (int i = 0; i < linkList.length; i++) {
%>
  <%=linkList[i].getMAnchor()%>

  
<%}%>

If I use the following code the right hand side border of the portlet is
displayed correctly

<%for (int i = 0; i < linkList.length; i++) {
%>
  <%=linkList[i].getMAnchor()%>

  
<%}%>

Any Ideas, it would appear to be the   that is causing the problem.



> Jonathan Hawkins
> Product Development 
> CedAr Software Ltd
> CedAr House
> 78 Portsmouth Road
> Cobham
> Surrey
> KT11 1HY
> 
> Tel: 01932 584154
> Mobile: 07740 075492
> 
> mailto:[EMAIL PROTECTED] 
> 
> About CedAr
> 
> CedAr Software Ltd. is the result of the newly formed merger between Cedar
> Software and Arelon.  The company provides Financial, eProcurement and
> Performance Management Solutions that deliver increased capabilities and
> offer a direct and measurable financial return on investment.  CedAr has a
> customer base of more than 500 organisations in both the public and
> private sector. 
> 
> Particular sector strengths include Airlines, Business Services,
> Education, Emergency Services, Financial Services, Government, Health,
> Local Authorities, Not for Profit, Retail and Utilities.  For more
> information, please visit www.cedar.com 
> © 2003 CedAr Software Ltd. All Rights Reserved.
> 
> 


*** 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. Any unauthorised distribution or copying is strictly 
prohibited. 
 
Whilst Cedar Software Ltd takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly 
advised to undertake your own anti-virus precautions. 
 
Cedar Software Ltd grants no warranties regarding performance, 
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused. 

CedAr is a leading UK supplier of Financial, eProcurement, Performance Management and, 
following the recent acquisition of Goldenhill Computer Systems Ltd, HR and Payroll 
software. Cedars solutions deliver increased capabilities and offer a direct and 
measurable financial return on investment.  The company has a customer base of more 
than 500 organisations in both the public and private sector. 
Particular sector strengths include Airlines, Business Services,
Education, Emergency Services, Financial Services, Government, Health, Local 
Authorities, Not for Profit, Retail and Utilities.  For more
information, please visit www.cedar.com 
2003 CedAr Software Ltd. All Rights Reserved. 
Cedar Software Ltd. Incorporation number 3214465
 ***


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



RE: Linked Portlet

2004-04-13 Thread Jonathan Hawkins
How does the second portlet know when the parameter has been set. Also,
I may need to target a specific portlet. Any examples would be greatly
appreciated.

Best Regards,

Jon Hawkins

-Original Message-
From: Raphaël Luta [mailto:[EMAIL PROTECTED] 
Sent: 13 April 2004 16:41
To: Jetspeed Users List
Subject: Re: Linked Portlet

Jonathan Hawkins wrote:

> About two years since I used Jetspeed !!
> 
> I need a Portlet on the left hand side that displays links (URLs).
User
> clicks on a link and the content is displayed in another portlet on
the
> right. Suggestions and ideas very welcome !!
> 
> 

Since in J1 all portlets share the same parameter space, simply have one
portlet set a parameter and the other one use it...
Just make sure your URL is correcly encoded to avoid parsing issues with
the different browsers.

-- 
Raphaël Luta - [EMAIL PROTECTED]
Apache Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/


-
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: Linked Portlet

2004-04-13 Thread Jonathan Hawkins
Carlos,

Unless anyone comes up with anything better, I'm looking at using
"Forwards" and passing the URL as a parameter.

Regards,

Jon

-Original Message-
From: Carlos Roberto Yaconi Hitschfeld [mailto:[EMAIL PROTECTED] 
Sent: 13 April 2004 16:37
To: Jetspeed Users List
Subject: RE: Linked Portlet

I've the same problem!!


Atte,
Carlos Yaconi Hitschfeld
e-mail: [EMAIL PROTECTED]
Teléfono: 637-6480


-Mensaje original-
De: Jonathan Hawkins [mailto:[EMAIL PROTECTED] 
Enviado el: Martes, 13 de Abril de 2004 5:51
Para: '[EMAIL PROTECTED]'
Asunto: Linked Portlet


About two years since I used Jetspeed !!

I need a Portlet on the left hand side that displays links (URLs). User
clicks on a link and the content is displayed in another portlet on the
right. Suggestions and ideas very welcome !!

> Jonathan Hawkins
> Product Development
> CedAr Software Ltd
> CedAr House
> 78 Portsmouth Road
> Cobham
> Surrey
> KT11 1HY
> 
> Tel: 01932 584154
> Mobile: 07740 075492
> 
> mailto:[EMAIL PROTECTED]
> 
> About CedAr
> 
> CedAr Software Ltd. is the result of the newly formed merger between 
> Cedar Software and Arelon.  The company provides Financial, 
> eProcurement and Performance Management Solutions that deliver 
> increased capabilities and offer a direct and measurable financial 
> return on investment.  CedAr has a customer base of more than 500 
> organisations in both the public and private sector.
> 
> Particular sector strengths include Airlines, Business Services, 
> Education, Emergency Services, Financial Services, Government, Health,

> Local Authorities, Not for Profit, Retail and Utilities.  For more 
> information, please visit www.cedar.com © 2003 CedAr Software Ltd. All

> Rights Reserved.
> 
> 


*** 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. Any unauthorised distribution or copying is strictly 
prohibited. 
Whilst Cedar Software Ltd takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly 
advised to undertake your own anti-virus precautions. 
Cedar Software Ltd grants no warranties regarding performance, 
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused. 
CedAr is a leading UK supplier of Financial, eProcurement, Performance
Management and, following the recent acquisition of Goldenhill Computer
Systems Ltd, HR and Payroll software. CedArs solutions deliver increased
capabilities and offer a direct and measurable financial return on
investment. The company has a customer base of more than 500
organisations in both the public and private sector. 
Particular sector strengths include Airlines, Business Services,
Education, Emergency Services, Financial Services, Government, Health,
Local Authorities, Not for Profit, Retail and Utilities. For more
information, please visit www.cedar.com 
2003 CedAr Software Ltd. All Rights Reserved. 
***


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




CONFIDENTIAL NOTE: The information transmitted in this message and/or
attachments is confidential and/or privileged and is intented only for
use of the person or entity to whom it is addressed. If you are not the
intended recipient, any retention,dissemination, distribution or copy of
this information is strictly prohibited and sanctioned by law. If you
received this messagge in error, please reply us this same message and
delete this message and all attachments. Thank you.

-
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]



Linked Portlet

2004-04-13 Thread Jonathan Hawkins
About two years since I used Jetspeed !!

I need a Portlet on the left hand side that displays links (URLs). User
clicks on a link and the content is displayed in another portlet on the
right. Suggestions and ideas very welcome !!

> Jonathan Hawkins
> Product Development 
> CedAr Software Ltd
> CedAr House
> 78 Portsmouth Road
> Cobham
> Surrey
> KT11 1HY
> 
> Tel: 01932 584154
> Mobile: 07740 075492
> 
> mailto:[EMAIL PROTECTED] 
> 
> About CedAr
> 
> CedAr Software Ltd. is the result of the newly formed merger between Cedar
> Software and Arelon.  The company provides Financial, eProcurement and
> Performance Management Solutions that deliver increased capabilities and
> offer a direct and measurable financial return on investment.  CedAr has a
> customer base of more than 500 organisations in both the public and
> private sector. 
> 
> Particular sector strengths include Airlines, Business Services,
> Education, Emergency Services, Financial Services, Government, Health,
> Local Authorities, Not for Profit, Retail and Utilities.  For more
> information, please visit www.cedar.com 
> © 2003 CedAr Software Ltd. All Rights Reserved.
> 
> 


*** 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. Any unauthorised distribution or copying is strictly 
prohibited. 
Whilst Cedar Software Ltd takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly 
advised to undertake your own anti-virus precautions. 
Cedar Software Ltd grants no warranties regarding performance, 
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused. 
CedAr is a leading UK supplier of Financial, eProcurement, Performance Management and, 
following the recent acquisition of Goldenhill Computer Systems Ltd, HR and Payroll 
software. CedArs solutions deliver increased capabilities and offer a direct and 
measurable financial return on investment. The company has a customer base of more 
than 500 organisations in both the public and private sector. 
Particular sector strengths include Airlines, Business Services,
Education, Emergency Services, Financial Services, Government, Health,
Local Authorities, Not for Profit, Retail and Utilities. For more
information, please visit www.cedar.com 
2003 CedAr Software Ltd. All Rights Reserved. 
***


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



Problem setting JSP Portlet Template

2001-12-11 Thread Jonathan Hawkins

I have defined two JSP Pages , portlet1.jsp and portlet2.jsp. I have
registered a portlet in portlets.xreg and defined the template as
portlet1.jsp. On portlet1 there is link to portlet2.jsp. I have created an
action class that pickes up the parameter and attempts to redefine the
template as portlet2.jsp. What happens is that the portlet never displays
portlet2.jsp. I include the relevant code below and any assistance would be
greatly appreciated.

PORTLET1.JSP

<%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed'
%>

<%@ page import="
javax.naming.*,
javax.ejb.*,
java.rmi.RemoteException,
java.rmi.Remote,
java.util.*,
java.text.*,
org.apache.turbine.util.*,
org.apache.turbine.util.template.TemplateLink,
org.apache.turbine.services.jsp.JspService,
org.apache.turbine.services.resources.TurbineResources,
org.apache.jetspeed.util.servlet.EcsServletElement,
org.apache.ecs.ConcreteElement,
org.apache.ecs.StringElement, 
" session="true" %>

<% RunData rundata = (RunData)request.getAttribute("rundata"); %>




">

<% out.println("Parameter passed is " + request.getParameter("task")); %>


Portlet 1This is Portlet 1
Show Portlet2



PORTLET2.JSP

<%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed'
%>

<%@ page import="
javax.naming.*,
javax.ejb.*,
java.rmi.RemoteException,
java.rmi.Remote,
java.util.*,
java.text.*,
org.apache.turbine.util.*,
org.apache.turbine.util.template.TemplateLink,
org.apache.turbine.services.jsp.JspService,
org.apache.turbine.services.resources.TurbineResources,
org.apache.jetspeed.util.servlet.EcsServletElement,
org.apache.ecs.ConcreteElement,
org.apache.ecs.StringElement, 
" session="true" %>

<% RunData rundata = (RunData)request.getAttribute("rundata"); %>




">


Portlet 2This is Portlet 2

Show Portlet1




PerformTask.java

package org.apache.jetspeed.modules.actions;
 
// Java Core Classes
import java.io.*;
import java.sql.*;
import java.util.*;

// Java Servlet Classes
import javax.servlet.*;
import javax.servlet.http.*;



// Turbine Modules
import org.apache.turbine.modules.*;
import org.apache.turbine.util.*;
import org.apache.jetspeed.modules.actions.portlets.*;
import org.apache.turbine.services.jsp.TurbineJspService;
import org.apache.turbine.services.jsp.JspService;
import org.apache.turbine.services.TurbineServices;

// jetspeed services
import org.apache.jetspeed.services.TemplateLocator;
import org.apache.jetspeed.services.rundata.JetspeedRunData;




/**
 * Changes the portlet template dependant upon the action required
 * 
 * @author Jonathan Hawkins
*/
public class PerformTask extends Action
{
public void doPerform( RunData data ) throws Exception
{
ParameterParser pp = data.getParameters();

JspService service =
(JspService)TurbineServices.getInstance().getService(JspService.SERVICE_NAME
);

System.out.println("In PerformTask Action task = " +
pp.getString("task"));
  //JetspeedRunData jData = (JetspeedRunData)data;
if (pp.getString("task") == "PORTLET1") {
 
data.setScreenTemplate("/portal/templates/jsp/portlets/html/portlet1.jsp");

//service.handleRequest(data,
"/portal/templates/jsp/portlets/html/portlet1.jsp");
return;
}
else if (pp.getString("task") == "PORTLET2") {
//service.handleRequest(data,
"/portal/templates/jsp/portlets/html/portlet2.jsp");
 
data.setScreenTemplate("/portal/templates/jsp/portlets/html/portlet1.jsp");
}
}

}
Jonathan Hawkins
Applications Development Consultant
Cedar - High Wycombe
Tel: +44 (0)1494 561300
Fax: +44 (0)1494 561301 
Mobile: 07740 075492




***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorised distribution or copying is strictly 
prohibited.

Whilst Cedar Plc takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly
advised to undertake your own anti-virus precautions.

Cedar Plc grants no warranties regarding performance,
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused.


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