If we had chosen always to handle s:hidden tags whose name matches that of a
clean URL parameter as a parameter instead of a hidden input, then if you
actually *did* want such a tag to generate a hidden input you would have no
way to accomplish that. Likewise, there had previously been no way to add a
query string to a form action except to set the action attribute yourself,
which is undesirable most of the time.

The s:hidden tag has always generated hidden inputs. The s:param tag has
always modified the URL of its parent tag by adding parameters to it. It was
a natural fit to do it the way we did.

-Ben

On Fri, Dec 19, 2008 at 2:56 AM, Oscar Westra van Holthe - Kind <
[email protected]> wrote:

> On 18-12-2008 at 22:57, Ben Gunter wrote:
> > Hidden inputs aren't handled like parameters for clean URLs. Instead, the
> > s:form tag now accepts s:params.
>
> Just out of curiosity: what's the rationale behind this?
>
>
> Oscar
>
------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to