Re: Porttlet action

2003-07-22 Thread Raffaele Ragni
Il mar, 2003-07-22 alle 13:51, ihepda ha scritto:
> Ok, 
> but how can I view the printable action?
> 
> thank's for the response
> 
> Claudio

Other than setting the print permission with all the others i don't
know...



> -- Initial Header -------
> 
> >From  : Raffaele Ragni
> To  : Jetspeed Users List
> Cc  : 
> Date  : 22 Jul 2003 11:31:11 +0200
> Subject : Re: Porttlet action
> 
> > Il mar, 2003-07-22 alle 08:48, ihepda ha scritto:
> > > Hi,
> > > I don't understand how can I modify the portlet action (maximize, minimize, 
> > > close, ecc...) permissions.
> > > 
> > > I've an user "perelli" in the role "tecno-admin". I've modified the role 
> > > permission disabling the close and info but notting.
> > > 
> > > I've inserted a new security "tecno" with enabled all action except the close 
> > > and the info but the print isn't viewed.
> > > 
> > > At what is used the role permission?
> > > 
> > > There is a document that explain this? (I've read the tutorial yet).
> > > 
> > > Thank's
> > > 
> > > 
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > Those permissions (in the database) aren't used as far as i know.
> > You can define a new 'security' type on security.xreg, and then use that
> > one when modifying psml (if i remember right only admin can set that)
> > Or just modifying the default one. It did work for me..
> > 
> > -
> > 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: Porttlet action

2003-07-22 Thread Raffaele Ragni
Il mar, 2003-07-22 alle 08:48, ihepda ha scritto:
> Hi,
> I don't understand how can I modify the portlet action (maximize, minimize, close, 
> ecc...) permissions.
> 
> I've an user "perelli" in the role "tecno-admin". I've modified the role permission 
> disabling the close and info but notting.
> 
> I've inserted a new security "tecno" with enabled all action except the close and 
> the info but the print isn't viewed.
> 
> At what is used the role permission?
> 
> There is a document that explain this? (I've read the tutorial yet).
> 
> Thank's
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

Those permissions (in the database) aren't used as far as i know.
You can define a new 'security' type on security.xreg, and then use that
one when modifying psml (if i remember right only admin can set that)
Or just modifying the default one. It did work for me..

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



Re: How to get portlet parameters in vm template?

2003-07-22 Thread Raffaele Ragni
Il mar, 2003-07-22 alle 09:38, Ju Xiaolong ha scritto:
> Hello,all
> 
> How to get portlet parameters in vm template?
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

I assume it's $data.getParameters().[getInt, getString etc..], since you
can access RunData object as $data there.

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



RE: Todo List portlet

2003-07-21 Thread Raffaele Ragni
Il lun, 2003-07-21 alle 19:38, Carlos Orrego ha scritto:
> thanks for the donation
> do you have any on-line demo to view this?
> 
> c
> 
> -Original Message-
> From: Raffaele Ragni [mailto:[EMAIL PROTECTED]
> Sent: Sunday, July 20, 2003 3:54 PM
> To: Jetspeed Users List
> Subject: Todo List portlet
> 
> 
> Hi all,
> it has been a while since i began this portlet, and finally i
> can donate it to the community..
> I hope it helps.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

Still not, but probably soon i can make it.

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



Todo List portlet

2003-07-20 Thread Raffaele Ragni
Hi all,
it has been a while since i began this portlet, and finally i
can donate it to the community..
I hope it helps.


todolist-portlet-1.0.tar.gz
Description: GNU Zip compressed data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Forget password portlet

2003-07-17 Thread Raffaele Ragni
Hi,
I was searching recently for the so well known feature to retrieve
passwords from jetspeed when users forget them (by emailing).
I didn't found what i searched for, so i did it myself and i thought to
share it.

I also named the package like the portlets of jetspeed, in the case it
could be of interest by the developers.


forgotpassword-portlet.zip
Description: Zip archive
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Services from velocity

2003-07-10 Thread Raffaele Ragni
All ok now, thanks

Il gio, 2003-07-10 alle 18:34, Mark Orciuch ha scritto:
> Yes, by writing your own SecurityTool (very simple).
> 
> Best regards,
> 
> Mark Orciuch - [EMAIL PROTECTED]
> Jakarta Jetspeed - Enterprise Portal in Java
> http://jakarta.apache.org/jetspeed/
> 
> > -Original Message-
> > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, July 10, 2003 11:30 AM
> > To: Jetspeed Users List
> > Subject: Services from velocity
> > 
> > 
> > Hi,
> > anyone knows how can i access to JetspeedSecurity from velocity?
> > 
> > - Raffaele Ragni
> > 
> > -
> > 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]



Services from velocity

2003-07-10 Thread Raffaele Ragni
Hi,
anyone knows how can i access to JetspeedSecurity from velocity?

- Raffaele Ragni

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



Re: MySQL DB looses permanently connection....

2003-07-10 Thread Raffaele Ragni
Il gio, 2003-07-10 alle 12:44, Danny ha scritto:
> We have jetspeed (1.4 build 4) configured with MySQL DB (I must admit, that
> the Sever is quite a poor machine) and some portlets, that generate charts
> from DB. Everything works fine, but after a while Jetspeed looses the
> connection to the DB. And when the connection is lost, Jetspeed has to be
> restarted.
> 
> My question now is:
> 
> Is this a know thing?
> Is this related to Jetspeed? (We have another Jetspeed based application
> working with Oracle, where everything is OK)
> Is this related to the server? (pentium 1, 128 MB RAM, OS Windows NT)
> 
> Anny hint is appreciated.
> 
> Danny
> 
> ==
> T-Systems Multimedia Solutions GmbH
> Danny Gehl
> Authorized Java Center (AJC)
> Hausanschrift: Riesaer Straße 5, 01029 Dresden
> Tel.: (0351) 8505 845
> Fax.: (in Arbeit)
> E-Mail: mailto:[EMAIL PROTECTED]
> http://www.T-Systems-MMS.com
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

I'm not sure, something about the pool connection timeout? I had a
similar thing before and that was the problem.

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



Re: Rendering single portlet

2003-07-09 Thread Raffaele Ragni
Il mer, 2003-07-09 alle 10:11, Jun Yang ha scritto:
> I asked a similar question a while ago.  Here is the answer:
> 
> -
> Ender,
> 
> Thanks for the tip.  It works very well.  Basically the URL is something 
> like:
> 
> http://localhost:8080/portal/portal/media-type/html/user/anon/page/default.psml/js_peid/P-f58202979d-10004?action=controls.Print
> 
> 
> Jun
> 
> Ender Hikmet KILIÇOÐLU wrote:
> 
> > print control behavior may help for your problem.
> > action=control.print?js_peid=X
> >
> > -Özgün Ileti-
> > Kimden: Jun Yang [mailto:[EMAIL PROTECTED]
> > Tarih: Saturday, June 14, 2003 1:46 AM
> > Kime: Jetspeed Users List
> > Konu: PortletServlet
> >
> >
> > Hi all,
> >
> > I need to write a PortletServlet and returns the content of a single
> > portlet without anything else such as its controls.  What is the easiest
> > way to do so?  Suppose I already know the name, id and even a reference
> > to the portlet in the servlet.  Thanks!
> >
> > Jun
> 
> 
> 
> Raffaele Ragni wrote:
> 
> >Hi List,
> >  is there a way to render a single portlet without all the other
> >things? Just like the print friendly feature, setting it directly in the
> >URL so that each portlet can be single just by the link.
> >
> >I was thinking that for doing popups mostly...
> >
> >- Raffaele Ragni
> >
> >-
> >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]
> 
> 

Ok, thanks a lot

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



Rendering single portlet

2003-07-09 Thread Raffaele Ragni
Hi List,
  is there a way to render a single portlet without all the other
things? Just like the print friendly feature, setting it directly in the
URL so that each portlet can be single just by the link.

I was thinking that for doing popups mostly...

- Raffaele Ragni

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



R: MySQL Problems

2003-03-10 Thread Raffaele Ragni
I had a similar problem wich I solved by replacing all the jars(b3-war
version of Jetspeed) with others one I had in my building environment. 
Probably was about the torque one, or because I compiled everything with
those ones and was using others when running jetspeed.

But that problem of mine wasn't the same probably, since I were using
the default connection.
Try checking that the name of the connection(sriportaldb as I see in the
logs..) is the same in the schema and in .properties files.
Hope it helps.


-Messaggio originale-
Da: Casimiro Lovato-Winston [mailto:[EMAIL PROTECTED] 
Inviato: lunedì 10 marzo 2003 7.57
A: [EMAIL PROTECTED]
Oggetto: MySQL Problems

Hello,

I have read others' problems connecting with mySql and still can't get 
past this error:

Horrible Exception: java.lang.Error: Error in
BasePeer.initTableSchema(TURBINE_USER): There was no DataSourceFactory
configured for the connection sriportaldb
at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(Ba
seTurbineUserPeer.java:154)
at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.(Bas
eTurbineUserPeer.java:128)..

Here is a snippet from my Torque.properties file:

# ---
# These are your database settings. Look in the
# org.apache.pool.* packages for more information.
#
# The parameters to connect to the default database.  You MUST
# configure these properly.
# ---


torque.database.default=sriportaldb
#torque.database.default.adapter=hypersonic
torque.database.default.adapter=mysql
### torque.database.default.adapter=oracle
### torque.database.default.adapter=mssql

##
## Using torque's old pool
##
##torque.dsfactory.default.connection.driver = org.hsqldb.jdbcDriver
##torque.dsfactory.default.connection.url =
jdbc:hsqldb:${webappRoot}/WEB-INF/db/jetspeed
##torque.dsfactory.default.connection.user = sa 
##torque.dsfactory.default.connection.password = 

torque.dsfactory.default.factory=org.apache.torque.dsfactory.TorqueDataS
ourceFactory
# The number of database connections to cache per ConnectionPool
instance (specified per database)
torque.dsfactory.default.pool.defaultMaxConnections=10
torque.dsfactory.default.pool.maxExpiryTime=3600
torque.dsfactory.default.pool.connectionWaitTimeout=10
### MySQL
 torque.dsfactory.default.connection.driver = com.mysql.jdbc.Driver
 torque.dsfactory.default.connection.url =
jdbc:mysql://localhost/sriportaldb?user=xxx&password=
 torque.dsfactory.default.connection.user =  xxx
 torque.dsfactory.default.connection.password =
#database.adaptor=DBMM
#database.adaptor.DBMM=org.gjt.mm.mysql.Driver

I can connect and see my sriportaldb database through phpMyAdmin and
populated it with populatemysql 
(or whatever it is called) I have tried it with the port (3306) in the
connection string and also 
without the username/password parameters. I also saw that someone else
solved their problems with the 
#database.adaptor=DBMM
#database.adaptor.DBMM=org.gjt.mm.mysql.Driver
settings but that did not seem to help me. 

I also opened up port 3306 on my server to see if that could have
something to do with it
but no dice. 

Any other settings in any other file that I need? 
Thanks for any help, 

Casey



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



using the jars

2003-03-10 Thread Raffaele Ragni
Hi to all,
recently i had the idea to put .jar libs as global in Tomcat
instead of jetspeed.
Now, my question is: wich of those jar have to be loaded internally to
jetspeed (cause to local variables initialized when loading the lib) and
wich ones can be loaded as general?
 
In this way, if works, it could be saved a big amount of space when
holding more than a portal on external hostings (wich measures in mb
space)
 
- Raffaele Ragni


An error while modifying the user

2003-02-28 Thread Raffaele Ragni
Hi, 
i'm having this when modifying an user:
 
Failed to save user object : Bad conversion:
java.lang.NumberFormatException: For input string: "Fri Feb 28 17:32:36
CET 2003"
 
Anyone knows something about it?
 
Thanks..


R: jsp portlet and Maximize action

2003-02-26 Thread Raffaele Ragni
Try with ((JetspeedRunData)rundata).setMode() ?

-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Inviato: martedì 25 febbraio 2003 11.32
A: Jetspeed Users List
Oggetto: jsp portlet and Maximize action

Hi all!!

I need to maximize portlet when its doUpdate() action is called.

I have no idea to solve this problem.
Please help me!!!

Thanx
Luca Forni


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



R: content from folder

2003-02-24 Thread Raffaele Ragni
If i remember right, everything under WEB-INF was hidden by web.

Or, try to put the complete path to it if you are reading it as a file
from the app.


-Messaggio originale-
Da: Don Hill [mailto:[EMAIL PROTECTED] 
Inviato: lunedì 24 febbraio 2003 16.03
A: [EMAIL PROTECTED]
Oggetto: content from folder

Hi,

I am trying to get some html fragment from a folder name content, it is
located in webapp/jetspeed/WEB-INF/content/community.html.

I have tryied several ways to get the file as a inputstream

getClass().getClassLoader().getResourceAsInputstream(/WEB-INF/content/co
mmunity.html");
getClass().getClassLoader().getResourceAsInputstream(WEB-INF/content/com
munity.html");
getClass().getClassLoader().getResourceAsInputstream(/content/community.
html");
getClass().getClassLoader().getResourceAsInputstream(content/community.h
tml");

None of these seem to work, I have also tryied to get it with the
ServletContext, anyone have a little insight into this ? Is there a
ContentManagement system that is included with Jetspeed ?

Thanks
Don

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



R: Torque Properties

2003-02-21 Thread Raffaele Ragni
I think it's in seconds

-Messaggio originale-
Da: Shan Gopalakrishnan [mailto:[EMAIL PROTECTED]] 
Inviato: giovedì 20 febbraio 2003 19.04
A: Jetspeed Users List
Oggetto: Torque Properties

Hello folks


Is the below values are in Milliseconds ??  I hope so. just to confirm
this.

torque.dsfactory.default.pool.maxExpiryTime=3600 

torque.dsfactory.default.pool.connectionWaitTimeout=10

Thanks

- Shan


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




"Getting anon" Exception, probably related to torque but i'm not sure

2003-02-10 Thread Raffaele Ragni
Hi all, 
i'm getting an error everytime i access the first time on
jetspeed (and when i reopen a new browser window..so probably it's about
session), that I belive is torque related, like timings on when the
connections establishes (I just refresh the page and works)
Or probably I just did something wrong in configuration? I checked it
though, i think i've made no mistakes.
I checked the jetspeed.log too, found nothing wrong, at least no
Exceptions.
 
-     Raffaele Ragni
 
That's the stack trace:
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.getA
nonymousUser(TurbineAuthentication.java:225) at
org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jet
speedAuthentication.java:107) at
org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedS
ecurity.java:159) at
org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(T
emplateSessionValidator.java:97) at
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(J
etspeedSessionValidator.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(ApplicationDispatc
her.java:684) at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:432) at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:356) at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:4
27) at org.apache.jsp.index_jsp._jspService(index_jsp.java:42) at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:204) at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:260) at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191) at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:239
6) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180) at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:170) at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172) at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80) 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.i
nvokeNext(StandardPipeline.java:643) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551) at
java.lang.Thread.run(Thread.java:536)



Re: On logs: exceptions and source

2003-01-08 Thread Raffaele Ragni
Ah, sorry all solved now

- Original Message -
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, January 08, 2003 5:23 PM
Subject: Re: On logs: exceptions and source


> I used the option 'debug' setting it to on, in ant javac, though it seems
> same result.
>
>
> - Original Message -
> From: "Stefan Kuhn" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Wednesday, January 08, 2003 6:54 PM
> Subject: Re: On logs: exceptions and source
>
>
> > What exactly do you mean with it works not ? If there is unknown instead
> of
> > the line number in the log, it probably is due to compiling with the
wrong
> > option. Have a look at man javac, especially the -g option (if using
ant,
> > there are some options like optimization to the javac target).
> > HTH
> > Stefan
> >
> > Am Mittwoch, 8. Januar 2003 16:06 schrieben Sie:
> > > I noticed that in the logs, when exceptions are cast, there is the
line
> > > number where it happened. Once it worked on my sources too but now
isn't
> > > working anymore, i'm wondering if anyone knows why.
> > >
> > >
> > >  -- Raffaele Ragni
> > >  -- Cone, sistemi informativi
> > >  -- http://www.cone.it
> >
> > --
> > Stefan Kuhn M. A.
> > MPI of Chemical Ecology, Winzerlaer Str. 10, Beutenberg Campus, 07745
> > Jena, Germany
> > Tel: +49(0)3641 571261 - Fax: +49(0)3641 571202
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Re: On logs: exceptions and source

2003-01-08 Thread Raffaele Ragni
I used the option 'debug' setting it to on, in ant javac, though it seems
same result.


- Original Message -
From: "Stefan Kuhn" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, January 08, 2003 6:54 PM
Subject: Re: On logs: exceptions and source


