Re: Content inside Enhanced layout

2004-11-04 Thread Robin Antony
Hi Raphaël,
Thanks for the help. The function $jetspeed.getPortletById($portlet.id) 
worked. It is showing the content in the customize menu now.
Best Regards,
Robin

Robin Antony wrote:
Hi Raphaël,
Thanks for the reply. I tried adding this command 
$jetspeed.getContentById($portlet.id) instead of 
$titles.get($portlet.id) to replace the content of the portlet instead 
of the title. But it didn't return me anything. Infact I can see my 
command on the screen. I am not familiar with velocity templating. I 
have been working on jsp templating. Is there something else I need to 
do to get the content on the page? Thanks.
Best Regards,
Robin Antony

Raphaël Luta wrote:
Robin Antony wrote:
Hi,
I am working on Jetspeed 1.X, I would like to achieve a new 
functionality. In the enhanced multi column layout in the customize 
pane would it be possible to have the content of the portlet appear 
there as well. So when a person drags and drops the portlet around 
he would also be able to see the content that would apear in it. Has 
anyone tried doing this before. It would be great if someone could 
give me tips on how we could achieve this.

It should not be very difficult to do. You already have a reference 
to the
portlets ID so you can simply customize the multimcolum-customize 
template to use
$jetspeed.getContentById($portlet.id) instead of displaying the
portlet properties.


-
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: Content inside Enhanced layout

2004-11-04 Thread Robin Antony
Hi Raphaël,
Thanks for the reply. I tried adding this command 
$jetspeed.getContentById($portlet.id) instead of 
$titles.get($portlet.id) to replace the content of the portlet instead 
of the title. But it didn't return me anything. Infact I can see my 
command on the screen. I am not familiar with velocity templating. I 
have been working on jsp templating. Is there something else I need to 
do to get the content on the page? Thanks.
Best Regards,
Robin Antony

Raphaël Luta wrote:
Robin Antony wrote:
Hi,
I am working on Jetspeed 1.X, I would like to achieve a new 
functionality. In the enhanced multi column layout in the customize 
pane would it be possible to have the content of the portlet appear 
there as well. So when a person drags and drops the portlet around he 
would also be able to see the content that would apear in it. Has 
anyone tried doing this before. It would be great if someone could 
give me tips on how we could achieve this.

It should not be very difficult to do. You already have a reference to 
the
portlets ID so you can simply customize the multimcolum-customize 
template to use
$jetspeed.getContentById($portlet.id) instead of displaying the
portlet properties.


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


Content inside Enhanced layout

2004-11-04 Thread Robin Antony
Hi,
I am working on Jetspeed 1.X, I would like to achieve a new 
functionality. In the enhanced multi column layout in the customize pane 
would it be possible to have the content of the portlet appear there as 
well. So when a person drags and drops the portlet around he would also 
be able to see the content that would apear in it. Has anyone tried 
doing this before. It would be great if someone could give me tips on 
how we could achieve this.
Thanks and Regards,
Robin Antony

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


Re: my jetspeed fail compilation

2004-10-04 Thread Robin Antony
Hi Filippo,
Post your log file details on this forum.
Robin
[EMAIL PROTECTED] wrote:
Hello,
i have download jetspeed-1.5-src.
then i go in the root directory, where there is a readme file, then
i try to compile it with maven 1.0 but when it arrives to fulcron.properties
it wait some thing.
Can some help me please.
if some help me i can send him the log
thank 

-- Filippo

-
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: Horrible Exception: org.apache.jetspeed.services.security.LoginException: Failed to get anonymous user

2004-09-14 Thread Robin Antony
we had a similar problem when we were running apache webserver serving pages
using mod_jk to
connect to tomcat. I think i have read somewhere about this problem occuring
due to the apache and tomcat
breaking the connection while connecting through mod_jk for simultaneous
multiple accesses. I think tomcat people
solved this problem in the later releases. Not sure about this though... ..
Cheers,
Robin
www.opensi.net

- Original Message - 
From: "Stefano Bianchi" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 14, 2004 12:20 AM
Subject: Re: Horrible Exception:
org.apache.jetspeed.services.security.LoginException: Failed to get
anonymous user


>
> I am using TOMCAT 4.1.24, but I don't know what mod_jk is!
> Any further hint?
> TYFYA (=Thank You For Your Attention)
> Stefano
>
> - Original Message - 
> From: "Robin Antony" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, September 14, 2004 11:55 PM
> Subject: Re: Horrible Exception:
> org.apache.jetspeed.services.security.LoginException: Failed to get
> anonymous user
>
>
> > Are you running mod_jk with apache , tomcat? what is the version of
tomcat
> > you are running?
> > Robin
> > www.opensi.net
> >
> > - Original Message - 
> > From: "Stefano Bianchi" <[EMAIL PROTECTED]>
> > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > Sent: Monday, September 13, 2004 11:51 PM
> > Subject: Horrible Exception:
> > org.apache.jetspeed.services.security.LoginException: Failed to get
> > anonymous user
> >
> >
> > > Dear ALL,
> > > it sometimes happens that I get this error suddenly, and that I have
to
> > > restart TOMCAT to get things back all right.
> > > Could anyone provide me with some hints before I dive into logs and
> > > properties file?
> > > How could it be that user 'anon' is found (let's say) 95%, and not
found
> > 5%
> > > of accesses?
> > > Any bug of Jetspeed 1.4b3?
> > > Thank you
> > > Stefano
> > > Horrible Exception:
> org.apache.jetspeed.services.security.LoginException:
> > > Failed to get anonymous user:
> > > org.apache.jetspeed.services.security.UserException: Failed to
retrieve
> > user
> > > 'anon': Connection object was null. This could be due to a
> > misconfiguration
> > > of the DataSourceFactory. Check the logs and Torque.properties to
better
> > > determine the cause.
> > > at
> > >
> >
>
org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAnony
> > > mousUser(TurbineAuthentication.java:225)
> > > at
> > >
> >
>
org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jetspee
> > > dAuthentication.java:107)
> > > at
> > >
> >
>
org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSecur
> > > ity.java:159)
> > > at
> > >
> >
>
org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(Templ
> > > ateSessionValidator.java:97)
> > > at
> > >
> >
>
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Jetsp
> > > eedSessionValidator.java:103)
> > > at org.apache.turbine.modules.Action.perform(Action.java:87)
> > > at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
> > > at org.apache.turbine.Turbine.doGet(Turbine.java:521)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > at
> > >
> >
>
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
> > > java:684)
> > > at
> > >
> >
>
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
> > > er.java:432)
> > > at
> > >
> >
>
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
> > > .java:356)
> > > at
> > >
> >
>
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
> > > at org.apache.jsp.index_jsp._jspService(index_jsp.java:42)
> > > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > at
> > >
> >
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
> 

