You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Leonard Broman <le...@gmail.com> on 2009/10/09 10:35:54 UTC

Re: Portlet form action parameters doubles the namespace of actions

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 <fi...@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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Portlet form action parameters doubles the namespace of actions

Posted by Nils-Helge Garli Hegvik <ni...@gmail.com>.
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
<le...@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 <fi...@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-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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