[ http://mc4j.org/jira/browse/STS-421?page=comments#action_10828 ] Kai Grabfelder commented on STS-421: ------------------------------------
Sounds reasonable for me. Could you create a patch against the trunk and attach it to this issue? > Support for protocol, host, port and context stripes:form, stripes:link and > stripes:url tags > -------------------------------------------------------------------------------------------- > > Key: STS-421 > URL: http://mc4j.org/jira/browse/STS-421 > Project: Stripes > Issue Type: Improvement > Components: Tag Library > Affects Versions: Release 1.4.3 > Reporter: Jan Moravec > Assigned To: Tim Fennell > Priority: Minor > > It would be great if stripes:form, stripes:link and stripes:url tags > supported additional attributes to make the rendered URL absolute. This is > very handy in situations when the user is on a page that got loaded via HTTP > and you need to point them to an action over HTTPS. > This is very common for title pages containing user login forms that should > be submitted over HTTPS. Redirecting the user to HTTPS as soon as they hit > the title page is not desirable. Most of the functionality on the title page > is typically available to non-authenticated users and there is no need to > further stress the HTTP server with unnecessary HTTPS traffic. > Stripes tags should be intelligent enough to calculate sane defaults (e.g. if > protocol="https" is specified and no port is specified, then the port should > be set to 443) and normalize the generated URLs (when a standard port is > used for the chosen protocol, then the port number is dropped from the URL). > According to the reactions on the mailing list (search for "Force HTTPS for > submit"), there are users who would appreciate this functionality. > I have already implemented an extension of the stripes:form tag + > normalization routines etc. to support the 4 above-mentioned attributes so I > can possibly extract the relevant code and post it. > Jan -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://mc4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Stripes-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-development
