Re: AW: java.lang.OutOfMemoryError

2004-03-30 Thread Sez Sez
Why have i this error??? What is the solution? I need
work with this big object but always fails!!!



 --- [EMAIL PROTECTED] escribió: > What's
your question ? 
> 
> > -Ursprüngliche Nachricht-
> > Von:Sez Sez [SMTP:[EMAIL PROTECTED]
> > Gesendet am:Mittwoch, 31. März 2004 09:34
> > An: [EMAIL PROTECTED]
> > Betreff:java.lang.OutOfMemoryError 
> > 
> > I have a portlet that it extends
> > VelocityPortletAction. This, in method
> > buildNormalContext call a javabean. This javabean
> > create a big object ( a Arraylist with 30.000
> > arraylist inside). When i return this object to
> > buildNormalContext method, this fails and I see
> this
> > errors:
> > 
> > 
> > The error in portlet window:
> > 
> > org.apache.turbine.util.TurbineException: Error
> > rendering Velocity template:
> > /controls/html/jetspeed.vm: Invocation of method
> > 'getContent' in class
> >
>
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapp
> > er
> > threw exception class java.lang.OutOfMemoryError :
> > null
> > 
> > 
> > and error log is
> > 
> > 2004-03-31 09:18:58,229 [http8080-Processor24]
> ERROR
> > VelocityPortletControl - Exception while creating
> > content 
> >
>
org.apache.velocity.exception.MethodInvocationException:
> > Invocation of method 'getContent' in  class
> >
>
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapp
> > er
> > threw exception class java.lang.OutOfMemoryError :
> > null
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:3
> > 09)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.
> > java:207)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.j
> > ava:250)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStateme
> > nt.java:109)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStateme
> > nt.java:109)
> > at
> >
>
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:
> > 271)
> > 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)
> > rethrown as 
> > org.apache.turbine.util.TurbineException: Error
> > rendering Velocity template:
> > /controls/html/jetspeed.vm: Invocation of method
> > 'getContent' in  class
> >
>
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapp
> > er
> > threw exception class java.lang.OutOfMemoryError :
> > null
> > at
> >
>
org.apache.turbine.services.velocity.TurbineVelocityService.renderingError
> > (TurbineVelocityService.java:535)
> > at
> >
>
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(
> > TurbineVelocityService.java:501)
> > at
> >
>
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(
> > TurbineVelocityService.java:338)
> > at
> >
>
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(Turbine
> > Velocity.java:144)
> > at
> >
>
org.apache.jetspeed.portal.controls.VelocityPortletControl.getContent(Velo
> > cityPortletControl.java:169)
> > at
> >
> sun.reflect.GeneratedMethodAccessor93.invoke(Unknown
> > Source)
> > at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> > pl.java:25)
> > at
> java.lang.reflect.Method.invoke(Method.java:324)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:2
> > 60)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.
> > java:207)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.j
> > ava:250)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
> > at
> >
>
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.j
> > ava:153)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
> > at
> >
>
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.j
> > ava:153)
> > at
> >
>
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:
> > 271)
> > 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.service

AW: java.lang.OutOfMemoryError

2004-03-30 Thread Robert . Naczinski
What's your question ? 

> -Ursprüngliche Nachricht-
> Von:  Sez Sez [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Mittwoch, 31. März 2004 09:34
> An:   [EMAIL PROTECTED]
> Betreff:  java.lang.OutOfMemoryError 
> 
> I have a portlet that it extends
> VelocityPortletAction. This, in method
> buildNormalContext call a javabean. This javabean
> create a big object ( a Arraylist with 30.000
> arraylist inside). When i return this object to
> buildNormalContext method, this fails and I see this
> errors:
> 
> 
> The error in portlet window:
> 
> org.apache.turbine.util.TurbineException: Error
> rendering Velocity template:
> /controls/html/jetspeed.vm: Invocation of method
> 'getContent' in class
> org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapp
> er
> threw exception class java.lang.OutOfMemoryError :
> null
> 
> 
> and error log is
> 
> 2004-03-31 09:18:58,229 [http8080-Processor24] ERROR
> VelocityPortletControl - Exception while creating
> content 
> org.apache.velocity.exception.MethodInvocationException:
> Invocation of method 'getContent' in  class
> org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapp
> er
> threw exception class java.lang.OutOfMemoryError :
> null
>   at
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:3
> 09)
>   at
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.
> java:207)
>   at
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.j
> ava:250)
>   at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
>   at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStateme
> nt.java:109)
>   at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
>   at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStateme
> nt.java:109)
>   at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:
> 271)
>   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)
> rethrown as 
> org.apache.turbine.util.TurbineException: Error
> rendering Velocity template:
> /controls/html/jetspeed.vm: Invocation of method
> 'getContent' in  class
> org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapp
> er
> threw exception class java.lang.OutOfMemoryError :
> null
>   at
> org.apache.turbine.services.velocity.TurbineVelocityService.renderingError
> (TurbineVelocityService.java:535)
>   at
> org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(
> TurbineVelocityService.java:501)
>   at
> org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(
> TurbineVelocityService.java:338)
>   at
> org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(Turbine
> Velocity.java:144)
>   at
> org.apache.jetspeed.portal.controls.VelocityPortletControl.getContent(Velo
> cityPortletControl.java:169)
>   at
> sun.reflect.GeneratedMethodAccessor93.invoke(Unknown
> Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:324)
>   at
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:2
> 60)
>   at
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.
> java:207)
>   at
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.j
> ava:250)
>   at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
>   at
> org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344)
>   at
> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.j
> ava:153)
>   at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
>   at
> org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344)
>   at
> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.j
> ava:153)
>   at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:
> 271)
>   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(
> TurbineVelocityService.java:496)
>   at
> org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(
> TurbineVelocityService.java:338)
>   at
> org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(Turbine
> Velocity.java:144)
>   at
> org.apache.jetspeed.portal.controllers.VelocityPortletController.getConten
> t(VelocityPortle

java.lang.OutOfMemoryError

2004-03-30 Thread Sez Sez
I have a portlet that it extends
VelocityPortletAction. This, in method
buildNormalContext call a javabean. This javabean
create a big object ( a Arraylist with 30.000
arraylist inside). When i return this object to
buildNormalContext method, this fails and I see this
errors:


The error in portlet window:

org.apache.turbine.util.TurbineException: Error
rendering Velocity template:
/controls/html/jetspeed.vm: Invocation of method
'getContent' in class
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapper
threw exception class java.lang.OutOfMemoryError :
null


and error log is

2004-03-31 09:18:58,229 [http8080-Processor24] ERROR
VelocityPortletControl - Exception while creating
content 
org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'getContent' in  class
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapper
threw exception class java.lang.OutOfMemoryError :
null
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
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)
rethrown as 
org.apache.turbine.util.TurbineException: Error
rendering Velocity template:
/controls/html/jetspeed.vm: Invocation of method
'getContent' in  class
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapper
threw exception class java.lang.OutOfMemoryError :
null
at
org.apache.turbine.services.velocity.TurbineVelocityService.renderingError(TurbineVelocityService.java:535)
at
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:501)
at
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:338)
at
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:144)
at
org.apache.jetspeed.portal.controls.VelocityPortletControl.getContent(VelocityPortletControl.java:169)
at
sun.reflect.GeneratedMethodAccessor93.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
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(TurbineVelocityService.java:496)
at
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:338)
at
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:144)
at
org.apache.jetspeed.portal.controllers.VelocityPortletController.getContent(VelocityPortletController.java:137)
at
org.apache.jetspeed.portal.BasePortletSet.getContent(BasePortletSet.java:386)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.

RE: How to use java code in a vm file ?

