[seam-dev] Suppressing parameter inclusion for s:link
Pete Muir
pmuir at redhat.com
Fri Oct 24 07:21:16 EDT 2008
On 23 Oct 2008, at 21:20, Dan Allen wrote:
>
> Note that we already support this to some degree with <f:param
> name="whatever" value="" />. It's very tedious to put this on
> every link, especially when you have multiple page parameters, so
> having an easier way to set this on each particular link would be
> great.
>
> Actually, it's suppressed using <f:param name="whatever"/> or
> <f:param name="whatever" value="#{null}"/>. If the value is empty
> string, the parameter will be included in the URL with no value
> (i.e., empty string).
As Christian said, <f:param name="whatever" /> is probably the wrong
syntax for this, as it implies you are adding a parameter, not
removing it. Maybe we need an <s:suppressPageParameter name="foo" />
instead.
I think we are agreed, a global turn-off on s:link is the best
approach (if we want to do a global switch at all...). I suggest we
call it suppressPageParameters="true".
>
>
> --
> Dan Allen
> Software consultant | Author of Seam in Action
>
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
>
> NOTE: While I make a strong effort to keep up with my email on a daily
> basis, personal or other work matters can sometimes keep me away
> from my email. If you contact me, but don't hear back for more than
> a week,
> it is very likely that I am excessively backlogged or the message was
> caught in the spam filters. Please don't hesitate to resend a
> message if
> you feel that it did not reach my attention.
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20081024/3f425649/attachment.html
More information about the seam-dev
mailing list