> What exactly do you mean with it works not ? If there is unknown instead
of
> the line number in the log, it probably is due to compiling with the wrong
> option. Have a look at man javac, especially the -g option (if using ant,
> there are some options like optimization to the javac target).
> HTH
> Stefan
>
> Am Mittwoch, 8. Januar 2003 16:06 schrieben Sie:
> > I noticed that in the logs, when exceptions are cast, there is the line
> > number where it happened. Once it worked on my sources too but now isn't
> > working anymore, i'm wondering if anyone knows why.
> >
> >
> >  -- Raffaele Ragni
> >  -- Cone, sistemi informativi
> >  -- http://www.cone.it
>
> --
> Stefan Kuhn M. A.
> MPI of Chemical Ecology, Winzerlaer Str. 10, Beutenberg Campus, 07745
> Jena, Germany
> Tel: +49(0)3641 571261 - Fax: +49(0)3641 571202
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




On logs: exceptions and source

2003-01-08 Thread Raffaele Ragni
I noticed that in the logs, when exceptions are cast, there is the line number where 
it happened.
Once it worked on my sources too but now isn't working anymore, i'm wondering if 
anyone knows why.


 -- Raffaele Ragni
 -- Cone, sistemi informativi
 -- http://www.cone.it


Mailer portlet

2002-12-20 Thread Raffaele Ragni



Hi everyone,
 
I created a little portlet that can be useful often 
(e.g. order form, feedback, ask for info ...).
 
It just sends an email from a form 
of 'n' fields. All required settings are directly on the template, 
without need to modify the servlet.
 
It's attached to this email for everyone use. Afaik works 
well.
 
 
 -- Raffaele Ragni -- Cone, sistemi 
informativi -- http://www.cone.it


Mailer.zip
Description: Zip compressed data
--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


Re: Getting URL for current page

2002-12-20 Thread Raffaele Ragni
i've always used used $jlink.addQueryData(name,value) to post some query
parameters,
to retrieve the url just $jlink. Though $jlink should be an older version of
$jslink, now i don't remember what changes it had, but if i remember right i
coudln't use addQueryData with that last one.


- Original Message -
From: "Michael Rothrock" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 9:00 PM
Subject: Getting URL for current page


> Hi!
>
> I've had no luck with the archives or the source, so I thought I'd try the
> list.
>
> The question:
> Does anyone know how to grab the URL for the currently displayed page,
> including current pane etc.?
>
> The context:
> I have a portlet that displays a list of items.  Each item has a link to
get
> the detail for that item, which calls the current page with the item id in
> the query parameters.  In an ideal world, it would also include the
current
> url as a query parameter, so the detail template can display an
appropriate
> 'back' link.
>
> As far as I can tell, I need to get the current URL for both setting up
the
> link for item details (basically referencing the current page + the
selected
> item), and for the 'back' link.  I'm currently doing it with
getTemplate(),
> but that's too dependent on the location of the portlet, breaking as soon
as
> someone moves the portlet.
>
> Any ideas?
>
> Thanks!
>
> -- Michael
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: not loading portlet classes

2002-12-18 Thread Raffaele Ragni
Ahh i see now, it missed abstract entries of portlets without that file.

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 3:10 PM
Subject: RE: not loading portlet classes


> Check that your portlets.xreg is not an empty file.  This looks like the
> same problem some others (including me) have experienced with 1.4b3.
>
> U  Not to be whiny, but do any independent people test the
> distributions before being posted?  Like take a clean machine, DL the
> install, stand up the default .war and beat on it a bit?
>
> One of the other annoying things I noticed with 1.4b3 is that the log
files
> are not empty.  I went chasing the empty portlets.xreg problem and found a
> big log file (~400k)?  Where'd that come from? I'd only been running
> Jetspeed for like 5 minutes the log file shouldn't be bigger than ~30k.
>
> - Jasen.
>
> > -Original Message-
> > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, December 18, 2002 7:10 AM
> > To: Jetspeed Users List
> > Subject: not loading portlet classes
> >
> >
> > (i'm using 1.4b3 in Tomcat 4.1.12 windows XP)
> > I've just deployed the .war file without touching it, and
> > from what i've seen it can't load the class of the portlet
> > (!) with Class.forName() (i've just gived a watch at some
> > sources, but the problem is, why does that? the class is in
> > the right place..)
> >
> >
> > Oh, another thing, this happens on just certain portlets, for
> > example all admin.security ones and someused by 'anon psml'.
> >
> > Any suggestions?
> >
> > Here the log error:
> >
> > [18 dic 2002 12:42:42 ERROR] -
> > org.apache.jetspeed.portal.PortletException: PortletFactory:
> > Unable to load class null
> >  at
> > org.apache.jetspeed.services.portletfactory.JetspeedPortletFac
> > toryService.getPortlet(JetspeedPortletFactoryService.java:211)
> >  at
> > org.apache.jetspeed.services.portletfactory.JetspeedPortletFac
> > toryService.getPortlet(JetspeedPortletFactoryService.java:157)
> >  at
> > org.apache.jetspeed.services.PortletFactory.getPortlet(Portlet
> > Factory.java:92)
> >  at
> > org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolk
> > itService.getSet(JetspeedPortalToolkitService.java:453)
> >  at
> > org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolk
> > itService.getSet(JetspeedPortalToolkitService.java:434)
> >  at
> > org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolk
> > itService.getSet(JetspeedPortalToolkitService.java:390)
> >  at
> > org.apache.jetspeed.services.PortalToolkit.getSet(PortalToolki
> > t.java:165)
> >  at
> > org.apache.jetspeed.om.profile.BaseProfile.getRootSet(BaseProf
> > ile.java:116)
> >  at
> > org.apache.jetspeed.modules.actions.controls.Customize.doPerfo
> > rm(Customize.java:151)
> >  at org.apache.turbine.modules.Action.perform(Action.java:87)
> >  at
> > org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
> >  at
> > org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPa
> > ge.java:143)
> >  at org.apache.turbine.modules.Page.build(Page.java:90)
> >  at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
> >  at org.apache.turbine.Turbine.doGet(Turbine.java:563)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >  at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> > er(ApplicationFilterChain.java:247)
> >  at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> > cationFilterChain.java:193)
> >  at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > rapperValve.java:260)
> >  at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invokeNext(StandardPipeline.java:643)
> >  at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> >  at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >  at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > ontextValve.java:191)
> >  at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invokeNext(StandardPipeline.java:643)
> >  at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.jav

not loading portlet classes

2002-12-18 Thread Raffaele Ragni
(i'm using 1.4b3 in Tomcat 4.1.12 windows XP)
I've just deployed the .war file without touching it, and from what i've seen it can't 
load the class of the portlet (!) with Class.forName() (i've just gived a watch at 
some sources, but the problem is, why does that? the class is in the right place..)


Oh, another thing, this happens on just certain portlets, for example all 
admin.security ones and someused by 'anon psml'.

Any suggestions?

Here the log error:

[18 dic 2002 12:42:42 ERROR] - 
org.apache.jetspeed.portal.PortletException: PortletFactory: Unable to load class null
 at 
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryService.getPortlet(JetspeedPortletFactoryService.java:211)
 at 
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryService.getPortlet(JetspeedPortletFactoryService.java:157)
 at org.apache.jetspeed.services.PortletFactory.getPortlet(PortletFactory.java:92)
 at 
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getSet(JetspeedPortalToolkitService.java:453)
 at 
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getSet(JetspeedPortalToolkitService.java:434)
 at 
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getSet(JetspeedPortalToolkitService.java:390)
 at org.apache.jetspeed.services.PortalToolkit.getSet(PortalToolkit.java:165)
 at org.apache.jetspeed.om.profile.BaseProfile.getRootSet(BaseProfile.java:116)
 at 
org.apache.jetspeed.modules.actions.controls.Customize.doPerform(Customize.java:151)
 at org.apache.turbine.modules.Action.perform(Action.java:87)
 at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
 at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:143)
 at org.apache.turbine.modules.Page.build(Page.java:90)
 at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
 at org.apache.turbine.Turbine.doGet(Turbine.java:563)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.java:191)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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:2396)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.invokeNext(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.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
 at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
 at java.lang.Thread.run(Thread.java:536)

 -- Raffaele Ragni
 -- Cone, sistemi informativi
 -- http://www.cone.it



Re: JSP & setTemplate...

2002-12-17 Thread Raffaele Ragni
Sorry, i don't have any other suggestions


- Original Message -
From: "Fabio Latrofa" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 17, 2002 11:11 AM
Subject: Re: JSP & setTemplate...


> I noticed the Context parameter in buildMaximizedContext of
> VelocityPortletAction class, but I think it's only for Velocity templates
(I
> didn't find it inside JspPortletAction class).
>
>
> - Original Message -
> From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, December 17, 2002 10:44 AM
> Subject: Re: JSP & setTemplate...
>
>
> > As i remember, the buildMaximizedContext had three parameters, rundata,
> > context and portlet, probably it is that? (i see context missing, but
> > probably it works differently with jsp)
> >
> >
> > - Original Message -
> > From: "Fabio Latrofa" <[EMAIL PROTECTED]>
> > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > Sent: Tuesday, December 17, 2002 10:32 AM
> > Subject: JSP & setTemplate...
> >
> >
> > > I tried to override the buildMaximizedContext method of
JspPortletAction
> > to
> > > change the template of a portlet, but it doesn't seem to work; I used
> the
> > > setTemplate method. Maybe I did something wrong, but the same
> > setTemplate()
> > > works fine when called from a generic doUpdate() method. Any
suggestion?
> > >
> > > public class Test extends JspPortletAction {
> > >
> > > public void doUpdate(RunData rundata, Portlet portlet) throws
> > > Exception {
> > > setTemplate(rundata, "maximized-test.jsp");
> > > }
> > >
> > > protected void buildMaximizedContext(Portlet portlet, RunData
> > > rundata)
> > > throws Exception
> > > {
> > > setTemplate(rundata, "maximized-test.jsp");
> > > }
> > > ...
> > > }
> > >
> > > Best regards,
> > >
> > > 
> > > Fabio Latrofa
> > > Siva S.p.A.
> > > Viale di Val Fiorita, 86
> > > 00144 Roma
> > > Tel. +39 0654220452
> > > Fax +39 0654220484
>
>
> Questa e-mail e' stata verificata dal sistema di antivirus della Siva
S.P.A.
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Re: JSP & setTemplate...

2002-12-17 Thread Raffaele Ragni
As i remember, the buildMaximizedContext had three parameters, rundata,
context and portlet, probably it is that? (i see context missing, but
probably it works differently with jsp)


- Original Message -
From: "Fabio Latrofa" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, December 17, 2002 10:32 AM
Subject: JSP & setTemplate...


> I tried to override the buildMaximizedContext method of JspPortletAction
to
> change the template of a portlet, but it doesn't seem to work; I used the
> setTemplate method. Maybe I did something wrong, but the same
setTemplate()
> works fine when called from a generic doUpdate() method. Any suggestion?
>
> public class Test extends JspPortletAction {
>
> public void doUpdate(RunData rundata, Portlet portlet) throws
> Exception {
> setTemplate(rundata, "maximized-test.jsp");
> }
>
> protected void buildMaximizedContext(Portlet portlet, RunData
> rundata)
> throws Exception
> {
> setTemplate(rundata, "maximized-test.jsp");
> }
> ...
> }
>
> Best regards,
>
> 
> Fabio Latrofa
> Siva S.p.A.
> Viale di Val Fiorita, 86
> 00144 Roma
> Tel. +39 0654220452
> Fax +39 0654220484
>
>
>
> Questa e-mail e' stata verificata dal sistema di antivirus della Siva
S.P.A.
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Background image

2002-12-16 Thread Raffaele Ragni
Yes, andthere is even some colors setted in the css file, and most skins use
them.


- Original Message -
From: "Aurelien Pernoud" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 6:09 PM
Subject: RE: Background image


>
> There's a bug I found today with skins, if it can help you Cédric :
>
> Be sure that NONE of your skins have a backgroundcolor attribute or stuff
> like that :
>
> 
> 
> 
>
> Cause even if the skin you are using doesn't have any of those, it seems
> that the template is getting this attribute from another skin ! I was
> getting crazy :
>
> I'll report the bug to dev when I'll be sure it comes from that, but in my
> case removing all this lines from every of my skins worked. I'm working on
> skins for a few days, and I added some cool features I'll share soon, when
> validated ;)
>
> Aurelien Pernoud
>
> Raffaele Ragni a écrit :
>
> > It is still in the vm files.
> > Under templates/vm/controllers|controls/html you can see the items
> > where html is builded
> > if you look on tables there should be some class or style thing that
> > sets the color, probably it's that.
> >
> > - Original Message -
> > From: "BARDE, CEDRIC" <[EMAIL PROTECTED]>
> > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > Sent: Monday, December 16, 2002 5:44 PM
> > Subject: RE: Background image
> >
> >
> > It looks like it works. Thanx a lot!
> > But the portlets are not transparent, are they? If not, do you know a
> > way to make them transparent?
> >
> > Thanx!
> > Ced
> >
> > __
> > Cédric BARDE
> > Disneyland Resort Paris - Information Services
> > Bâtiment Robin Hood - BP 100
> > 7 Marne-La-Vallée
> > Tél : 01 64 74 65 49
> > Fax : 01 64 74 65 65
> > Email : [EMAIL PROTECTED]
> >
> >> -Original Message-
> >> From: Raffaele Ragni [SMTP:[EMAIL PROTECTED]]
> >> Sent: Monday, December 16, 2002 5:40 PM
> >> To: Jetspeed Users List
> >> Subject: Re: Background image
> >>
> >> I think that can be done editing the default.vm or the template it
> >> uses (templates/vm|jsp/layouts/html)
> >> I don't know any other methods.
> >>
> >>
> >> - Original Message -
> >> From: "BARDE, CEDRIC" <[EMAIL PROTECTED]>
> >> To: "'Jetspeed Users'" <[EMAIL PROTECTED]>
> >> Sent: Monday, December 16, 2002 5:38 PM
> >> Subject: Background image
> >>
> >>
> >> Hi all,
> >>
> >> I was wondering whether it was possible to put a background image on
> >> Jetspeed's main page? It looks possible to change the background
> >> color, but how about an image?
> >> I am using Jetspeed 1.4b2.
> >>
> >> Thanx in advance!
> >> Ced
> >>
> >> __
> >> Cédric BARDE
> >> Disneyland Resort Paris - Information Services
> >> Bâtiment Robin Hood - BP 100
> >> 7 Marne-La-Vallée
> >> Tél : 01 64 74 65 49
> >> Fax : 01 64 74 65 65
> >> Email : [EMAIL PROTECTED]
> >>
> >>
> >> --
> >> To unsubscribe, e-mail:
> >> <mailto:[EMAIL PROTECTED]>
> >> For additional commands, e-mail:
> >> <mailto:[EMAIL PROTECTED]>
> >>
> >>
> >>
> >>
> >> --
> >> To unsubscribe, e-mail:
> >> <mailto:[EMAIL PROTECTED]>
> >> For additional commands, e-mail:
> >> <mailto:[EMAIL PROTECTED]>
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Re: Background image

2002-12-16 Thread Raffaele Ragni
It is still in the vm files.
Under templates/vm/controllers|controls/html you can see the items where
html is builded
if you look on tables there should be some class or style thing that sets
the color, probably it's that.

- Original Message -
From: "BARDE, CEDRIC" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 5:44 PM
Subject: RE: Background image


It looks like it works. Thanx a lot!
But the portlets are not transparent, are they? If not, do you know a way to
make them transparent?

Thanx!
Ced

__
Cédric BARDE
Disneyland Resort Paris - Information Services
Bâtiment Robin Hood - BP 100
7 Marne-La-Vallée
Tél : 01 64 74 65 49
Fax : 01 64 74 65 65
Email : [EMAIL PROTECTED]

> -Original Message-
> From: Raffaele Ragni [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, December 16, 2002 5:40 PM
> To: Jetspeed Users List
> Subject: Re: Background image
>
> I think that can be done editing the default.vm or the template it uses
> (templates/vm|jsp/layouts/html)
> I don't know any other methods.
>
>
> - Original Message -
> From: "BARDE, CEDRIC" <[EMAIL PROTECTED]>
> To: "'Jetspeed Users'" <[EMAIL PROTECTED]>
> Sent: Monday, December 16, 2002 5:38 PM
> Subject: Background image
>
>
> Hi all,
>
> I was wondering whether it was possible to put a background image on
> Jetspeed's main page? It looks possible to change the background color,
> but
> how about an image?
> I am using Jetspeed 1.4b2.
>
> Thanx in advance!
> Ced
>
> __
> Cédric BARDE
> Disneyland Resort Paris - Information Services
> Bâtiment Robin Hood - BP 100
> 7 Marne-La-Vallée
> Tél : 01 64 74 65 49
> Fax : 01 64 74 65 65
> Email : [EMAIL PROTECTED]
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>

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




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




Re: Background image

2002-12-16 Thread Raffaele Ragni
I think that can be done editing the default.vm or the template it uses
(templates/vm|jsp/layouts/html)
I don't know any other methods.


- Original Message -
From: "BARDE, CEDRIC" <[EMAIL PROTECTED]>
To: "'Jetspeed Users'" <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 5:38 PM
Subject: Background image


Hi all,

I was wondering whether it was possible to put a background image on
Jetspeed's main page? It looks possible to change the background color, but
how about an image?
I am using Jetspeed 1.4b2.

Thanx in advance!
Ced

__
Cédric BARDE
Disneyland Resort Paris - Information Services
Bâtiment Robin Hood - BP 100
7 Marne-La-Vallée
Tél : 01 64 74 65 49
Fax : 01 64 74 65 65
Email : [EMAIL PROTECTED]


--
To unsubscribe, e-mail:

For additional commands, e-mail:





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Choosing psml

2002-12-13 Thread Raffaele Ragni
Ok, eh i'll read all of that tutorial sooner or later.. if i have time.

- Original Message -
From: "Krzysztof Krzos" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 4:49 PM
Subject: Re: Choosing psml


> look at
> http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm
>
> tutorial-4
>
> Hope this help
> Regards
> chris
> - Original Message -
> From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Friday, December 13, 2002 4:43 PM
> Subject: Choosing psml
>
>
> Hi,
> I was wondering how i could make a link (with jlink, jslink) that
points
> to another psml file (same user lang etc, just another file), i've seen
that
> there are other files other that default.psml and so i wanted to know how
> they are selected.
>
>
>  -- Raffaele Ragni
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Choosing psml

2002-12-13 Thread Raffaele Ragni
Hi,
I was wondering how i could make a link (with jlink, jslink) that points to 
another psml file (same user lang etc, just another file), i've seen that there are 
other files other that default.psml and so i wanted to know how they are selected.


 -- Raffaele Ragni



Re: Configuring Jetspeed with MySQL

2002-11-25 Thread Raffaele Ragni
The name of your driver seems strange (reading from the error), i know
it has always been org.gjt.mm.mysql.Driver (Probably is it a new version
of it?)
Though, as far i can see, it doesn't recognize the driver class,
probably it is a class path problem, or something similar.

Il lun, 2002-11-25 alle 11:46, BARDE, CEDRIC ha scritto:
> Hi all,
> 
> I am trying to make Jetspeed work with a MySQL database and I get the
> following error when hitting http://localhost:8080/jetspeed :
> 
> Horrible Exception: java.lang.Error: Error in
> BasePeer.initTableSchema(TURBINE_USER): Unknown JDBC driver:
> com.mysql.jdbc.Driver: Check your configuration file at
> org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTu
> rbineUserPeer.java:130) at
> org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.(BaseTurbineUser
> Peer.java:109) at
> org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUser(
> TurbineUserManagement.java:164) at
> org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserMana
> gement.java:98) at
> org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAnony
> mousUser(TurbineAuthentication.java:184) at
> org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jetspee
> dAuthentication.java:107) at
> org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSecur
> ity.java:157) 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:468) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java) at
> org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
> at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at
> org.apache.tomcat.core.Handler.service(Handler.java:235) at
> org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at
> org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherIm
> pl.java:272) at
> org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
> .java:174) at
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423)
> at index_1._jspService(index_1.java:51) at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java) at
> org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
> at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at
> org.apache.tomcat.core.Handler.service(Handler.java:235) at
> org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
> 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
> at
> org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
> nterceptor.java:176) at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:516) at java.lang.Thread.run(Thread.java:479) 
> 
> The database has been created and populated with the help of the scripts
> given by Jetspeed, the JDBC driver is installed (the JAR file is in the
> WEB-INF/lib directory), so I don't understand what the problem could be.
> 
> Thanx in advance for your help!
> Ced
> 
> __
> Cédric BARDE
> Disneyland Resort Paris - Information Services
> Bâtiment Robin Hood - BP 100
> 7 Marne-La-Vallée
> Tél : 01 64 74 65 49
> Fax : 01 64 74 65 65
> Email : [EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Methods of debugging

2002-11-04 Thread Raffaele Ragni
Hi, i was just wondering if there was some efficent methods to debug with jetspeed, 
especially using Forte4Java.
And, if there was some standard rules on developing too.


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770 
|- CONE Sistemi Informativi  





Methods of debugging

2002-11-04 Thread Raffaele Ragni
Hi, i was just wondering if there was some efficent methods to debug with jetspeed, 
especially using Forte4Java.
And, if there was some standard rules on developing too.


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770 
|- CONE Sistemi Informativi  





Re: Url invalid

2002-10-31 Thread Raffaele Ragni
Well, it seems that doesn't work, i tried to clear the
datasources.properties too.

Could be Tomcat?

|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -----
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 9:23 AM
Subject: Re: Url invalid


> ok, i can't restart it now so i will see, though i've assumed that was
> something with cache, thanks
>
>
> |- Raffaele Ragni < [EMAIL PROTECTED] >
> |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> |- CONE Sistemi Informativi
>
>
> - Original Message -
> From: "Hugh Brien" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Wednesday, October 30, 2002 5:24 AM
> Subject: RE: Url invalid
>
>
> > I have seen that issue before.  Try deleting all entryies from the
> > WEB-INF/cache directory before you start your app server
> >
> > -Original Message-
> > From: Raffaele Ragni [mailto:raffaele.ragni@;cone.it]
> > Sent: Tuesday, October 29, 2002 12:50 PM
> > To: Jetspeed Users List
> > Subject: Url invalid
> >
> >
> > Hi, i have more than a server, and only in one of those i get an error.
> This
> > error pops up on any rss portlet (so i think when the app tries to get
> > something from the outside), i tried to check if it was the machine that
> > coudln't get any files, but that isn't te problem, i assume that is
tomcat
> > or jetspeed.
> >
> > Here the error: (the url is *not* invalid)
> >
> > org.apache.jetspeed.portal.PortletException: The following URL is not
> > available because it is considered invalid:
> > http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/world/rss091.xml
> > at
> >
>
org.apache.jetspeed.portal.portlets.NewRSSPortlet.init(NewRSSPortlet.java:16
> > 9)
> > at
> >
>
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryService.ge
> > tPortlet(JetspeedPortletFactoryService.java:334)
> > at
> >
>
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryService.ge
> > tPortlet(JetspeedPortletFactoryService.java:157)
> > at
> >
>
org.apache.jetspeed.services.PortletFactory.getPortlet(PortletFactory.java:9
> > 2)
> > at
> >
>
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
> > et(JetspeedPortalToolkitService.java:426)
> > at
> >
>
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
> > et(JetspeedPortalToolkitService.java:407)
> > at
> >
>
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
> > et(JetspeedPortalToolkitService.java:407)
> > at
> >
>
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
> > et(JetspeedPortalToolkitService.java:407)
> > at
> >
>
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
> > et(JetspeedPortalToolkitService.java:407)
> > at
> >
>
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
> > et(JetspeedPortalToolkitService.java:363)
> > at
> >
org.apache.jetspeed.services.PortalToolkit.getSet(PortalToolkit.java:165)
> > at
> >
>
org.apache.jetspeed.util.template.JetspeedTool.getPane(JetspeedTool.java:167
> > )
> > at sun.reflect.GeneratedMethodAccessor142.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:259
> > )
> > 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.SimpleNode.render(SimpleNode.java:27
> > 1)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
> > .java:128)
> > 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:4