2004-03-30 Thread FARINE Arnaud - SOP
Thx for your help ... but it isn't simple to develop this pull ...

Merci quand même ;-)

Arnaud FARINE
Ingénieur d'études
 
Atos Origin
System Intégration
150, Allée Pierre Ziller 
06905 Sophia-Antipolis 
France
 
Phone +33  (0)49 715 7918
Fax +33  (0)49 715 7901
[EMAIL PROTECTED]
www.atosorigin.fr  


-Message d'origine-
De : Robert Gombotz [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 31 mars 2004 00:18
À : Jetspeed Users List
Objet : Re: How to use java code in a vm file ?


glad, I could be of help!

bonne chance!
rob


- Original Message - 
From: "FARINE Arnaud - SOP" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 11:30 AM
Subject: RE: How to use java code in a vm file ?


Thx, I think to use the pull tool solution...It isn't simple date on a vm
file !! ;-)

Best Regards

Arnaud FARINE
Ingénieur d'études

Atos Origin
System Intégration
150, Allée Pierre Ziller
06905 Sophia-Antipolis
France

Phone +33  (0)49 715 7918
Fax +33  (0)49 715 7901
[EMAIL PROTECTED]
www.atosorigin.fr 


-Message d'origine-
De : Robert Gombotz [mailto:[EMAIL PROTECTED]
Envoyé : lundi 29 mars 2004 11:14
À : Jetspeed Users List
Objet : Re: How to use java code in a vm file ?


well, what I meant is to create a velocityPortlet. you register it in e.g.
local-portlets.xreg as parent=VelocityPortlet. you have to specify 2
elements, the action and the template. the template is your vm-file (in
templates/vm/portlets/html), the action is your java action class, part of
the portlets.actions package.
Once the portlet works, you add it to the psml of "anon"-user, then it would
be displayed, when a new user arrives at the site.
If you only want the date in a raw vm-file, that is not connected to an
action, you could create a so called Pull-Tool. you can see them in some of
the original templates, for example the $l10n (localization) is a pull tool,
also the $jslink for links. pull tools you would have to register in
TurbineRessources and they have to extend a certain java-class. check in the
jetspeed source for one of the 2 above mentioned pull-tools (or for any
others in TR.props), you should then be able to create your own $date-pull
tool, which you can then use in any vm-template of your app.

regards
rob

- Original Message - 
From: "FARINE Arnaud - SOP" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 11:07 AM
Subject: RE: How to use java code in a vm file ?


ok,

If I would like to use your solution what action-class in called at first to
display the homepage ? (when user arrives at the site), to change it and put
the date in the context ?

Regards

Arnaud FARINE
Ingénieur d'études

Atos Origin
System Intégration
150, Allée Pierre Ziller
06905 Sophia-Antipolis
France

Phone +33  (0)49 715 7918
Fax +33  (0)49 715 7901
[EMAIL PROTECTED]
www.atosorigin.fr 


-Message d'origine-
De : Robert Gombotz [mailto:[EMAIL PROTECTED]
Envoyé : lundi 29 mars 2004 10:28
À : Jetspeed Users List
Objet : Re: How to use java code in a vm file ?


I believe, you can't use Java in a vm file at all. It's only interpeted by
the VT Engine.
To get the date, you would have to get it in your action-class (I guess you
are talking about a velocity-portlet...) and put it into the context.

in the action class:

//get the date
context.put.("date", dateVariable);

in the vm-template

Today's date is : $date 



hope, I could be of any help

rob



- Original Message - 
From: "FARINE Arnaud - SOP" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 9:35 AM
Subject: How to use java code in a vm file ?


Hi,

I want to use a java code in a vm file (top.vm) to obtain the system date.
In a VM file I don't success to use java code...Or if I can only use the
velocity language, how can I obtain the date ?

Regards


Arnaud FARINE
Ingénieur d'études

Atos Origin
System Intégration
150, Allée Pierre Ziller
06905 Sophia-Antipolis
France

Phone +33  (0)49 715 7918
Fax +33  (0)49 715 7901
[EMAIL PROTECTED]
www.atosorigin.fr 




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


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



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


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




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

Re: pane justification?

2004-03-30 Thread Stefano Bianchi
Dear Andrew,
if you use jsp for layout look at
[TOMCAT]\webapps\jetspeed\WEB-INF\templates\jsp\layouts\html\default.jsp


<%// Enable for Debugging ("Included servlet Error: 500") Including:
screenJsp %>
  


be sure valign="top".
If you use vm look at
[TOMCAT]\\webapps\jetspeed\WEB-INF\templates\vm\layouts\html\default.vm


  $screen_placeholder

be sure valign="top".

Default.jsp and Default.vm are quite powerful and easy to use for modifying
the general layout of your site.

Hope it helps, good luck
Stefano


- Original Message - 
From: "Sturtz, Andrew" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 30, 2004 11:49 PM
Subject: RE: pane justification?


After a user has logged into my portal the panes in a tabular view are in
the middle of the page, I need them to be right below the top banner.
Thanks for responding if you need any further clarification please let me
know.
Sincerely,
Andrew Sturtz



-Original Message-
From: Raphaël Luta [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 4:41 PM
To: Jetspeed Users List
Subject: Re: pane justification?


Le 30 mars 04, à 19:48, Sturtz, Andrew a écrit :

> Does anyone know what the parameter is that needs to be set to change
> where the panes in a portal appear on the page.  I need to set it up
> so that these panes are justified to the top of the page.  Any help
> would be greatly appreciated.

I'm sorry, I don't understand your question !
Can you elaborate somewhat on your requirements ? what do you mean by "panes
justified to the top" ?

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


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




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




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



Re: NullPointerException while rendering JSP template

2004-03-30 Thread Marphil
Hi Jean,

I think I had the got the same exception when I tried
to set

topnav.vm=top_default.jsp

This thread might help you solve your issue.

Thanks.

Marphil



--- Stefano Bianchi <[EMAIL PROTECTED]>
wrote:
> From: "Stefano Bianchi" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List"
> <[EMAIL PROTECTED]>
> Subject: Re: Jetspeed 1.4 - trouble using jsp
> instead of velocity template
> Date: Fri, 26 Mar 2004 09:14:14 +0100
> 
> Dear Murphil,
> 
> the one I suggested should be the only change in
> JR.p relative to this
> specific issue.
> 
> System should then ignore topnav.vm, leftnav.vm,
> bottomnav.vm when
> formatting the portal layout.
> 
> You just have to make all changes you need (images,
> background) in relative
> files in
>
[TOMCAT]\webapps\jetspeed\WEB-INF\templates\jsp\navigations\html.
> 
> Properties files are long to read and analyse, but
> they are quite powerful!
> 
> Good luck
> Stefano
> 
> 
> - Original Message - 
> From: "Marphil" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List"
> <[EMAIL PROTECTED]>
> Sent: Friday, March 26, 2004 8:56 AM
> Subject: Re: Jetspeed 1.4 - trouble using jsp
> instead of velocity template
> 
> 
> > Hi Stefano,
> >
> > Do I still need to change the following in JR.p?
> > topnav.vm
> > leftnav.vm
> > bottomnav.vm
> >
> > Thank you very much!
> >
> >
> > Marphil
> >
> >
> > --- Stefano Bianchi <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > Dear Marphil,
> > > have you changed the following line in
> > > TourbineResources.properties in
> > > [TOMCAT]\webapps\jetspeed\WEB-INF\conf?
> > > You have to define which template you want to
> use,
> > > but consider (this is
> > > what I experienced) that if you choose to use
> jsp,
> > > portal will be managed
> > > with a mix of vm and jsp, and not only with jsp
> > > (there are no controls nor
> > > controllers implemented in jsp, but I'm still
> using
> > > Jetspeed 1.4-b3...)
> > >
> > > #
> > >
> >
>
---
> > > #
> > > #  T E M P L A T E  S E R V I C E
> > > #
> > > #
> > >
> >
>
---
> > >
> > > # Roughly, the number of templates in each
> category.
> > > #
> > > # Defaults: layout=2, navigation=10, screen=50
> > >
> > > services.TemplateService.layout.cache.size=2
> > >
> services.TemplateService.navigation.cache.size=10
> > > services.TemplateService.screen.cache.size=50
> > > #
> > > services.TemplateService.default.extension=vm
> > > --
> > > -@@@
> > > services.TemplateService.default.extension=jsp
> > >
> > > Then if you want to change your top default just
> > > modify top_default.jsp in
> > >
> >
>
[TOMCAT]\webapps\jetspeed\WEB-INF\templates\jsp\navigations\html
> > > and it will
> > > work (no restart is needed if you change
> something
> > > on the fly).
> > >
> > > Best regards
> > > Stefano
> > >
> > >
> > >
> > > - Original Message - 
> > > From: "Marphil" <[EMAIL PROTECTED]>
> > > To: "Jetspeed Users List"
> > > <[EMAIL PROTECTED]>
> > > Sent: Friday, March 26, 2004 8:14 AM
> > > Subject: Jetspeed 1.4 - trouble using jsp
> instead of
> > > velocity template
> > >
> > >
> > > > Hi,
> > > >
> > > > Can anybody share how did they managed to use
> jsp
> > > on
> > > > their portals?
> > > >
> > > > I tried...
> > > > topnav.vm=top_default.jsp
> > > > but is throwing a JasperException.
> > > >
> > > > Thanks.
> > > >
> > > >
> > > > Marphil
> > > >





--- Jean-Baptiste Lievremont
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> My JSP template for the left navigation displays "
> Error processing 
> navigation template:/html/left.jsp using module:
> BaseJspNavigation" at 
> the end of the generated HTML. The rest of the
> content is as expected.
> 
> I am running Jetspeed 1.4 and struts-menu 1.3 in
> tomcat 5.0.19, JDK 
> 1.4.2_02 with sparcv9 extensions, sun solaris 8.
> 
> The 'turbine.log' file reads :
> 
> 2004-03-30 17:02:38,522 [http8080-Processor2] ERROR 
> JetspeedLoggingService  - Error processing
> navigation 
> template:/html/left.jsp using module:
> BaseJspNavigation
> java.lang.NullPointerException
> at 
>
org.apache.turbine.util.template.TemplateNavigation.toString(TemplateNavigation.java:127)
> at 
>
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:321)
> at 
>
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
> at 
>
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
> at 
>
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
> 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(TurbineVelocityService.java:494)
> at 
>
org.ap

Re: Hide the portlet name in the pane bar?

2004-03-30 Thread Sam
> Hi all,
> I can make the links to another pane on the current page(pane), or to another page 
> in the portal(PSML),
>  
> //The following is my code:
>  
> JetspeedLink link=JetspeedLinkFactory.getInstance(rundata);
>  DynamicURI duri=link.getPaneByName("PORTLET1");
>rundata.getSession().setAttribute("pane_name",  
> rundata.getRequest().getParameter("pane_name"));
>   rundata.setRedirectURI(duri.toString());
>  JetspeedLinkFactory.putInstance(link);
> //
>  
> but how can I just show up one portlet name and hide another porlet name in the pane 
> bar ?
>  
>  
> Thanks in Advance
>  
> Claire Lee
> 
> 


 

I know you can insert 
into PSML,but when you delete a pane and want to set another pane, you
must insert it again.

1.Is there any other way to do it easyily?
2.Another problem,when user delete his pane and want to
set another pane, then he has no rights to change PSML.
How can I solve it?


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



Re: Hide Categories of Portlets from Groups of Users

2004-03-30 Thread David Sean Taylor
On Tuesday, March 30, 2004, at 04:00  PM, Bob Fleischman wrote:

I've traced into this. In CustomSetAction the permission that is being
checked is 'View' access. Therefore the "user-view_admin-all" does not
prevent them from selecting the portlet for their home page.
if (JetspeedSecurity.checkPermission((JetspeedUser) data.getUser(),
new PortalResource(entry),
JetspeedSecurity.PERMISSION_VIEW)
I've been looking at some of the other permissions. What is the 
difference
between 'personalize' and 'customize'?

Personalize is not used, but you may be on to something there
If we check the personalize permission when listing portlets, this 
could work as a special permission to list portlets in the customizer's 
portlet list

Bob

Ps. I've got a feeling I'm going to need to create my own custom
CustomSetAction.
-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]
Sent: Monday, March 29, 2004 8:28 PM
To: Jetspeed Users List
Subject: Re: Hide Categories of Portlets from Groups of Users
On Monday, March 29, 2004, at 05:39  PM, Bob Fleischman wrote:

On a related note. . .

Is there a security setting on a given portlet so that only an admin
can add
it to a page?
Sure, just setup a security constraint using the Security Browser (from
the Admin UI)
There is one already deployed with the default deployment called
"user-view_admin-all" that may work for you
If you want to use that constraint for all portlet instances in the
system, go to the Portlet Browser,
find your portlet, edit it, go to the first tab (Information) and set
the Security Reference there.
You can also override the constraint on a per portlet instance basis
with the portlet customizer
We have some portlets we only want on public pages and we do not want
users
to be able to put them on their home pages.
Thanks

Bob
-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 28, 2004 5:38 PM
To: Jetspeed Users List
Subject: Re: Hide Categories of Portlets from Groups of Users
On Sunday, March 28, 2004, at 04:19  PM, Bob Fleischman wrote:

I know I can prevent users from seeing individual portlets in the 
PSML
Customizer by setting security on the portlet accordingly.



Is it possible to set security on an entire category of portlets so
that it
does not show up in the drop down list?
That would take some custom code.
Currently there are no security constraints associations on categories


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

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office]   +01 707 773-4646
[mobile] +01 707 529 9194


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


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

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office]   +01 707 773-4646
[mobile] +01 707 529 9194


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