Re: Horrible Exception: org.apache.jetspeed.services.security.LoginException: Failed to get anonymous user

2004-09-14 Thread Robin Antony
Are you running mod_jk with apache , tomcat? what is the version of tomcat
you are running?
Robin
www.opensi.net

- Original Message - 
From: "Stefano Bianchi" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, September 13, 2004 11:51 PM
Subject: Horrible Exception:
org.apache.jetspeed.services.security.LoginException: Failed to get
anonymous user


> Dear ALL,
> it sometimes happens that I get this error suddenly, and that I have to
> restart TOMCAT to get things back all right.
> Could anyone provide me with some hints before I dive into logs and
> properties file?
> How could it be that user 'anon' is found (let's say) 95%, and not found
5%
> of accesses?
> Any bug of Jetspeed 1.4b3?
> Thank you
> Stefano
> Horrible Exception: org.apache.jetspeed.services.security.LoginException:
> Failed to get anonymous user:
> org.apache.jetspeed.services.security.UserException: Failed to retrieve
user
> 'anon': Connection object was null. This could be due to a
misconfiguration
> of the DataSourceFactory. Check the logs and Torque.properties to better
> determine the cause.
> at
>
org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAnony
> mousUser(TurbineAuthentication.java:225)
> at
>
org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jetspee
> dAuthentication.java:107)
> at
>
org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSecur
> ity.java:159)
> at
>
org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(Templ
> ateSessionValidator.java:97)
> at
>
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Jetsp
> eedSessionValidator.java:103)
> at org.apache.turbine.modules.Action.perform(Action.java:87)
> at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
> at org.apache.turbine.Turbine.doGet(Turbine.java:521)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
> java:684)
> at
>
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
> er.java:432)
> at
>
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
> .java:356)
> at
>
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
> at org.apache.jsp.index_jsp._jspService(index_jsp.java:42)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
> 10)
> at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:256)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:191)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
> )
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> java:171)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
> )
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :174)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav

Re: AW: Scheduled jobs in TOMCAT/JETSPEED

2004-08-31 Thread Robin Antony
Hi,
Take a look at Quartz . http://www.opensymphony.com/quartz/
Its an opensource java Scheduler. Very matured and good
product. See if this is what you need.
Cheers,
Robin Antony
OpenSI.Net
www.opensi.net

- Original Message - 
From: "David Jencks" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, August 30, 2004 1:00 PM
Subject: Re: AW: Scheduled jobs in TOMCAT/JETSPEED


The spec compliant way to do this would be to run in a j2ee 1.4 app
server, write a session bean to trigger the action, and use the ejb
timer service.

david jencks

On Aug 30, 2004, at 12:53 PM, dp wrote:

