I noticed your bug report in JIRA and will be looking into it. As for
debugging, check out the setup in the sample portlet application. I
use it to run portlets embedded in pluto directly in Eclipse. Makes
debugging real easy.

Nils-H

On Fri, Oct 9, 2009 at 10:35 AM, Leonard Broman
<leonard.bro...@gmail.com> wrote:
> I reconfigured the project not to use the convention plugin and using
> the good old xml-configuration. But the problem persists. I'll try to
> dig into what might be causing this. Is anyone looking actively at the
> portlet plugin? Can anyone give me advice on development tools for
> debugging portlets? The portal I'm working in now i kind of heavy...
>
> 2009/10/8 Leonard Broman <firepi...@gmail.com>:
>> Hi!
>>
>> I'm building a simple portlet using struts 2.1.8 with convention and
>> the portlet plugin.
>> I have an issue where is seems that the action url (submit url) has a
>> doubled namespace like:
>>
>> Here's the query string:
>>
>> ?struts.portlet.mode=config&dynamicAttributes=%7B%7D&sv.mode=config&struts.portlet.action=/email/config/email/config/config&templateDir=template&theme=simple
>>
>> From this I can see that it gets the /email/config/email/config
>> namespace instead of just /email/config. Not unexpected, struts throws
>> an exception about action not found when submit is clicked. This is
>> only while running as a portlet, as webapp (test) everything works
>> fine.
>>
>> Anyone has any clues?
>>
>> Leonard broman
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to