Hide the portlet name in the pane bar?

2004-03-30 Thread 李 琬菁
Hi all,
I can make the links to another pane on the current page(pane), or to another page in 
the portal(PSML),
 
//The following is my code:
 
JetspeedLink link=JetspeedLinkFactory.getInstance(rundata);
 DynamicURI duri=link.getPaneByName("PORTLET1");
   rundata.getSession().setAttribute("pane_name",  
rundata.getRequest().getParameter("pane_name"));
  rundata.setRedirectURI(duri.toString());
 JetspeedLinkFactory.putInstance(link);
//
 
but how can I just show up one portlet name and hide another porlet name in the pane 
bar ?
 
 
Thanks in Advance
 
Claire Lee




-
每天都 Yahoo!奇摩 
海的顏色、風的氣息、愛你的溫度,盡在信紙底圖
信紙底圖

RE: Hide Categories of Portlets from Groups of Users

2004-03-30 Thread Bob Fleischman
I've traced into this. In CustomSetAction the permission that is being
checked is 'View' access. Therefore the "user-view_admin-all" does not
prevent them from selecting the portlet for their home page.

if (JetspeedSecurity.checkPermission((JetspeedUser) data.getUser(),
new PortalResource(entry),
JetspeedSecurity.PERMISSION_VIEW)

I've been looking at some of the other permissions. What is the difference
between 'personalize' and 'customize'?

Bob

Ps. I've got a feeling I'm going to need to create my own custom
CustomSetAction.


-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 29, 2004 8:28 PM
To: Jetspeed Users List
Subject: Re: Hide Categories of Portlets from Groups of Users


On Monday, March 29, 2004, at 05:39  PM, Bob Fleischman wrote:

> On a related note. . .
>
> Is there a security setting on a given portlet so that only an admin 
> can add
> it to a page?
>
Sure, just setup a security constraint using the Security Browser (from 
the Admin UI)
There is one already deployed with the default deployment called 
"user-view_admin-all" that may work for you

If you want to use that constraint for all portlet instances in the 
system, go to the Portlet Browser,
find your portlet, edit it, go to the first tab (Information) and set 
the Security Reference there.

You can also override the constraint on a per portlet instance basis 
with the portlet customizer

> We have some portlets we only want on public pages and we do not want 
> users
> to be able to put them on their home pages.
>
> Thanks
>
> Bob
> -Original Message-
> From: David Sean Taylor [mailto:[EMAIL PROTECTED]
> Sent: Sunday, March 28, 2004 5:38 PM
> To: Jetspeed Users List
> Subject: Re: Hide Categories of Portlets from Groups of Users
>
>
> On Sunday, March 28, 2004, at 04:19  PM, Bob Fleischman wrote:
>
>> I know I can prevent users from seeing individual portlets in the PSML
>> Customizer by setting security on the portlet accordingly.
>>
>>
>>
>> Is it possible to set security on an entire category of portlets so
>> that it
>> does not show up in the drop down list?
>>
> That would take some custom code.
> Currently there are no security constraints associations on categories
>
>
>
> -
> 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]
>
>

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office]   +01 707 773-4646
[mobile] +01 707 529 9194



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



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