Re: Security - User Roles

2002-10-30 Thread Raffaele Ragni
Umm, if i remember right it seems that you are using a function that can
thrown an Exception, so you need to catch it or throw too.


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Shorney, Rob" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 9:13 AM
Subject: RE: Security - User Roles


> Hi,
>
> Many thanks for this, however when I put this code in and compile I get
the
> following error.
>
> I have put the code in the getContent() method
>
> "UserDetails.java": Error #: 360 : unreported exception:
> org.apache.jetspeed.services.security.JetspeedSecurityException; must be
> caught or declared to be thrown at line 35, column 45
>
>
> Regards
>
> Rob Shorney
> PDS - Local Government - Front Office Development Team
> Northgate Information Solutions
> --
--
> 
>
>
> -Original Message-
> From: Maciej Dziergwa [mailto:mack5@;icpnet.pl]
> Sent: 29 October 2002 21:30
> To: Jetspeed Users List
> Subject: Re: Security - User Roles
>
>
> Hi,
>
> Try this:
>
> Iterator roles =
> JetspeedRoleManagement.getRoles(rundata.getJetspeedUser().getUserName());
>
> MaciekD
>
>
>
> > Hi,
> >
> > Please could someone supply some sample code on how to retrieve what
roles
> a
> > user belongs to.
> >
> > I need to be able to determine this in either the init () or the
> > getContent() methods as this will determine what html page to display in
> the
> > portlet.
> >
> > Many thanks in advance.
> >
> >
> > Regards
> >
> > Rob Shorney
> > PDS - Local Government - Front Office Development Team
> > Northgate Information Solutions
>
>
> --
> To unsubscribe, e-mail:
> <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:jetspeed-user-help@;jakarta.apache.org>
>
>
>
> This email is sent on behalf of Northgate Information Solutions UK Limited
("Northgate") and is strictly confidential and intended solely for the
addressee(s).  It may contain personal and confidential information and as
such may be protected by the Data Protection Act 1998.
>
> If you are not the intended recipient of this email you must: (i) not
disclose, copy or distribute its contents to any other person nor use its
contents in any way or you may be acting unlawfully;  (ii) contact Northgate
immediately on +44 (0)1442 232424 quoting the name of the sender and the
addressee then delete it from your system.
>
> Any views or opinions expressed within this email are those of the author,
and do not necessarily represent those of Northgate.
>
> Northgate has scanned this email for viruses but does not accept any
responsibility once this email has been transmitted.  You should scan
attachments (if any) for viruses.
>
> --
> To unsubscribe, e-mail:
<mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:jetspeed-user-help@;jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>




Re: Url invalid

2002-10-30 Thread Raffaele Ragni
ok, i can't restart it now so i will see, though i've assumed that was
something with cache, thanks


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Hugh Brien" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 5:24 AM
Subject: RE: Url invalid


> I have seen that issue before.  Try deleting all entryies from the
> WEB-INF/cache directory before you start your app server
>
> -Original Message-
> From: Raffaele Ragni [mailto:raffaele.ragni@;cone.it]
> Sent: Tuesday, October 29, 2002 12:50 PM
> To: Jetspeed Users List
> Subject: Url invalid
>
>
> Hi, i have more than a server, and only in one of those i get an error.
This
> error pops up on any rss portlet (so i think when the app tries to get
> something from the outside), i tried to check if it was the machine that
> coudln't get any files, but that isn't te problem, i assume that is tomcat
> or jetspeed.
>
> Here the error: (the url is *not* invalid)
>
> org.apache.jetspeed.portal.PortletException: The following URL is not
> available because it is considered invalid:
> http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/world/rss091.xml
> at
>
org.apache.jetspeed.portal.portlets.NewRSSPortlet.init(NewRSSPortlet.java:16
> 9)
> at
>
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryService.ge
> tPortlet(JetspeedPortletFactoryService.java:334)
> at
>
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryService.ge
> tPortlet(JetspeedPortletFactoryService.java:157)
> at
>
org.apache.jetspeed.services.PortletFactory.getPortlet(PortletFactory.java:9
> 2)
> at
>
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
> et(JetspeedPortalToolkitService.java:426)
> at
>
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
> et(JetspeedPortalToolkitService.java:407)
> at
>
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
> et(JetspeedPortalToolkitService.java:407)
> at
>
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
> et(JetspeedPortalToolkitService.java:407)
> at
>
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
> et(JetspeedPortalToolkitService.java:407)
> at
>
org.apache.jetspeed.services.portaltoolkit.JetspeedPortalToolkitService.getS
> et(JetspeedPortalToolkitService.java:363)
> at
> org.apache.jetspeed.services.PortalToolkit.getSet(PortalToolkit.java:165)
> at
>
org.apache.jetspeed.util.template.JetspeedTool.getPane(JetspeedTool.java:167
> )
> at sun.reflect.GeneratedMethodAccessor142.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:259
> )
> 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.SimpleNode.render(SimpleNode.java:27
> 1)
> at
>
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
> .java:128)
> 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:485)
> at
>
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(Tu
> rbineVelocityService.java:327)
> at
>
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVe
> locity.java:146)
> at
>
org.apache.turbine.modules.screens.VelocityDirectScreen.buildTemplate(Veloci
> tyDirectScreen.java:123)
> at
>
org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen.jav
> a:130)
> at org.apache.turbine.modules.Screen.build(Screen.java:99)
> at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129)
> at
>
org.apache.turbine.util.template.TemplateScreen.toString(TemplateScreen.java
> :126)
> at
>
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
> a:321)
> at
>
org.apache.velocity

Url invalid

2002-10-29 Thread Raffaele Ragni
ge.java:90)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
at org.apache.turbine.Turbine.doGet(Turbine.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at 
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:536)


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770 
|- CONE Sistemi Informativi  





Re: jetspeed newbie

2002-10-12 Thread Raffaele Ragni

you need the mm.mysql jdbc driver, you can find it at sourceforge.net


<=- Raffaele Ragni -=>
- Original Message -
From: "Ken Gunderson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 11, 2002 9:27 PM
Subject: jetspeed newbie


hello:

okay- so i am relatively clueless when it comes to java but jetspeed
looks cool and i wanted to check it out...  i can get it to run using
the defaul dtabase, but want to use mysql.  Here's what happens when i
try:

Horrible Exception: java.lang.NoClassDefFoundError:
org/apache/jetspeed/om/security/turbine/BaseTurbineUserPeer at
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUser(
TurbineUserManagement.java:163)
at
org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserMana
gement.java:98)
at
org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAnony
mousUser(TurbineAuthentication.java:215)
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


etc.

my Torque.properties looks klike this:

database.default=default
database.default.driver=org.gjt.mm.mysql.Driver
database.default.url=jdbc:mysql://localhost/jetspeed
database.default.username=sa
database.default.password=

the database exists and has been populated, but obviously i am not even
coming close to connecting to the db here. read through the docs and
not sure if i need turbine/torque actually installed or if it comes
bundled.

system is FreeBSD 4.6.2, jakarta_tomcat4.0.6 and jdk1.3.1


--
Regards-- Ken


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



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




Re: When creating an account in another way..

2002-10-11 Thread Raffaele Ragni

ok, i found the error


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, October 11, 2002 5:51 PM
Subject: When creating an account in another way..


Hi,
i am trying to create a lot of accounts so i thought of a batch modality,
and i did a program,
that program created teh account on the database and creates
WEB-INF\psml\user\\html and wml dirs and puts the turbine psmls

Though i still get errors when i login, there are some other steps to do
when creating one?


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi





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




When creating an account in another way..

2002-10-11 Thread Raffaele Ragni

Hi,
i am trying to create a lot of accounts so i thought of a batch modality, and i did a 
program,
that program created teh account on the database and creates 
WEB-INF\psml\user\\html and wml dirs and puts the turbine psmls

Though i still get errors when i login, there are some other steps to do when creating 
one?


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770 
|- CONE Sistemi Informativi  





Re: A portal using frames instead of tables

2002-10-11 Thread Raffaele Ragni

I thought that the IFrame portlet was only for static content, but form what
i've read, now it interests me more


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Yesberg, John" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, October 10, 2002 9:22 AM
Subject: A portal using frames instead of tables


> Hello,
>
> I had a couple preconceived notions about how portals might work before I
installed and began to play with jetspeed.
>
> 1. I thought it might be possible to resize various portlets by dragging
on the border.
> 2. I thought that portlets might be able to update themselves
independently of others. For example, consider two portlets. I'm in the
middle of typing an essay into a form in one portlet. Before clicking
"submit" on that portlet, I want to click "refresh" on the other to get the
latest stock price, or  some other value out of a database. But when I do
that, the *whole* page refreshes (not just that portlet), so I lose all the
info I'd just typed.
>
> I think that these features would be possible of portlets were displayed
using frames rather than as elements within a table. I can imagine that
there would be disadvantages of this approach (eg. needing a separate HTTP
Get for each portlet, plus one for each layout controller), but maybe the
advantages would outweigh them for some situations.
>
> Has anyone else thought of this? Implemented it? Do any other Portal
products out there do this sort of thing? Are there serious disadvantages
that I haven't thought of? My colleague is considering writing a controller
class that does this, and we'd be interested in your collective wisdom.
>
> Thanks,
>
> John.
> --
> Dr John Yesberg TCS Group, ITD, DSTO
> DJFHQ, Gallipoli Barracks,Ph. (07) 3332 7664
> Enoggera, Qld. 4051   Fax (07) 3332 5056
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Uploading files with form, problems in multipart/form-data

