how to detect within vm-template, what users are currently logged in?

2004-09-22 Thread dp
someone any idea?

thank you.

dp




AW: velocityPortlet and link

2004-09-02 Thread dp
Hello,

you cant change this behaviour :(

dave

-Ursprüngliche Nachricht-
Von: Ajonjolis [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 2. September 2004 18:57
An: [EMAIL PROTECTED]
Betreff: velocityPortlet and link


I have a problem with VelocityPortlets and VelocityPortletAction
My PortletA is define in registry  with default ActionA and TemplateA
In TemplateA i've got a link like this :
a href='$jslink.setAction(ActionB).addQueryData(eventSubmit_doDetail ,
1)More Info/a

When i want to go to the DoDetail , it execute fine and there I set another
template with de setTemplate(rundata, TemplateB), but when  finalize the
execution of method doDetail, inmediatly execute  the buildNormalContext of
ActionA again, and so never foward to templateB.


What it´s wrong here? I suppose the link is bad.  It's possible to execute 2
differents actions (with there respective templates) in the same
VelocityPortlet?

Really appreciate your help. 
Best regards
Alfonsina
 



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



AW: velocityPortlet and link

2004-09-02 Thread dp
Hello Jeremy,

so how has the link has to look like?

btw: how can I open an vm  action by javascript within a portlet?

thanks

-Ursprüngliche Nachricht-
Von: Jeremy Ford [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 2. September 2004 19:22
An: [EMAIL PROTECTED]
Betreff: RE: velocityPortlet and link


It looksl like the problem is in the fact that you have the setAction.  Try 
removing this.  Also, you may want to add the portlet id to the URL 
(uniquely identifies which portlet should fire the action, otherwise, if 
another instance of the same portlet exists, its action might fire).

Jeremy Ford
[EMAIL PROTECTED]


From: Ajonjolis [EMAIL PROTECTED]
Reply-To: Jetspeed Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: velocityPortlet and link
Date: Thu, 2 Sep 2004 13:57:22 -0300

I have a problem with VelocityPortlets and VelocityPortletAction
My PortletA is define in registry  with default ActionA and TemplateA
In TemplateA i've got a link like this :
a href='$jslink.setAction(ActionB).addQueryData(eventSubmit_doDetail ,

1)More Info/a

When i want to go to the DoDetail , it execute fine and there I set another

template with de setTemplate(rundata, TemplateB), but when  finalize the 
execution of method doDetail, inmediatly execute  the buildNormalContext of

ActionA again, and so never foward to templateB.


What it´s wrong here? I suppose the link is bad.  It's possible to execute 
2 differents actions (with there respective templates) in the same 
VelocityPortlet?

Really appreciate your help.
Best regards
Alfonsina


_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


-
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: velocityPortlet and link

2004-09-02 Thread dp
maybe it's possible to add some querydata to the link an redirect within the
actionclass...

-Ursprüngliche Nachricht-
Von: Ajonjolis [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 2. September 2004 20:25
An: Jetspeed Users List; [EMAIL PROTECTED]
Betreff: Re: velocityPortlet and link


But if i remove the setAction(), how could i do to set the new action to my
portlet ?
With the portletID in the url, it behaves the same way.
Any other idea? The solution  would be to use only one Action, with the
logic of both ActionA and ActionB ?

Thank you very much
ALfonsina




- Original Message - 
From: Jeremy Ford [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:22 PM
Subject: RE: velocityPortlet and link


 It looksl like the problem is in the fact that you have the setAction.
Try
 removing this.  Also, you may want to add the portlet id to the URL
 (uniquely identifies which portlet should fire the action, otherwise, if
 another instance of the same portlet exists, its action might fire).

 Jeremy Ford
 [EMAIL PROTECTED]


 From: Ajonjolis [EMAIL PROTECTED]
 Reply-To: Jetspeed Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: velocityPortlet and link
 Date: Thu, 2 Sep 2004 13:57:22 -0300
 
 I have a problem with VelocityPortlets and VelocityPortletAction
 My PortletA is define in registry  with default ActionA and TemplateA
 In TemplateA i've got a link like this :
 a href='$jslink.setAction(ActionB).addQueryData(eventSubmit_doDetail
,
 1)More Info/a
 
 When i want to go to the DoDetail , it execute fine and there I set
another
 template with de setTemplate(rundata, TemplateB), but when  finalize
the
 execution of method doDetail, inmediatly execute  the buildNormalContext
of
 ActionA again, and so never foward to templateB.
 
 
 What it´s wrong here? I suppose the link is bad.  It's possible to
execute
 2 differents actions (with there respective templates) in the same
 VelocityPortlet?
 
 Really appreciate your help.
 Best regards
 Alfonsina
 

 _
 Is your PC infected? Get a FREE online computer virus scan from McAfee®
 Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


 -
 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: Scheduled jobs in TOMCAT/JETSPEED

2004-08-30 Thread dp
Hello,

I only know that turbine can run jobs by given interval, but not at a
specific time :( 

get a freeware-sheduler and configure it there. or, under windows, use the
system-sheduler...

cu






-Ursprüngliche Nachricht-
Von: Stefano Bianchi [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 30. August 2004 09:51
An: Jetspeed Users List
Betreff: Scheduled jobs in TOMCAT/JETSPEED


Dear ALL,
I have Jetspeed 1.4-b3 running on TOMCAT 4.1.24.
I have an .exe I would like to execute periodically without any event-driven
action.
I know Turbine has some features about a Scheduler Service and probably
Jetspeed inherits it somehow.
Or is it something related to TOMCAT itself?
Can I launch an .exe (I have not the source code!) from a scheduled job?
Any hint appreciated.
Thank you
Stefano

Ing. Stefano Bianchi
Softeco Sismat S.p.A.
Via De Marini, 1 - WTC Tower
16149 Genoa (ITALY)
e-mail: [EMAIL PROTECTED]
tel: +39 010 60.26.368
fax: +39 010 60.26.350



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




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



AW: Forum Portlet

2004-08-25 Thread dp
Hello Jeff,

I'd like to buy your book. Please tell me of you're also using vm for your
book-examples.

thx a lot

cu

david


-Ursprüngliche Nachricht-
Von: Jeff Linwood [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 25. August 2004 18:11
An: Jetspeed Users List
Betreff: Re: Forum Portlet


Hi,

Dave Minter ported the open source forum YAZD to use portlets. You can
read the chapter about it in our book, shameless-plugBuilding
Portlets with the Java Portlet API/shameless-plug. Should run on any
JSR 168 compatible portal.

You can download the source code for the book (with the portlet
version of YAZD) from http://www.apress.com, our publisher. We won't
know if you bought the book or not :)

Jeff

On Wed, 25 Aug 2004 12:59:29 +0200, Stefano Bianchi
[EMAIL PROTECTED] wrote:
 Dear Filip,
 I solved this by embedding a Java Forum - YAZD in a IFramePortlet, but I
got
 a lot of problem with login, user data update etc. (Jetspeed and YAZD are
 still separate worlds in my portal...)
 Maybe someone developed a Jetpeed Forum Portlet?
 Good luck
 Stefano
 


-
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: NullPointer Exception

2004-08-22 Thread dp
please send it once more...

-Ursprüngliche Nachricht-
Von: Raghdan Rabah [mailto:[EMAIL PROTECTED] 
Gesendet: Sonntag, 22. August 2004 18:27
An: Jetspeed Users List
Betreff: NullPointer Exception


Hello,

When I changed the hsql to mssql, jetspeed gives the following NullPointer 
Exception:

.
.

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

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

Stacktrace:
  
  org.apache.jetspeed.om.profile.ProfileException: 
java.lang.NullPointerException
at 
org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallbackProfil
e
(JetspeedProfilerService.java:502)
at 
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile
(JetspeedProfilerService.java:245)

.
.
.

Any help in how to solve this.

Regards


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




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



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
applet code=com.objectplanet.chart.ext.TimeLineChartApplet
CODEBASE=.
archive=/chart.ext.jar width=700 height=350

param name=chartTitle value=2004 Monthly Revenues
param name=seriesCount value=3
.. 

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]



tomcat hangs when starting jetspeed 1.4

2004-08-09 Thread dp
hello,

I am running tomcat 5.0.24 with js 1.4

sometime I have to startup my tomcat serveral times to get him up.

the startup.bat hangs after following messages:

*

Starting Apache Jetspeed Portal/1.4

[09 Aug 2004 18:38:46  INFO] - loading component: name=torque
class=org.apache.t
orque.Torque config=C:\Apache\jakarta-tomcat-5.0.24\webapps\jetspeed\W
EB-INF\conf\Torque.properties
[09 Aug 2004 18:38:47  INFO] - loading component: name=fulcrum
class=org.apache.
fulcrum.Fulcrum config=C:\Apache\jakarta-tomcat-5.0.24\webapps\jetspee
d\WEB-INF\conf\Fulcrum.properties
[09 Aug 2004 18:38:47  INFO] - Finished initializing all services!

*

Someone knows how to avoid this?

Thank you!

Best regards

David



Why no frame-portlets?

2004-08-06 Thread dp
Hello,

why isn't it possible to put portlets into frames?

I wouldn't have to reload the whole content over and over again.

maybe you have a hint.

thanks


AW: JetspeedContentAdmin portlet

2004-07-22 Thread APACHE-FORUM.COM - DP
Hello,

I guess he can't find the file
/localhost/j_cyrille/jcm/jetspeed-content.xml ;)

-Ursprüngliche Nachricht-
Von: Cyrille GACHOT [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 22. Juli 2004 16:11
An: Jetspeed Users List
Betreff: JetspeedContentAdmin portlet


Hi everybody,

I try the JetspeedContentAdmin portlet and i can't post my article. It says
Can't use this provider: /localhost/j_cyrille/jcm/jetspeed-content.xml (No
such file or directory)

Is there any special configuration to make to use this portlet? Has anybody
used it ?

Here's my log :
2004-07-22 11:29:21,962 [TP-Processor6] ERROR JetspeedContentAdmin -
Throwable java.io.FileNotFoundException:
/localhost/j_cyrille/jcm/jetspeed-content.xml (No such file or
directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:196)
at java.io.FileOutputStream.init(FileOutputStream.java:151)
at java.io.FileWriter.init(FileWriter.java:93)
at
org.apache.jetspeed.cache.disk.JetspeedDiskCacheEntry$FileURLWriter.init(J
etspeedDiskCacheEntry.java:463)
at
org.apache.jetspeed.cache.disk.JetspeedDiskCacheEntry.getWriter(JetspeedDisk
CacheEntry.java:346)
at
org.apache.jetspeed.portal.portlets.admin.ContentMarkup.save(JetspeedContent
Admin.java:435)
at
org.apache.jetspeed.portal.portlets.admin.JetspeedContentAdmin.postArticle(J
etspeedContentAdmin.java:166)
at
org.apache.jetspeed.portal.portlets.admin.JetspeedContentAdmin.getContent(Je
tspeedContentAdmin.java:97)
...


Please help me...

cyrille


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