You can disable history management for individual navigator containers
by setting historyManagement to false:

<mx:TabNavigator historyManagement="false">
 
I don't think you can disable it on an application-wide basis unless you
create a custom wrapper for your app and leave the history management
code out of the new wrapper. Since you're using the JSP tag lib, I don't
think there's any way to do this. 

You might submit an enhancement request for a tag property that disables
history management.  

matt horn
 

 

________________________________

        From: JesterXL [mailto:[EMAIL PROTECTED] 
        Sent: Thursday, April 07, 2005 1:22 PM
        To: [email protected]
        Subject: Re: [flexcoders] Additional Code generated in the jsp
        
        
        My guess is, the iframe is used for the HistoryManager; so when
you click on the Accordion pane or TabPane views, they generate a
post-back in that iframe, therefore generating a true navigation
registered in JavaScript, but not actually refreshing the main page.
         
        ----- Original Message ----- 
        From: Pushkar Phatak <mailto:[EMAIL PROTECTED]>  
        To: [email protected] 
        Sent: Thursday, April 07, 2005 1:16 PM
        Subject: [flexcoders] Additional Code generated in the jsp

        Hello,
        I was formatting the the output for an application. 
        The MXML file is embedded in the <body> </body> tags as shown
below
         
        <body bgcolor="#FFFF33">
           <%@ taglib uri="FlexTagLib" prefix="mm" %>
           <mm:mxml source="Main.mxml"/>
        </body>
         
        The resulting "generated" code at run time is this.. (end of the
mail for more questions
         
        <table width='100%' height='100%' cellspacing='0'
cellpadding='0'><tr><td valign='top'>
        <script language='javascript' charset='utf-8'
src='/samples/flex-internal?action=history_js'></script>
        <noscript>
        <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflas
h.cab#version=7,0,14,0' width='100%' height='400'
        id='Main.mxml.swf'
        >
          <param name='flashvars' value='versionChecked=true'>
          <param name='src' value='Main.mxml.swf'>
        
          <embed
pluginspage='http://www.macromedia.com/go/getflashplayer' width='100%'
height='400'
            flashvars='versionChecked=true'
            src='Main.mxml.swf'
            name='Main.mxml.swf'
          />
        </object>
        </noscript>
        <script language='javascript' charset='utf-8'>
        document.write("<object
classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflas
h.cab#version=7,0,14,0' width='100%' height='400'");
        document.write("id='Main.mxml.swf'");
        document.write(">");
        document.write("  <param name='flashvars'
value='historyUrl=%2Fsamples%2Fflex%2Dinternal%3Faction%3Dhistory%5Fhtml
&lconid=" + lc_id +"&versionChecked=true'>");
        document.write("  <param name='src' value='Main.mxml.swf'>");
        document.write("  <embed
pluginspage='http://www.macromedia.com/go/getflashplayer' width='100%'
height='400'");
        document.write("
flashvars='historyUrl=%2Fsamples%2Fflex%2Dinternal%3Faction%3Dhistory%5F
html&lconid=" + lc_id +"&versionChecked=true'");
        document.write("    src='Main.mxml.swf'");
        document.write("    name='Main.mxml.swf'");
        document.write("  />");
        document.write("</object>");
        </script>
        <script language='javascript' charset='utf-8'>
        document.write("<br><iframe
src='/samples/flex-internal?action=history_html' name='_history'
frameborder='0' scrolling='no' width='22' height='0'></iframe></br>");
        </script>
        </td></tr></table>
        What I dont get is why is there an additioanl iframe generated
with the object? (red)
        The formatting gets killed because of that. I know its probably
not a big thing but 
        it would help to know 
        1. Why the code is being generated
        2. Can i stop it from generating, if so how
        3. If i cant stop it from generating, is it possible to somehow
hide it?
        Thanks
        Pushkar
        
         

        ________________________________

        Yahoo! Groups Links
        

        *       To visit your group on the web, go to:
                http://groups.yahoo.com/group/flexcoders/
                  
        *       To unsubscribe from this group, send an email to:
                [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
                  
        *       Your use of Yahoo! Groups is subject to the Yahoo! Terms
of Service <http://docs.yahoo.com/info/terms/> . 

        
        



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to