> Hello,
>
> I only know that turbine can run jobs by given interval, but not at a
> specific time :(
>
> get a freeware-sheduler and configure it there. or, under windows, use
> the
> system-sheduler...
>
> cu
>
>
>
>
>
>
> -Ursprüngliche Nachricht-
> Von: Stefano Bianchi [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 30. August 2004 09:51
> An: Jetspeed Users List
> Betreff: Scheduled jobs in TOMCAT/JETSPEED
>
>
> Dear ALL,
> I have Jetspeed 1.4-b3 running on TOMCAT 4.1.24.
> I have an .exe I would like to execute periodically without any
> event-driven
> action.
> I know Turbine has some features about a Scheduler Service and probably
> Jetspeed inherits it somehow.
> Or is it something related to TOMCAT itself?
> Can I launch an .exe (I have not the source code!) from a scheduled
> job?
> Any hint appreciated.
> Thank you
> Stefano
>
> Ing. Stefano Bianchi
> Softeco Sismat S.p.A.
> Via De Marini, 1 - WTC Tower
> 16149 Genoa (ITALY)
> e-mail: [EMAIL PROTECTED]
> tel: +39 010 60.26.368
> fax: +39 010 60.26.350
>
>
>
> -
> 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: NullPointer Exception

2004-08-23 Thread Robin Antony
Hmm ... It looks ok .. Did you recompile the jetspeed code with the
new configuration. If you change the database you need to recompile jetspeed
code. Then it generates some sql
script for you. You need to run that?
Cheers,
Robin Antony
OpenSI.Net
www.opensi.net

- Original Message - 
From: "Raghdan Rabah" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, August 23, 2004 2:35 AM
Subject: Re: NullPointer Exception


> Hello,
>
> - I tried with Win2000, WinXp, MSSQL2000 and Jetspeed 1.5
>
> - I Updated the Torque properties in WEB-INF/conf as
>
> torque.database.default.adapter=mssql
> torque.dsfactory.default.connection.driver = sun.jdbc.odbc.JdbcOdbcDriver
> torque.dsfactory.default.connection.url = jdbc:odbc:jetspeed1
> torque.dsfactory.default.connection.user =  sa
> torque.dsfactory.default.connection.password = 
>
> - "sa" is SQL admin user.
>
> - For the sql script, I have run mssql script.
> This generated some tables and data, but when I compared with hsql
database,
> I noticed that hsql has more tables. So, I did generated the rest
manually.
>
> Regards
>
> On Mon, 23 Aug 2004 00:29:27 +0800 (SGT), robin.antony wrote
> > Hi,
> > I think it is a access problem. When Jetspeed loads the page it
> > cannot find your profile. Thats why its throwing a null pointer
exception.
> > Check the following things
> >
> > 1. Check if Jetspeed has the correct access rights, username and
password
> > of database to access it.
> > 2. If you are running on linux, check if you have set the right
> > permissions for your files. I mean you copied your files over as
> > root and running tomcat as user tomcat. Because of which tomcat user
> > cannot access those files. Most likely I think it is a database
> > access problem. If you still cannot solve your problem .. Post back
> > your results and I will try to help you. Cheers, Robin Antony
> > OpenSI.Net Pte Ltd www.opensi.net
> >
> > > Hello,
> > >
> > > When I changed the hsql to mssql, jetspeed gives the following
> > > NullPointer  Exception:
> > >
> > > .
> > > .
> > >
> > > There has been an Error!
> > > Reason:
> > > org.apache.jetspeed.om.profile.ProfileException:
> > > java.lang.NullPointerException
> > >
> > > Get/Post Data:
> > > template  = /html/ShowError.vm
> > >
> > > Stacktrace:
> > >
> > >   org.apache.jetspeed.om.profile.ProfileException:
> > > java.lang.NullPointerException
> > > at
> > >
>
org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallbackProfil
e
> > > (JetspeedProfilerService.java:502)
> > > at
> > >
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile
> > > (JetspeedProfilerService.java:245)
> > >
> > > .
> > > .
> > > .
> > >
> > > Any help in how to solve this.
> > >
> > > Regards
> > >
> > >
> > > - 
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: Same portlet showing multiple times in the Pane/Tab

2004-08-20 Thread Robin Antony
Hi Khem,
I don't know if there is a better way to do it. But I can suggest a
solution. The portlet configuration of every user is stored in the psml file
structure
inside jetspeed. When the user is adding portlets You check his psml file
and don't show him the portlets that are already in his psml file or disable
him from
selecting them. If I am reading correctly is this what you want to achieve?
Regards,
Robin Antony
OpenSI.Net
www.opensi.net


- Original Message - 
From: "Sachdeva, Khemchand" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Cc: "Robin Antony" <[EMAIL PROTECTED]>; "Stijn de Witt"
<[EMAIL PROTECTED]>
Sent: Friday, August 20, 2004 4:01 AM
Subject: RE: Same portlet showing multiple times in the Pane/Tab


> Hi Robin
>
> Ok understood that it makes sense in some cases.
>
> But what if for my project I don't want a portlet to appear multiple
times.
> How do I avoid that ? What code changes I will have to make. ?
>
> Thanks
> Khem
>
> -Original Message-
> From: Robin Antony [mailto:[EMAIL PROTECTED]
> Sent: Saturday, July 31, 2004 6:14 AM
> To: Jetspeed Users List
> Subject: Re: Same portlet showing multiple times in the Pane/Tab
>
>
> Its also possible that the customer is using the same portlet to get
> different content from different sources. For example he can create a same
> jsp portlet to retrieve content from a CMS based on the url that is passed
> in the initial portlet config. I guess, there are several scenarios where
a
> person would want to have the same portlet appear several times in a pane.
>
> Regards,
> Robin Antony
> OpenSI.Net
> www.opensi.net
>
> - Original Message - 
> From: "Sachdeva, Khemchand" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, July 29, 2004 11:26 PM
> Subject: RE: Same portlet showing multiple times in the Pane/Tab
>
>
> > I expect that the customer will be shown an error message if he tries to
> > select the same portlet twice.
> > There should be an error saying you already have this portlet in your
> pane.
> >
> > There is no reason why somebody would want to have a portlet displayed
> twice
> > in the same pane.
> > So this action should be restricted from the frontend.
> >
> > Khem
> >
> > -Original Message-
> > From: Randy Dillon [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, July 29, 2004 11:51 PM
> > To: Jetspeed Users List
> > Subject: RE: Same portlet showing multiple times in the Pane/Tab
> >
> >
> > What would the "correct" behavior be?  The results you describe is
exactly
> > what I personally would expect.
> >
> >
> >
> > -Original Message-
> > From: Sachdeva, Khemchand [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, July 29, 2004 6:54 AM
> > To: [EMAIL PROTECTED]
> > Subject: Same portlet showing multiple times in the Pane/Tab
> >
> >
> > Hi
> >
> > I already have a portlet in a tab and if I try adding the same portlet
> again
> > in the same tab
> > it starts showing the same portlet twice in the tab.
> >
> > This is obviously not the correct behaviour.
> >
> > Is there any way to get around this ?
> >
> > We are using JetSpeed 1.5.
> >
> > Thanks
> > Khem
> >
> >
> > -
> > 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]



Lenya and Jetspeed

2004-08-19 Thread Robin Antony
Hi,
Has anyone here managed to integrate Lenya (CMS) from Cocoon project and Jetspeed 1.5? 
I would like to know if this is possible. 
Any Hints on how this can be achieved? Thanks.
Robin Antony
OpenSI.Net
www.opensi.net

Re: chart portlet on jetspeed

2004-08-18 Thread Robin Antony
For Cewolf , You can use this sample.
This is the sample of the jsp page. also put PageViewCountData.java in its
path. This is a sample program from cewolf tutorial. Good Luck!
Robin Antony
OpenSI.Net
[EMAIL PROTECTED]


 <%@ page contentType="text/html" %>
 <[EMAIL PROTECTED] uri='/WEB-INF/templates/jsp/tld/cewolf-1.1.tld' prefix='cewolf'
%>
 
 
 
 
 







 












- Original Message - 
From: "Shen, Ching" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, August 17, 2004 2:47 PM
Subject: RE: chart portlet on jetspeed


There are also other chart packages, such as  cewolf and jfreechart.
The problem is I need a  portlet sample which can embeded chart capability
since I don't know what it should looks like.
Any samples you can share?

-Original Message-
From: Devinder Sachdeva [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 17, 2004 3:00 PM
To: Jetspeed Users List
Subject: Re: chart portlet on jetspeed


Ching-
Create a Portlet (VM) or JSP include applet as




.. 

We used http://www.objectplanet.com/EasyCharts/
Keep EasyChart jar in classpath .It works fine.

Thanks
Devinder




"Shen, Ching" <[EMAIL PROTECTED]>
08/17/2004 03:51 PM
Please respond to "Jetspeed Users List"


To: <[EMAIL PROTECTED]>
cc:
Subject:chart portlet on jetspeed


Does anybody have a portlet for chart,  from 2 columns,  with at least 1
column data , whether from a file or from database?
I am new in jetspeed and is looking for an example
Any suggestion/comments will be greatly appreciated.


Thank you!

Ching Shen



-
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: Same portlet showing multiple times in the Pane/Tab

2004-07-30 Thread Robin Antony
Its also possible that the customer is using the same portlet to get
different content from different sources. For example he can create a same
jsp portlet to retrieve content from a CMS based on the url that is passed
in the initial portlet config. I guess, there are several scenarios where a
person would want to have the same portlet appear several times in a pane.

Regards,
Robin Antony
OpenSI.Net
www.opensi.net

- Original Message - 
From: "Sachdeva, Khemchand" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Thursday, July 29, 2004 11:26 PM
Subject: RE: Same portlet showing multiple times in the Pane/Tab


> I expect that the customer will be shown an error message if he tries to
> select the same portlet twice.
> There should be an error saying you already have this portlet in your
pane.
>
> There is no reason why somebody would want to have a portlet displayed
twice
> in the same pane.
> So this action should be restricted from the frontend.
>
> Khem
>
> -Original Message-
> From: Randy Dillon [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 29, 2004 11:51 PM
> To: Jetspeed Users List
> Subject: RE: Same portlet showing multiple times in the Pane/Tab
>
>
> What would the "correct" behavior be?  The results you describe is exactly
> what I personally would expect.
>
>
>
> -Original Message-
> From: Sachdeva, Khemchand [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 29, 2004 6:54 AM
> To: [EMAIL PROTECTED]
> Subject: Same portlet showing multiple times in the Pane/Tab
>
>
> Hi
>
> I already have a portlet in a tab and if I try adding the same portlet
again
> in the same tab
> it starts showing the same portlet twice in the tab.
>
> This is obviously not the correct behaviour.
>
> Is there any way to get around this ?
>
> We are using JetSpeed 1.5.
>
> Thanks
> Khem
>
>
> -
> 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]



Problem Jetspeed1.5

2004-07-28 Thread Robin Antony
Hi,
I am having a problem with deploying jetspeed 1.5. My company just bought a
server space in a hosting company. This was to host an application on
jetspeed for one of our customers in US. They were providing a virtual
private server space. So we got the server and installed openCMS. we just
deployed the war file and everything for opencms worked fine. But when we
tried to deploy jetspeed.war I am getting this exception.
It looks like a database problem. But I am just using default hypersonic
database. everything is the same. Its just raw jetspeed1.5. I am totally
lost on what the problem is. I tried changing some path variables here and
there with no result. Is there any way I can check if hypersonic is running?
Or whether jetspeed is able to connect to it? I have also removed multiple
versions of hsqldb.jar from the classpath. Hope you guys will be able to
help me with this. Thanks in advance.
Best Regards,
Robin Antony

  There has been an Error!
  Reason:
org.apache.jetspeed.om.profile.ProfileException:
java.lang.NullPointerException



  Get/Post Data:
template  = /html/ShowError.vm




  Stacktrace:

  org.apache.jetspeed.om.profile.ProfileException:
java.lang.NullPointerException
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallbackProfil
e(JetspeedProfilerService.java:502)
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(Jet
speedProfilerService.java:245)
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(Jet
speedProfilerService.java:528)
at org.apache.jetspeed.services.Profiler.getProfile(Profiler.java:87)
at
org.apache.jetspeed.modules.actions.JetspeedAccessController.doPerform(Jetsp
eedAccessController.java:74)
at org.apache.turbine.modules.Action.perform(Action.java:87)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at org.apache.turbine.Turbine.doGet(Turbine.java:529)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:702)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)
at java.lang.Thread.run(Thread.java:534)




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



Problem with Jetspeed1.5

2004-07-28 Thread Robin Antony
Hi,
I am having a problem with deploying jetspeed 1.5. My company just bought a
server space in a hosting company. This was to host an application on
jetspeed for one of our customers in US. They were providing a virtual
private server space. So we got the server and installed openCMS. we just
deployed the war file and everything for opencms worked fine. But when we
tried to deploy jetspeed.war I am getting this exception.
It looks like a database problem. But I am just using default hypersonic
database. everything is the same. Its just raw jetspeed1.5. I am totally
lost on what the problem is. I tried changing some path variables here and
there with no result. Is there any way I can check if hypersonic is running?
Or whether jetspeed is able to connect to it? I have also removed multiple
versions of hsqldb.jar from the classpath. Hope you guys will be able to
help me with this. Thanks in advance.
Best Regards,
Robin Antony
www.opensi.net

  There has been an Error!
  Reason:
org.apache.jetspeed.om.profile.ProfileException:
java.lang.NullPointerException



  Get/Post Data:
template  = /html/ShowError.vm




  Stacktrace:

  org.apache.jetspeed.om.profile.ProfileException:
java.lang.NullPointerException
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallbackProfil
e(JetspeedProfilerService.java:502)
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(Jet
speedProfilerService.java:245)
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(Jet
speedProfilerService.java:528)
at org.apache.jetspeed.services.Profiler.getProfile(Profiler.java:87)
at
org.apache.jetspeed.modules.actions.JetspeedAccessController.doPerform(Jetsp
eedAccessController.java:74)
at org.apache.turbine.modules.Action.perform(Action.java:87)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at org.apache.turbine.Turbine.doGet(Turbine.java:529)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:702)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)
at java.lang.Thread.run(Thread.java:534)




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



Jetspeed 1.5 problem!

2004-07-28 Thread Robin Antony
Hi,
I am having a problem with deploying jetspeed 1.5. My company just bought a
server space in a hosting company. This was to host an application on
jetspeed for one of our customers in US. They were providing a virtual
private server space. So we got the server and installed openCMS. we just
deployed the war file and everything for opencms worked fine. But when we
tried to deploy jetspeed.war I am getting this exception.
It looks like a database problem. But I am just using default hypersonic
database. everything is the same. Its just raw jetspeed1.5. I am totally
lost on what the problem is. I tried changing some path variables here and
there with no result. Is there any way I can check if hypersonic is running?
Or whether jetspeed is able to connect to it? I have also removed multiple
versions of hsqldb.jar from the classpath. I am using tomcat5. Could that be a 
problem? Hope you guys will be able to
help me with this. Thanks in advance.
Best Regards,
Robin Antony

  There has been an Error!
  Reason:
org.apache.jetspeed.om.profile.ProfileException:
java.lang.NullPointerException



  Get/Post Data:
template  = /html/ShowError.vm




  Stacktrace:

  org.apache.jetspeed.om.profile.ProfileException:
java.lang.NullPointerException
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallbackProfil
e(JetspeedProfilerService.java:502)
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(Jet
speedProfilerService.java:245)
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(Jet
speedProfilerService.java:528)
at org.apache.jetspeed.services.Profiler.getProfile(Profiler.java:87)
at
org.apache.jetspeed.modules.actions.JetspeedAccessController.doPerform(Jetsp
eedAccessController.java:74)
at org.apache.turbine.modules.Action.perform(Action.java:87)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at org.apache.turbine.Turbine.doGet(Turbine.java:529)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:702)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)
at java.lang.Thread.run(Thread.java:534)



