Could you file a CLA [1] so that we could give you access to the wiki
directly?  As one of the few active portlet users on this list, it
would be very helpful for you to be able to beef up our portlet docs
directly.

Don

[1] http://www.apache.org/licenses/

On 1/9/07, Dariusz Wojtas <[EMAIL PROTECTED]> wrote:
Hi,

Nobody answered my last questions about portlets  - but I found some
useful info and will try to share it.

The webwork wiki stuff has been copied/migrated to struts 2, but some
parts were not updated. For example:
    http://cwiki.apache.org/WW/portlet-tutorial.html

This page is mostly valid and gives some hints but the discussed
    xwork.xml
file references another one:
    <include file="webwork-portlet-default.xml" />

And here is the trick.
I tried to include 'struts-portlet-default.xml' instead but there is
no such file.

Instead there is 'struts-plugin-default.xml' in the struts-core.jar
file that should be referenced, and packages that want to support
portlets should extend the 'struts-portlet-default' package (or define
some other based on it's results/redirectors).

Suddenly everything started to work :)
I had no chance to test it under websphere portal yet, but it
definitely works under jetspeed-2.

I hope this saves somebody's time and gives some hope for portlets in struts2.

Please - the struts team - update that wiki page, it's crucial.
At least describe why that extra file needs to be included (defines
portlet specific results/dispatchers) and what is it's correct name
after migration to struts.

Best regards
Dariusz Wojtas

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

Reply via email to