SiteMesh decorates Ajax requests
--------------------------------
Key: APF-1020
URL:
http://issues.appfuse.org/browse/APF-1020 Project: AppFuse
Issue Type: Improvement
Components: Web - General
Affects Versions: 2.0.1
Reporter: Michael Horwitz
Assignee: Matt Raible
Priority: Minor
The default SiteMesh setup in AppFuse decorates Ajax requests that return HTML content. This is usually undesirable - Ajax requests are for page snippets that should not be decorated.
The current workaround requires users to place all Ajax requests in their own namespace and exclude any request to the namespace from SiteMesh decoration.
A better solution may be to include a DecoratorMapper as illustrated here:
http://www.koders.com/java/fidADE37C0F524A06A9F6D8CAA572F501EBEA5DAF81.aspxwhich automatically excludes all XmlHttpRequests from SiteMesh decoration.
Of course there may be some users who actually want their Ajax requests decorated :-)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.appfuse.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]