add some url tag features to the a tag
--------------------------------------
Key: WW-1564
URL: http:/
/issues.apache.org/struts/browse/WW-1564
Project: Struts 2
Issue Type: New Feature
Components: Views
Reporter: Erkki Lindpere
Priority: Minor
It is cumbersome to use the url tag to create an URL and
then use that URL in the a tag. It would be much better if
an URL could be created directly in the a tag, for example
by providing an action attribute. For our projects, this
would be an often-used feature. If there is need for
parameters, they could be added as nested tags as well. So
basically this tag should inherit all the behavior of the
url tag.
Another option would be to allow the url tag to be nested in
the a tag and leave the href attribute of the a tag
unspecified. So the URL created by the url tag would be set
as the href parameter of the a tag. This would save having
to use a variable for the URL.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://issues.apache.org/struts/secure/Administrators.
jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira
|