Re: problem running jetspeed 2

2004-07-23 Thread Robin Antony
Hi,
I had similar problems when i ran jetspeed2 on tomcat 5. Its due to a JAAS
authentication in tomcat 5. Refer to this url
http://issues.apache.org/jira/browse/JS2-55 . Try moving to tomcat 4.1.X .
That solved my problem actually.

Cheers,
Robin Antony
[EMAIL PROTECTED]


- Original Message - 
From: "Kevin D'Elia" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 22, 2004 11:29 AM
Subject: problem running jetspeed 2


> Hello,
>
> I have successfully compiled and deployed the jetspeed-2 war file
> into tomcat 5.0.27 but when I bring up the page, nothing displays.  I
> have looked at the web.xml file, which wants to have, as part of the
> configuration, a file called jetspeed-configuration.xml.  I cannot find
> this file anywhere on my system.  The jetspeed.log shows the following
> errors (sorry if this is a lot of text!):
>
> 118:2004-07-22 14:08:23,982 [http-8080-Processor24] ERROR
> org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl -
> Error generating new PortletEntity:
>
org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedExcept
ion:
> Failed to retrieve Portlet Definition for HW_App::UserInfoTest
> 187:2004-07-22 14:08:23,992 [http-8080-Processor24] ERROR
> org.apache.jetspeed.aggregator.impl.PageAggregatorImpl - Failed to
> render portlet "[EMAIL PROTECTED]":
> java.lang.IllegalStateException: Unable to generate portlet entity.
> 190:2004-07-22 14:08:24,012 [http-8080-Processor24] ERROR
> org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl -
> Error generating new PortletEntity:
>
org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedExcept
ion:
> Failed to retrieve Portlet Definition for HW_App::RoleSecurityTest
> 259:2004-07-22 14:08:24,012 [http-8080-Processor24] ERROR
> org.apache.jetspeed.aggregator.impl.PageAggregatorImpl - Failed to
> render portlet "[EMAIL PROTECTED]":
> java.lang.IllegalStateException: Unable to generate portlet entity.
> 262:2004-07-22 14:08:24,022 [http-8080-Processor24] ERROR
> org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl -
> Error generating new PortletEntity:
>
org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedExcept
ion:
> Failed to retrieve Portlet Definition for HW_App::PickANumberPortlet
> 331:2004-07-22 14:08:24,032 [http-8080-Processor24] ERROR
> org.apache.jetspeed.aggregator.impl.PageAggregatorImpl - Failed to
> render portlet "[EMAIL PROTECTED]":
> java.lang.IllegalStateException: Unable to generate portlet entity.
> 334:2004-07-22 14:08:24,042 [http-8080-Processor24] ERROR
> org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl -
> Error generating new PortletEntity:
>
org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedExcept
ion:
> Failed to retrieve Portlet Definition for HW_App::CustomerList
> 403:2004-07-22 14:08:24,052 [http-8080-Processor24] ERROR
> org.apache.jetspeed.aggregator.impl.PageAggregatorImpl - Failed to
> render portlet "[EMAIL PROTECTED]":
> java.lang.IllegalStateException: Unable to generate portlet entity.
> 406:2004-07-22 14:08:24,072 [http-8080-Processor24] ERROR
> org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl -
> Error generating new PortletEntity:
>
org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedExcept
ion:
> Failed to retrieve Portlet Definition for HW_App::PreferencePortlet
> 475:2004-07-22 14:08:24,072 [http-8080-Processor24] ERROR
> org.apache.jetspeed.aggregator.impl.PageAggregatorImpl - Failed to
> render portlet "[EMAIL PROTECTED]":
> java.lang.IllegalStateException: Unable to generate portlet entity.
> 478:2004-07-22 14:08:24,092 [http-8080-Processor24] ERROR
> org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl -
> Error generating new PortletEntity:
>
org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedExcept
ion:
> Failed to retrieve Portlet Definition for security::LoginPortlet
> 547:2004-07-22 14:08:24,092 [http-8080-Processor24] ERROR
> org.apache.jetspeed.aggregator.impl.PageAggregatorImpl - Failed to
> render portlet "[EMAIL PROTECTED]":
> java.lang.IllegalStateException: Unable to generate portlet entity.
> 550:2004-07-22 14:08:24,102 [http-8080-Processor24] ERROR
> org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl -
> Error generating new PortletEntity:
>
org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedExcept
ion:
> Failed to retrieve Portlet Definition for HW_App::HelloPortlet
> 619:2004-07-22 14:08:24,112 [http-8080-Processor24] ERROR
> org.apache.jetspeed.aggregator.impl.

