RE: chart portlet on jetspeed

2004-08-17 Thread Devinder Sachdeva
Just create portlet as steps mentioned in the JetSpeed .
 I'm not aware how  does cewolf and jfreechart work but for 
easycharts  add the following lines in the JSP or VM portlet .
There are a quite bit good examples in the easychart .






>




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

 
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
cc: 
Subject:RE: chart portlet on jetspeed


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

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


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




.. 

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

Thanks
Devinder




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

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


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


Thank you!

Ching Shen



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





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


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





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



AW: chart portlet on jetspeed

2004-08-17 Thread dp
I will send you some samples for 3dpie within a vm-portlet tomorrow @my
office. go to bed now ;) cu



-Ursprüngliche Nachricht-
Von: Shen, Ching [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 17. August 2004 23:48
An: Jetspeed Users List
Betreff: RE: chart portlet on jetspeed


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

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


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




.. 

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

Thanks
Devinder




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

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


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


Thank you!

Ching Shen



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





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


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




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



RE: chart portlet on jetspeed

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

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


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




.. 

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

Thanks
Devinder




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

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


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


Thank you!

Ching Shen



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





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


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



Re: chart portlet on jetspeed

2004-08-17 Thread Devinder Sachdeva
Ching-
Create a Portlet (VM) or JSP include applet as




.. 

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

Thanks
Devinder




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

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


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


Thank you!

Ching Shen



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





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



chart portlet on jetspeed

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


Thank you!

Ching Shen



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



Problem configuering multible datasources in jetspeed 1.5

2004-08-17 Thread Henrik Westergaard Hansen
Hi all
I am in the progress of upgrading from 1.4 to 1.5. But I cant seem to 
get torque datasource to work  with multiple datasources in 1.5. I am 
accessing 2 mysql databases (default and portletdata). Torque tries to 
fetch all data from the default database.
I also started to use maven in 1.5.

In project.properties i have:
database = mysql
torque.database.default.adapter=mysql
torque.database.default.connection.driver = org.gjt.mm.mysql.Driver
torque.database.default.connection.url = 
jdbc:mysql://192.168.1.3:3306/jetspeed15udv
torque.database.default.connection.user = ***
torque.database.default.connection.password = ***

torque.database.portletdata.adapter=mysql
torque.database.portletdata.connection.driver = org.gjt.mm.mysql.Driver
torque.database.portletdata.connection.url = 
jdbc:mysql://192.168.1.3:3306/portletdata
torque.database.portletdata.connection.user =  ***
torque.database.portletdata.connection.password = ***

and in torque.properties i have:
torque.database.default=default
torque.database.default.adapter=mysql
torque.dsfactory.default.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
torque.dsfactory.default.pool.defaultMaxConnections=20
torque.dsfactory.default.pool.maxExpiryTime=3600
torque.dsfactory.default.pool.connectionWaitTimeout=10
torque.dsfactory.default.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.default.connection.url = 
jdbc:mysql://192.168.1.3:3306/jetspeed15udv
torque.dsfactory.default.connection.user =  ***
torque.dsfactory.default.connection.password = ***

torque.dsfactory.portletdata.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
torque.dsfactory.portletdata.pool.defaultMaxConnections=10
torque.dsfactory.portletdata.pool.maxExpiryTime=3600
torque.dsfactory.portletdata.pool.connectionWaitTimeout=10
torque.database.portletdata.adapter=mysql
torque.dsfactory.portletdata.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.portletdata.connection.url = 
jdbc:mysql://192.168.1.3:3306/portletdata
torque.dsfactory.portletdata.connection.user =  data
torque.dsfactory.portletdata.connection.password = data

The exception is:
[17 Aug 2004 21:21:20 ERROR] - General error,  message from server: 
"Table 'jetspeed15udv.bookmark' doesn't exist"
[17 Aug 2004 21:21:20 ERROR] - java.sql.SQLException: General error,  
message from server: "Table 'jetspeed15udv.bookmark' doesn't exist"
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1651)

So the question is: what do i have to do in order to make 
maven/torque/jetspeed register that the bookmark table is not in the 
jetspeed15udv database but in the portletdata database?

Any help would be appreciated !
Regards Henrik


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


Re: displaying only minimize and maximize buttons for portlet

2004-08-17 Thread Sihong Fan
It didn't for me neither. But thing is I would not
update and save permission in Security Role Browser. 
--- Mallhar Kadam <[EMAIL PROTECTED]> wrote:

> Hi Sihong,
> 
> Here are the steps that I followed :
> 
> 1)Login as Admin 
> 2)Go to Security -> Security Role Browser -> User
> Role.
> 3)Then change the permissions here to just Minimize
> and Maximized.
> 
> It didn't work.
> 
> Am I doing anything wrong ?
> Can you please give me detailed steps so that I can
> restrict the user to just control minimize and
> maximize the portlet ?
> 
> thanks,
> mh
> 
> --- Sihong Fan <[EMAIL PROTECTED]> wrote:
> 
> > user and permission 
> > login as admin, change permission for the portlet
> > will
> > solve your problem. Basicly, it's base on
> > permission,
> > not by portlet.
> > 
> > SH
> > 
> > --- Mallhar Kadam <[EMAIL PROTECTED]> wrote:
> > 
> > > Hi All,
> > > 
> > > For given portlet, right now it displays links
> for
> > > "customize", "print", "information", "close",
> > > "minimize" and "maximize".
> > > 
> > > If I have just display minimize and maximize
> links
> > > for
> > > the portlet where should I make the changes ?
> > > 
> > > please help me,
> > > mk
> > > 
> > >
> __
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > > protection around 
> > > http://mail.yahoo.com 
> > > 
> > >
> >
>
-
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! Mail - 50x more storage than other
> providers!
> > http://promotions.yahoo.com/new_mail
> > 
> >
>
-
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
>   
> __
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 




__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

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



hitting browser refresh after login creates another session

2004-08-17 Thread Archana Turaga
Hi,

 This is what I noticed. If a user logs in and then hits browser refresh
on the IE another session is created...it is effectively like logging in
the user again I came across this problem when tracking down another
issue. We are explicitly doing session.invalidate() in the logout and
when the browser refresh is hit a Illegal state exception is thrown. I
remove session.invalidate and everything works fine. Some System.outs in
the login function led me to the conclusion that hitting the browser
refresh does login the user the second time with a new session. This I
know could be happening because of the Post behavior of the form where
it caches the login request and then when the refresh is hit this
request is resubmitted and the login occurs again.

 

My questions:

1)   Has anybody encountered this problem? If yes how is it getting
solved since we do not want sessions hanging around just like that.

2)   Also where is the session.invalidate happening when the user
logs out? This guarantees that all the session variables are
invalidated. We are trying to do this so that we do not hanging
references around.

 

I would appreciate a response. Thanks in advance for your time and
patience.

 

Thanks and Regards,

Archana