2002-10-11 Thread Raffaele Ragni

Hi,

lately i've done a system to share files, and it uploads them with a 
multipart/form-data enctyped form, though i saw that the other fileds (text, textarea) 
aren't well read, for example chars like those: òàùè are showed like:éé.
I'm still not sure of it, but i assume it is because it has that enctype, because 
other forms doesn't do that (only another one but that too has 
enctype=multipart/form-data)

Anyone that had those problems? Can i find another way to pass files and still have 
good texts?

|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770 
|- CONE Sistemi Informativi  





Re: Psml customizing permission

2002-10-07 Thread Raffaele Ragni

Well, anyway that function doesn't call the allowXXX methods normally (only
the minimize one when i tested).
Umm, in the buildActionList, it gets the portlet, but that portlet, what
kind of portlet is?
The methods that calls from that portlet aren't called really (it castes to
a PortletState interface), probably because the portlet
that acts under it's someway related to VelocityPortletAction?
I've not understood it well anyway..


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Luta, Raphael (VUN)" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, October 07, 2002 11:10 AM
Subject: RE: Psml customizing permission


No, a PortletControl is *not* an Action but a subclass of Portlet.
(PortletControl extends Portlet).

The PortletControl acting as a Proxy to a Portlet for most methods
it delegates calls to the inner portlet. You can retrieve a reference
to a protlet within a Control at any time using getPortlet() method.

