[ 
http://www.stripesframework.org/jira/browse/STS-596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter updated STS-596:
---------------------------

    Fix Version/s: Release 1.5.1
         Priority: Minor  (was: Major)

This is a reasonable request, but we've frozen 1.5 so it will have to wait 
until 1.5.1. For the tags, I think allowing event="" to explicitly exclude the 
event parameter is a good idea.

It's not clear from the description that you are talking specifically about 
cases where the event name is embedded in the URL, such as 
@UrlBinding("/foo/{$event}"). I thought I'd spell that out in my comment for 
documentation purposes. I tested cases where {$event} is not specified, and 
this does not apply there.

> support default handler name to be omitted for link and url tags
> ----------------------------------------------------------------
>
>                 Key: STS-596
>                 URL: http://www.stripesframework.org/jira/browse/STS-596
>             Project: Stripes
>          Issue Type: Improvement
>          Components: Tag Library
>    Affects Versions: Release 1.5
>            Reporter: Levi Hoogenberg
>            Assignee: Ben Gunter
>            Priority: Minor
>             Fix For: Release 1.5.1
>
>         Attachments: allow_null.patch, allow_null_onward_resolution.patch
>
>
> URLs that are created with stripes:link or stripes:url always contain the 
> event name, even when none is given, so that the default handler will be 
> used. I'd like to have a way to omit the default handler name, since most of 
> the time, it doesn't have an @HandlesEvent annotation and the handler method 
> name will be used.
> UrlBuilder supports leaving off the event nameby accepting null as the event 
> name. This is not possible with the link and url tags, since the event name 
> is only set by LinkTagSupport when it's not-null.
> I see two possible fixes (but maybe there are more elegant ones):
> * allow null values for the event tag attribute (this requires checking 
> whether event is null because it was never set or that it was explicitly set 
> as null in buildUrl);
> * treat an empty string as null for the event name.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to