You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jeff Klein (JIRA)" <ji...@apache.org> on 2008/11/24 21:14:36 UTC
[jira] Created: (WW-2892) Name attribute defaults to empty string
on UI tags
Name attribute defaults to empty string on UI tags
--------------------------------------------------
Key: WW-2892
URL: https://issues.apache.org/struts/browse/WW-2892
Project: Struts 2
Issue Type: Bug
Components: Plugin - Tags
Affects Versions: 2.1.2
Reporter: Jeff Klein
Priority: Minor
When a name is not given to a UI tag, is defaults to the empty string;
<select name="">
this will send a parameter without a name to the server;
view.action?=value
Can the name attribute just be dropped if not given? This would be useful for controls that are only used for JS actions, and which don't need to submit their values to the server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-2892) Name attribute defaults to empty string
on UI tags
Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes Wannemacher updated WW-2892:
--------------------------------
Fix Version/s: (was: 2.1.4)
2.1.5
> Name attribute defaults to empty string on UI tags
> --------------------------------------------------
>
> Key: WW-2892
> URL: https://issues.apache.org/struts/browse/WW-2892
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Tags
> Affects Versions: 2.1.2
> Reporter: Jeff Klein
> Priority: Minor
> Fix For: 2.1.5
>
>
> When a name is not given to a UI tag, is defaults to the empty string;
> <select name="">
> this will send a parameter without a name to the server;
> view.action?=value
> Can the name attribute just be dropped if not given? This would be useful for controls that are only used for JS actions, and which don't need to submit their values to the server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-2892) Name attribute defaults to empty string
on UI tags
Posted by "James Holmes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Holmes updated WW-2892:
-----------------------------
Fix Version/s: 2.1.4
Issue Type: Improvement (was: Bug)
> Name attribute defaults to empty string on UI tags
> --------------------------------------------------
>
> Key: WW-2892
> URL: https://issues.apache.org/struts/browse/WW-2892
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Tags
> Affects Versions: 2.1.2
> Reporter: Jeff Klein
> Priority: Minor
> Fix For: 2.1.4
>
>
> When a name is not given to a UI tag, is defaults to the empty string;
> <select name="">
> this will send a parameter without a name to the server;
> view.action?=value
> Can the name attribute just be dropped if not given? This would be useful for controls that are only used for JS actions, and which don't need to submit their values to the server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-2892) Name attribute defaults to empty string
on UI tags
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45742#action_45742 ]
Musachy Barroso commented on WW-2892:
-------------------------------------
I understand the problem, the reason while it is this way is to let people know that the name is missing, which is a bad thing most of the time, except in the use case that you described. It is a trade off, but JS usage will be a lot smaller than normal usage, in which case the current behaviors is desirable. You can always overwrite the templates that you use and remove the "name" attribute, as a workaround.
> Name attribute defaults to empty string on UI tags
> --------------------------------------------------
>
> Key: WW-2892
> URL: https://issues.apache.org/struts/browse/WW-2892
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Tags
> Affects Versions: 2.1.2
> Reporter: Jeff Klein
> Priority: Minor
> Fix For: 2.1.7
>
>
> When a name is not given to a UI tag, is defaults to the empty string;
> <select name="">
> this will send a parameter without a name to the server;
> view.action?=value
> Can the name attribute just be dropped if not given? This would be useful for controls that are only used for JS actions, and which don't need to submit their values to the server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WW-2892) Name attribute defaults to empty string
on UI tags
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso resolved WW-2892.
---------------------------------
Resolution: Won't Fix
see comments
> Name attribute defaults to empty string on UI tags
> --------------------------------------------------
>
> Key: WW-2892
> URL: https://issues.apache.org/struts/browse/WW-2892
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Tags
> Affects Versions: 2.1.2
> Reporter: Jeff Klein
> Priority: Minor
> Fix For: 2.1.7
>
>
> When a name is not given to a UI tag, is defaults to the empty string;
> <select name="">
> this will send a parameter without a name to the server;
> view.action?=value
> Can the name attribute just be dropped if not given? This would be useful for controls that are only used for JS actions, and which don't need to submit their values to the server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.