Re: VelocityPortlet Set to MAXIMIZE mode

2004-05-06 Thread Jeremy Ford
The action parameter is used by Turbine to run this action first before any 
rendering occurs.  Using the action parameter allows you to use the 
forwarding service/redirect mechansims.  Placing items into the context will 
be lost because your portlet will get a new context during the render phase.

Without the action parameter (and as long as it is a MVC portlet type), the 
action will be executed during the render phase of the page.  Because the 
page is already rendering, you cannot use the forwarding service/redirect.  
Also, this allows you to place items into your context for use by the 
build(Normal/Customize/Maximize)Content.

Jeremy Ford
[EMAIL PROTECTED]

From: [EMAIL PROTECTED]
Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Subject: Re: VelocityPortlet Set to MAXIMIZE mode
Date: Thu, 6 May 2004 15:24:12 -0400
Now it's working perfect.. THANK YOU VERY MUCH JEREMY!!

And just to know... when do I use the action parameter??



"Jeremy Ford" <[EMAIL PROTECTED]>
06-05-2004 15:16
Por favor, responda a
"Jetspeed Users List" <[EMAIL PROTECTED]>
Para
[EMAIL PROTECTED]
cc
Asunto
Re: VelocityPortlet Set to MAXIMIZE mode




The link should look like:

http://127.0.0.1/intranet/portal/media-type/html/user/anon/page/default.psml?idArticulo=7&eventSubmit_doDetalle=

Do not pass the action parameter.

Jeremy Ford
[EMAIL PROTECTED]