RE: Hide Categories of Portlets from Groups of Users

2004-03-30 Thread Bob Fleischman
I tried this and no joy.

I had a portlet already set to "user-view_admin-all". I logged in as a
regular user, clicked on the customize icon, pressed "Add Portlet", and it
was still on the list.

I have portlets that ordinary users should not be allowed to place on their
home page. So I am hunting for ways to high them from the "Add Portlet"
action.

Thanks

Bob

-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 29, 2004 8:28 PM
To: Jetspeed Users List
Subject: Re: Hide Categories of Portlets from Groups of Users


On Monday, March 29, 2004, at 05:39  PM, Bob Fleischman wrote:

> On a related note. . .
>
> Is there a security setting on a given portlet so that only an admin 
> can add
> it to a page?
>
Sure, just setup a security constraint using the Security Browser (from 
the Admin UI)
There is one already deployed with the default deployment called 
"user-view_admin-all" that may work for you

If you want to use that constraint for all portlet instances in the 
system, go to the Portlet Browser,
find your portlet, edit it, go to the first tab (Information) and set 
the Security Reference there.

You can also override the constraint on a per portlet instance basis 
with the portlet customizer

> We have some portlets we only want on public pages and we do not want 
> users
> to be able to put them on their home pages.
>
> Thanks
>
> Bob
> -Original Message-
> From: David Sean Taylor [mailto:[EMAIL PROTECTED]
> Sent: Sunday, March 28, 2004 5:38 PM
> To: Jetspeed Users List
> Subject: Re: Hide Categories of Portlets from Groups of Users
>
>
> On Sunday, March 28, 2004, at 04:19  PM, Bob Fleischman wrote:
>
>> I know I can prevent users from seeing individual portlets in the PSML
>> Customizer by setting security on the portlet accordingly.
>>
>>
>>
>> Is it possible to set security on an entire category of portlets so
>> that it
>> does not show up in the drop down list?
>>
> That would take some custom code.
> Currently there are no security constraints associations on categories
>
>
>
> -
> 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]
>
>

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office]   +01 707 773-4646
[mobile] +01 707 529 9194



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



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



RE: Hide Categories of Portlets from Groups of Users

2004-03-30 Thread Bob Fleischman
I'll give it a try. Thanks. I knew I could use that to prevent
customization. I didn't realize it would prevent selection.

-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 29, 2004 8:28 PM
To: Jetspeed Users List
Subject: Re: Hide Categories of Portlets from Groups of Users


On Monday, March 29, 2004, at 05:39  PM, Bob Fleischman wrote:

> On a related note. . .
>
> Is there a security setting on a given portlet so that only an admin 
> can add
> it to a page?
>
Sure, just setup a security constraint using the Security Browser (from 
the Admin UI)
There is one already deployed with the default deployment called 
"user-view_admin-all" that may work for you

If you want to use that constraint for all portlet instances in the 
system, go to the Portlet Browser,
find your portlet, edit it, go to the first tab (Information) and set 
the Security Reference there.

You can also override the constraint on a per portlet instance basis 
with the portlet customizer

> We have some portlets we only want on public pages and we do not want 
> users
> to be able to put them on their home pages.
>
> Thanks
>
> Bob
> -Original Message-
> From: David Sean Taylor [mailto:[EMAIL PROTECTED]
> Sent: Sunday, March 28, 2004 5:38 PM
> To: Jetspeed Users List
> Subject: Re: Hide Categories of Portlets from Groups of Users
>
>
> On Sunday, March 28, 2004, at 04:19  PM, Bob Fleischman wrote:
>
>> I know I can prevent users from seeing individual portlets in the PSML
>> Customizer by setting security on the portlet accordingly.
>>
>>
>>
>> Is it possible to set security on an entire category of portlets so
>> that it
>> does not show up in the drop down list?
>>
> That would take some custom code.
> Currently there are no security constraints associations on categories
>
>
>
> -
> 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]
>
>

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office]   +01 707 773-4646
[mobile] +01 707 529 9194



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



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



Re: How to use java code in a vm file ?

2004-03-30 Thread Robert Gombotz
glad, I could be of help!

bonne chance!
rob


- Original Message - 
From: "FARINE Arnaud - SOP" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 11:30 AM
Subject: RE: How to use java code in a vm file ?


Thx, I think to use the pull tool solution...It isn't simple date on a vm
file !! ;-)

Best Regards

Arnaud FARINE
Ingénieur d'études

Atos Origin
System Intégration
150, Allée Pierre Ziller
06905 Sophia-Antipolis
France

Phone +33  (0)49 715 7918
Fax +33  (0)49 715 7901
[EMAIL PROTECTED]
www.atosorigin.fr 