Re: Caching of images in Jetspeed.

2004-07-20 Thread Robin Antony
Hi Sunil,
There are quite a lot of caching mechanisms in jetspeed. Just take a look at
the JetspeedResources.properties and use whichever is most suitable for you.
Cheers,
Robin Antony
[EMAIL PROTECTED]

- Original Message - 
From: "Sunil Sheshadri" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 20, 2004 3:11 AM
Subject: Caching of images in Jetspeed.


> Hi All,
> We are running into performance issues when using Jetspeed and we came to
> know that 75% of the time is taken to render the pages. We have used VM to
> build our portlets. We came to know that images are not cached and
> everything the page is refreshed, images are picked up from the server.
>
> Any setting to be done to enable caching of images?
>
> Any other performance tuning tips to render the pages fast  ?
>
> Regards,
> Sunil.
>
>
>






> -
> 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: problem with passing link from one JSP Portlet to another JSP Portlet

2004-07-06 Thread Robin Antony


 Hi,
Try getting your Rundata value in the second jsp like this
RunData data = (RunData) request.getAttribute("rundata");
And then get the 
String dynamicLink=(String) data.getRequest.getParameter("dynamicLink");
Hope this helps.

Robin Antony
Phone: +65 - 6588 3343, Cell: +65 - 91004930
Email: robin.antony <mailto:[EMAIL PROTECTED]> @opensi.net
<mailto:[EMAIL PROTECTED]> , Fax: +65 - 6588 3001   
OpenSI.Net. Pte. Ltd.
#01-42 The Acceleration
Phase Z.Ro Technopreneur Park
151 North Bouna Vista Road
Singapore 139347
http://www.opensi <http://www.opensi.net/> .net 
 


