struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leena Borle <lsbo...@gmail.com>
Subject Re: How to specify namespace for s:submit.
Date Mon, 02 Mar 2009 18:31:39 GMT
Hi,
  Yes, <s:submit> can submit two different actions. It's the problem with
namespace. I don't see a way to specify namespace for <s:submit> tag. I
guess, I will have to add JavaScript. I don't want to use two separate
forms.

Thanks For the help,
Leena

On Sun, Mar 1, 2009 at 5:52 AM, Dave Newton <newton.dave@yahoo.com> wrote:

> Zarar Siddiqi wrote:
>
>> <s:submit/> submits a <s:form/>.  If you want your two submit buttons
>> to call two different actions, you'll need two different forms.
>>
>
> <s:submit> can submit to different actions, I'm just not sure if the
> namespace can be specified.
>
> Dave
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message