-Message d'origine-
De : Robert Gombotz [mailto:[EMAIL PROTECTED]
Envoyé : lundi 29 mars 2004 11:14
À : Jetspeed Users List
Objet : Re: How to use java code in a vm file ?


well, what I meant is to create a velocityPortlet. you register it in e.g.
local-portlets.xreg as parent=VelocityPortlet. you have to specify 2
elements, the action and the template. the template is your vm-file (in
templates/vm/portlets/html), the action is your java action class, part of
the portlets.actions package.
Once the portlet works, you add it to the psml of "anon"-user, then it would
be displayed, when a new user arrives at the site.
If you only want the date in a raw vm-file, that is not connected to an
action, you could create a so called Pull-Tool. you can see them in some of
the original templates, for example the $l10n (localization) is a pull tool,
also the $jslink for links. pull tools you would have to register in
TurbineRessources and they have to extend a certain java-class. check in the
jetspeed source for one of the 2 above mentioned pull-tools (or for any
others in TR.props), you should then be able to create your own $date-pull
tool, which you can then use in any vm-template of your app.

regards
rob

- Original Message - 
From: "FARINE Arnaud - SOP" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 11:07 AM
Subject: RE: How to use java code in a vm file ?


ok,

If I would like to use your solution what action-class in called at first to
display the homepage ? (when user arrives at the site), to change it and put
the date in the context ?

Regards

Arnaud FARINE
Ingénieur d'études

Atos Origin
System Intégration
150, Allée Pierre Ziller
06905 Sophia-Antipolis
France

Phone +33  (0)49 715 7918
Fax +33  (0)49 715 7901
[EMAIL PROTECTED]
www.atosorigin.fr 


-Message d'origine-
De : Robert Gombotz [mailto:[EMAIL PROTECTED]
Envoyé : lundi 29 mars 2004 10:28
À : Jetspeed Users List
Objet : Re: How to use java code in a vm file ?


I believe, you can't use Java in a vm file at all. It's only interpeted by
the VT Engine.
To get the date, you would have to get it in your action-class (I guess you
are talking about a velocity-portlet...) and put it into the context.

in the action class:

//get the date
context.put.("date", dateVariable);

in the vm-template

Today's date is : $date 



hope, I could be of any help

rob



- Original Message - 
From: "FARINE Arnaud - SOP" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 9:35 AM
Subject: How to use java code in a vm file ?


Hi,

I want to use a java code in a vm file (top.vm) to obtain the system date.
In a VM file I don't success to use java code...Or if I can only use the
velocity language, how can I obtain the date ?

Regards


Arnaud FARINE
Ingénieur d'études

Atos Origin
System Intégration
150, Allée Pierre Ziller
06905 Sophia-Antipolis
France

Phone +33  (0)49 715 7918
Fax +33  (0)49 715 7901
[EMAIL PROTECTED]
www.atosorigin.fr 




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


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



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


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




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



RE: pane justification?

2004-03-30 Thread Sturtz, Andrew
After a user has logged into my portal the panes in a tabular view are in the middle 
of the page, I need them to be right below the top banner.  Thanks for responding if 
you need any further clarification please let me know.
Sincerely,
Andrew Sturtz

 

-Original Message-
From: Raphaël Luta [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 30, 2004 4:41 PM
To: Jetspeed Users List
Subject: Re: pane justification?


Le 30 mars 04, à 19:48, Sturtz, Andrew a écrit :

> Does anyone know what the parameter is that needs to be set to change 
> where the panes in a portal appear on the page.  I need to set it up 
> so that these panes are justified to the top of the page.  Any help 
> would be greatly appreciated.

I'm sorry, I don't understand your question !
Can you elaborate somewhat on your requirements ? what do you mean by "panes justified 
to the top" ?

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


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




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



Re: NullPointerException while rendering JSP template

2004-03-30 Thread Raphaël Luta
Le 30 mars 04, à 18:19, Jean-Baptiste Lievremont a écrit :

Hi,

My JSP template for the left navigation displays " Error processing  
navigation template:/html/left.jsp using module: BaseJspNavigation" at  
the end of the generated HTML. The rest of the content is as expected.

I am running Jetspeed 1.4 and struts-menu 1.3 in tomcat 5.0.19, JDK  
1.4.2_02 with sparcv9 extensions, sun solaris 8.

The 'turbine.log' file reads :

2004-03-30 17:02:38,522 [http8080-Processor2] ERROR  
JetspeedLoggingService  - Error processing navigation  
template:/html/left.jsp using module: BaseJspNavigation
java.lang.NullPointerException
   at  
org.apache.turbine.util.template.TemplateNavigation.toString(TemplateNa 
vigation.java:127)
   at  
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReferenc 
e.java:321)

Am I reading your log correctly and you're using a JSP navigation  
within a Velocity layout ?
It's supposed to work OK but this is not a case we have thouroughly  
tested I guess.

If you send me the detailed config and template files I can try to see  
where the issue is but I'd
simply recommend you to stick to a single layout technology (JSP or  
velocity) for
your layout and navigations.

--
Raphaël Luta - [EMAIL PROTECTED]
Apache Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: pane justification?

2004-03-30 Thread Raphaël Luta
Le 30 mars 04, à 19:48, Sturtz, Andrew a écrit :

Does anyone know what the parameter is that needs to be set to change
where the panes in a portal appear on the page.  I need to set it up so
that these panes are justified to the top of the page.  Any help would
be greatly appreciated.
I'm sorry, I don't understand your question !
Can you elaborate somewhat on your requirements ? what do you mean
by "panes justified to the top" ?
--
Raphaël Luta - [EMAIL PROTECTED]
Apache Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Requested Action not found...

2004-03-30 Thread sridhar ramalingam
Hi All,
I'm getting this error in my jetspeed.log, please help me in getting rid
of this error.
 
Thanks!
Sridhar
 
 
2004-03-30 12:57:14,908 [http8080-Processor4] ERROR GenericMVCPortlet -
GenericMVCPortlet - error executing action
java.lang.ClassNotFoundException: 
 
 Requested Action not found: portlets.TutorialStockQuoteAction8
 Turbine looked in the following modules.packages path: 
 [org.apache.jetspeed.modules, org.apache.turbine.modules]
 
 at
org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java:17
4)
 at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
 at
org.apache.jetspeed.portal.portlets.GenericMVCPortlet.buildContent(Gener
icMVCPortlet.java:293)
 at
org.apache.jetspeed.portal.portlets.GenericMVCPortlet.getContent(Generic
MVCPortlet.java:224)

 
Here is my portlet registry
 


Tutorial Stock Portfolio (JSP)
Tutorial Stock Portfolio Portlet using
JSP

 
org.apache.jetspeed.portal.portlets.JspPortlet




Symbols
List of comma-separated stock
symbols





tutorial




RE: How to use java code in a vm file ?

2004-03-30 Thread FARINE Arnaud - SOP
Thx, I think to use the pull tool solution...It isn't simple date on a vm
file !! ;-)

Best Regards

Arnaud FARINE
Ingénieur d'études
 
Atos Origin
System Intégration
150, Allée Pierre Ziller 
06905 Sophia-Antipolis 
France
 
Phone +33  (0)49 715 7918
Fax +33  (0)49 715 7901
[EMAIL PROTECTED]
www.atosorigin.fr  


