[ http://mc4j.org/jira/browse/STS-393?page=comments#action_10771 ] Ben Gunter commented on STS-393: --------------------------------
In a page with multiple forms, this would generate multiple elements with the same ID. That's a violation of the HTML 4 spec. http://www.w3.org/TR/html4/struct/global.html#h-7.5.2 > give hidden _sourcePage element id attribute > -------------------------------------------- > > Key: STS-393 > URL: http://mc4j.org/jira/browse/STS-393 > Project: Stripes > Issue Type: Improvement > Components: Tag Library > Affects Versions: Release 1.4.3 > Environment: All > Reporter: Gregg Bolinger > Assigned To: Tim Fennell > > It would be nice if the hidden _sourcePage element that the stripes:form tag > generates would include the ID attribute as _sourcePage as well. I've ran > into some situations where I need to pass this in along with an ajax request. > I can get it by name but sometimes it's simple to do $("_sourcePage").value > which won't work with the ID. -- 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