> -Message d'origine-
> De : Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> Envoyé : lundi 7 octobre 2002 10:35
> À : Jetspeed Users List
> Objet : Re: Psml customizing permission
>
>
> but in the buildActionList() of VelocityPortletControl
> checkes directly to
> the portlet (and i think that is VelocityPortletAction) so i
> have to get
> that variable in that case, out of buildXXX, to check
> permissions (i didnt't
> tried with a AbstractPortlet directly, but probably it works
> if i use it,
> but i don't think i could use velocity template with it.)
>
>
> |- Raffaele Ragni < [EMAIL PROTECTED] >
> |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> |- CONE Sistemi Informativi
>
>
> - Original Message -
> From: "Luta, Raphael (VUN)" <[EMAIL PROTECTED]>
> To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> Sent: Monday, October 07, 2002 10:00 AM
> Subject: RE: Psml customizing permission
>
>
> In your buildXXX() functions you get a VelocityPortlet (extending
> AbstractPortlet)
> that is the portlet object you need to invoke your methods on.
>
> --
> Raphaël Luta - [EMAIL PROTECTED]
> Technology and New Initiatives
> Vivendi Universal Networks - Paris
>
> > -Message d'origine-
> > De : Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > Envoyé : samedi 5 octobre 2002 19:39
> > À : Jetspeed Users List
> > Objet : Re: Psml customizing permission
> >
> >
> > I have another question: i am using VelocityPortletAction,
> > but it is a child
> > class from the turbine pack, and it has nothing of
> > AbstractPortlet, so none
> > of those functions.
> > How i can make VelocityPortletAction having the functions of
> > AbstractPortlet? i can't cast types, and rewriting all them sounds a
> > bit..odd. (and it's obviously correct, they arent from the
> same class)
> >
> >
> > <=- Raffaele Ragni -=>
> > - Original Message -
> > From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > Sent: Friday, October 04, 2002 10:01 PM
> > Subject: Re: Psml customizing permission
> >
> >
> > >
> > > Umm, i were just wondering before... it works the fact of
> > permissions? or
> > it
> > > isnt implemented still? because, it doens't work form
> what i've get
> > > (and how i can know having an instance of a portlet if it
> > is a panel or a
> > > portlet?)
> > >
> > > <=- Raffaele Ragni -=>
> > >
> > > - Original Message -
> > > From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> > > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > > Sent:
> > > Subject: Re: Psml customizing permission
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>

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




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




Re: Sorry, you have no permission to see this portlet

2002-10-07 Thread Raffaele Ragni

>From what i know, you are accessing to a portlet that is reserved to a
specific role, (e.g. admin), and you have not that role.
You could check in the xreg file if it is reserved to only one.
(Another time this happened to me was when i tried to customize the PSML
when i hadn't the 'user' role, from what i saw it checkes directly to that
role to access you to PSML customize)


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Elena" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, October 07, 2002 4:27 AM
Subject: Sorry, you have no permission to see this portlet


Hi everyone,

  Need your help.
  Can anyone tell me why I am getting this error while I open jetspeed
home page.

  "Sorry, you have no permission to see this portlet "

  What is the solution for this ??

  Regards
  Elena



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




Re: Psml customizing permission

2002-10-07 Thread Raffaele Ragni

but in the buildActionList() of VelocityPortletControl checkes directly to
the portlet (and i think that is VelocityPortletAction) so i have to get
that variable in that case, out of buildXXX, to check permissions (i didnt't
tried with a AbstractPortlet directly, but probably it works if i use it,
but i don't think i could use velocity template with it.)


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Luta, Raphael (VUN)" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, October 07, 2002 10:00 AM
Subject: RE: Psml customizing permission


In your buildXXX() functions you get a VelocityPortlet (extending
AbstractPortlet)
that is the portlet object you need to invoke your methods on.

--
Raphaël Luta - [EMAIL PROTECTED]
Technology and New Initiatives
Vivendi Universal Networks - Paris

> -Message d'origine-
> De : Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> Envoyé : samedi 5 octobre 2002 19:39
> À : Jetspeed Users List
> Objet : Re: Psml customizing permission
>
>
> I have another question: i am using VelocityPortletAction,
> but it is a child
> class from the turbine pack, and it has nothing of
> AbstractPortlet, so none
> of those functions.
> How i can make VelocityPortletAction having the functions of
> AbstractPortlet? i can't cast types, and rewriting all them sounds a
> bit..odd. (and it's obviously correct, they arent from the same class)
>
>
> <=- Raffaele Ragni -=>
> - Original Message -
> From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Friday, October 04, 2002 10:01 PM
> Subject: Re: Psml customizing permission
>
>
> >
> > Umm, i were just wondering before... it works the fact of
> permissions? or
> it
> > isnt implemented still? because, it doens't work form what i've get
> > (and how i can know having an instance of a portlet if it
> is a panel or a
> > portlet?)
> >
> > <=- Raffaele Ragni -=>
> >
> > - Original Message -
> > From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > Sent:
> > Subject: Re: Psml customizing permission
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

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




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




Re: Psml customizing permission

2002-10-05 Thread Raffaele Ragni

I have another question: i am using VelocityPortletAction, but it is a child
class from the turbine pack, and it has nothing of AbstractPortlet, so none
of those functions.
How i can make VelocityPortletAction having the functions of
AbstractPortlet? i can't cast types, and rewriting all them sounds a
bit..odd. (and it's obviously correct, they arent from the same class)


<=- Raffaele Ragni -=>
- Original Message -
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, October 04, 2002 10:01 PM
Subject: Re: Psml customizing permission


>
> Umm, i were just wondering before... it works the fact of permissions? or
it
> isnt implemented still? because, it doens't work form what i've get
> (and how i can know having an instance of a portlet if it is a panel or a
> portlet?)
>
> <=- Raffaele Ragni -=>
>
> - Original Message -
> From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent:
> Subject: Re: Psml customizing permission
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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




Re: Psml customizing permission

2002-10-04 Thread Raffaele Ragni


Umm, i were just wondering before... it works the fact of permissions? or it
isnt implemented still? because, it doens't work form what i've get
(and how i can know having an instance of a portlet if it is a panel or a
portlet?)

<=- Raffaele Ragni -=>

- Original Message -
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent:
Subject: Re: Psml customizing permission




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




Re: Using MySql for User Authentication

2002-10-04 Thread Raffaele Ragni

In the same path of the populate file there should be even the one that
creates the table

You could even use phpmyadmin, it is quite handy.


<=- Raffaele Ragni -=>
- Original Message -
From: "Elena" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent:
Subject: Re: Using MySql for User Authentication




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




Re: Using MySql for User Authentication

2002-10-04 Thread Raffaele Ragni

i have it under \build\torque\schema\security-schema.xml (the src pack)


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Elena" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, October 04, 2002 6:49 PM
Subject: Re: Using MySql for User Authentication


> Hi Rffaele,
> Thank you for your suggestion.
> At the moment I will start with the informations you have given.
>
> Right now,I am looking into an information
>
>
http://jakarta.apache.org/jetspeed/site/security.html#Extending%20Jetspeed%2
> Extending Jetspeed User
>
> But I amnot abled to get the the  folder
>
> build/torque/security_schema.xml   in my intalled directory. Do you have
any
> idea ??
>
> Thanking you again
> Elena
>
>
> - Original Message -
> From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Saturday, October 05, 2002 1:38 AM
> Subject: Re: Using MySql for User Authentication
>
>
> > Hi Elena,
> >
> > You will need the mm.mysql driver(at sourceforge.net), and put it under
> > WEB-INF\classes
> > And edit Torque.properties in the lines of the database service like
this:
> >
> > database.default.driver=org.gjt.mm.mysql.Driver
> > database.default.url=jdbc:mysql://localhost/jetspeed
> > database.default.username=user
> > database.default.password=pass
> >
> > For the other question...i don't know surely, but probably a part of the
> > table name is fixed.
> >
> >
> > |- Raffaele Ragni < [EMAIL PROTECTED] >
> > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> > |- CONE Sistemi Informativi
> >
> >
> > - Original Message -
> > From: "Elena" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, October 04, 2002 6:26 PM
> > Subject: Using MySql for User Authentication
> >
> >
> > Hi folks,
> >
> > Your kind help will be really appreciated.
> >  I am a newbee Jetspeed user.
> >
> > I have been to trying to develop a Portal using  creating my own User
> table
> > with mySql database as my database
> >  instead of the default Hypersonic Sql.
> >
> > I have installed jetspeed 1.4b1 and now I want to start with the
> > authentication for users by creating user_table
> > in my mySql database.
> >
> > I have few queries here :
> >
> > 1. How can I configure MySql or any other database with jetspeed. Which
> are
> > the configuration files I will need to configure  ?
> >
> > 2. How shall I configure Jetspeed to to my user table for user
> > authentication ??.
> > Do I need to change anything in the jetspeed java code ??
> >
> > Looking forward for your help.
> >
> > Thanks and regards
> >
> > Elena
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Re: Using MySql for User Authentication

2002-10-04 Thread Raffaele Ragni

Hi Elena,

You will need the mm.mysql driver(at sourceforge.net), and put it under
WEB-INF\classes
And edit Torque.properties in the lines of the database service like this:

database.default.driver=org.gjt.mm.mysql.Driver
database.default.url=jdbc:mysql://localhost/jetspeed
database.default.username=user
database.default.password=pass

For the other question...i don't know surely, but probably a part of the
table name is fixed.


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Elena" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 04, 2002 6:26 PM
Subject: Using MySql for User Authentication


Hi folks,

Your kind help will be really appreciated.
 I am a newbee Jetspeed user.

I have been to trying to develop a Portal using  creating my own User table
with mySql database as my database
 instead of the default Hypersonic Sql.

I have installed jetspeed 1.4b1 and now I want to start with the
authentication for users by creating user_table
in my mySql database.

I have few queries here :

1. How can I configure MySql or any other database with jetspeed. Which are
the configuration files I will need to configure  ?

2. How shall I configure Jetspeed to to my user table for user
authentication ??.
Do I need to change anything in the jetspeed java code ??

Looking forward for your help.

Thanks and regards

Elena


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




Re: Psml customizing permission

2002-10-04 Thread Raffaele Ragni

oh, just another thing, when i create teh user, it takes psml from turbine,
but i would like it takes even roles, permissions and group
(i've done a portlet to set gourps), there is some setting to set for that?


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -----
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, October 04, 2002 5:38 PM
Subject: Re: Psml customizing permission


> um, i think i've got it, i was using VelocityPortletAction for my portlets
> and form what i've understood it hasn't that functions
>
>
> |- Raffaele Ragni < [EMAIL PROTECTED] >
> |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> |- CONE Sistemi Informativi
>
>
> - Original Message -
> From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Friday, October 04, 2002 5:19 PM
> Subject: Re: Psml customizing permission
>
>
> > Ok, i've seen that in AbstractPortletControl these functions are
> rewritten,
> > and VelocityPortlet control calls a PortletState interface.
> > Though i've seen on another mail that someone once modified the
> > AbstractPortlet class in that function and it worked.
> > My problem is that permissions aren't checked. And i can't find the
point
> > where that function is called(or, better, which of these functions and
in
> > what class are called), even in VelocityPortletControl. Now i dont know
> java
> > entirely, so i dont know exactly where to look.
> > For now i'll just hide the icons.
> >
> >
> > |- Raffaele Ragni < [EMAIL PROTECTED] >
> > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> > |- CONE Sistemi Informativi
> >
> >
> > - Original Message -
> > From: "Weaver, Scott" <[EMAIL PROTECTED]>
> > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > Sent: Friday, October 04, 2002 4:50 PM
> > Subject: RE: Psml customizing permission
> >
> >
> > > I have a hunch that you will have better luck looking at
> > AbstractPortletControl and VelocityPortletControl.
VelocityPortletControl
> > has a buildActionList that aggregates actions allowed for a specific
> > portlet's control.  AbstractPortletControl actually checks the user's
> > permissions against security for the requested action.
> > >
> > > hth,
> > > Scott
> > >
> > > > -Original Message-
> > > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, October 04, 2002 10:39 AM
> > > > To: Jetspeed Users List
> > > > Subject: Re: Psml customizing permission
> > > >
> > > > Umm, since i need this implemented, i have tried to do it by myself
> with
> > > > checking permissions on allowClose, allowMinimize etc, but i found
> that
> > > > only
> > > > the getAllowMinimized is called, others not (i put a println but
didnt
> > > > print
> > > > anything)
> > > >
> > > >
> > > > |- Raffaele Ragni < [EMAIL PROTECTED] >
> > > > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> > > > |- CONE Sistemi Informativi
> > > >
> > > >
> > > > - Original Message -
> > > > From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> > > > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > > > Sent: Friday, October 04, 2002 3:10 PM
> > > > Subject: Psml customizing permission
> > > >
> > > >
> > > > Hi,
> > > > I was searching a method to hide some icons, like the customize one,
> or
> > > > close from certain users that has some permissions.
> > > > I saw that when a user is created he can customize everything, so i
> went
> > > > on
> > > > role/permission but there was no permission checked.
> > > > Now, the thing that i need is to not make users customize psml, but
> > still
> > > > customizing certain portlets.
> > > > I searched a bit on the mailing list and all i have seen was patches
> to
> > > > do.
> > > > There is a role/permission to not permit to customize psml but still
> the
> > > > portlets?
> > > > Or should i change something? and if yes, what class or file?

Re: Psml customizing permission

2002-10-04 Thread Raffaele Ragni

um, i think i've got it, i was using VelocityPortletAction for my portlets
and form what i've understood it hasn't that functions


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, October 04, 2002 5:19 PM
Subject: Re: Psml customizing permission


> Ok, i've seen that in AbstractPortletControl these functions are
rewritten,
> and VelocityPortlet control calls a PortletState interface.
> Though i've seen on another mail that someone once modified the
> AbstractPortlet class in that function and it worked.
> My problem is that permissions aren't checked. And i can't find the point
> where that function is called(or, better, which of these functions and in
> what class are called), even in VelocityPortletControl. Now i dont know
java
> entirely, so i dont know exactly where to look.
> For now i'll just hide the icons.
>
>
> |- Raffaele Ragni < [EMAIL PROTECTED] >
> |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> |- CONE Sistemi Informativi
>
>
> - Original Message -
> From: "Weaver, Scott" <[EMAIL PROTECTED]>
> To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> Sent: Friday, October 04, 2002 4:50 PM
> Subject: RE: Psml customizing permission
>
>
> > I have a hunch that you will have better luck looking at
> AbstractPortletControl and VelocityPortletControl.  VelocityPortletControl
> has a buildActionList that aggregates actions allowed for a specific
> portlet's control.  AbstractPortletControl actually checks the user's
> permissions against security for the requested action.
> >
> > hth,
> > Scott
> >
> > > -Original Message-
> > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, October 04, 2002 10:39 AM
> > > To: Jetspeed Users List
> > > Subject: Re: Psml customizing permission
> > >
> > > Umm, since i need this implemented, i have tried to do it by myself
with
> > > checking permissions on allowClose, allowMinimize etc, but i found
that
> > > only
> > > the getAllowMinimized is called, others not (i put a println but didnt
> > > print
> > > anything)
> > >
> > >
> > > |- Raffaele Ragni < [EMAIL PROTECTED] >
> > > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> > > |- CONE Sistemi Informativi
> > >
> > >
> > > - Original Message -
> > > From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> > > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > > Sent: Friday, October 04, 2002 3:10 PM
> > > Subject: Psml customizing permission
> > >
> > >
> > > Hi,
> > > I was searching a method to hide some icons, like the customize one,
or
> > > close from certain users that has some permissions.
> > > I saw that when a user is created he can customize everything, so i
went
> > > on
> > > role/permission but there was no permission checked.
> > > Now, the thing that i need is to not make users customize psml, but
> still
> > > customizing certain portlets.
> > > I searched a bit on the mailing list and all i have seen was patches
to
> > > do.
> > > There is a role/permission to not permit to customize psml but still
the
> > > portlets?
> > > Or should i change something? and if yes, what class or file?
> > > I searched on the actual sources too but i've seen for example that in
> > > AbstractPortlet all 'allow' functions always return true.
> > > It has still to be implemented or it is a wanted thing?
> > >
> > >
> > >
> > > |- Raffaele Ragni < [EMAIL PROTECTED] >
> > > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> > > |- CONE Sistemi Informativi
> > >
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:   <mailto:jetspeed-user-
> > > [EMAIL PROTECTED]>
> > > For additional commands, e-mail: <mailto:jetspeed-user-
> > > [EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Re: Psml customizing permission

2002-10-04 Thread Raffaele Ragni

Ok, i've seen that in AbstractPortletControl these functions are rewritten,
and VelocityPortlet control calls a PortletState interface.
Though i've seen on another mail that someone once modified the
AbstractPortlet class in that function and it worked.
My problem is that permissions aren't checked. And i can't find the point
where that function is called(or, better, which of these functions and in
what class are called), even in VelocityPortletControl. Now i dont know java
entirely, so i dont know exactly where to look.
For now i'll just hide the icons.


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Weaver, Scott" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Friday, October 04, 2002 4:50 PM
Subject: RE: Psml customizing permission


> I have a hunch that you will have better luck looking at
AbstractPortletControl and VelocityPortletControl.  VelocityPortletControl
has a buildActionList that aggregates actions allowed for a specific
portlet's control.  AbstractPortletControl actually checks the user's
permissions against security for the requested action.
>
> hth,
> Scott
>
> > -Original Message-
> > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, October 04, 2002 10:39 AM
> > To: Jetspeed Users List
> > Subject: Re: Psml customizing permission
> >
> > Umm, since i need this implemented, i have tried to do it by myself with
> > checking permissions on allowClose, allowMinimize etc, but i found that
> > only
> > the getAllowMinimized is called, others not (i put a println but didnt
> > print
> > anything)
> >
> >
> > |- Raffaele Ragni < [EMAIL PROTECTED] >
> > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> > |- CONE Sistemi Informativi
> >
> >
> > - Original Message -
> > From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > Sent: Friday, October 04, 2002 3:10 PM
> > Subject: Psml customizing permission
> >
> >
> > Hi,
> > I was searching a method to hide some icons, like the customize one, or
> > close from certain users that has some permissions.
> > I saw that when a user is created he can customize everything, so i went
> > on
> > role/permission but there was no permission checked.
> > Now, the thing that i need is to not make users customize psml, but
still
> > customizing certain portlets.
> > I searched a bit on the mailing list and all i have seen was patches to
> > do.
> > There is a role/permission to not permit to customize psml but still the
> > portlets?
> > Or should i change something? and if yes, what class or file?
> > I searched on the actual sources too but i've seen for example that in
> > AbstractPortlet all 'allow' functions always return true.
> > It has still to be implemented or it is a wanted thing?
> >
> >
> >
> > |- Raffaele Ragni < [EMAIL PROTECTED] >
> > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> > |- CONE Sistemi Informativi
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:jetspeed-user-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:jetspeed-user-
> > [EMAIL PROTECTED]>
>


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




Re: Psml customizing permission

2002-10-04 Thread Raffaele Ragni

Umm, since i need this implemented, i have tried to do it by myself with
checking permissions on allowClose, allowMinimize etc, but i found that only
the getAllowMinimized is called, others not (i put a println but didnt print
anything)


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, October 04, 2002 3:10 PM
Subject: Psml customizing permission


Hi,
I was searching a method to hide some icons, like the customize one, or
close from certain users that has some permissions.
I saw that when a user is created he can customize everything, so i went on
role/permission but there was no permission checked.
Now, the thing that i need is to not make users customize psml, but still
customizing certain portlets.
I searched a bit on the mailing list and all i have seen was patches to do.
There is a role/permission to not permit to customize psml but still the
portlets?
Or should i change something? and if yes, what class or file?
I searched on the actual sources too but i've seen for example that in
AbstractPortlet all 'allow' functions always return true.
It has still to be implemented or it is a wanted thing?



|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi





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




Psml customizing permission

2002-10-04 Thread Raffaele Ragni

Hi,
I was searching a method to hide some icons, like the customize one, or close from 
certain users that has some permissions.
I saw that when a user is created he can customize everything, so i went on 
role/permission but there was no permission checked.
Now, the thing that i need is to not make users customize psml, but still customizing 
certain portlets.
I searched a bit on the mailing list and all i have seen was patches to do.
There is a role/permission to not permit to customize psml but still the portlets?
Or should i change something? and if yes, what class or file?
I searched on the actual sources too but i've seen for example that in AbstractPortlet 
all 'allow' functions always return true.
It has still to be implemented or it is a wanted thing?



|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770 
|- CONE Sistemi Informativi  





Re: portlet.setAttribite

2002-10-03 Thread Raffaele Ragni

Ok works, Thanks.


<=- Raffaele Ragni -=>
- Original Message - 
From: "Weaver, Scott" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: 
Subject: RE: portlet.setAttribite




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




portlet.setAttribite

2002-10-03 Thread Raffaele Ragni

Hi,
i have a question regarding the parameters of a portlet:
When i do a portlet.setAttribute() it sets that just for the user that
is viewing the portlet. I would like to set that for all users.
(example, only an admin can configure a protlet that users can only view
so they should see tha changes)
I'm not sure if there is another function that does it in that way.

Thanks,
|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770 
|- CONE Sistemi Informativi  





Re: Properties files

2002-10-01 Thread Raffaele Ragni

Thanks, it works good.
Just another thing, to get it from a class, i should call a
context.get("config").getString()?


<=- Raffaele Ragni -=>
- Original Message -
From: "Weaver, Scott" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, October 01, 2002 7:11 PM
Subject: RE: Properties files


> At the bottom of TurbineResources.properties you can define includes.
>
> include=MyProperties.properties
>
> Then you can use TurbineResources.getString() to retrieve the value
MyProperties.properties.
>
> Scott
>
> > -Original Message-
> > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, October 01, 2002 12:55 PM
> > To: Jetspeed Users List
> > Subject: Properties files
> >
> > Hi,
> >
> > There is a way to use properties files (i think there is) for my
portlets?
> > i mean, there is a predefined way to declare
> > the properties in those files?
> > I saw that in vm files uses $config.getString(), but probably i dont
know
> > how to set in properties files.
> > And it would be useful to know how to read even by program (java)
> >
> > Thanks.
> >
> > |- Raffaele Ragni < [EMAIL PROTECTED] >
> > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> > |- CONE Sistemi Informativi
> >
>
>


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




Properties files

2002-10-01 Thread Raffaele Ragni

Hi, 

There is a way to use properties files (i think there is) for my portlets? i mean, 
there is a predefined way to declare
the properties in those files?
I saw that in vm files uses $config.getString(), but probably i dont know how to set 
in properties files.
And it would be useful to know how to read even by program (java)

Thanks. 

|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770 
|- CONE Sistemi Informativi  





Error on logout, i've found something

2002-10-01 Thread Raffaele Ragni

Hi, can anyone remember the error on logout in the function accountExists?
I think i have found something to turn around it: when i looked at the error log, i 
saw there was a 'saveUser' function,
so i went on JetspeedResources.properties and turned off the option 'save user on 
logout'.
Now It works, i can exit the portal withouth errors (the error was a NullPointer 
Exception).

Though i still have an error when you misspell the password on login process, it 
writes the error on the screen
that asks to re-enter information. I installed already activation.jar to solve one of 
these exceptions, but there is still the other one
which is: 
: on bad password
: on bas 
user

Even a way to hide this thing in the screen could be useful, Thanks.

|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770 
|- CONE Sistemi Informativi  





Re: Groups and how handling them

2002-09-24 Thread Raffaele Ragni

I tried with the functions joinGroup and unjoinGroup, though doesnt work,
and the groups doesnt show well, so i keeped my own portlet taht does it
directly to database (grouphandler.zip), in the new one lists only jetspeed
or apache groups, not others (that are setted though) in
grouphandler_js.zip.
In theory it should be right but...oh well. if someone needs it can take it.

(to use the one that does it directly on db just place the strings for the
database instead of the dbconnstring class functions)

 <=- Raffaele Ragni -=>


> - Original Message -
> From: "Stefaan" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, September 24, 2002 1:19 PM
> Subject: RE: Groups and how handling them
>
>
> > sorry,
> > I'm meant the GroupManagement service and not UserManagement service.
> > Stefaan
> >
> > -Original Message-
> > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > Sent: dinsdag 24 september 2002 12:53
> > To: Jetspeed Users List
> > Subject: Re: Groups and how handling them
> >
> >
> > in the way i am using it, every role has the dummy group (jetspeed) and
> the
> > groups have a dummy role (guest) so it works for me
> >
> >
> > |- Raffaele Ragni < [EMAIL PROTECTED] >
> > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> > |- CONE Sistemi Informativi
> >
> >
> > - Original Message -
> > From: "Stefaan" <[EMAIL PROTECTED]>
> > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > Sent: Tuesday, September 24, 2002 11:54 AM
> > Subject: RE: Groups and how handling them
> >
> >
> > > The UserManagement service has the joinGroup and unJoinGroup methods.
I
> > > think that is what you need.
> > >
> > > It's to bad jetspeed does not make use of the out of the box security
> > > service of turbine. in jetspeed a role is connected to a user. In
> turbine
> > it
> > > a role is connected to a user in a particular group. That means that a
> > user
> > > can have a different set of roles depending on the group.
> > >
> > > -Original Message-
> > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > Sent: dinsdag 24 september 2002 11:08
> > > To: Jetspeed Users List
> > > Subject: Groups and how handling them
> > >
> > >
> > > Hi,
> > > i am using a lot groups in my portlets, but when i've seen that there
> isnt
> > a
> > > way to set them in jetspeed,
> > > i did a portlet of mine to set them.
> > > Now, it works but it access directly to database, not like other
> portlets
> > of
> > > security does.
> > > I have seen that there is a 'grant role' function so i were wondering
if
> > > there were a 'grant group' one too (and revoke too obviously)
> > > Anyone knows of this?
> > >
> > >
> > > |- Raffaele Ragni < [EMAIL PROTECTED] >
> > > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> > > |- CONE Sistemi Informativi
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>






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



grouphandler.zip
Description: Zip compressed data


grouphandler_js.zip
Description: Zip compressed data

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


Re: Groups and how handling them

2002-09-24 Thread Raffaele Ragni

I tried with the functions joinGroup and unjoinGroup, though doesnt work,
and the groups doesnt show well, so i keeped my own portlet taht does it
directly to database (grouphandler.zip), in the new one lists only jetspeed
or apache groups, not others (that are setted though) in
grouphandler_js.zip.
In theory it should be right but...oh well. if someone needs it can take it.

(to use the one that does it directly on db just place the strings for the
database instead of the dbconnstring class functions)

<=- Raffaele Ragni -=>
- Original Message -
From: "Stefaan" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 1:19 PM
Subject: RE: Groups and how handling them


> sorry,
> I'm meant the GroupManagement service and not UserManagement service.
> Stefaan
>
> -Original Message-
> From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> Sent: dinsdag 24 september 2002 12:53
> To: Jetspeed Users List
> Subject: Re: Groups and how handling them
>
>
> in the way i am using it, every role has the dummy group (jetspeed) and
the
> groups have a dummy role (guest) so it works for me
>
>
> |- Raffaele Ragni < [EMAIL PROTECTED] >
> |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> |- CONE Sistemi Informativi
>
>
> - Original Message -
> From: "Stefaan" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, September 24, 2002 11:54 AM
> Subject: RE: Groups and how handling them
>
>
> > The UserManagement service has the joinGroup and unJoinGroup methods. I
> > think that is what you need.
> >
> > It's to bad jetspeed does not make use of the out of the box security
> > service of turbine. in jetspeed a role is connected to a user. In
turbine
> it
> > a role is connected to a user in a particular group. That means that a
> user
> > can have a different set of roles depending on the group.
> >
> > -Original Message-
> > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > Sent: dinsdag 24 september 2002 11:08
> > To: Jetspeed Users List
> > Subject: Groups and how handling them
> >
> >
> > Hi,
> > i am using a lot groups in my portlets, but when i've seen that there
isnt
> a
> > way to set them in jetspeed,
> > i did a portlet of mine to set them.
> > Now, it works but it access directly to database, not like other
portlets
> of
> > security does.
> > I have seen that there is a 'grant role' function so i were wondering if
> > there were a 'grant group' one too (and revoke too obviously)
> > Anyone knows of this?
> >
> >
> > |- Raffaele Ragni < [EMAIL PROTECTED] >
> > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> > |- CONE Sistemi Informativi
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>



grouphandler.zip
Description: Zip compressed data


grouphandler_js.zip
Description: Zip compressed data

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


Re: Groups and how handling them

2002-09-24 Thread Raffaele Ragni

in the way i am using it, every role has the dummy group (jetspeed) and the
groups have a dummy role (guest) so it works for me


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Stefaan" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 11:54 AM
Subject: RE: Groups and how handling them


> The UserManagement service has the joinGroup and unJoinGroup methods. I
> think that is what you need.
>
> It's to bad jetspeed does not make use of the out of the box security
> service of turbine. in jetspeed a role is connected to a user. In turbine
it
> a role is connected to a user in a particular group. That means that a
user
> can have a different set of roles depending on the group.
>
> -Original Message-
> From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> Sent: dinsdag 24 september 2002 11:08
> To: Jetspeed Users List
> Subject: Groups and how handling them
>
>
> Hi,
> i am using a lot groups in my portlets, but when i've seen that there isnt
a
> way to set them in jetspeed,
> i did a portlet of mine to set them.
> Now, it works but it access directly to database, not like other portlets
of
> security does.
> I have seen that there is a 'grant role' function so i were wondering if
> there were a 'grant group' one too (and revoke too obviously)
> Anyone knows of this?
>
>
> |- Raffaele Ragni < [EMAIL PROTECTED] >
> |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> |- CONE Sistemi Informativi
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Groups and how handling them

2002-09-24 Thread Raffaele Ragni

Hi, 
i am using a lot groups in my portlets, but when i've seen that there isnt a way to 
set them in jetspeed,
i did a portlet of mine to set them.
Now, it works but it access directly to database, not like other portlets of security 
does.
I have seen that there is a 'grant role' function so i were wondering if there were a 
'grant group' one too (and revoke too obviously)
Anyone knows of this?


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770 
|- CONE Sistemi Informativi  



Re: Jetspeed portlets and Javascript

2002-09-18 Thread Raffaele Ragni

Hi,
i put my scripts on top.vm, (and even the css), so i load them every time,
that could be a solution?


<=- Raffaele Ragni -=>
- Original Message -
From: "Wayne A Christian" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 18, 2002 10:23 PM
Subject: RE: Jetspeed portlets and Javascript


What about style sheets?  Some scripts work w/ style sheets to set things
up.  I think that needs to be in the head, otherwise
you have to programmatically set up the styles.  I've seen some scripts
which wont work unless things have been set up in head.

Wayne Christian
Sr. Staff Software Engineer
Genesys Telecommunications Labs
2100 Gateway Centre Blvd.  Suite 300
Morrisville,  NC  27560
? Office: (919) 466-6151
Fax: (919) 466-6157
? EMail: mailto:[EMAIL PROTECTED]

-Original Message-
From: Rutledge, Aaron [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 3:17 PM
To: Jetspeed Users List
Subject: RE: Jetspeed portlets and Javascript

I have found very few instances where the script elements need to be in the
 (in fact, I don't think it is ever required).  It seems to be more
often just a convention that people have used because, obviously, the SCRIPT
needs to load before the function call.  I've used many JavaScript functions
in my portlets with luck just by ripping the 

Re: encoding/charset Question

2002-09-18 Thread Raffaele Ragni

Well, essentially, i didn't anything; my problem was with the
database(enabling the encoding on mysql), jetspeed worked great on encoding.
Though i don't use jsp so i dont know if there are other steps to configure
it particularly.
The encoding service configuration line in Turbine properties and Fulcrum
properties is commented on my webapp.
In velocity.properties though, there is a line 'template.encoding=8859_1',
that should mean UTF-8 if i am not wrong.
Even in JetspeedResources.properties there is a line reguarding encoding,
that is: 'content.defaultencoding=iso-8859-1'.

Now since i didnt touch anything and leaved as it were, i dont have more
suggestion to give.

|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Mike Zhou" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 18, 2002 3:30 PM
Subject: Re: encoding/charset Question


> Raffaele,
>
> I am new to Jetspeed, but have very strong knowledge
> about Java/JSP and portal. Can you summarize your
> steps to config Jetspeed for a different
> encoding/charset? I think it will benefit lot of
> users.
>
> Thanks, Erzhuan
> --- Raffaele Ragni <[EMAIL PROTECTED]> wrote:
> > I am using vm.
> >
> >
> > <=- Raffaele Ragni -=>
> >
> > - Original Message -
> > From: "Mike Zhou" <[EMAIL PROTECTED]>
> > To: "Jetspeed Users List"
> > <[EMAIL PROTECTED]>
> > Sent: Monday, September 16, 2002 8:00 PM
> > Subject: Re: encoding/charset Question
> >
> >
> > > Raffaele,
> > >
> > > After I switched from vm scripting format to jsp
> > > format, things become better. Which scripting
> > format
> > > are you using?
> > >
> > > Thanks, Erzhuan
> > > --- Raffaele Ragni <[EMAIL PROTECTED]> wrote:
> > > > I am using encoding normally, java supports it,
> > and
> > > > jetspeed too, it all
> > > > works (just for the database i had to do
> > something,
> > > > but this is another
> > > > thing and depends on wich one you have).
> > > > The only problem i had is when i used a
> > javascript
> > > > to modify data in a form,
> > > > and the encoding was bad.
> > > > For now i just don't use that javascript
> > anymore.
> > > >
> > > > |- Raffaele Ragni
> > > > |- [EMAIL PROTECTED]
> > > > |- Tel 071 2900 854
> > > > |- Fax 071 2908 551
> > > > |- Cel 333 3659770
> > > > |- CONE
> > > > |- Sistemi Informativi
> > > >
> > > > - Original Message -
> > > > From: "Mike Zhou" <[EMAIL PROTECTED]>
> > > > To: "'Jetspeed Users List'"
> > > > <[EMAIL PROTECTED]>
> > > > Sent: Saturday, September 14, 2002 10:23 PM
> > > > Subject: Re: encoding/charset Question
> > > >
> > > >
> > > > > Hi all,
> > > > >
> > > > > I am trying to develop a Chinese site based on
> > > > > Jetseepd. I am confused with regarding how
> > > > Jetspeed
> > > > > deals with encoding/charset. You can at lease
> > set
> > > > > these attributes in conf/velocity.propertes
> > and
> > > > > conf/TurbineResources.properties.
> > > > >
> > > > > In JSP, you can simply do
> > > > >
> > > > > <%@ page contentType= "TEXT/HTML;
> > CHARSET=GB2312"
> > > > %>
> > > > >
> > > > > to switch your browser to display pages in
> > > > Chinese.
> > > > >
> > > > > Any previous experience to share?
> > > > >
> > > > > Thanks, Erzhaun
> > > > >
> > > > >
> > __
> > > > > Do you Yahoo!?
> > > > > Yahoo! News - Today's headlines
> > > > > http://news.yahoo.com
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > >
> > >
> >
> <mailto:[EMAIL PROTECTED]>
> > > > > For additional commands, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > >
> > >
> >
> <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > >
> > >
> > >
> > > __
> > > Do you Yahoo!?
> > > Yahoo! News - Today's headlines
> > > http://news.yahoo.com
> > >
> > > --
> > > To unsubscribe, e-mail:
> >
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> >
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
> __
> Do you Yahoo!?
> Yahoo! News - Today's headlines
> http://news.yahoo.com
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Re: About $jlink and using it instead of a form submit

2002-09-18 Thread Raffaele Ragni

it works, great.


|- Raffaele Ragni < [EMAIL PROTECTED] >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


- Original Message -
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 17, 2002 9:10 PM
Subject: Re: About $jlink and using it instead of a form submit


> Yes, it works normally with the form. i will try tomorrow when i will be
at
> work, thanks.
>
>
> <=- Raffaele Ragni -=>
> - Original Message -
> From: "Weaver, Scott" <[EMAIL PROTECTED]>
> To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> Sent: Tuesday, September 17, 2002 2:44 PM
> Subject: RE: About $jlink and using it instead of a form submit
>
>
> > Hi Raffaele,
> >
> > > "$jlink.setPanel("").addQueryData("eventSubmit_","")"
> >
> > Trying supplying an arbitrary value for the query data.
> >
> > Example:
> > "$jlink.setPanel("").addQueryData("eventSubmit_","1")"
> >
> > Also,
> >
> > Are you sure your action-event method names are formatted correctly?
> >
> > doSomemethodname()
> >
> > the only allowed capital letter is the one immediately proceeding the
"do"
> >
> > hth,
> > Scott
> >
> > > -Original Message-
> > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, September 16, 2002 12:29 PM
> > > To: Jetspeed Users List
> > > Subject: About $jlink and using it instead of a form submit
> > >
> > > Hi,
> > >  i were trying a thing from time now, but i can't still understand
> > > something...
> > >
> > > I am trying to use a link instead of a form...
> > > i tried
> > > "$jlink.setPanel("").addQueryData("eventSubmit_","")"
> > > and i thought it would work, since there is the submit object in the
> form
> > > that has that name
> > > But probably i am missing something, anyone can help?
> > >
> > >
> > > |- Raffaele Ragni < [EMAIL PROTECTED] >
> > > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> > > |- CONE Sistemi Informativi
> > >
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Re: About $jlink and using it instead of a form submit

2002-09-17 Thread Raffaele Ragni

Yes, it works normally with the form. i will try tomorrow when i will be at
work, thanks.


<=- Raffaele Ragni -=>
- Original Message -
From: "Weaver, Scott" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, September 17, 2002 2:44 PM
Subject: RE: About $jlink and using it instead of a form submit


> Hi Raffaele,
>
> > "$jlink.setPanel("").addQueryData("eventSubmit_","")"
>
> Trying supplying an arbitrary value for the query data.
>
> Example:
> "$jlink.setPanel("").addQueryData("eventSubmit_","1")"
>
> Also,
>
> Are you sure your action-event method names are formatted correctly?
>
> doSomemethodname()
>
> the only allowed capital letter is the one immediately proceeding the "do"
>
> hth,
> Scott
>
> > -Original Message-
> > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 16, 2002 12:29 PM
> > To: Jetspeed Users List
> > Subject: About $jlink and using it instead of a form submit
> >
> > Hi,
> >  i were trying a thing from time now, but i can't still understand
> > something...
> >
> > I am trying to use a link instead of a form...
> > i tried
> > "$jlink.setPanel("").addQueryData("eventSubmit_","")"
> > and i thought it would work, since there is the submit object in the
form
> > that has that name
> > But probably i am missing something, anyone can help?
> >
> >
> > |- Raffaele Ragni < [EMAIL PROTECTED] >
> > |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> > |- CONE Sistemi Informativi
> >
>
>


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




Re: Problems with UTF,unicode

2002-09-13 Thread Raffaele Ragni

Another information: i have tried it with another portlet too and works, so
now i think it is a problem of the one that doesnt work.

- Original Message -
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 13, 2002 12:39 PM
Subject: Problems with UTF,unicode


Hi,
recentely i put support for other characters (unicode) for the db connection
on my mysql, and it worked.
When i tried with a portlet the text was passed right etcetera.
After that, i try to pass it to another portlet, and even withouth checking
the database, i immediately checked the variable that i got from the form,
and it were corrupted.
Now the database is ok, i think the problem is how the form pass the
parameter to the action, because same forms with same actions (different
portlets, but the same code) works differently.

I tried wit the same text in the two portlets and printing the result
withouth even operating on the string got by
rundata.getParameters().getString(), and it were different.

If someone had this problem or knows a solution or some hints i would like
ot know, thanks.

-Raffaele Ragni



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




Problems with UTF,unicode

2002-09-13 Thread Raffaele Ragni

Hi, 
recentely i put support for other characters (unicode) for the db connection on my 
mysql, and it worked.
When i tried with a portlet the text was passed right etcetera.
After that, i try to pass it to another portlet, and even withouth checking the 
database, i immediately checked the variable that i got from the form, and it were 
corrupted.
Now the database is ok, i think the problem is how the form pass the parameter to the 
action, because same forms with same actions (different portlets, but the same code) 
works differently.

I tried wit the same text in the two portlets and printing the result withouth even 
operating on the string got by rundata.getParameters().getString(), and it were 
different.

If someone had this problem or knows a solution or some hints i would like ot know, 
thanks.

-Raffaele Ragni



Re: Errors with mysql and user autentication

2002-09-04 Thread Raffaele Ragni

ok, problem solved.

- Original Message -
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 03, 2002 4:22 PM
Subject: Re: Errors with mysql and user autentication


> mmh now it changed the message and says
> "Invalid authorization specification: Access denied for user"
> even if all the privs are set ok and i'm connecting from localhost
>
> - Original Message -
> From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, September 03, 2002 2:37 PM
> Subject: Errors with mysql and user autentication
>
>
> i get a
> "org.apache.jetspeed.services.security.FailedLoginException: Credential
> authentication failure"
> when i login(and anyway even with activation.jar i continue to get
exception
> on the login box), even if user and password is right, and before it i had
> problems autenticating to mysql from remote that incredibly resolved by
> itself.
> Though, in another server still there is still that error of mysql
("Server
> configuration denies access to data source at ...") i thought was
> a --skip-network (or something similar) on secure_mysql (i am using
linux),
> but it isn't.
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Re: Errors with mysql and user autentication

2002-09-03 Thread Raffaele Ragni

mmh now it changed the message and says
"Invalid authorization specification: Access denied for user"
even if all the privs are set ok and i'm connecting from localhost

- Original Message -
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 03, 2002 2:37 PM
Subject: Errors with mysql and user autentication


i get a
"org.apache.jetspeed.services.security.FailedLoginException: Credential
authentication failure"
when i login(and anyway even with activation.jar i continue to get exception
on the login box), even if user and password is right, and before it i had
problems autenticating to mysql from remote that incredibly resolved by
itself.
Though, in another server still there is still that error of mysql ("Server
configuration denies access to data source at ...") i thought was
a --skip-network (or something similar) on secure_mysql (i am using linux),
but it isn't.



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




Errors with mysql and user autentication

2002-09-03 Thread Raffaele Ragni

i get a 
"org.apache.jetspeed.services.security.FailedLoginException: Credential authentication 
failure" 
when i login(and anyway even with activation.jar i continue to get exception on the 
login box), even if user and password is right, and before it i had problems 
autenticating to mysql from remote that incredibly resolved by itself.
Though, in another server still there is still that error of mysql ("Server 
configuration denies access to data source at ...") i thought was a --skip-network (or 
something similar) on secure_mysql (i am using linux), but it isn't.



Re: Installation issue

2002-08-30 Thread Raffaele Ragni

when i installed mysql i put the drivers in the 'classes' dir too to make it
work (where i put my portlets classes, and using the correct sirectory
structure) probably it sees only there?

- Original Message -
From: "Stephen Jackson" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, August 30, 2002 5:38 AM
Subject: Re: Installation issue


> I have more information to give.  I turned on logging and more information
is
> available.
> //**
> java.lang.InstantiationException: Unknown JDBC driver:
org.postgresql.Driver:
> Check your configuration file
> //*
> The configuration file reads as follows
>
> database.default.driver=org.postgresql.Driver
> database.default.url=jdbc:postgresql://127.0.0.1/mydatabase
> database.default.username=user
> database.default.password=password
>
> and
>
> database.adaptor=PostgreSQL
> database.adaptor.DBHypersonicSQL=org.postgresql.Driver
>
> I also wrote a class to connect to the database and make sure it was
> accepting connections and data is retrieved successfully and it works fine
>
> My classpath when I start tomcat is as follows
>
> Using CLASSPATH:
> /usr/JBoss-2.4.4_Tomcat-4.0.1/catalina/webapps/jetspeed/WEB
> -INF/lib/xerces_1_3_1.jar:/usr/JBoss-2.4.4_Tomcat-4.0.1/catalina/webapps/j
etspee
>
d/WEB-INF/lib/xalan-2.0.1.jar:/usr/JBoss-2.4.4_Tomcat-4.0.1/catalina/webapps
/jet
>
speed/WEB-INF/lib/village-1.5.3-dev.jar:/usr/JBoss-2.4.4_Tomcat-4.0.1/catali
na/w
>
ebapps/jetspeed/WEB-INF/lib/velocity-1.2-dev.jar:/usr/JBoss-2.4.4_Tomcat-4.0
.1/c
>
atalina/webapps/jetspeed/WEB-INF/lib/uddi4j.jar:/usr/JBoss-2.4.4_Tomcat-4.0.
1/ca
>
talina/webapps/jetspeed/WEB-INF/lib/turbine-2.2b1-20011124.jar:/usr/JBoss-2.
4.4_
> Tomcat-4.0.1/catalina/webapps/jetspeed/WEB-INF/lib/soap.jar:
>
> IT IS THERE!!
>
/usr/JBoss-2.4.4_Tomcat-4.0.1/catalina/webapps/jetspeed/WEB-INF/lib/postgres
ql.jar:
>
> /usr/JBoss-2.4.4_
>
Tomcat-4.0.1/catalina/webapps/jetspeed/WEB-INF/lib/mail.jar:/usr/JBoss-2.4.4
_Tom
>
cat-4.0.1/catalina/webapps/jetspeed/WEB-INF/lib/log4j-1.1.jar:/usr/JBoss-2.4
.4_T
>
omcat-4.0.1/catalina/webapps/jetspeed/WEB-INF/lib/jetspeed-1.3a2-release.jar
:/us
>
r/JBoss-2.4.4_Tomcat-4.0.1/catalina/webapps/jetspeed/WEB-INF/lib/jdbc-se2.0.
jar:
>
/usr/JBoss-2.4.4_Tomcat-4.0.1/catalina/webapps/jetspeed/WEB-INF/lib/hsql.jar
:/us
>
r/JBoss-2.4.4_Tomcat-4.0.1/catalina/webapps/jetspeed/WEB-INF/lib/ecs-1.4.1.j
ar:/
>
usr/JBoss-2.4.4_Tomcat-4.0.1/catalina/webapps/jetspeed/WEB-INF/lib/castor-0.
9.3.
>
jar:/usr/JBoss-2.4.4_Tomcat-4.0.1/catalina/webapps/jetspeed/WEB-INF/lib/acti
vati
>
on.jar:/home/jacksosw:/home/spherelogic/devel/jacksosw/spherelogic:/usr/java
/jdk
>
1.3.1_02/lib/tools.jar:/usr/JBoss-2.4.4_Tomcat-4.0.1/catalina/bin/bootstrap.
jar:
> /usr/java/jdk1.3.1_02/lib/tools.jar
>
> I'm at a loss :-(
>
> Thanks in advance
>
>
> On Thursday 29 August 2002 10:59 pm, you wrote:
> > I am installing jetspeed and I am having an issue
> >
> > I am using:
> > Tomcat - Tomcat-4.0.1
> > Java SDK - build 1.3.1_02-b02
> > jetspeed - 1.3a2
> >
> > I go to http://localhost:8080/jetspeed/index.jsp with no problem
> > as soon as I login with turbine turbine I get the following exception.
> >
> >
> > Horrible Exception: java.lang.ExceptionInInitializerError:
> > java.lang.NullPointerException at
> >
org.apache.turbine.om.security.peer.TurbineUserPeer.(TurbineUserPeer.java:9
> >9) at
> >
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManage
> >r.java:158) at
> >
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManage
> >r.java:246) at
> >
org.apache.turbine.services.security.BaseSecurityService.getAuthenticatedUs
> >er(BaseSecurityService.java:312) at
> >
org.apache.turbine.services.security.TurbineSecurity.getAuthenticatedUser(T
> >urbineSecurity.java:199) at
> >
org.apache.turbine.modules.actions.LoginUser.doPerform(LoginUser.java:111)
> > at org.apache.turbine.modules.Action.perform(Action.java:87) at
> > org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at
> >
org.apache.jetspeed.modules.actions.JLoginUser.doPerform(JLoginUser.java:16
> >1) 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:511) at
> > org.apache.turbine.Turbine.doPost(Turbine.java:655) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> >
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
> >nFilterChain.java:247) at
> >
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
> >hain.java:193) at
> >
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
> >ava:243) at
> >
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
> >566) at
> >
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472

On logout exception, AccountExists

2002-07-31 Thread Raffaele Ragni

Hi, i get the following error on logout (only under win, it works good on linx)

Horrible Exception: java.lang.NullPointerException at 
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.accountExists(TurbineUserManagement.java:592)
 at 
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.saveUser(TurbineUserManagement.java:262)
 at 
org.apache.jetspeed.services.JetspeedUserManagement.saveUser(JetspeedUserManagement.java:125)
 at org.apache.jetspeed.services.JetspeedSecurity.saveUser(JetspeedSecurity.java:227) 
at org.apache.jetspeed.modules.actions.JLogoutUser.doPerform(JLogoutUser.java:130) at 
org.apache.turbine.modules.ActionEvent.perform(ActionEvent.java:148) at 
org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at 
org.apache.turbine.Turbine.doGet(Turbine.java:456) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java) at 
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574) at 
org.apache.tomcat.core.Handler.invoke(Handler.java:322) at 
org.apache.tomcat.core.Handler.service(Handler.java:235) at 
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917) at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at 
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:341)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516) at 
java.lang.Thread.run(Thread.java:536) 

