Announcement Announcement Module
No announcement yet.
<head> tag content when using the AJAX <render> tag Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • <head> tag content when using the AJAX <render> tag


    I have found when using the <render> tag to perform partial page refreshes that the AJAX XML response contains something similar to:

    HTML Code:
    <head><script src="/sdp-prototype/spring/a4j/g/3_3_3.Final/org/ajax4jsf/framework.pack.js" type="text/javascript"></script><script src="/sdp-prototype/spring/a4j/g/3_3_3.Final/org/richfaces/ui.pack.js" type="text/javascript"></script><link class="component" href="/sdp-prototype/spring/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/basic_both.xcss/DATB/eAFrvajdHLp8hjQAEgwDtA__" rel="stylesheet" type="text/css" /><link class="component" href="/sdp-prototype/spring/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/extended_both.xcss/DATB/eAFrvajdHLp8hjQAEgwDtA__" media="rich-extended-skinning" rel="stylesheet" type="text/css" /><link class="component" href="/sdp-prototype/spring/a4j/s/3_3_3.Final/org/richfaces/skin.xcss/DATB/eAFrvajdHLp8hjQAEgwDtA__" rel="stylesheet" type="text/css" /><script type="text/javascript">window.RICH_FACES_EXTENDED_SKINNING_ON=true;</script></head>
    This is data that was initially returned in the original request and is not required in an AJAX response (in my case) and hence creating a larger response.

    This sounds very similar to what happens in RichFaces by default, but you can control what is returned in an AJAX response with the RichFaces filter parameters 'org.richfaces.LoadStyleStrategy' and 'org.richfaces.LoadScriptStrategy'.

    Is there any way to do this with SWF?