I didn't even know that form had a "value" attribute. You should not
use that. (this might be due to our all-tags-inherit-from-UIBean prom)

musachy

On Fri, Sep 11, 2009 at 11:10 AM, Tommy Pham <tommy...@yahoo.com> wrote:
> Hi,
>
> I think I found another bug ... I want to include whatever parameters in URL 
> to a form submit action.  This is what I used.
>
> <s:url var="urlFormActive" includeParams="get" />
>
> <s:property value="%{urlFormActive}"/> or <s:property 
> value="%{#urlFormActive}"/> shows the correct URL of:
> /recipes/Admin/Languages?sort=isoCode2.
>
> But when I use it in the <s:form>:
>
> <s:form enctype="multipart/form-data" method="post" value="%{urlFormActive}">
> or
> <s:form enctype="multipart/form-data" method="post" value="%{#urlFormActive}">
>
> The source code of the HTML shows:
> /recipes/Admin/Languages
>
> However, if I use action attribute instead of value, I get this:
> /recipes/recipes/Admin/Languages?sort=isoCode2
>
> Which isn't what I want either and will get a 404 error as there isn't a 
> servlet or Struts action mapped for it.  Is anyone else having this same 
> problem?  Should I submit a bug report?
>
> Thanks,
> Tommy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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

Reply via email to