-Original Message-
From: Maruthi [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 05, 2004 8:16 AM
To: [EMAIL PROTECTED]
Subject: problem with passing link from one JSP Portlet to another JSP
Portlet 

Hello Everybody,
 
I am still facing the problem with Inter JSP Portlet Communication.I
have a JSP which is displaying the News Titles from mysql database.
 
When i click(titles are having a link) on a particular title the
corresponding description of news should be displayed(from datbase) in a
separete(another) JSP portlet.
I am not able to get the link from first jsp to second jsp.I am getting
'null' for the first time and nothing afterwards.Should i define two
jsp's as templates in one portlet-entry in .xreg?.I defined both JSP's
differently in .xreg file.Below is my coding for both jsp's ..please
tell me where i am doing mistake?.I spent lot of time digging around.I
am using Jetspeed-1.5.
 
Thank you very much for your time and patience,
Maruthi.
 
===
NewsHead1.jsp
===
<%@ pagelanguage="java" contentType="text/html" %> 
<%@ pageimport = "java.io.*" %> 
<%@ pageimport = "java.lang.*" %> 
<%@ pageimport = "java.sql.*" %> 
<%@ pageimport = "javax.servlet.http.*" %> 
<%@ page  import = "org.apache.turbine.util.RunData" %> 
<%@ page  import = "org.apache.turbine.util.Log" %> 

   
  <% 
  try 
  {
  
  %>
   
   
   
   
   NEWS
HEADLINES
   
   
  <%
Class.forName("org.gjt.mm.mysql.Driver");
Connection
con=DriverManager.getConnection("Jdbc:mysql://localhost:3306/Thesiswork"
,"root","");
Statement st=con.createStatement();
String str="select title from news order by date desc limit 0,5"; 
ResultSet rs=st.executeQuery(str);
StringBuffer requestURL1 = (StringBuffer) request.getRequestURL(); 
  %> 
  
  
<%
while(rs.next())
   {
  %>   
  



""><%=rs.g
etString("title")%>




  <%
  }
  %> 
 
   
   
  

  



<%
  
   }
   catch (Exception e)
  {
  Log.error(e);
 return;
}%>

 
 
 
 
===
NewsDetailsJsp.jsp
===
 
<%@ pagelanguage="java" contentType="text/html" %> 
<%@ pageimport = "java.io.*" %> 
<%@ pageimport = "java.lang.*" %> 
<%@ pageimport = "java.sql.*" %> 
<%@ page  import = "org.apache.turbine.util.RunData" %> 
<%@ page  import = "org.apache.turbine.util.Log" %> 
<%@ pageimport = "javax.servlet.http.*" %> 

   
  <% 
  try 
  {
  
  %>
   
   
   
   NEWS DETAILS
   
   
  <%
 
 String dynamicLink=(String) request.getParameter("dynamicLink");
 System.out.println("Dynamic Link is :" +dynamicLink); 
  Class.forName("org.gjt.mm.mysql.Driver");
 Connection
con=DriverManager.getConnection("Jdbc:mysql://localhost:3306/Thesiswork"
,"root","");
 Statement st=con.createStatement();
 
   
%>
   
   
   Title is :News Description will come
Here!.
   
   <%
  
   String str="select description from news where
title="dynamicLink";  
   ResultSet rs=st.executeQuery(str); 
while(rs.next())
 {
 
   %>   

   
Description is
:<%=rs.getString("description")%>
   
  
<%
 }
   %> 
  
   
   
 
   
 

  



<%
  
   }
   catch (Exception e)
  {
  Log.error(e);
 return;
}%>




-
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!


RE: Problems with Roles and Permissions

2004-07-01 Thread Robin Antony
Hi,
How are you changing your roles? Are you doing it by manually changing
them in the security.xreg files? If you are manually changing the .xreg
file then you will need to restart tomcat, coz the .xreg  files are
loaded each time jetspeed loads. But you can also change the roles by
logging in as admin inside jetspeed. If you do it that way then you
would not need to restart tomcat. 
Cheers,
Robin Antony
Software Engineer
OpenSI.Net 
www.opensi.net

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 2:47 PM
To: [EMAIL PROTECTED]
Subject: RE: Problems with Roles and Permissions

For your second problem, it is hard to say what happened based on the
information you provided. Anyhow, you can put in some debug statements
(using the jetspeed logger) in the PortletWraper class then check the
output
in the jetspeed.log file. The checkPermission method in there will
invoke
the AccessController class you choose in the JetspeedSecurity.properties
file. Default is the RegistryAccessController. You can put in debug
statements in the AccessController class if necessary. These should give
you
enough information to tell you why your access control doesn't work.
Andy  

-Original Message-
From: Sturtz, Andrew [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 3:13 PM
To: [EMAIL PROTECTED]
Subject: Problems with Roles and Permissions


I am trying to divide users into two seperate groups using two different
roles and setting permissions for these roles to be able to view certain
portlets ie. one group with a role of A can see one set of portlets,
while users with the role of B can see another set of portlets.  The
problem that I am running into is that everytime a change a role of a
user I have to restart Tomcat for the changes to take effect.  Is this
normal behavior?  It doesn't seem so, because in a production
environment that would be very detrimental to the users already set up,
if throughout the day their portal would not be available to them
because it is constantly being restarted.  A second problem that I am
running into is that after I set the roles and add the permissions to my
security.xreg file and then add the security reference to the individual
portlets, the restricted portlets are still available to the users that
are not supposed to be able to see them.  Please help!!! :-( Thanks in
advance!

-
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: Getting Portlet ID from psml file for User.

2004-05-18 Thread Robin Antony
Since you need to do manipulations on the psml files maybe you can consider
storing the psml files in a database.
You can take a look at this url
http://portals.apache.org/jetspeed-1/psml_db.html
Also the CastorPsmlManagerService can be used to retrieve the values and
modify them as is required. Hope it helps ... :)

Cheers,
Robin Antony
[EMAIL PROTECTED]
Software Engineer
OpenSI.Net


- Original Message - 
From: "Sunil Sheshadri" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, May 18, 2004 3:55 AM
Subject: Getting Portlet ID from psml file for User.


> Hi,
>
> In one of our requirements, we need to get the user's portlet Id and store
> it in other table. So as soon as the user logins we need to get his ID's
> from default.psml or if he updates and add any portlets, we need to get
> those portlet ids too and store it in our table.
>
> Basically, what I am trying to say is that when ever jetspeed inserts or
> updates Profile column of Jetspeed_User_profile table we should get the
> extract details of that psml and store.
>
> Is there a way to achieve this? Can I know which method does jetspeed
calls
> to insert or update profile so that we can also do that?
>
> Any pointers?
>
>
> Regards
> Sunil.
>
>
> -
> 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: mysql - no new user Entries

2004-05-12 Thread Robin Antony
Have you given access to the user portal in your mysql database? Because you
are not logging into the database as root. Make sure you have given the
appropriate permissions to user portal. Other than that is looks ok.

Cheers,
Robin Antony
Software Engineer
OpenSI.Net

- Original Message - 
From: "Floßmann Christoph" <[EMAIL PROTECTED]>
To: "Jetspeed Users List (E-Mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 3:41 AM
Subject: mysql - no new user Entries


Here are my settings for the db connect:

torque.database.default=jetspeed
torque.database.jetspeed.adapter=mysql

torque.dsfactory.jetspeed.factory=org.apache.torque.dsfactory.TorqueDataSour
ceFactory
torque.dsfactory.jetspeed.pool.defaultMaxConnections=10
torque.dsfactory.jetspeed.pool.maxExpiryTime=3600
torque.dsfactory.jetspeed.pool.connectionWaitTimeout=10
### MySQL
torque.dsfactory.jetspeed.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.jetspeed.connection.url =
jdbc:mysql://localhost:3306/jetspeed
torque.dsfactory.jetspeed.connection.user =  portal
torque.dsfactory.jetspeed.connection.password =

My problem: The admin is unable to create new users.
After filling in the needed data, I click on the add user button and the
table with all users is shown but the new one is missing.
Any solutions?
Kind regards
Chris

-
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: TurbineSchedulerService

2004-05-10 Thread Robin Antony
hi,
Just realized that Jetspeed has a build in Scheduler. Was looking for
something like this to integrate with Jetspeed for quite some time. Anyway
thanks Michael and Stefano for bringing it up. I am still quite lost on how
to get it working... Is it run as a portlet? Do we need to make a portlet
entry for it? Has anyone used it before? How effective is it? Any help would
be greatly appreciated!

Cheers,
Robin Antony
[EMAIL PROTECTED]
Software Engineer
OpenSI.Net


- Original Message - 
From: "Michael Burschik" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, May 10, 2004 4:38 AM
Subject: AW: TurbineSchedulerService


> Dear Stefano Bianchi,
>
> The scheduler is supposed to run jobs at certain times, much like cron,
> although the definition of times is rather hairy. Run it if you need to
> schedule jobs, otherwise don't.
>
> Regards
>
> Michael Burschik
>
> > -Ursprüngliche Nachricht-
> > Von: Stefano Bianchi [mailto:[EMAIL PROTECTED]
> > Gesendet: Montag, 10. Mai 2004 13:13
> > An: Jetspeed Users List
> > Betreff: TurbineSchedulerService
> >
> >
> >
> > Dear ALL,
> > in my log file I found:
> >
> > [10 mag 2004 11:32:55  INFO] - TurbineSchedulerService was not started
> > because scheduler.enabled is not 'true' in the
> > TurbineResources.properties
> > file.
> >
> > What is this scheduler meant to be? Should I enable it?
> > Any hint will be very appreciated!
> >
> > Thank you
> > Stefano
> >
> > Ing. Stefano Bianchi
> > Softeco Sismat S.p.A.
> > Via De Marini, 1 - WTC Tower
> > 16149 Genoa (ITALY)
> > e-mail: [EMAIL PROTECTED]
> > tel: +39 010 60.26.368
> > fax: +39 010 60.26.350
> >
> >
> >
> > -
> > 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: portlet without controls

2004-03-22 Thread Robin Antony
go to customize and choose one column format ...

Robin Antony
[EMAIL PROTECTED]

- Original Message - 
From: "antony saviour" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 22, 2004 9:44 PM
Subject: portlet without controls


> hello ,
>
> I am trying to remove the controls in the top of my portlet( controls like
minimize button , maximize button ,...),
> I need to have a portlet without those controls,
>
>
> thank you,
> -
> Still single? Click here to find the perfect match.
>
> http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141
>


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



Re: How to obtain USER ID

2004-03-15 Thread Robin Antony
Sorry, didn't read your question carefully. Why don't you try using
((JetspeedRunData) data).getUserId() by using the data object.

- Original Message - 
From: "Stefano Bianchi" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, March 15, 2004 4:23 AM
Subject: Re: How to obtain USER ID


> Dear Robin,
> you are right, but these are username and password, not the user id
(numeric
> or alphanumeric) used in Turbine tables.
> Or this means no duplicated usernames are allowed, and usernames can be
used
> as primary keys instead of ids?
>
> Bye
> Stefano
>
> - Original Message - 
> From: "Robin Antony" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, March 16, 2004 4:43 AM
> Subject: Re: How to obtain USER ID
>
>
> > Hi,
> > you can get the userid and password from the rundata object
> > String uid= (String) rundata.getUser().getUserName();
> > String passwd = (String) rundata.getUser().getPassword();
> > Hope this helps :)
> > Regards,
> > Robin Antony
> > OpenSI.Net
> > [EMAIL PROTECTED]
> >
> > - Original Message - 
> > From: "Stefano Bianchi" <[EMAIL PROTECTED]>
> > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > Sent: Monday, March 15, 2004 3:10 AM
> > Subject: How to obtain USER ID
> >
> >
> > >
> > > I need to univocally identify users when storing data through a webapp
> > > hosted in a IframePortlet.
> > > I thought there were jsp tags or even method to extract ID for user,
but
> I
> > > did not find them in Turbine User.class.
> > > Any suggestion?
> > > Thank you
> > > Stefano
> > >
> > >
> > > Ing. Stefano Bianchi
> > > Softeco Sismat S.p.A.
> > > Via De Marini, 1 - WTC Tower
> > > 16149 Genoa (ITALY)
> > > e-mail: [EMAIL PROTECTED]
> > > tel: +39 010 60.26.368
> > > fax: +39 010 60.26.350
> > >
> > >
> > >
> > > -
> > > 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: Browsing static pages within a portlet

2004-03-15 Thread Robin Antony
Hi,
Maybe you should consider using a WebSurfPortlet. It is an extension of the
already existing WebPagePortlet. You can refer to this link for more details
and decide if it suits your needs.
http://grids.ucs.indiana.edu/users/balsoy/jetspeed/websurfportlet.html
Regards,
Robin Antony
OpenSI.Net
[EMAIL PROTECTED]

- Original Message - 
From: "Daniel Farinha" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, March 15, 2004 3:46 AM
Subject: Browsing static pages within a portlet


> I need to browse a number of local static pages within a single portlet.
> Unfortunately I can't use IFRAME or any other fancy HTML tags.
>
> I'm considering extending FileServerPortlet, so that any pages that it
> servers will have the HTML parsed, and normal  links will be
> re-written to a format that the portlet can catch (say using something
like
> JSLINK) to then open the respective static page.
>
> Is this a feasible solution, or are there better alternatives?
>
> Regards
>
> Daniel Farinha
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



Re: How to obtain USER ID

2004-03-15 Thread Robin Antony
Hi,
you can get the userid and password from the rundata object
String uid= (String) rundata.getUser().getUserName();
String passwd = (String) rundata.getUser().getPassword();
Hope this helps :)
Regards,
Robin Antony
OpenSI.Net
[EMAIL PROTECTED]

- Original Message - 
From: "Stefano Bianchi" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, March 15, 2004 3:10 AM
Subject: How to obtain USER ID


>
> I need to univocally identify users when storing data through a webapp
> hosted in a IframePortlet.
> I thought there were jsp tags or even method to extract ID for user, but I
> did not find them in Turbine User.class.
> Any suggestion?
> Thank you
> Stefano
>
>
> Ing. Stefano Bianchi
> Softeco Sismat S.p.A.
> Via De Marini, 1 - WTC Tower
> 16149 Genoa (ITALY)
> e-mail: [EMAIL PROTECTED]
> tel: +39 010 60.26.368
> fax: +39 010 60.26.350
>
>
>
> -
> 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: Session Information

2004-02-19 Thread Robin Antony
Hi,
If you are asking for commands on how to put and get values from the session
objects then this is what I am using.
User currentUser = rundata.getUser();
currentUser.setTemp("username", "xyz"); // to set values
string username = currentUser.getTemp("username") // to get values.
This excample uses the turbine user object as the session object. Don't
forget to import your
import org.apache.turbine.om.security.User;

Hope this is what you were looking for.
Cheers,
Robin Antony
New G System Pte Ltd
www.newgsystem.com


- Original Message - 
From: "Bryan K. Cantwell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 19, 2004 7:42 PM
Subject: Session Information


> I am new to JetSpeed and am wondering what if any information is available
in session
> variables? And if none could the logon process be a good place to put a
value into the
> session (like the userID)?
>
> Thanks from a Newb
>
>
> -
> 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: Javascript in top.vm

2004-02-10 Thread Robin Antony
Hi,
I had been having a similar problem while doing a popup new window using
javascript. I beleive it is because jetspeed sends information to the server
while doing the expand tree javascript stuff. But I implemented a similar
tree structure menu without jetspeed reloading. I think if you use try using
some other functions instead of the ones you are using now, it might work in
yourt javascript. I am also pretty lost when it reloads and when it doesn't.
If you post me your javascript function I can help you better.
Robin Antony
Software Engineer
www.newgsystem.com


- Original Message - 
From: "Liu, Richard" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 10, 2004 3:57 PM
Subject: RE: Javascript in top.vm


Hi Stijn,

Thanks for your response. Attached is a portion of our vm file.

As you will see, function initTraverse() generates the submenu navigation.
The submenu is initially displayed for less than 1 second. After the page is
reloaded, it disappears.

Thanks,
Richard



-Original Message-
From: Stijn de Witt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 5:16 PM
To: Jetspeed Users List
Subject: Re: Javascript in top.vm


I've been messing with JavaScript and Jetspeed too. I guess this has got
something to do with your action=".." html attributes...Could you post the
html source?

-Stijn


- Original Message -
From: "Liu, Richard" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 10, 2004 10:43 PM
Subject: Javascript in top.vm


HiAll,

We have implemented top.vm to display a multi-level menu for the top
navigation. When one menu item is selected, its submenu items are
expanded and displayed. We implemented this using JavaScript. However,
the expanded submenu disappears immediately and the page is reloaded.
What is the underlying mechanism which leads to this reloading? Any
suggestions are highly appreciated.

Richard





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



Change look and feel of JSP panes

2004-01-28 Thread Robin Antony
Hi,
Does anybody know how to change the look and feel of panes using jsp? I know it can be 
done using vm by changing the jetspeed-tab.vm file. But is there anyway to do it in 
jsp? I have been using jsp all along and dun want to using vm just for this! Thanks.

Robin Antony
Software Engineer
New G System Pte Ltd
email: [EMAIL PROTECTED]


Reloading of Portlet

2004-01-19 Thread Robin Antony
Hi,
I had initially posted a problem here. The problem was that when a pop up
window was opened on button click from a jetspeed portal. the portal used to
refresh itself. I couldn't find a solution for it then. But later I realised
that by using a combination of target="_blank" and onclick=window.open , it
wasn't reloading anymore. But I am still not able to figure out why when I
used just onclick=window.open, the portlet reloads itself. If anyone faces a
similar problem again this is one way of solving it.
http://localhost:8080/test/servlets/jsppage.jsp"; target="_blank"
onclick="window.open(this.href,this.target,'width=500,height=400,resize=yes,
resizable=yes,directories=no,scrollbars=yes'); return false;" >Search
Records
I have seen this question being posted here previously also.

Cheers,
Robin Antony
Software Engineer
New G System Pte Ltd
www.newgsystem.com


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



Re: JSP Portlet Problem

2004-01-11 Thread Robin Antony
Hi,
I feel you might have mistyped the spelling of HelloWorld.jsp

>Additionally i put the file "HelloWolrd.jsp" in the folder
>.../jetspeed/WEB-INF/templates/jsp/portlets/html:

Cheers
Robin
New G System Pte Ltd

- Original Message -
From: "Bela Kovac" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 11, 2004 6:56 AM
Subject: JSP Portlet Problem


Hi,

i'm new to the list and to Jetspeed. I read many documents about adding
an own portlet to Jetspeed. I tried adding a JSP Portlet, but let's
first talk about my setup.

I use Jetspeed 1.4b4 on a Mac, with java 1.4.1 and tomcat 5.x
I downloaded the binary form of jetspeed (WAR) and put in the the
tomcat webapps folder. Then i startet tomcat. To make a long story
short, jetspeed is alive and kicking at localhost:8080/jetspeed. So far
so good.

The i wanted to add a JSP Portlet (which does nothing than a Hello
World), and put a file "HelloWorld.xreg" in .../jetspeed/WEB-INF/conf:




 
 
 HelloWorld
 Mein erstes Jetspeed JSP-Portlet
 
 
 
 demo
 jsp.demo
 



Additionally i put the file "HelloWolrd.jsp" in the folder
.../jetspeed/WEB-INF/templates/jsp/portlets/html:

<%@ page language="java"
  session="false"
%>
<%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld'
prefix='jetspeed' %>

Hello World!



Finally i logged into Jetspeed (using my own login) and added the
HelloWorld JSP-Portlet as described in the Jetspeed-Tutorial (Add
Portlet, then Save and Apply). The Frame of my Portlet is shown, but i
get no Hello World, but an error message saying:

JSPViewProcessor: Could not include the following JSP Page:
[HelloWorld.jsp] : null


I have no idea where look for my error. If anyone can help me out i
would be very grateful.



Many thanks in advance,

Bela

PS: if this question was answered before, please don't flame me and
give me a hint... ;-)

--
"Der Blitzableiter auf einem Kirchturm ist das denkbar stärkste
Misstrauensvotum gegen den lieben Gott."
   -- Karl Kraus

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



Portlet Reload

2003-12-29 Thread Robin Antony
Hi,
I have 2 links on my portlet page with each of them opening a servlet in a new window. 
Lets call them link1 and link2. 
Link1 gets some values and posts them back to a text box on the portlet. But when I 
try to open Link2 from my main portlet window it reloads the page and I lose the 
information that was posted to the textbox by Link1. 

Does jetspeed always reload the pages on any action performed in its portlet? Is there 
any way I can turn them off? I am sorry if this is a repeat question.. Any help would 
be grately appreciated.

Thanks
Robin Antony
New G System Pte Ltd.