--

Any hints? thanks.



Logging in, creating aan account, and others..

2002-07-22 Thread Raffaele Ragni

Logging in with a wrong password or creating an account generates an error that keeps 
(and in my portlets too), that:
Horrible Exception: java.lang.NoClassDefFoundError: javax/activation/DataSource
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at org.apache.tomcat.util.depend.DependClassLoader12.defineClassCompat(Unknown 
Source)
at org.apache.tomcat.util.depend.DependClassLoader.loadClassInternal1(Unknown 
Source)
at org.apache.tomcat.util.depend.DependClassLoader12$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tomcat.util.depend.DependClassLoader12.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
at 
org.apache.turbine.services.upload.TurbineUploadService.createItem(TurbineUploadService.java:298)
at 
org.apache.turbine.services.upload.TurbineUploadService.parseRequest(TurbineUploadService.java:206)
at 
org.apache.turbine.services.upload.TurbineUpload.parseRequest(TurbineUpload.java:178)
at 
org.apache.turbine.util.parser.DefaultParameterParser.setRequest(DefaultParameterParser.java:188)
at 
org.apache.turbine.services.rundata.DefaultTurbineRunData.getParameters(DefaultTurbineRunData.java:502)
at org.apache.turbine.Turbine.doGet(Turbine.java:414)
at org.apache.turbine.Turbine.doPost(Turbine.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
at org.apache.tomcat.core.Handler.invoke(Unknown Source)
at org.apache.tomcat.core.Handler.service(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at 
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown 
Source)
at java.lang.Thread.run(Thread.java:536)

from what i've understood is related to user.getUserName(), causeit starts immediately 
after

Re: the .xreg files by code

2002-07-15 Thread Raffaele Ragni

#resolved#

- Original Message -
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, July 15, 2002 11:31 AM
Subject: Re: the .xreg files by code


> i'm trying to cast a type that seems isnt allowed to...
>
> Registry reg =
>
org.apache.jetspeed.services.Registry.get(org.apache.jetspeed.services.Regis
> try.PORTLET);
> RegistryEntry[] entries = reg.toArray();
>
> instead of getting RegistryEntry[] i need PortletEntry[]
>
> - Original Message -
> From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Friday, July 12, 2002 6:21 PM
> Subject: Re: the .xreg files by code
>
>
> > mmh, but to retrieve the parameters too from the portlet it needs to be
a
> > BasePortletInfoEntry instead of BaseRegistryEntry, but i cant cast the
> type
> > for that two. I've tried to do a listing of portlets too but with no
> result.
> >
> > - Original Message -
> > From: "Weaver, Scott" <[EMAIL PROTECTED]>
> > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > Sent: Thursday, July 11, 2002 6:36 PM
> > Subject: RE: the .xreg files by code
> >
> >
> > > Registry.getEntry(Registry.PORTLET,"Portlet Name");
> > >
> > > This should return the BaseRegistryEntry of the named portlet.
> > >
> > > Scott
> > >
> > > > -Original Message-
> > > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, July 11, 2002 10:56 AM
> > > > To: Jetspeed Users List
> > > > Subject: Re: the .xreg files by code
> > > >
> > > > oh, can you explain what you have done better please? i am trying to
> > load
> > > > a
> > > > portlet, knowing the name only at runtime an to call a method inside
> it.
> > > >
> > > > - Original Message -
> > > > From: "Wimmer, Matthias" <[EMAIL PROTECTED]>
> > > > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > > > Sent: Thursday, July 11, 2002 4:49 PM
> > > > Subject: RE: the .xreg files by code
> > > >
> > > >
> > > > > Ok, that sounds quite simple. I have a similar question:
> > > > >
> > > > > I succeeded in creating a portlet instance from of the registry
> > > > information:
> > > > >
> > > > >Entry   theEntry  = new Entry();
> > > > >theEntry.setParent( "MyPortlet" );
> > > > >Portlet thePortlet = PortletFactory.getPortlet( theEntry );
> > > > >
> > > > >
> > > > > But I would rather like to create a portlet instance with a user's
> > PSML
> > > > > information. How can this be done?
> > > > >
> > > > >
> > > > >
> > > > > I am obliged to any response.
> > > > >
> > > > > Matthias Wimmer
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > > -Original Message-
> > > > > > From: Weaver, Scott [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Thursday, July 11, 2002 10:22 AM
> > > > > > To: 'Jetspeed Users List'
> > > > > > Subject: RE: the .xreg files by code
> > > > > >
> > > > > >
> > > > > > org.apache.jetspeed.services.Registry
> > > > > >
> > > > > > Registry.get(Registry.PORTLET)
> > > > > >
> > > > > > Scott
> > > > > >
> > > > > > > -Original Message-
> > > > > > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > > > > > Sent: Thursday, July 11, 2002 8:52 AM
> > > > > > > To: Jetspeed Users List
> > > > > > > Subject: the .xreg files by code
> > > > > > >
> > > > > > > Hi, i'm trying to get (by code, obviously) the list of the
> > > > > > portlets and
> > > > > > > their information (those ones in the .xreg files, included
> portlet
> > > > > > > parameters) anyone can help?
> > > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > > For additional commands, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:   <mailto:jetspeed-user-
> > > > [EMAIL PROTECTED]>
> > > > For additional commands, e-mail: <mailto:jetspeed-user-
> > > > [EMAIL PROTECTED]>
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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




Re: the .xreg files by code

2002-07-15 Thread Raffaele Ragni

i'm trying to cast a type that seems isnt allowed to...

Registry reg =
org.apache.jetspeed.services.Registry.get(org.apache.jetspeed.services.Regis
try.PORTLET);
RegistryEntry[] entries = reg.toArray();

instead of getting RegistryEntry[] i need PortletEntry[]

- Original Message -
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, July 12, 2002 6:21 PM
Subject: Re: the .xreg files by code


> mmh, but to retrieve the parameters too from the portlet it needs to be a
> BasePortletInfoEntry instead of BaseRegistryEntry, but i cant cast the
type
> for that two. I've tried to do a listing of portlets too but with no
result.
>
> - Original Message -
> From: "Weaver, Scott" <[EMAIL PROTECTED]>
> To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> Sent: Thursday, July 11, 2002 6:36 PM
> Subject: RE: the .xreg files by code
>
>
> > Registry.getEntry(Registry.PORTLET,"Portlet Name");
> >
> > This should return the BaseRegistryEntry of the named portlet.
> >
> > Scott
> >
> > > -Original Message-
> > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, July 11, 2002 10:56 AM
> > > To: Jetspeed Users List
> > > Subject: Re: the .xreg files by code
> > >
> > > oh, can you explain what you have done better please? i am trying to
> load
> > > a
> > > portlet, knowing the name only at runtime an to call a method inside
it.
> > >
> > > - Original Message -
> > > From: "Wimmer, Matthias" <[EMAIL PROTECTED]>
> > > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > > Sent: Thursday, July 11, 2002 4:49 PM
> > > Subject: RE: the .xreg files by code
> > >
> > >
> > > > Ok, that sounds quite simple. I have a similar question:
> > > >
> > > > I succeeded in creating a portlet instance from of the registry
> > > information:
> > > >
> > > >Entry   theEntry  = new Entry();
> > > >theEntry.setParent( "MyPortlet" );
> > > >Portlet thePortlet = PortletFactory.getPortlet( theEntry );
> > > >
> > > >
> > > > But I would rather like to create a portlet instance with a user's
> PSML
> > > > information. How can this be done?
> > > >
> > > >
> > > >
> > > > I am obliged to any response.
> > > >
> > > > Matthias Wimmer
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > > -Original Message-
> > > > > From: Weaver, Scott [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, July 11, 2002 10:22 AM
> > > > > To: 'Jetspeed Users List'
> > > > > Subject: RE: the .xreg files by code
> > > > >
> > > > >
> > > > > org.apache.jetspeed.services.Registry
> > > > >
> > > > > Registry.get(Registry.PORTLET)
> > > > >
> > > > > Scott
> > > > >
> > > > > > -Original Message-
> > > > > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Thursday, July 11, 2002 8:52 AM
> > > > > > To: Jetspeed Users List
> > > > > > Subject: the .xreg files by code
> > > > > >
> > > > > > Hi, i'm trying to get (by code, obviously) the list of the
> > > > > portlets and
> > > > > > their information (those ones in the .xreg files, included
portlet
> > > > > > parameters) anyone can help?
> > > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:   <mailto:jetspeed-user-
> > > [EMAIL PROTECTED]>
> > > For additional commands, e-mail: <mailto:jetspeed-user-
> > > [EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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




Re: the .xreg files by code

2002-07-12 Thread Raffaele Ragni

mmh, but to retrieve the parameters too from the portlet it needs to be a
BasePortletInfoEntry instead of BaseRegistryEntry, but i cant cast the type
for that two. I've tried to do a listing of portlets too but with no result.

- Original Message -
From: "Weaver, Scott" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 6:36 PM
Subject: RE: the .xreg files by code


> Registry.getEntry(Registry.PORTLET,"Portlet Name");
>
> This should return the BaseRegistryEntry of the named portlet.
>
> Scott
>
> > -Original Message-
> > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 11, 2002 10:56 AM
> > To: Jetspeed Users List
> > Subject: Re: the .xreg files by code
> >
> > oh, can you explain what you have done better please? i am trying to
load
> > a
> > portlet, knowing the name only at runtime an to call a method inside it.
> >
> > - Original Message -
> > From: "Wimmer, Matthias" <[EMAIL PROTECTED]>
> > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > Sent: Thursday, July 11, 2002 4:49 PM
> > Subject: RE: the .xreg files by code
> >
> >
> > > Ok, that sounds quite simple. I have a similar question:
> > >
> > > I succeeded in creating a portlet instance from of the registry
> > information:
> > >
> > >Entry   theEntry  = new Entry();
> > >theEntry.setParent( "MyPortlet" );
> > >Portlet thePortlet = PortletFactory.getPortlet( theEntry );
> > >
> > >
> > > But I would rather like to create a portlet instance with a user's
PSML
> > > information. How can this be done?
> > >
> > >
> > >
> > > I am obliged to any response.
> > >
> > > Matthias Wimmer
> > >
> > >
> > >
> > >
> > >
> > > > -Original Message-
> > > > From: Weaver, Scott [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, July 11, 2002 10:22 AM
> > > > To: 'Jetspeed Users List'
> > > > Subject: RE: the .xreg files by code
> > > >
> > > >
> > > > org.apache.jetspeed.services.Registry
> > > >
> > > > Registry.get(Registry.PORTLET)
> > > >
> > > > Scott
> > > >
> > > > > -Original Message-
> > > > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, July 11, 2002 8:52 AM
> > > > > To: Jetspeed Users List
> > > > > Subject: the .xreg files by code
> > > > >
> > > > > Hi, i'm trying to get (by code, obviously) the list of the
> > > > portlets and
> > > > > their information (those ones in the .xreg files, included portlet
> > > > > parameters) anyone can help?
> > > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:jetspeed-user-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:jetspeed-user-
> > [EMAIL PROTECTED]>
>


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




Re: the .xreg files by code

2002-07-12 Thread Raffaele Ragni

In the way i've thinked i can select much easier wich portlet to search or
not, just calling a function, and portlets are closed box like that (they
are extended from a base class with search methods).

it worked well with TurbineFactoryService, thanks.

- Original Message -
From: "Weaver, Scott" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Friday, July 12, 2002 5:17 PM
Subject: RE: the .xreg files by code


> > i'm doing a search engine for the database so i've thinked that if each
> > portlets searched on his own tables and the 'engine' just puts togheter
> > the
> > results its nice ^^
>
> Why don't you write a service that performs the database search and all
your portlets (and other classes) can interact with it?  That way you can
free your logic from being bound in individual portlets.
>
> scott
>
>
> > -Original Message-
> > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, July 12, 2002 8:44 AM
> > To: Jetspeed Users List
> > Subject: Re: the .xreg files by code
> >
> > i'm doing a search engine for the database so i've thinked that if each
> > portlets searched on his own tables and the 'engine' just puts togheter
> > the
> > results its nice ^^
> >
> > - Original Message -
> > From: "Weaver, Scott" <[EMAIL PROTECTED]>
> > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > Sent: Friday, July 12, 2002 2:33 PM
> > Subject: RE: the .xreg files by code
> >
> >
> > > Then you may need to use the portlet factory service.
> > >
> > > org.apache.jetspeed.services.PortletFactory
> > >
> > > I'm curious, why do you need to invoke your portlet's method anywhere
> > but
> > within the portlet itself, it's template or within it's associated
action?
> > >
> > > If the logic inside your portlet needs to be used in other places than
> > the
> > ones I mentioned above, you may want to look into breaking that logic
out
> > into another class.  Your logic might be best served from a pull tool or
a
> > service.
> > >
> > > Pull tools:
> > > http://jakarta.apache.org/turbine/turbine-2/pullmodel.html
> > >
> > > Service Framework:
> > > http://jakarta.apache.org/turbine/turbine-2/services.html
> > >
> > >
> > >
> > > Scott
> > >
> > > > -Original Message-
> > > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, July 12, 2002 3:24 AM
> > > > To: Jetspeed Users List
> > > > Subject: Re: the .xreg files by code
> > > >
> > > > mmh, i've seen from the documentation that from BaseRegistryEntry i
> > can
> > > > modify some information, but can it be casted to my portlet type or
> > > > something like that? so i can call my portlet's method
> > > >
> > > > - Original Message -
> > > > From: "Weaver, Scott" <[EMAIL PROTECTED]>
> > > > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > > > Sent: Thursday, July 11, 2002 6:36 PM
> > > > Subject: RE: the .xreg files by code
> > > >
> > > >
> > > > > Registry.getEntry(Registry.PORTLET,"Portlet Name");
> > > > >
> > > > > This should return the BaseRegistryEntry of the named portlet.
> > > > >
> > > > > Scott
> > > > >
> > > > > > -Original Message-
> > > > > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Thursday, July 11, 2002 10:56 AM
> > > > > > To: Jetspeed Users List
> > > > > > Subject: Re: the .xreg files by code
> > > > > >
> > > > > > oh, can you explain what you have done better please? i am
trying
> > to
> > > > load
> > > > > > a
> > > > > > portlet, knowing the name only at runtime an to call a method
> > inside
> > > > it.
> > > > > >
> > > > > > - Original Message -
> > > > > > From: "Wimmer, Matthias" <[EMAIL PROTECTED]>
> > > > > > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > > > > > Sent: Thursday, July 11, 2002 4:49 PM
> > > > &

Re: the .xreg files by code

2002-07-12 Thread Raffaele Ragni

i'm doing a search engine for the database so i've thinked that if each
portlets searched on his own tables and the 'engine' just puts togheter the
results its nice ^^

- Original Message -
From: "Weaver, Scott" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Friday, July 12, 2002 2:33 PM
Subject: RE: the .xreg files by code


> Then you may need to use the portlet factory service.
>
> org.apache.jetspeed.services.PortletFactory
>
> I'm curious, why do you need to invoke your portlet's method anywhere but
within the portlet itself, it's template or within it's associated action?
>
> If the logic inside your portlet needs to be used in other places than the
ones I mentioned above, you may want to look into breaking that logic out
into another class.  Your logic might be best served from a pull tool or a
service.
>
> Pull tools:
> http://jakarta.apache.org/turbine/turbine-2/pullmodel.html
>
> Service Framework:
> http://jakarta.apache.org/turbine/turbine-2/services.html
>
>
>
> Scott
>
> > -Original Message-
> > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, July 12, 2002 3:24 AM
> > To: Jetspeed Users List
> > Subject: Re: the .xreg files by code
> >
> > mmh, i've seen from the documentation that from BaseRegistryEntry i can
> > modify some information, but can it be casted to my portlet type or
> > something like that? so i can call my portlet's method
> >
> > - Original Message -
> > From: "Weaver, Scott" <[EMAIL PROTECTED]>
> > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > Sent: Thursday, July 11, 2002 6:36 PM
> > Subject: RE: the .xreg files by code
> >
> >
> > > Registry.getEntry(Registry.PORTLET,"Portlet Name");
> > >
> > > This should return the BaseRegistryEntry of the named portlet.
> > >
> > > Scott
> > >
> > > > -Original Message-
> > > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, July 11, 2002 10:56 AM
> > > > To: Jetspeed Users List
> > > > Subject: Re: the .xreg files by code
> > > >
> > > > oh, can you explain what you have done better please? i am trying to
> > load
> > > > a
> > > > portlet, knowing the name only at runtime an to call a method inside
> > it.
> > > >
> > > > - Original Message -
> > > > From: "Wimmer, Matthias" <[EMAIL PROTECTED]>
> > > > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > > > Sent: Thursday, July 11, 2002 4:49 PM
> > > > Subject: RE: the .xreg files by code
> > > >
> > > >
> > > > > Ok, that sounds quite simple. I have a similar question:
> > > > >
> > > > > I succeeded in creating a portlet instance from of the registry
> > > > information:
> > > > >
> > > > >Entry   theEntry  = new Entry();
> > > > >theEntry.setParent( "MyPortlet" );
> > > > >Portlet thePortlet = PortletFactory.getPortlet( theEntry );
> > > > >
> > > > >
> > > > > But I would rather like to create a portlet instance with a user's
> > PSML
> > > > > information. How can this be done?
> > > > >
> > > > >
> > > > >
> > > > > I am obliged to any response.
> > > > >
> > > > > Matthias Wimmer
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > > -Original Message-
> > > > > > From: Weaver, Scott [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Thursday, July 11, 2002 10:22 AM
> > > > > > To: 'Jetspeed Users List'
> > > > > > Subject: RE: the .xreg files by code
> > > > > >
> > > > > >
> > > > > > org.apache.jetspeed.services.Registry
> > > > > >
> > > > > > Registry.get(Registry.PORTLET)
> > > > > >
> > > > > > Scott
> > > > > >
> > > > > > > -Original Message-
> > > > > > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > > > > > Sent: Thursday, July 11, 2002 8:52 AM
> > > > > > > To: Jetspeed Users List
> > > > > > > Subject: the .xreg files by code
> > > > > > >
> > > > > > > Hi, i'm trying to get (by code, obviously) the list of the
> > > > > > portlets and
> > > > > > > their information (those ones in the .xreg files, included
> > portlet
> > > > > > > parameters) anyone can help?
> > > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > > For additional commands, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:   <mailto:jetspeed-user-
> > > > [EMAIL PROTECTED]>
> > > > For additional commands, e-mail: <mailto:jetspeed-user-
> > > > [EMAIL PROTECTED]>
> > >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:jetspeed-user-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:jetspeed-user-
> > [EMAIL PROTECTED]>
>


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




Re: the .xreg files by code

2002-07-12 Thread Raffaele Ragni

mmh, i've seen from the documentation that from BaseRegistryEntry i can
modify some information, but can it be casted to my portlet type or
something like that? so i can call my portlet's method

- Original Message -
From: "Weaver, Scott" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 6:36 PM
Subject: RE: the .xreg files by code


> Registry.getEntry(Registry.PORTLET,"Portlet Name");
>
> This should return the BaseRegistryEntry of the named portlet.
>
> Scott
>
> > -Original Message-
> > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 11, 2002 10:56 AM
> > To: Jetspeed Users List
> > Subject: Re: the .xreg files by code
> >
> > oh, can you explain what you have done better please? i am trying to
load
> > a
> > portlet, knowing the name only at runtime an to call a method inside it.
> >
> > - Original Message -
> > From: "Wimmer, Matthias" <[EMAIL PROTECTED]>
> > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > Sent: Thursday, July 11, 2002 4:49 PM
> > Subject: RE: the .xreg files by code
> >
> >
> > > Ok, that sounds quite simple. I have a similar question:
> > >
> > > I succeeded in creating a portlet instance from of the registry
> > information:
> > >
> > >Entry   theEntry  = new Entry();
> > >theEntry.setParent( "MyPortlet" );
> > >Portlet thePortlet = PortletFactory.getPortlet( theEntry );
> > >
> > >
> > > But I would rather like to create a portlet instance with a user's
PSML
> > > information. How can this be done?
> > >
> > >
> > >
> > > I am obliged to any response.
> > >
> > > Matthias Wimmer
> > >
> > >
> > >
> > >
> > >
> > > > -Original Message-
> > > > From: Weaver, Scott [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, July 11, 2002 10:22 AM
> > > > To: 'Jetspeed Users List'
> > > > Subject: RE: the .xreg files by code
> > > >
> > > >
> > > > org.apache.jetspeed.services.Registry
> > > >
> > > > Registry.get(Registry.PORTLET)
> > > >
> > > > Scott
> > > >
> > > > > -Original Message-
> > > > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, July 11, 2002 8:52 AM
> > > > > To: Jetspeed Users List
> > > > > Subject: the .xreg files by code
> > > > >
> > > > > Hi, i'm trying to get (by code, obviously) the list of the
> > > > portlets and
> > > > > their information (those ones in the .xreg files, included portlet
> > > > > parameters) anyone can help?
> > > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:jetspeed-user-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:jetspeed-user-
> > [EMAIL PROTECTED]>
>




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




Re: the .xreg files by code

2002-07-11 Thread Raffaele Ragni

oh, can you explain what you have done better please? i am trying to load a
portlet, knowing the name only at runtime an to call a method inside it.

- Original Message -
From: "Wimmer, Matthias" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 4:49 PM
Subject: RE: the .xreg files by code


> Ok, that sounds quite simple. I have a similar question:
>
> I succeeded in creating a portlet instance from of the registry
information:
>
>Entry   theEntry  = new Entry();
>theEntry.setParent( "MyPortlet" );
>Portlet thePortlet = PortletFactory.getPortlet( theEntry );
>
>
> But I would rather like to create a portlet instance with a user's PSML
> information. How can this be done?
>
>
>
> I am obliged to any response.
>
> Matthias Wimmer
>
>
>
>
>
> > -Original Message-
> > From: Weaver, Scott [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 11, 2002 10:22 AM
> > To: 'Jetspeed Users List'
> > Subject: RE: the .xreg files by code
> >
> >
> > org.apache.jetspeed.services.Registry
> >
> > Registry.get(Registry.PORTLET)
> >
> > Scott
> >
> > > -Original Message-
> > > From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, July 11, 2002 8:52 AM
> > > To: Jetspeed Users List
> > > Subject: the .xreg files by code
> > >
> > > Hi, i'm trying to get (by code, obviously) the list of the
> > portlets and
> > > their information (those ones in the .xreg files, included portlet
> > > parameters) anyone can help?
> >
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>



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




Re: the .xreg files by code

2002-07-11 Thread Raffaele Ragni

Thanks
- Original Message -
From: "Josh Hone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 4:05 PM
Subject: Re: the .xreg files by code


> Look in the jetspeed javadocs around the Registry, Registry* classes.
>
> Josh Hone
>
>
> >From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >Subject: the .xreg files by code
> >Date: Thu, 11 Jul 2002 15:52:01 +0200
> >
> >Hi, i'm trying to get (by code, obviously) the list of the portlets and
> >their information (those ones in the .xreg files, included portlet
> >parameters) anyone can help?
>
>
>
>
> _
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>



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




the .xreg files by code

2002-07-11 Thread Raffaele Ragni

Hi, i'm trying to get (by code, obviously) the list of the portlets and their 
information (those ones in the .xreg files, included portlet parameters) anyone can 
help?



Re: HTTP Header by portlet

2002-07-09 Thread Raffaele Ragni

Mh.. i've noticed that i can't put a path on attachments filenames,or at
least the filename works only without paths, i watched the rfc of http to
see if there is another parameter fot that but nothing comed up.
And its the same problem like i were using it via portlet...and..i really
think that its possible to send headers via portlet, at least the save box
appeared.


- Original Message -
From: "Paul Spencer" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, July 09, 2002 1:23 PM
Subject: Re: HTTP Header by portlet


>
>
> Raffaele Ragni wrote:
>
> > Paul, you're right. However this way I fear the user could potentially
> > access to the files in the shared directory even if he isn't logged in
(read
> > authenticated).
> >
> > Do you have any suggestion about how to let the user download, from
> > jetspeed, a file stored in a directory placed outside Tomcat ?
>
>
> Write download servlet/jsp.  The portlet should place a generate a "key"
> on the url that will authorize the servlet to download the file.
>  http://foo.bar/DownloadServlet?file=companysecrets.pdf&key=432njlksj
>
> >
>
> > Thanks !
> >
> > Raffaele
> >
> > - Original Message -
> > From: "Paul Spencer" <[EMAIL PROTECTED]>
> > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > Sent: Tuesday, July 09, 2002 12:25 PM
> > Subject: Re: HTTP Header by portlet
> >
> >
> >
> >>Sounds like a link, 
> >>
> >>Paul Spencer
> >>
> >>Raffaele Ragni wrote:
> >>
> >>
> >>>So, if i want to make a client download a file in a secure mode (if i
> >>>
> > put on
> >
> >>>a dir of tomcat the file can be viewed by anyone and) in wich way i
> >>>
> > should
> >
> >>>do it?
> >>>
> >>>
> >>
> >>
> >>--
> >>To unsubscribe, e-mail:
> >>
> > <mailto:[EMAIL PROTECTED]>
> >
> >>For additional commands, e-mail:
> >>
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>




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




Re: HTTP Header by portlet

2002-07-09 Thread Raffaele Ragni

Paul, you're right. However this way I fear the user could potentially
access to the files in the shared directory even if he isn't logged in (read
authenticated).

Do you have any suggestion about how to let the user download, from
jetspeed, a file stored in a directory placed outside Tomcat ?

Thanks !

Raffaele

- Original Message -
From: "Paul Spencer" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, July 09, 2002 12:25 PM
Subject: Re: HTTP Header by portlet


> Sounds like a link, 
>
> Paul Spencer
>
> Raffaele Ragni wrote:
>
> > So, if i want to make a client download a file in a secure mode (if i
put on
> > a dir of tomcat the file can be viewed by anyone and) in wich way i
should
> > do it?
> >
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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




Re: HTTP Header by portlet

2002-07-08 Thread Raffaele Ragni

So, if i want to make a client download a file in a secure mode (if i put on
a dir of tomcat the file can be viewed by anyone and) in wich way i should
do it?

- Original Message -
From: "Paul Spencer" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, July 08, 2002 3:48 PM
Subject: Re: HTTP Header by portlet


> Raffaele,
> In short you can not set the HTTP headers.  They are sent to the browser
> before any portlet content is generated or actions are called.
>
> Paul Spencer
>
>
> Raffaele Ragni wrote:
>
> > Hi, i'm trying to do an attachment with HTTP headers, but i think that
cause the portlet is insede a site, it doesnt work, and in fact it doesn't,
returning the jetspeed page (all the html of the index) as a file attached.
> >
> > I'm using it in this way: response.setHeader("Content-Disposition",
"attachment; filename=/a.htm;");
> > (i've put a.htm in the tomcat root and sysfile root, so its on both
parts)
> >
> > Now, there is a method to make it work or its impossible to send right
header information by a portlet without it having problems with the global
page header? Thanks.
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>



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




HTTP Header by portlet

2002-07-08 Thread Raffaele Ragni

Hi, i'm trying to do an attachment with HTTP headers, but i think that cause the 
portlet is insede a site, it doesnt work, and in fact it doesn't, returning the 
jetspeed page (all the html of the index) as a file attached.

I'm using it in this way: response.setHeader("Content-Disposition", "attachment; 
filename=/a.htm;");
(i've put a.htm in the tomcat root and sysfile root, so its on both parts)

Now, there is a method to make it work or its impossible to send right header 
information by a portlet without it having problems with the global page header? 
Thanks.



Re: How can I remove the "close"- Button in a Portlet ?

2002-07-05 Thread Raffaele Ragni


- Original Message -
From: "Weaver, Scott" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Friday, July 05, 2002 4:30 PM
Subject: RE: How can I remove the "close"- Button in a Portlet ?


> > you have to remove it directly in the jetspeed*.vm in
> > C:\tomcat\webapps\jetspeed\WEB-INF\templates\vm\controls\
> > look for
> > #foreach ( $action in $actions )
> >  > src="images/${action.Name}.gif" alt="${action.Name}" border="0">
> > #end
> >
> Won't removing this template code remove ALL your actions from the portlet
> control?  I would try this to make it more selective.
>
> #foreach ( $action in $actions )
> #if(!$action.Name == "close")
>  src="images/${action.Name}.gif" alt="${action.Name}" border="0">
> #end
> #end
>
>
> Scott

mayby you can check a group or role of users too to make this thing applies
on that only



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Multipart, file uploading

2002-07-02 Thread Raffaele Ragni

I have seen on other mails that i should use this for my problem:

(code)

FileItem fupl = data.getParameters().getFileItem( "filen" );
System.out.println(fupl);

(form)




File:




but it writes 'null' to the console, and i have tried with 
com.oreilly.servlet.MultipartRequest too, but says that the form isn't 
multipart/form-data




Header-file

2002-07-02 Thread Raffaele Ragni

i'm trying to do a 'downloading' button for a file, but i want to do it by portlet, 
like those buttons that sends header info (soemthing called attach)
How do i send header info by portlet? (a new header, standalone)



Re: Panel name

2002-07-02 Thread Raffaele Ragni

oh i forgot, i have the need to set the eventSubmit thing on that way too,
cause the forms make too much space
- Original Message -
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, July 02, 2002 11:35 AM
Subject: Panel name


i want to know by a variable, and by vm, the name of the actual
panel(portlet), to do a setPanel() from $jlink in 'self' so i have not to
change that name on the xreg other times.





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




Panel name

2002-07-02 Thread Raffaele Ragni

i want to know by a variable, and by vm, the name of the actual panel(portlet), to do 
a setPanel() from $jlink in 'self' so i have not to change that name on the xreg other 
times.



Re: Still problems with mysql

2002-06-21 Thread Raffaele Ragni

problem solved, again
- Original Message -
From: "Raffaele Ragni" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, June 21, 2002 11:23 AM
Subject: Still problems with mysql


I have two systems, in the first all works great (winXP), then in the
other(linux) i transfer all the directory of tomcat, create the databses in
mysql, but gives a ClassDefNotFound when i login with jetspeed. the config
file is the same of the other machine, and mysql databses and accesses are
all ok(i can access with phpmyadmin from remote).

I know there is another mail of the same problem, and i've already tried
that...
Other times says just that table TURBINE_USER doesn't exists





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




Still problems with mysql

2002-06-21 Thread Raffaele Ragni

I have two systems, in the first all works great (winXP), then in the other(linux) i 
transfer all the directory of tomcat, create the databses in mysql, but gives a 
ClassDefNotFound when i login with jetspeed. the config file is the same of the other 
machine, and mysql databses and accesses are all ok(i can access with phpmyadmin from 
remote).

I know there is another mail of the same problem, and i've already tried that...
Other times says just that table TURBINE_USER doesn't exists



Cookies, again

2002-06-19 Thread Raffaele Ragni

now that i have the cookie reading, i've tried to set them:

HttpServletResponse res = rundata.getResponse();
Cookie c = new Cookie ( ... );
c.setMaxAge(-1);
res.addCookie( c );

the cookie is created, but not added. Since is a HttpServletResponse i think should be 
'sended' in some way, i've seen the sources of that class and didnd find anything, so 
i guess there is another class that 'sets' the Response.
(i've checked on rundata too, setResponse() doesnt exists).



HttpServletRequest

2002-06-18 Thread Raffaele Ragni

i've seen that i can get the VelocityPortlet by this way: 
(VelocityPortlet)context.get("portlet")

now i need HttpServletRequest to do things with cookies, and i think i can get in that 
way, but how is named the context? or there is another way to use cookies?



  1   2   >