[ http://mc4j.org/jira/browse/STS-421?page=all ]
Jan Moravec updated STS-421:
----------------------------
Attachment: FormTag.java
The form tag that supports, protocol, host, port and context attributes to
customize the form's action URL. Primarily used to make forms loaded via HTTP
point to Stripes actions over HTTPS.
The context attribute allows one to change the target web context. I do not use
it, but some users on the mailing list indicated that it might be useful
sometimes (when Apache proxying/rewriting is used). Basically it gives you
complete control over the created action URL....
> 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
> Attachments: FormTag.java
>
>
> 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