-Message d'origine-
De : Robert Gombotz [mailto:[EMAIL PROTECTED]
Envoyé : lundi 29 mars 2004 11:14
À : Jetspeed Users List
Objet : Re: How to use java code in a vm file ?


well, what I meant is to create a velocityPortlet. you register it in e.g.
local-portlets.xreg as parent=VelocityPortlet. you have to specify 2
elements, the action and the template. the template is your vm-file (in
templates/vm/portlets/html), the action is your java action class, part of
the portlets.actions package.
Once the portlet works, you add it to the psml of "anon"-user, then it would
be displayed, when a new user arrives at the site.
If you only want the date in a raw vm-file, that is not connected to an
action, you could create a so called Pull-Tool. you can see them in some of
the original templates, for example the $l10n (localization) is a pull tool,
also the $jslink for links. pull tools you would have to register in
TurbineRessources and they have to extend a certain java-class. check in the
jetspeed source for one of the 2 above mentioned pull-tools (or for any
others in TR.props), you should then be able to create your own $date-pull
tool, which you can then use in any vm-template of your app.

regards
rob

- Original Message - 
From: "FARINE Arnaud - SOP" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 11:07 AM
Subject: RE: How to use java code in a vm file ?


ok,

If I would like to use your solution what action-class in called at first to
display the homepage ? (when user arrives at the site), to change it and put
the date in the context ?

Regards

Arnaud FARINE
Ingénieur d'études

Atos Origin
System Intégration
150, Allée Pierre Ziller
06905 Sophia-Antipolis
France

Phone +33  (0)49 715 7918
Fax +33  (0)49 715 7901
[EMAIL PROTECTED]
www.atosorigin.fr 


-Message d'origine-
De : Robert Gombotz [mailto:[EMAIL PROTECTED]
Envoyé : lundi 29 mars 2004 10:28
À : Jetspeed Users List
Objet : Re: How to use java code in a vm file ?


I believe, you can't use Java in a vm file at all. It's only interpeted by
the VT Engine.
To get the date, you would have to get it in your action-class (I guess you
are talking about a velocity-portlet...) and put it into the context.

in the action class:

//get the date
context.put.("date", dateVariable);

in the vm-template

Today's date is : $date 



hope, I could be of any help

rob



- Original Message - 
From: "FARINE Arnaud - SOP" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 9:35 AM
Subject: How to use java code in a vm file ?


Hi,

I want to use a java code in a vm file (top.vm) to obtain the system date.
In a VM file I don't success to use java code...Or if I can only use the
velocity language, how can I obtain the date ?

Regards


Arnaud FARINE
Ingénieur d'études

Atos Origin
System Intégration
150, Allée Pierre Ziller
06905 Sophia-Antipolis
France

Phone +33  (0)49 715 7918
Fax +33  (0)49 715 7901
[EMAIL PROTECTED]
www.atosorigin.fr 




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



pane justification?

2004-03-30 Thread Sturtz, Andrew
Does anyone know what the parameter is that needs to be set to change
where the panes in a portal appear on the page.  I need to set it up so
that these panes are justified to the top of the page.  Any help would
be greatly appreciated.
Thanks,
Andrew Sturtz
CBE Technologies


RE: JavaAppletPortlet info

2004-03-30 Thread Mark Orciuch
Sample java applet portlet definition:









Mine Sweeper Game

Example of Java applet



org.apache.jetspeed.portal.portlets.JspPortlet





































In the future, please post your questions to the list for everyone's
benefit.


Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: [EMAIL PROTECTED]
web: http://www.ngsltd.com


  -Original Message-
  From: Douglas Villalobos [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 29, 2004 4:51 PM
  To: [EMAIL PROTECTED]
  Subject: JavaAppletPortlet info


  Hi Mark, my name is Douglas, I have seen your JavaAppletPortlet code
sample but I don't understand it fully specially the configuration.

  Do you have any sample with most information. I need to create a portlet
that contains a applet.

  Thanks

  Douglas


NullPointerException while rendering JSP template

2004-03-30 Thread Jean-Baptiste Lievremont
Hi,

My JSP template for the left navigation displays " Error processing 
navigation template:/html/left.jsp using module: BaseJspNavigation" at 
the end of the generated HTML. The rest of the content is as expected.

I am running Jetspeed 1.4 and struts-menu 1.3 in tomcat 5.0.19, JDK 
1.4.2_02 with sparcv9 extensions, sun solaris 8.

The 'turbine.log' file reads :

2004-03-30 17:02:38,522 [http8080-Processor2] ERROR 
JetspeedLoggingService  - Error processing navigation 
template:/html/left.jsp using module: BaseJspNavigation
java.lang.NullPointerException
   at 
org.apache.turbine.util.template.TemplateNavigation.toString(TemplateNavigation.java:127)
   at 
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:321)
   at 
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
   at 
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
   at 
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
   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(TurbineVelocityService.java:494)
   at 
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336)
   at 
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143)
   at 
org.apache.turbine.modules.layouts.VelocityDirectLayout.doBuild(VelocityDirectLayout.java:106)
   at org.apache.turbine.modules.Layout.build(Layout.java:91)
   at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123)
   at 
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:169)
   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)
...

The full stack trace is available at 
http://mith.dnsalias.org/~mith/stackTrace-2004-03-30

I can send the source of the page upon request.

Regards

--
| Jean-Baptiste Lièvremont|
|   E-mail : [EMAIL PROTECTED]|
|[EMAIL PROTECTED] |
|   Tel: (+33)6.14.85.19.96   |
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: Checkstyle

2004-03-30 Thread Sprang, Henning (Firma CS)
Hy Chris,


> -Ursprüngliche Nachricht-
> Von: Floßmann Christoph [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 30. März 2004 16:38
> An: Jetspeed Users List (E-Mail)
> Betreff: Checkstyle
> 
> 
> Another Question from me today ;-)
> 
> I just downloaded Checkstyle. I don't know how to install it 
> nor what it is good for? Could anybody explain please - I 
> found no docu.


did you try to google for checkstyle? It's pretty easy to find:

the first result gives you the homepage with all docs.

btw: it's not directly needed for jetspeed, but useful

Henning


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



Checkstyle

2004-03-30 Thread Floßmann Christoph
Another Question from me today ;-)

I just downloaded Checkstyle. I don't know how to install it nor what it is good for? 
Could anybody explain please - I found no docu.

Thanks Chris

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



Re: jetspeed home page

2004-03-30 Thread Stefano Bianchi

Dear Antony,
you access anon user defult.psml if you do not log in.
When I needed an authomatic login for a "free inside tour" I created a
freetour visitor user and I added in the left navigation jsp page table the
following code:

<%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed'
%>
<%@ page import = "org.apache.jetspeed.services.resources.JetspeedResources"
%>


  ENTER TO VISIT!
  ">
  
  
  " SRC="images/visit.gif" >


When you click on image visit.gif you log in automathically accessing
default-psml for freetour visitor.

Hope it helps somehow
Good luck
Stefano

- Original Message - 
From: "antony saviour" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 30, 2004 3:22 PM
Subject: jetspeed home page


> hello friends,
>
> I trying to have the home page of jetspeed as the default page,
>
> My problem is ,
>
> The user must be able to see the
> home page < portal page with portlets> without login in as a user, If the
user clicks any of the links or button in the portlet home page ,  we need
to authenticate with login and password ,
>
> Thank you,
> Antony
> -
> Still single? Click here to find the perfect match.
>
> http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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



AW: Moving Portlets fails

2004-03-30 Thread Floßmann Christoph
I always have this problem, no matter what layout I choose. I tried several versions 
of jetspeed with no effect. Why doesn't this simple feature work? Is there any trick?