>From: [EMAIL PROTECTED]
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: Re: VelocityPortlet Set to MAXIMIZE mode
>Date: Thu, 6 May 2004 14:44:19 -0400
>
>What do you mean with "the link that you use to fire you action should
not
>include the action in the url"?.
>If I not include the action, How can jetspeed know wich do method
must
>execute?
>
>This is the URL I'm invoking:
>http://127.0.0.1/intranet/portal/media-type/html/user/anon/page/default.psml?action=ArticulosPortletsAction&idArticulo=7&eventSubmit_doDetalle=
>
>Thank you Jeremy.
>
>
>
>
>"Jeremy Ford" <[EMAIL PROTECTED]>
>06-05-2004 13:34
>Por favor, responda a
>"Jetspeed Users List" <[EMAIL PROTECTED]>
>
>
>Para
>[EMAIL PROTECTED]
>cc
>
>Asunto
>Re: VelocityPortlet Set to MAXIMIZE mode
>
>
>
>
>
>
>If you are using then GenericMVC action/portlets, then the link that you
>use
>to fire you action should not include the action in the url.  Jetspeed
>will
>automatically run the action in your portlet.
>
>Jeremy Ford
>[EMAIL PROTECTED]
>
>
> >From: [EMAIL PROTECTED]
> >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >Subject: Re: VelocityPortlet Set to MAXIMIZE mode
> >Date: Thu, 6 May 2004 13:25:31 -0400
> >
> >Making a "dirty" play with session variables, I'm controling the flow,
>but
> >my problem now is that the object that was put in context in the doXXX
> >method, aren't there when the buildNormalContext() is called again, so
>the
> >template can't render it...
> >
> >What could be happening!??
> >
> >Please, any help is welcomed.
> >
> >Thank you.
> >
> >
> >
> >
> >"Stuart Belden" <[EMAIL PROTECTED]>
> >06-05-2004 08:02
> >Por favor, responda a
> >"Jetspeed Users List" <[EMAIL PROTECTED]>
> >
> >
> >Para
> >[EMAIL PROTECTED]
> >cc
> >
> >Asunto
> >Re: VelocityPortlet Set to MAXIMIZE mode
> >
> >
> >
> >
> >
> >
> >buildNormalContext() is always executed after any action is called.
> >
> >One way to avoid this is to loop through the req parameters and exit
> >rendering in BNC if you find a param that beings with (eventSubmit_)
> >
> >
> > >>> [EMAIL PROTECTED] 05/05/04 07:02PM >>>
> >Hi people...
> >I'm building a VelocityPortletAction with 2 methods:
> >buildNormalContext: Which put objects in context to render in the
> >default
> >mode. The object is a List, which has a lot of items, each of one
> >rendered
> >as a link, with the intention to see it detail when clicked.
> >
> >To see the clicked item detail, I implement a second method:
> >doViewDetail: which query the full information of the selected item.
> >Until
> >now, everything works fine. My problem is that ALWAYS the
> >buildNormalContextmethod is executed after the doViewDetail, so my item
> >
> >object get lost.
> >
> >Is this happenning because the buildNormalContext is ALWAYS executed
> >before a normal render??
> >
> >How can I avoid this behavior??... By the way, I wish to display the
> >item
> >detail in the portlet maximized mode.
> >
> >Any assistance woud be very appreciated
> >
> >Thank you.
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>_
>Getting married? Find tips, tools and the latest trends at MSN Life
>Events.
>http://lifeevents.msn.com/category.aspx?cid=married
>
>
>-
>To unsubscribe, e-mail: [EM

RE: Default Template

2004-05-06 Thread Andy . Sun
A new psml file is created for the new user based on the following property
in the JetSpeedResource.propterties file.
services.Profiler.newuser.template=
It is default to "turbine" right out of box. That means the new user will
get a copy of turbine's psml. If you want a user to see contents from the
group he/she belongs to, there are a couple of options I know of.
First, you can put a group reference on the default profile so the new user
will have it. You can use proper security setup to control the access. You
can also update the group's profile without affecting user's profile.
Or, you can try role merge. Treat your group as a role and have the role
psml setup the way you want. When you create a new user and assign a role to
the user, the role psml will be appended into user's psml. One of
shortcomings with this approach is that you would have to update every
user's psml if you want to change the just the role's profile. Once it is
part of user's profile, whatever you change in the role profile won't affect
the user profile anymore.
Hope this help.
Andy

-Original Message-
From: Jonathan Hawkins [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 8:15 AM
To: 'Jetspeed Users List'
Subject: Default Template


I have created a default template for a non-logged in user ok, copied the
required default.psml file to the anon user.

I also want a template for a new logged in user who belongs to a specific
group.

I created a new user and setup the portlets they would see, no problem,
copied the psml file from that user into the html directory for that group.
Whenever I create a new user I deselect them from the default Jetspeed group
and add them to the CedAr group, but when I log them in the portlets defined
for the Jetspeed group appear.

How do I get new users to use my portlets by default.

Cheers

Jon

-Original Message-
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: 06 May 2004 08:49
To: Jetspeed Users List
Subject: Re: Converting the existing application into portal framework


Dear Oliver,
you are right, but I was speaking of a "one minute setup"!

1. no portal context -> isolated context (e .g user information have to be
submitted through url...not beautiful)
Usually, my webapps starts with a jsp retrieving user info from the portal
with proper tags.

2. no layout scheme from the portal
Correct, you have to adopt a compliant layout. It depends on webapp
complexity.

3. possibly a scrollbar hierarchy
It depends on webapp structure. Jsps + servlets work quite well since you
can define the IFramePortlet size and then
navigate inside.

Anyway, everybody got his way, and that's mine only! :-)

Cheers
Stefano

- Original Message - 
From: "Oliver Pfau" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:34 AM
Subject: AW: Converting the existing application into portal framework


Hi,

I am working on this problems, too. But when you use an iframe you have
significant disadvantages:

1. no portal context -> isolated context (e .g user information have to be
submitted through url...not beautiful)
2. no layout scheme from the portal
3. possibly a scrollbar hierarchy

the minimal effort speaks for an usage of an iframe. but if you use
javascript or target="_top" you possibly loose the context of the iframe and
your application is showed in a own browser window. Also newer browser
versions are required, too.

Greetings
O. Pfau


-Ursprüngliche Nachricht-
Von: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 6. Mai 2004 09:19
An: Jetspeed Users List
Betreff: Re: Converting the existing application into portal framework


Dear Karthik,
my personal experience for a quick setup:

use an IFramePortlet to host an external webapp inside Jetspeed

Everything "seems" integrated but you keep modules separated.
All my portal is setup this way.

Hope it helps somehow
Cheers,
Stefano


- Original Message - 
From: "Karthik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:24 AM
Subject: Converting the existing application into portal framework


Hi All,



I have just started to work on portal implementation of our Web Application
using Jetspeed-1.5.



My present scenario is:



 1. I have a working web application.

 2. I have to implement the portal concept into my web application.

 3. I have downloaded the Jetspeed1.5 war file and deployed into my
Application server (I'm using Jboss).



My doubts are:



 4. Now, how should I convert the existing application into individual
portlets and where should I deploy these portlets.

 5. Will my portlet application work independently or will I be required to
deploy my portlet application inside the  JetSpeed.



 Any help will be appreciated. Thanks in Advance.



Best regards,

Karthik.G




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.665 / Virus Database: 428 - Releas

Re: VelocityPortlet Set to MAXIMIZE mode

2004-05-06 Thread cyaconi
Now it's working perfect.. THANK YOU VERY MUCH JEREMY!!

And just to know... when do I use the action parameter??




"Jeremy Ford" <[EMAIL PROTECTED]> 
06-05-2004 15:16
Por favor, responda a
"Jetspeed Users List" <[EMAIL PROTECTED]>


Para
[EMAIL PROTECTED]
cc

Asunto
Re: VelocityPortlet Set to MAXIMIZE mode






The link should look like:

http://127.0.0.1/intranet/portal/media-type/html/user/anon/page/default.psml?idArticulo=7&eventSubmit_doDetalle=


Do not pass the action parameter.

Jeremy Ford
[EMAIL PROTECTED]



>From: [EMAIL PROTECTED]
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: Re: VelocityPortlet Set to MAXIMIZE mode
>Date: Thu, 6 May 2004 14:44:19 -0400
>
>What do you mean with "the link that you use to fire you action should 
not
>include the action in the url"?.
>If I not include the action, How can jetspeed know wich do method 
must
>execute?
>
>This is the URL I'm invoking:
>http://127.0.0.1/intranet/portal/media-type/html/user/anon/page/default.psml?action=ArticulosPortletsAction&idArticulo=7&eventSubmit_doDetalle=
>
>Thank you Jeremy.
>
>
>
>
>"Jeremy Ford" <[EMAIL PROTECTED]>
>06-05-2004 13:34
>Por favor, responda a
>"Jetspeed Users List" <[EMAIL PROTECTED]>
>
>
>Para
>[EMAIL PROTECTED]
>cc
>
>Asunto
>Re: VelocityPortlet Set to MAXIMIZE mode
>
>
>
>
>
>
>If you are using then GenericMVC action/portlets, then the link that you
>use
>to fire you action should not include the action in the url.  Jetspeed
>will
>automatically run the action in your portlet.
>
>Jeremy Ford
>[EMAIL PROTECTED]
>
>
> >From: [EMAIL PROTECTED]
> >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >Subject: Re: VelocityPortlet Set to MAXIMIZE mode
> >Date: Thu, 6 May 2004 13:25:31 -0400
> >
> >Making a "dirty" play with session variables, I'm controling the flow,
>but
> >my problem now is that the object that was put in context in the doXXX
> >method, aren't there when the buildNormalContext() is called again, so
>the
> >template can't render it...
> >
> >What could be happening!??
> >
> >Please, any help is welcomed.
> >
> >Thank you.
> >
> >
> >
> >
> >"Stuart Belden" <[EMAIL PROTECTED]>
> >06-05-2004 08:02
> >Por favor, responda a
> >"Jetspeed Users List" <[EMAIL PROTECTED]>
> >
> >
> >Para
> >[EMAIL PROTECTED]
> >cc
> >
> >Asunto
> >Re: VelocityPortlet Set to MAXIMIZE mode
> >
> >
> >
> >
> >
> >
> >buildNormalContext() is always executed after any action is called.
> >
> >One way to avoid this is to loop through the req parameters and exit
> >rendering in BNC if you find a param that beings with (eventSubmit_)
> >
> >
> > >>> [EMAIL PROTECTED] 05/05/04 07:02PM >>>
> >Hi people...
> >I'm building a VelocityPortletAction with 2 methods:
> >buildNormalContext: Which put objects in context to render in the
> >default
> >mode. The object is a List, which has a lot of items, each of one
> >rendered
> >as a link, with the intention to see it detail when clicked.
> >
> >To see the clicked item detail, I implement a second method:
> >doViewDetail: which query the full information of the selected item.
> >Until
> >now, everything works fine. My problem is that ALWAYS the
> >buildNormalContextmethod is executed after the doViewDetail, so my item
> >
> >object get lost.
> >
> >Is this happenning because the buildNormalContext is ALWAYS executed
> >before a normal render??
> >
> >How can I avoid this behavior??... By the way, I wish to display the
> >item
> >detail in the portlet maximized mode.
> >
> >Any assistance woud be very appreciated
> >
> >Thank you.
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>_
>Getting married? Find tips, tools and the latest trends at MSN Life
>Events.
>http://lifeevents.msn.com/category.aspx?cid=married
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

_
Stop worrying about overloading your inbox - get MSN Hotmail Extra 
Storage! 
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/



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




Re: VelocityPortlet Set to MAXIMIZE mode

2004-05-06 Thread Jeremy Ford
The link should look like:

http://127.0.0.1/intranet/portal/media-type/html/user/anon/page/default.psml?idArticulo=7&eventSubmit_doDetalle=

Do not pass the action parameter.

Jeremy Ford
[EMAIL PROTECTED]


From: [EMAIL PROTECTED]
Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Subject: Re: VelocityPortlet Set to MAXIMIZE mode
Date: Thu, 6 May 2004 14:44:19 -0400
What do you mean with "the link that you use to fire you action should not
include the action in the url"?.
If I not include the action, How can jetspeed know wich do method must
execute?
This is the URL I'm invoking:
http://127.0.0.1/intranet/portal/media-type/html/user/anon/page/default.psml?action=ArticulosPortletsAction&idArticulo=7&eventSubmit_doDetalle=
Thank you Jeremy.



"Jeremy Ford" <[EMAIL PROTECTED]>
06-05-2004 13:34
Por favor, responda a
"Jetspeed Users List" <[EMAIL PROTECTED]>
Para
[EMAIL PROTECTED]
cc
Asunto
Re: VelocityPortlet Set to MAXIMIZE mode




If you are using then GenericMVC action/portlets, then the link that you
use
to fire you action should not include the action in the url.  Jetspeed
will
automatically run the action in your portlet.
Jeremy Ford
[EMAIL PROTECTED]
>From: [EMAIL PROTECTED]
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: Re: VelocityPortlet Set to MAXIMIZE mode
>Date: Thu, 6 May 2004 13:25:31 -0400
>
>Making a "dirty" play with session variables, I'm controling the flow,
but
>my problem now is that the object that was put in context in the doXXX
>method, aren't there when the buildNormalContext() is called again, so
the
>template can't render it...
>
>What could be happening!??
>
>Please, any help is welcomed.
>
>Thank you.
>
>
>
>
>"Stuart Belden" <[EMAIL PROTECTED]>
>06-05-2004 08:02
>Por favor, responda a
>"Jetspeed Users List" <[EMAIL PROTECTED]>
>
>
>Para
>[EMAIL PROTECTED]
>cc
>
>Asunto
>Re: VelocityPortlet Set to MAXIMIZE mode
>
>
>
>
>
>
>buildNormalContext() is always executed after any action is called.
>
>One way to avoid this is to loop through the req parameters and exit
>rendering in BNC if you find a param that beings with (eventSubmit_)
>
>
> >>> [EMAIL PROTECTED] 05/05/04 07:02PM >>>
>Hi people...
>I'm building a VelocityPortletAction with 2 methods:
>buildNormalContext: Which put objects in context to render in the
>default
>mode. The object is a List, which has a lot of items, each of one
>rendered
>as a link, with the intention to see it detail when clicked.
>
>To see the clicked item detail, I implement a second method:
>doViewDetail: which query the full information of the selected item.
>Until
>now, everything works fine. My problem is that ALWAYS the
>buildNormalContextmethod is executed after the doViewDetail, so my item
>
>object get lost.
>
>Is this happenning because the buildNormalContext is ALWAYS executed
>before a normal render??
>
>How can I avoid this behavior??... By the way, I wish to display the
>item
>detail in the portlet maximized mode.
>
>Any assistance woud be very appreciated
>
>Thank you.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
_
Getting married? Find tips, tools and the latest trends at MSN Life
Events.
http://lifeevents.msn.com/category.aspx?cid=married
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

_
Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! 
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/

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


Re: VelocityPortlet Set to MAXIMIZE mode

2004-05-06 Thread cyaconi
What do you mean with "the link that you use to fire you action should not 
include the action in the url"?.
If I not include the action, How can jetspeed know wich do method must 
execute?

This is the URL I'm invoking:
http://127.0.0.1/intranet/portal/media-type/html/user/anon/page/default.psml?action=ArticulosPortletsAction&idArticulo=7&eventSubmit_doDetalle=

Thank you Jeremy.




"Jeremy Ford" <[EMAIL PROTECTED]> 
06-05-2004 13:34
Por favor, responda a
"Jetspeed Users List" <[EMAIL PROTECTED]>


Para
[EMAIL PROTECTED]
cc

Asunto
Re: VelocityPortlet Set to MAXIMIZE mode






If you are using then GenericMVC action/portlets, then the link that you 
use 
to fire you action should not include the action in the url.  Jetspeed 
will 
automatically run the action in your portlet.

Jeremy Ford
[EMAIL PROTECTED]


>From: [EMAIL PROTECTED]
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: Re: VelocityPortlet Set to MAXIMIZE mode
>Date: Thu, 6 May 2004 13:25:31 -0400
>
>Making a "dirty" play with session variables, I'm controling the flow, 
but
>my problem now is that the object that was put in context in the doXXX
>method, aren't there when the buildNormalContext() is called again, so 
the
>template can't render it...
>
>What could be happening!??
>
>Please, any help is welcomed.
>
>Thank you.
>
>
>
>
>"Stuart Belden" <[EMAIL PROTECTED]>
>06-05-2004 08:02
>Por favor, responda a
>"Jetspeed Users List" <[EMAIL PROTECTED]>
>
>
>Para
>[EMAIL PROTECTED]
>cc
>
>Asunto
>Re: VelocityPortlet Set to MAXIMIZE mode
>
>
>
>
>
>
>buildNormalContext() is always executed after any action is called.
>
>One way to avoid this is to loop through the req parameters and exit
>rendering in BNC if you find a param that beings with (eventSubmit_)
>
>
> >>> [EMAIL PROTECTED] 05/05/04 07:02PM >>>
>Hi people...
>I'm building a VelocityPortletAction with 2 methods:
>buildNormalContext: Which put objects in context to render in the
>default
>mode. The object is a List, which has a lot of items, each of one
>rendered
>as a link, with the intention to see it detail when clicked.
>
>To see the clicked item detail, I implement a second method:
>doViewDetail: which query the full information of the selected item.
>Until
>now, everything works fine. My problem is that ALWAYS the
>buildNormalContextmethod is executed after the doViewDetail, so my item
>
>object get lost.
>
>Is this happenning because the buildNormalContext is ALWAYS executed
>before a normal render??
>
>How can I avoid this behavior??... By the way, I wish to display the
>item
>detail in the portlet maximized mode.
>
>Any assistance woud be very appreciated
>
>Thank you.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

_
Getting married? Find tips, tools and the latest trends at MSN Life 
Events. 
http://lifeevents.msn.com/category.aspx?cid=married


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




Re: Help with VelocityPortletAction

2004-05-06 Thread Michael Rothrock
You can exit your buildNormalContext method without doing anything by
setting a flag in the request.

Put the following line in your action:
rundata.getRequest().setAttribute("skip_normal", new Boolean(true));

And put the following at the start of buildNormalContext:
Boolean reqVal = (Boolean)
rundata.getRequest().getAttribute("skip_normal");

If ((reqVal != null) && (reqVal.booleanValue() == true)) {
return;
}

-- Michael

On 5/6/04 8:06 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:

> Hi.
> Please, I need help or at least, some kind of information.
> How can avoid the call to buildNormalContext method??? I mean, I need to
> execute another method in the action (which is executed), but always, and
> after the call to my own method, the buildNormalContext is called again.
> 
> Please, help!!
> 
> Thank you!!


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



Re: VelocityPortlet Set to MAXIMIZE mode

2004-05-06 Thread Jeremy Ford
If you are using then GenericMVC action/portlets, then the link that you use 
to fire you action should not include the action in the url.  Jetspeed will 
automatically run the action in your portlet.

Jeremy Ford
[EMAIL PROTECTED]

From: [EMAIL PROTECTED]
Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Subject: Re: VelocityPortlet Set to MAXIMIZE mode
Date: Thu, 6 May 2004 13:25:31 -0400
Making a "dirty" play with session variables, I'm controling the flow, but
my problem now is that the object that was put in context in the doXXX
method, aren't there when the buildNormalContext() is called again, so the
template can't render it...
What could be happening!??

Please, any help is welcomed.

Thank you.



"Stuart Belden" <[EMAIL PROTECTED]>
06-05-2004 08:02
Por favor, responda a
"Jetspeed Users List" <[EMAIL PROTECTED]>
Para
[EMAIL PROTECTED]
cc
Asunto
Re: VelocityPortlet Set to MAXIMIZE mode




buildNormalContext() is always executed after any action is called.

One way to avoid this is to loop through the req parameters and exit
rendering in BNC if you find a param that beings with (eventSubmit_)
>>> [EMAIL PROTECTED] 05/05/04 07:02PM >>>
Hi people...
I'm building a VelocityPortletAction with 2 methods:
buildNormalContext: Which put objects in context to render in the
default
mode. The object is a List, which has a lot of items, each of one
rendered
as a link, with the intention to see it detail when clicked.
To see the clicked item detail, I implement a second method:
doViewDetail: which query the full information of the selected item.
Until
now, everything works fine. My problem is that ALWAYS the
buildNormalContextmethod is executed after the doViewDetail, so my item
object get lost.

Is this happenning because the buildNormalContext is ALWAYS executed
before a normal render??
How can I avoid this behavior??... By the way, I wish to display the
item
detail in the portlet maximized mode.
Any assistance woud be very appreciated

Thank you.

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

_
Getting married? Find tips, tools and the latest trends at MSN Life Events. 
http://lifeevents.msn.com/category.aspx?cid=married

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


Re: VelocityPortlet Set to MAXIMIZE mode

2004-05-06 Thread cyaconi
Making a "dirty" play with session variables, I'm controling the flow, but 
my problem now is that the object that was put in context in the doXXX 
method, aren't there when the buildNormalContext() is called again, so the 
template can't render it...

What could be happening!??

Please, any help is welcomed.

Thank you.




"Stuart Belden" <[EMAIL PROTECTED]> 
06-05-2004 08:02
Por favor, responda a
"Jetspeed Users List" <[EMAIL PROTECTED]>


Para
[EMAIL PROTECTED]
cc

Asunto
Re: VelocityPortlet Set to MAXIMIZE mode






buildNormalContext() is always executed after any action is called.

One way to avoid this is to loop through the req parameters and exit
rendering in BNC if you find a param that beings with (eventSubmit_)


>>> [EMAIL PROTECTED] 05/05/04 07:02PM >>>
Hi people... 
I'm building a VelocityPortletAction with 2 methods:
buildNormalContext: Which put objects in context to render in the
default 
mode. The object is a List, which has a lot of items, each of one
rendered 
as a link, with the intention to see it detail when clicked.

To see the clicked item detail, I implement a second method:
doViewDetail: which query the full information of the selected item.
Until 
now, everything works fine. My problem is that ALWAYS the 
buildNormalContextmethod is executed after the doViewDetail, so my item

object get lost.

Is this happenning because the buildNormalContext is ALWAYS executed 
before a normal render??

How can I avoid this behavior??... By the way, I wish to display the
item 
detail in the portlet maximized mode.

Any assistance woud be very appreciated

Thank you.


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




RE: Converting the existing application into portal framework

2004-05-06 Thread Mark Orciuch
There's WebSurfPortlet offered at the Jetspeed Community Portlets page:
http://portals.apache.org/jetspeed-1/community-portlets.html. From portlet
description, it sounds like what you want. Unfortunately, it hasn't been
updated to work with latest releases. I'm sure with some effort, you could
make it work though.

Best regards,

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


> -Original Message-
> From: Karthik [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 06, 2004 2:25 AM
> To: [EMAIL PROTECTED]
> Subject: Converting the existing application into portal framework
>
>
> Hi All,
>
>
>
> I have just started to work on portal implementation of our Web
> Application
> using Jetspeed-1.5.
>
>
>
> My present scenario is:
>
>
>
>  1. I have a working web application.
>
>  2. I have to implement the portal concept into my web application.
>
>  3. I have downloaded the Jetspeed1.5 war file and deployed into my
> Application server (I’m using Jboss).
>
>
>
> My doubts are:
>
>
>
>  4. Now, how should I convert the existing application into individual
> portlets and where should I deploy these portlets.
>
>  5. Will my portlet application work independently or will I be
> required to
> deploy my portlet application inside the  JetSpeed.
>
>
>
>  Any help will be appreciated. Thanks in Advance.
>
>
>
> Best regards,
>
> Karthik.G
>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.665 / Virus Database: 428 - Release Date: 4/21/2004
>
>



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



Customize the jetspeed ldap 's schema

2004-05-06 Thread [EMAIL PROTECTED]
Hi I'm a newbie.
I'm using JestSpeed 1.4 with OpenLdap 2.0.25.
The Authentication works fine , but I need to customize  the jetspeed 
ldap default schema.
I managed to add an ldap's attribute but I don't know how to get it from 
a portlet.

There's a way to do it ?
It is Possible to customize  the jetspeed ldap 's schema ?
TIA
Massimo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Customize the jetspeed ldap 's schema

2004-05-06 Thread [EMAIL PROTECTED]
Hi I'm a newbie.
I'm using JestSpeed 1.4 with OpenLdap 2.0.25.
The Authentication works fine , but I need to customize  the jetspeed 
ldap default schema.
I managed to add an ldap's attribute but I don't know how to get it from 
a portlet.

There's a way to do it ?
It is Possible to customize  the jetspeed ldap 's schema ?
TIA
Massimo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Jetspeed Licensing

2004-05-06 Thread Raphaël Luta
Le 6 mai 04, à 12:01, Jonathan Hawkins a écrit :

We are looking at using Jetspeed as our Portal container for our 
various web
applications. Do we have to display the "Powered by Jetspeed" logo ?

Many thanks

No, it's not a requirement. The license simply asks you to acknowledge 
the use
of Jetspeed but does not mandate any specific mechanism. Using a 
"powered by"
logo surely fulfills this requirement but you can also simply 
acknowledge Jetspeed
in the "credits" page of your site if you have one.

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


RE: Jetspeed 1.5 tutorial build failure for goal torque:sql-gener ate

2004-05-06 Thread Nicolas MAYEUR
Thank's a lot.
It's working now!

Nico

-Message d'origine-
De : Raphaël Luta [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 5 mai 2004 19:30
À : Jetspeed Users List
Objet : Re: Jetspeed 1.5 tutorial build failure for goal
torque:sql-gener ate


Given the issues you describe, I'd say it's related to the
DTD validation of the torque schema files.

To avoid the issue, you can try the following:
- download manually the DTD file
http://jakarta.apache.org/turbine/dtd/database.dtd
- put it in src/torque-schema
- change the DTD reference in the xml files to "database.dtd"

It should work. If it doesn't want to use relative dtds, put the
dtd on a local webserver (eg Tomcat) and modify the URL accordingly.

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

Nicolas MAYEUR wrote:

> Indeed, the failing build was run behind a firewall & proxy.
> Proxy config seems OK in my build.properties, since maven has
> successfully downloaded many jars before failing.
> I tried doing it at home with no proxy and another ISP
> on a linux box : it builds OK.
> 
> Nicolas
> 
> -Message d'origine-
> De : Jetspeed [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 5 mai 2004 00:26
> À : Jetspeed Users List
> Objet : Re: Jetspeed 1.5 tutorial build failure for goal
> torque:sql-generate
> 
> 
> I see that Nicolas Mayeur has now posted the thread "Jetspeed 1.5 build 
> problem"
> that looks pretty much like the one I've described here.
> 
> Interestingly, this same configuration works just fine on my laptop when 
> running
> on my home network, the only difference being the ISP and turning off 
> proxying..
> No problems with downloads or connections timing out.  Seems like it must
> have something to do with connection speeds or firewall configurations,
but
> I don't have enough information from the log files to know what to pursue.
> Any suggestions?
> 
> Cheers,
> Dan
> 
> [EMAIL PROTECTED] wrote:
> 
> 
>>I'm a newbie to Jetspeed.  I'm trying to become familiar with the new
> 
> version of Jetspeed using the tutorial approach suggested by the
> documentation. I've installed Maven and Jetspeed-1.5 on my Windows XP box,
> which is behind a corporate firewall.  I have successfully configured my
> proxy and local repositories and built the jetspeed sources, but am having
> fairly consistent "Connection timed out: connect" failures with the
tutorial
> "deploy" goal, either during the torque:sql-generate or torque:om-generate
> goals.  The tutorial sources themselves build without a hitch and all the
> repository dependencies download just fine, but I regularly get the
failure
> shown below, and there's no indication of what connection is failing.
> Searches through Google and the jetspeed-user archives have yielded no
> indication of a solution.  Has anyone seen this type of problem, and
> hopefully figured out a solution?
> 
>>Any help is greatly appreciated.
>>
>>Cheers,
>>   Dan
>>
>>--
>>(excerpt of build output)
>>
>>torque:sql-generate:
>>   [torque-sql] Using classpath
>>   [torque-sql] Generating to file
> 
> C:\Apache\jetspeed-1.5\tutorial\target\class
> 
>>[EMAIL PROTECTED]
>>
>>BUILD FAILED
>>File..
file:/c:/temp/maven/plugins/maven-torque-plugin-3.2/plugin.jelly
>>Element... torque-sql
>>Line.. 145
>>Column 49
>>org.apache.torque.engine.EngineException: Connection timed out: connect
>>Total time: 35 seconds
>>Finished at: Fri Apr 30 13:20:41 MDT 2004
>>
>>
>>The full log follows:
>>
>> 
>>
>>
maven -Dtutorial=1 deploy
 

>>
>>__  __
>>|  \/  |__ _Apache__ ___
>>| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2
>>
>>build:start:
>>
>>deploy:
>>jetspeed:war:
>>   [delete] Deleting directory C:\Apache\jetspeed-1.5\tutorial\stage
>>   [mkdir] Created dir: C:\Apache\jetspeed-1.5\tutorial\stage
>>   [unzip] Expanding:
> 
> C:\temp\maven\repository\jetspeed\distributions\jetspeed-1.5.zip into
> C:\Apache\jetspeed-1.5\tutorial\stage\webapp
> 
>>   [unzip] Expanding:
> 
> C:\Apache\jetspeed-1.5\tutorial\stage\webapp\jetspeed-1.5\jetspeed.war
into
> C:\Apache\jetspeed-1.5\tutorial\stage\webapp
> 
>>   [delete] Deleting directory
> 
> C:\Apache\jetspeed-1.\tutorial\stage\webapp\jet
> 
>>speed-1.5
>>   [copy] Copying 4 files to C:\Apache\jetspeed-1.5\tutorial\stage\webapp
>>java:prepare-filesystem:
>>
>>java:compile:
>>torque:init:
>>
>>torque:om-check:
>>
>>torque:om:
>>   [echo] Schema files have not changed since last generation.
>>
>>torque:init:
>>Overriding previous definition of reference to torque-classpath
>>
>>torque:sql-check:
>>
>>torque:sql:
>>torque:init:
>>Overriding previous definition of reference to torque-classpath
>>
>>torque:sql-generate:
>>   [torque-sql] Using classpath
>>   [torque-sql] Generating to file
> 
>
C:\Apache\jetspeed-1.5\tutorial\target\classes\sql\report.org.apache.commons
> [EMAIL PROTECTED]
> 
>>BUILD FAILED
>>File..
file:/c:/temp/

Re: VelocityPortlet Set to MAXIMIZE mode

2004-05-06 Thread cyaconi
Thank you Stuart, and given this behavior, is there any pattern or best 
practices implementing an action???
I don't want to re-invent the wheel, so ppl, please share your experience 
in this topic.

Thank you!!

PD: I come from the struts world, where the action methods is executed 
independently each other. 





"Stuart Belden" <[EMAIL PROTECTED]> 
06-05-2004 08:02
Por favor, responda a
"Jetspeed Users List" <[EMAIL PROTECTED]>


Para
[EMAIL PROTECTED]
cc

Asunto
Re: VelocityPortlet Set to MAXIMIZE mode






buildNormalContext() is always executed after any action is called.

One way to avoid this is to loop through the req parameters and exit
rendering in BNC if you find a param that beings with (eventSubmit_)


>>> [EMAIL PROTECTED] 05/05/04 07:02PM >>>
Hi people... 
I'm building a VelocityPortletAction with 2 methods:
buildNormalContext: Which put objects in context to render in the
default 
mode. The object is a List, which has a lot of items, each of one
rendered 
as a link, with the intention to see it detail when clicked.

To see the clicked item detail, I implement a second method:
doViewDetail: which query the full information of the selected item.
Until 
now, everything works fine. My problem is that ALWAYS the 
buildNormalContextmethod is executed after the doViewDetail, so my item

object get lost.

Is this happenning because the buildNormalContext is ALWAYS executed 
before a normal render??

How can I avoid this behavior??... By the way, I wish to display the
item 
detail in the portlet maximized mode.

Any assistance woud be very appreciated

Thank you.


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




Customize the jetspeed ldap 's schema

2004-05-06 Thread [EMAIL PROTECTED]
Hi I'm a newbie.
I'm using JestSpeed 1.4 with OpenLdap 2.0.25.
The Authentication works fine , but I need to customize  the jetspeed 
ldap default schema.
I managed to add an ldap's attribute but I don't know how to get it from 
a portlet.

There's a way to do it ?
It is Possible to customize  the jetspeed ldap 's schema ?
TIA
Massimo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Default Template

2004-05-06 Thread Jonathan Hawkins
I have created a default template for a non-logged in user ok, copied the
required default.psml file to the anon user.

I also want a template for a new logged in user who belongs to a specific
group.

I created a new user and setup the portlets they would see, no problem,
copied the psml file from that user into the html directory for that group.
Whenever I create a new user I deselect them from the default Jetspeed group
and add them to the CedAr group, but when I log them in the portlets defined
for the Jetspeed group appear.

How do I get new users to use my portlets by default.

Cheers

Jon

-Original Message-
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: 06 May 2004 08:49
To: Jetspeed Users List
Subject: Re: Converting the existing application into portal framework


Dear Oliver,
you are right, but I was speaking of a "one minute setup"!

1. no portal context -> isolated context (e .g user information have to be
submitted through url...not beautiful)
Usually, my webapps starts with a jsp retrieving user info from the portal
with proper tags.

2. no layout scheme from the portal
Correct, you have to adopt a compliant layout. It depends on webapp
complexity.

3. possibly a scrollbar hierarchy
It depends on webapp structure. Jsps + servlets work quite well since you
can define the IFramePortlet size and then
navigate inside.

Anyway, everybody got his way, and that's mine only! :-)

Cheers
Stefano

- Original Message - 
From: "Oliver Pfau" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:34 AM
Subject: AW: Converting the existing application into portal framework


Hi,

I am working on this problems, too. But when you use an iframe you have
significant disadvantages:

1. no portal context -> isolated context (e .g user information have to be
submitted through url...not beautiful)
2. no layout scheme from the portal
3. possibly a scrollbar hierarchy

the minimal effort speaks for an usage of an iframe. but if you use
javascript or target="_top" you possibly loose the context of the iframe and
your application is showed in a own browser window. Also newer browser
versions are required, too.

Greetings
O. Pfau


-Ursprüngliche Nachricht-
Von: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 6. Mai 2004 09:19
An: Jetspeed Users List
Betreff: Re: Converting the existing application into portal framework


Dear Karthik,
my personal experience for a quick setup:

use an IFramePortlet to host an external webapp inside Jetspeed

Everything "seems" integrated but you keep modules separated.
All my portal is setup this way.

Hope it helps somehow
Cheers,
Stefano


- Original Message - 
From: "Karthik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:24 AM
Subject: Converting the existing application into portal framework


Hi All,



I have just started to work on portal implementation of our Web Application
using Jetspeed-1.5.



My present scenario is:



 1. I have a working web application.

 2. I have to implement the portal concept into my web application.

 3. I have downloaded the Jetspeed1.5 war file and deployed into my
Application server (I'm using Jboss).



My doubts are:



 4. Now, how should I convert the existing application into individual
portlets and where should I deploy these portlets.

 5. Will my portlet application work independently or will I be required to
deploy my portlet application inside the  JetSpeed.



 Any help will be appreciated. Thanks in Advance.



Best regards,

Karthik.G




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.665 / Virus Database: 428 - Release Date: 4/21/2004




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


*** 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. Any unauthorised distribution or copying is strictly 
prohibited. 
 
Whilst Cedar Software Ltd takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly 
advised to undertake your own anti-virus precautions. 
 
Cedar Software Ltd grants no warranties regarding performance, 
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused. 

CedA

Jetspeed Licensing

2004-05-06 Thread Jonathan Hawkins
We are looking at using Jetspeed as our Portal container for our various web
applications. Do we have to display the "Powered by Jetspeed" logo ?

Many thanks

Jon

-Original Message-
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: 06 May 2004 08:49
To: Jetspeed Users List
Subject: Re: Converting the existing application into portal framework


Dear Oliver,
you are right, but I was speaking of a "one minute setup"!

1. no portal context -> isolated context (e .g user information have to be
submitted through url...not beautiful)
Usually, my webapps starts with a jsp retrieving user info from the portal
with proper tags.

2. no layout scheme from the portal
Correct, you have to adopt a compliant layout. It depends on webapp
complexity.

3. possibly a scrollbar hierarchy
It depends on webapp structure. Jsps + servlets work quite well since you
can define the IFramePortlet size and then
navigate inside.

Anyway, everybody got his way, and that's mine only! :-)

Cheers
Stefano

- Original Message - 
From: "Oliver Pfau" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:34 AM
Subject: AW: Converting the existing application into portal framework


Hi,

I am working on this problems, too. But when you use an iframe you have
significant disadvantages:

1. no portal context -> isolated context (e .g user information have to be
submitted through url...not beautiful)
2. no layout scheme from the portal
3. possibly a scrollbar hierarchy

the minimal effort speaks for an usage of an iframe. but if you use
javascript or target="_top" you possibly loose the context of the iframe and
your application is showed in a own browser window. Also newer browser
versions are required, too.

Greetings
O. Pfau


-Ursprüngliche Nachricht-
Von: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 6. Mai 2004 09:19
An: Jetspeed Users List
Betreff: Re: Converting the existing application into portal framework


Dear Karthik,
my personal experience for a quick setup:

use an IFramePortlet to host an external webapp inside Jetspeed

Everything "seems" integrated but you keep modules separated.
All my portal is setup this way.

Hope it helps somehow
Cheers,
Stefano


- Original Message - 
From: "Karthik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:24 AM
Subject: Converting the existing application into portal framework


Hi All,



I have just started to work on portal implementation of our Web Application
using Jetspeed-1.5.



My present scenario is:



 1. I have a working web application.

 2. I have to implement the portal concept into my web application.

 3. I have downloaded the Jetspeed1.5 war file and deployed into my
Application server (I'm using Jboss).



My doubts are:



 4. Now, how should I convert the existing application into individual
portlets and where should I deploy these portlets.

 5. Will my portlet application work independently or will I be required to
deploy my portlet application inside the  JetSpeed.



 Any help will be appreciated. Thanks in Advance.



Best regards,

Karthik.G




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.665 / Virus Database: 428 - Release Date: 4/21/2004




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


*** 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. Any unauthorised distribution or copying is strictly 
prohibited. 
 
Whilst Cedar Software Ltd takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly 
advised to undertake your own anti-virus precautions. 
 
Cedar Software Ltd grants no warranties regarding performance, 
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused. 

CedAr is a leading UK supplier of Financial, eProcurement, Performance Management and, 
following the recent acquisition of Goldenhill Computer Systems Ltd, HR and Payroll 
software. Cedars solutions deliver increased capabilities and offer a direct and 
measurable financial return on investment.  The company has a customer base of more 
than 500 organisations in both the public and private sector. 
Particular sector strengths include Airl

Help with VelocityPortletAction

2004-05-06 Thread cyaconi
Hi.
Please, I need help or at least, some kind of information.
How can avoid the call to buildNormalContext method??? I mean, I need to 
execute another method in the action (which is executed), but always, and 
after the call to my own method, the buildNormalContext is called again.

Please, help!!

Thank you!!

Re: VelocityPortlet Set to MAXIMIZE mode

2004-05-06 Thread Stuart Belden
buildNormalContext() is always executed after any action is called.

One way to avoid this is to loop through the req parameters and exit
rendering in BNC if you find a param that beings with (eventSubmit_)


>>> [EMAIL PROTECTED] 05/05/04 07:02PM >>>
Hi people... 
I'm building a VelocityPortletAction with 2 methods:
buildNormalContext: Which put objects in context to render in the
default 
mode. The object is a List, which has a lot of items, each of one
rendered 
as a link, with the intention to see it detail when clicked.

To see the clicked item detail, I implement a second method:
doViewDetail: which query the full information of the selected item.
Until 
now, everything works fine. My problem is that ALWAYS the 
buildNormalContextmethod is executed after the doViewDetail, so my item

object get lost.

Is this happenning because the buildNormalContext is ALWAYS executed 
before a normal render??

How can I avoid this behavior??... By the way, I wish to display the
item 
detail in the portlet maximized mode.

Any assistance woud be very appreciated

Thank you.


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



Re: Converting the existing application into portal framework

2004-05-06 Thread Stefano Bianchi
Dear Oliver,
you are right, but I was speaking of a "one minute setup"!

1. no portal context -> isolated context (e .g user information have to be
submitted through url...not beautiful)
Usually, my webapps starts with a jsp retrieving user info from the portal
with proper tags.

2. no layout scheme from the portal
Correct, you have to adopt a compliant layout. It depends on webapp
complexity.

3. possibly a scrollbar hierarchy
It depends on webapp structure. Jsps + servlets work quite well since you
can define the IFramePortlet size and then
navigate inside.

Anyway, everybody got his way, and that's mine only! :-)

Cheers
Stefano

- Original Message - 
From: "Oliver Pfau" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:34 AM
Subject: AW: Converting the existing application into portal framework


Hi,

I am working on this problems, too. But when you use an iframe you have
significant disadvantages:

1. no portal context -> isolated context (e .g user information have to be
submitted through url...not beautiful)
2. no layout scheme from the portal
3. possibly a scrollbar hierarchy

the minimal effort speaks for an usage of an iframe. but if you use
javascript or target="_top" you possibly loose the context of the iframe and
your application is showed in a own browser window. Also newer browser
versions are required, too.

Greetings
O. Pfau


-Ursprüngliche Nachricht-
Von: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 6. Mai 2004 09:19
An: Jetspeed Users List
Betreff: Re: Converting the existing application into portal framework


Dear Karthik,
my personal experience for a quick setup:

use an IFramePortlet to host an external webapp inside Jetspeed

Everything "seems" integrated but you keep modules separated.
All my portal is setup this way.

Hope it helps somehow
Cheers,
Stefano


- Original Message - 
From: "Karthik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:24 AM
Subject: Converting the existing application into portal framework


Hi All,



I have just started to work on portal implementation of our Web Application
using Jetspeed-1.5.



My present scenario is:



 1. I have a working web application.

 2. I have to implement the portal concept into my web application.

 3. I have downloaded the Jetspeed1.5 war file and deployed into my
Application server (I'm using Jboss).



My doubts are:



 4. Now, how should I convert the existing application into individual
portlets and where should I deploy these portlets.

 5. Will my portlet application work independently or will I be required to
deploy my portlet application inside the  JetSpeed.



 Any help will be appreciated. Thanks in Advance.



Best regards,

Karthik.G




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.665 / Virus Database: 428 - Release Date: 4/21/2004




-
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: Converting the existing application into portal framework

2004-05-06 Thread Oliver Pfau
Hi,

I am working on this problems, too. But when you use an iframe you have
significant disadvantages:

1. no portal context -> isolated context (e .g user information have to be
submitted through url...not beautiful)
2. no layout scheme from the portal
3. possibly a scrollbar hierarchy

the minimal effort speaks for an usage of an iframe. but if you use
javascript or target="_top" you possibly loose the context of the iframe and
your application is showed in a own browser window. Also newer browser
versions are required, too.

Greetings
O. Pfau


-Ursprüngliche Nachricht-
Von: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 6. Mai 2004 09:19
An: Jetspeed Users List
Betreff: Re: Converting the existing application into portal framework


Dear Karthik,
my personal experience for a quick setup:

use an IFramePortlet to host an external webapp inside Jetspeed

Everything "seems" integrated but you keep modules separated.
All my portal is setup this way.

Hope it helps somehow
Cheers,
Stefano


- Original Message - 
From: "Karthik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:24 AM
Subject: Converting the existing application into portal framework


Hi All,



I have just started to work on portal implementation of our Web Application
using Jetspeed-1.5.



My present scenario is:



 1. I have a working web application.

 2. I have to implement the portal concept into my web application.

 3. I have downloaded the Jetspeed1.5 war file and deployed into my
Application server (I’m using Jboss).



My doubts are:



 4. Now, how should I convert the existing application into individual
portlets and where should I deploy these portlets.

 5. Will my portlet application work independently or will I be required to
deploy my portlet application inside the  JetSpeed.



 Any help will be appreciated. Thanks in Advance.



Best regards,

Karthik.G




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.665 / Virus Database: 428 - Release Date: 4/21/2004




-
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: Converting the existing application into portal framework

2004-05-06 Thread Stefano Bianchi
Dear Karthik,
my personal experience for a quick setup:

use an IFramePortlet to host an external webapp inside Jetspeed

Everything "seems" integrated but you keep modules separated.
All my portal is setup this way.

Hope it helps somehow
Cheers,
Stefano


- Original Message - 
From: "Karthik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:24 AM
Subject: Converting the existing application into portal framework


Hi All,



I have just started to work on portal implementation of our Web Application
using Jetspeed-1.5.



My present scenario is:



 1. I have a working web application.

 2. I have to implement the portal concept into my web application.

 3. I have downloaded the Jetspeed1.5 war file and deployed into my
Application server (I’m using Jboss).



My doubts are:



 4. Now, how should I convert the existing application into individual
portlets and where should I deploy these portlets.

 5. Will my portlet application work independently or will I be required to
deploy my portlet application inside the  JetSpeed.



 Any help will be appreciated. Thanks in Advance.



Best regards,

Karthik.G




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.665 / Virus Database: 428 - Release Date: 4/21/2004




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



Converting the existing application into portal framework

2004-05-06 Thread Karthik
Hi All,

 

I have just started to work on portal implementation of our Web Application
using Jetspeed-1.5.

 

My present scenario is:

 

 1. I have a working web application.

 2. I have to implement the portal concept into my web application.

 3. I have downloaded the Jetspeed1.5 war file and deployed into my
Application server (I’m using Jboss).

 

My doubts are:

 

 4. Now, how should I convert the existing application into individual
portlets and where should I deploy these portlets.

 5. Will my portlet application work independently or will I be required to
deploy my portlet application inside the  JetSpeed.

 

 Any help will be appreciated. Thanks in Advance.

 

Best regards,

Karthik.G

 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.665 / Virus Database: 428 - Release Date: 4/21/2004