-Ursprüngliche Nachricht-
Von: Bart Posselt [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 30. März 2004 15:37
An: Jetspeed Users List
Betreff: Re: Moving Portlets fails


I had a similar problem, but with the tabbed layout. Does the same thing
happen with other layouts? I wound up switching to a different layout,
moving the portlets to where I wanted them, and then going back.

But for a variety of reasons I deleted my first installation of Jetspeed
and when I reinstalled, I didn't have the problem.

Bart

> Whenever I try to move portlets they stay. Eg. I try to use the Three
> Columns View (33/33/33) and try to arrange all my portlets by pushing the
> < or > buttons. Nothing ever happens. They always stay on the place they
> appeared first.
> What is wrong?
>
> -
> 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: How to use java code in a vm file ?

2004-03-30 Thread Stuart Belden
Arnaud,

Take a look at the Velocity Developer and User guides.  They're a good resource.
http://jakarta.apache.org/velocity/user-guide_fr.html
http://jakarta.apache.org/velocity/developer-guide.html
http://jakarta.apache.org/velocity/

You can't use taglibs in velocity.

regards,
stu

>>> [EMAIL PROTECTED] 03/29/04 07:21AM >>>
Must I create a specific taglib ? 
or can I call by $myDateTool.method 
Sorry for my beginner question !
Regards

Arnaud FARINE
Ingénieur d'études
 
Atos Origin
System Intégration
150, Allée Pierre Ziller 
06905 Sophia-Antipolis 
France
 
Phone +33  (0)49 715 7918
Fax +33  (0)49 715 7901
[EMAIL PROTECTED] 
www.atosorigin.fr  


-Message d'origine-
De : Robert Gombotz [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 29 mars 2004 11:14
À : Jetspeed Users List
Objet : Re: How to use java code in a vm file ?


well, what I meant is to create a velocityPortlet. you register it in e.g.
local-portlets.xreg as parent=VelocityPortlet. you have to specify 2
elements, the action and the template. the template is your vm-file (in
templates/vm/portlets/html), the action is your java action class, part of
the portlets.actions package.
Once the portlet works, you add it to the psml of "anon"-user, then it would
be displayed, when a new user arrives at the site.
If you only want the date in a raw vm-file, that is not connected to an
action, you could create a so called Pull-Tool. you can see them in some of
the original templates, for example the $l10n (localization) is a pull tool,
also the $jslink for links. pull tools you would have to register in
TurbineRessources and they have to extend a certain java-class. check in the
jetspeed source for one of the 2 above mentioned pull-tools (or for any
others in TR.props), you should then be able to create your own $date-pull
tool, which you can then use in any vm-template of your app.

regards
rob

- Original Message - 
From: "FARINE Arnaud - SOP" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 11:07 AM
Subject: RE: How to use java code in a vm file ?


ok,

If I would like to use your solution what action-class in called at first to
display the homepage ? (when user arrives at the site), to change it and put
the date in the context ?

Regards

Arnaud FARINE
Ingénieur d'études

Atos Origin
System Intégration
150, Allée Pierre Ziller
06905 Sophia-Antipolis
France

Phone +33  (0)49 715 7918
Fax +33  (0)49 715 7901
[EMAIL PROTECTED] 
www.atosorigin.fr 


-Message d'origine-
De : Robert Gombotz [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 29 mars 2004 10:28
À : Jetspeed Users List
Objet : Re: How to use java code in a vm file ?


I believe, you can't use Java in a vm file at all. It's only interpeted by
the VT Engine.
To get the date, you would have to get it in your action-class (I guess you
are talking about a velocity-portlet...) and put it into the context.

in the action class:

//get the date
context.put.("date", dateVariable);

in the vm-template

Today's date is : $date 



hope, I could be of any help

rob



- Original Message - 
From: "FARINE Arnaud - SOP" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 9:35 AM
Subject: How to use java code in a vm file ?


Hi,

I want to use a java code in a vm file (top.vm) to obtain the system date.
In a VM file I don't success to use java code...Or if I can only use the
velocity language, how can I obtain the date ?

Regards


Arnaud FARINE
Ingénieur d'études

Atos Origin
System Intégration
150, Allée Pierre Ziller
06905 Sophia-Antipolis
France

Phone +33  (0)49 715 7918
Fax +33  (0)49 715 7901
[EMAIL PROTECTED] 
www.atosorigin.fr 




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


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



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


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




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



RE: problem in SAX transform

2004-03-30 Thread Jason Shindler
>From FAQ: http://jakarta.apache.org/jetspeed/site/faq.html

Question: Jetspeed RSS feeds are giving this message in the portlet: "problem in SAX 
transform: org.apache.xml.utils.WrappedRuntimeException: The output format must have a 
'{http://xml.apache.org/xalan}content-handler' property!"

Answer: Copy the xalan.jar from Jetspeed distribution to 
$CATALINA_HOME/common/endorsed directory (or JDK endorsed directory)

Good luck,
Jason


-Original Message-
From: Floßmann Christoph [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 30, 2004 9:08 AM
To: Jetspeed Users List (E-Mail)
Subject: problem in SAX transform

I've got one general question:
What does this error message mean?
problem in SAX transform:
org.apache.xml.utils.WrappedRuntimeException: 
The output format must have a 
'{http://xml.apache.org/xalan}content-handler' property!

The message appears in various portlets eg. administrative portlets 


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


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



problem in SAX transform

2004-03-30 Thread Floßmann Christoph
I've got one general question:
What does this error message mean?
problem in SAX transform:
org.apache.xml.utils.WrappedRuntimeException: 
The output format must have a 
'{http://xml.apache.org/xalan}content-handler' property!

The message appears in various portlets eg. administrative portlets 


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



jetspeed home page

2004-03-30 Thread antony saviour
hello friends,

I trying to have the home page of jetspeed as the default page, 

My problem is , 

The user must be able to see the 
home page < portal page with portlets> without login in as a user, If the user clicks 
any of the links or button in the portlet home page ,  we need to authenticate with 
login and password , 

Thank you,
Antony
-
Still single? Click here to find the perfect match.

http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141

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



Re: Moving Portlets fails

2004-03-30 Thread Bart Posselt
I had a similar problem, but with the tabbed layout. Does the same thing
happen with other layouts? I wound up switching to a different layout,
moving the portlets to where I wanted them, and then going back.

But for a variety of reasons I deleted my first installation of Jetspeed
and when I reinstalled, I didn't have the problem.

Bart

> Whenever I try to move portlets they stay. Eg. I try to use the Three
> Columns View (33/33/33) and try to arrange all my portlets by pushing the
> < or > buttons. Nothing ever happens. They always stay on the place they
> appeared first.
> What is wrong?
>
> -
> 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]



Moving Portlets fails

2004-03-30 Thread Floßmann Christoph
Whenever I try to move portlets they stay. Eg. I try to use the Three Columns View 
(33/33/33) and try to arrange all my portlets by pushing the < or > buttons. Nothing 
ever happens. They always stay on the place they appeared first. 
What is wrong?

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



AW: Problems with RSS Portlet (using Jetspeed 1.4)

2004-03-30 Thread Sprang, Henning (Firma CS)


> -Ursprüngliche Nachricht-
> Von: Floßmann Christoph [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 30. März 2004 12:12
> An: Jetspeed Users List
> Betreff: AW: Problems with RSS Portlet (using Jetspeed 1.4)
> 
> 
> Well, that's my problem too. My proxy needs authentication - 
> did you solve the problem and if yes how did you?

no, i din't, i'd be interested in a solution, too,
but for now i have enough other tasks to do...

Henning

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



AW: Problems with RSS Portlet (using Jetspeed 1.4)

2004-03-30 Thread Floßmann Christoph
Well, that's my problem too. My proxy needs authentication - did you solve the problem 
and if yes how did you?

> 
> Do you remember whether I have to use the apache with 
> mod_proxy to do so?



I don't think so, apache's mod_proxy has nothing to do with java's network features 
which have
a built in proxy client functionality - this is what's used here.


The jetspedd faq says something about this: 
http://jakarta.apache.org/jetspeed/site/faq.html
(see "Firewall"), but I couldn't get that to work because i am behind a proxy that 
needs authentication.

I guess the iframe thing worked for you because there you have a frame in a website 
which is interpreted by your
webbrowser, which seems to have the proxy settings configured properly - try to set 
your browsers proxy settings off, 
and you will see ( i guess, i must say it again), you still can access your tomcat and 
jetspeed(as long as it's in you LAN), but the iframe with external content will stop 
working


Henning


-
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: Problems with RSS Portlet (using Jetspeed 1.4)

2004-03-30 Thread Sprang, Henning (Firma CS)

> -Ursprüngliche Nachricht-
> Von: Floßmann Christoph [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 30. März 2004 11:10
> An: Jetspeed Users List
> Betreff: AW: Problems with RSS Portlet (using Jetspeed 1.4)
> 
> 
> Do you remember whether I have to use the apache with 
> mod_proxy to do so?



I don't think so, apache's mod_proxy has nothing to do with java's network features 
which have
a built in proxy client functionality - this is what's used here.


The jetspedd faq says something about this: 
http://jakarta.apache.org/jetspeed/site/faq.html
(see "Firewall"), but I couldn't get that to work because i am behind a proxy that 
needs authentication.

I guess the iframe thing worked for you because there you have a frame in a website 
which is interpreted by your
webbrowser, which seems to have the proxy settings configured properly - try to set 
your browsers proxy settings off, 
and you will see ( i guess, i must say it again), you still can access your tomcat and 
jetspeed(as long as it's in you LAN), but the iframe with external content will stop 
working


Henning


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



AW: Problems with RSS Portlet (using Jetspeed 1.4)

2004-03-30 Thread Floßmann Christoph
Do you remember whether I have to use the apache with mod_proxy to do so?

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 30. März 2004 10:31
An: [EMAIL PROTECTED]
Betreff: AW: Problems with RSS Portlet (using Jetspeed 1.4)


I'm use a proxy too and must start tomcat with specially parameters. I don't
know the parameters now.

But you can put in google 'tomcat proxy start'

Robert

> -Ursprüngliche Nachricht-
> Von:  Floßmann Christoph [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Dienstag, 30. März 2004 10:25
> An:   Jetspeed Users List
> Betreff:  AW: Problems with RSS Portlet (using Jetspeed 1.4)
> 
> Yes I do use a proxy - I had no problems with the iframe-portlet so I
> thought this wouldn't be a problem. What do I have to change/configure
> when I'm using a proxy?
> 
> Hi,
> 
> I configured the same portlet with Heise News in
> tomcat_install_path\webapps\name_of_your_webapp\WEB-INF\conf\local-portlet
> s.
> xreg. It works fine.
> 
> I don't see a mistake in your configuration. Do you use a proxy ?
> 
> Robert
> 
> > -Ursprüngliche Nachricht-
> > Von:Floßmann Christoph [SMTP:[EMAIL PROTECTED]
> > Gesendet am:Dienstag, 30. März 2004 10:07
> > An: [EMAIL PROTECTED]
> > Betreff:Problems with RSS Portlet (using Jetspeed 1.4)
> > 
> > Hi there,
> > 
> > I was trying to configure my own RSS portlet. First of all the included
> > examples (apacheweek and so on) don't work. Then I tried the following
> > code in \webapp\WEB-INF\conf\portlets.xreg:
> > 
> >  > application="false">
> > 
> > Heise News Ticker
> > RSS Import der Heise Nachrichten
> > 
> > http://www.heise.de/newsticker/heise.rdf
> > 
> > 
> > But after adding the portlet to my pane there was no output at all (no
> > titlebar, nothing).
> > What is my mistake?
> 
> -
> 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: create own portlet

2004-03-30 Thread Sprang, Henning (Firma CS)

> -Ursprüngliche Nachricht-
> Von: antony saviour [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 29. März 2004 08:03
> An: [EMAIL PROTECTED]
> Betreff: create own portlet
> 
> 
> hello friends,
> 
> How can i create a portlet with customized skins , with 
> actions .Help on this.Any tutorial helps on this .


did you read the bluesunrise jportal tutorial and the docs on the jetspeed website?


Henning

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



AW: Problems with RSS Portlet (using Jetspeed 1.4)

2004-03-30 Thread Robert . Naczinski
I'm use a proxy too and must start tomcat with specially parameters. I don't
know the parameters now.

But you can put in google 'tomcat proxy start'

Robert

> -Ursprüngliche Nachricht-
> Von:  Floßmann Christoph [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Dienstag, 30. März 2004 10:25
> An:   Jetspeed Users List
> Betreff:  AW: Problems with RSS Portlet (using Jetspeed 1.4)
> 
> Yes I do use a proxy - I had no problems with the iframe-portlet so I
> thought this wouldn't be a problem. What do I have to change/configure
> when I'm using a proxy?
> 
> Hi,
> 
> I configured the same portlet with Heise News in
> tomcat_install_path\webapps\name_of_your_webapp\WEB-INF\conf\local-portlet
> s.
> xreg. It works fine.
> 
> I don't see a mistake in your configuration. Do you use a proxy ?
> 
> Robert
> 
> > -Ursprüngliche Nachricht-
> > Von:Floßmann Christoph [SMTP:[EMAIL PROTECTED]
> > Gesendet am:Dienstag, 30. März 2004 10:07
> > An: [EMAIL PROTECTED]
> > Betreff:Problems with RSS Portlet (using Jetspeed 1.4)
> > 
> > Hi there,
> > 
> > I was trying to configure my own RSS portlet. First of all the included
> > examples (apacheweek and so on) don't work. Then I tried the following
> > code in \webapp\WEB-INF\conf\portlets.xreg:
> > 
> >  > application="false">
> > 
> > Heise News Ticker
> > RSS Import der Heise Nachrichten
> > 
> > http://www.heise.de/newsticker/heise.rdf
> > 
> > 
> > But after adding the portlet to my pane there was no output at all (no
> > titlebar, nothing).
> > What is my mistake?
> 
> -
> 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: Problems with RSS Portlet (using Jetspeed 1.4)

2004-03-30 Thread Floßmann Christoph
Yes I do use a proxy - I had no problems with the iframe-portlet so I thought this 
wouldn't be a problem. What do I have to change/configure when I'm using a proxy?

Hi,

I configured the same portlet with Heise News in
tomcat_install_path\webapps\name_of_your_webapp\WEB-INF\conf\local-portlets.
xreg. It works fine.

I don't see a mistake in your configuration. Do you use a proxy ?

Robert

> -Ursprüngliche Nachricht-
> Von:  Floßmann Christoph [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Dienstag, 30. März 2004 10:07
> An:   [EMAIL PROTECTED]
> Betreff:  Problems with RSS Portlet (using Jetspeed 1.4)
> 
> Hi there,
> 
> I was trying to configure my own RSS portlet. First of all the included
> examples (apacheweek and so on) don't work. Then I tried the following
> code in \webapp\WEB-INF\conf\portlets.xreg:
> 
>  application="false">
>   
>   Heise News Ticker
>   RSS Import der Heise Nachrichten
>   
>   http://www.heise.de/newsticker/heise.rdf
> 
> 
> But after adding the portlet to my pane there was no output at all (no
> titlebar, nothing).
> What is my mistake?

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



AW: Problems with RSS Portlet (using Jetspeed 1.4)

2004-03-30 Thread Robert . Naczinski
Hi,

I configured the same portlet with Heise News in
tomcat_install_path\webapps\name_of_your_webapp\WEB-INF\conf\local-portlets.
xreg. It works fine.

I don't see a mistake in your configuration. Do you use a proxy ?

Robert

> -Ursprüngliche Nachricht-
> Von:  Floßmann Christoph [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Dienstag, 30. März 2004 10:07
> An:   [EMAIL PROTECTED]
> Betreff:  Problems with RSS Portlet (using Jetspeed 1.4)
> 
> Hi there,
> 
> I was trying to configure my own RSS portlet. First of all the included
> examples (apacheweek and so on) don't work. Then I tried the following
> code in \webapp\WEB-INF\conf\portlets.xreg:
> 
>  application="false">
>   
>   Heise News Ticker
>   RSS Import der Heise Nachrichten
>   
>   http://www.heise.de/newsticker/heise.rdf
> 
> 
> But after adding the portlet to my pane there was no output at all (no
> titlebar, nothing).
> What is my mistake?
> 
> -
> 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]



Problems with RSS Portlet (using Jetspeed 1.4)

2004-03-30 Thread Floßmann Christoph
Hi there,

I was trying to configure my own RSS portlet. First of all the included examples 
(apacheweek and so on) don't work. Then I tried the following code in 
\webapp\WEB-INF\conf\portlets.xreg:



Heise News Ticker
RSS Import der Heise Nachrichten

http://www.heise.de/newsticker/heise.rdf


But after adding the portlet to my pane there was no output at all (no titlebar, 
nothing).
What is my mistake?

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