-
1. Re: cmdButtom, modalPanel, response = IE7 memory leak at the
k85 Feb 28, 2009 2:36 AM (in response to k85)ModalPanel appears on button click when a page is fully reloaded again.
-
2. Re: cmdButtom, modalPanel, response = IE7 memory leak at the
k85 Mar 1, 2009 1:35 PM (in response to k85)I have tried JBoss 4.1.3/RF 3.1.6SR1 - all is the same.
Also I cant reproduce it with Tomcat 6.0.18.
Popup appears all the time, modalPanel - no:onclick="Richfaces.hideModalPanel('persons');alert();Richfaces.showModalPanel('persons');"
Does anybody have ideas? -
3. Re: cmdButtom, modalPanel, response = IE7 memory leak at the
nbelaevski Mar 1, 2009 2:00 PM (in response to k85)Hello,
Here is the code I've tried:<rich:modalPanel id="persons"> <a href="#" onclick="Richfaces.hideModalPanel('persons');alert(1);Richfaces.showModalPanel('persons');"> Show'n'Hide </a> </rich:modalPanel> <a href="#" onclick="Richfaces.showModalPanel('persons');"> Show me panel </a>
alert() gives exception in FF, so I've used alert(1) instead.
The code above works fine with 3.3.0.GA either in IE7 and in FF3. Can you please clarify what is RF version and what browsers are affected? -
4. Re: cmdButtom, modalPanel, response = IE7 memory leak at the
nbelaevski Mar 1, 2009 2:11 PM (in response to k85)This:
<rich:modalPanel id="persons"> <h:form> <a href="#" onclick="Richfaces.hideModalPanel('persons');"> Hide panel </a> <h:commandButton action="#{forum5Bean.sendBytes}" value="Send me bytes" /> </h:form> </rich:modalPanel> <a href="#" onclick="Richfaces.showModalPanel('persons');"> Show me panel </a>
public void sendBytes() throws IOException { FacesContext facesContext = FacesContext.getCurrentInstance(); HttpServletResponse response = (HttpServletResponse) facesContext.getExternalContext().getResponse(); byte[] bytes = new byte[4]; Arrays.fill(bytes, (byte) '1'); response.setContentType("application/x-unknown"); response.getOutputStream().write(bytes, 0, bytes.length); response.getOutputStream().flush(); facesContext.responseComplete(); }
works ok for me with 3.3.0.GA/IE7. I'm able to open and close panel and no memory leaks show up. Can you please post full code showing how to reproduce the problem? -
5. Re: cmdButtom, modalPanel, response = IE7 memory leak at the
k85 Mar 5, 2009 7:14 PM (in response to k85)So, I have try some variants..
All OK, except that after login page all my story is true.
I try to make test before login page - all is ok in this environment.
So, it not direct RF bug... I will try to go farther... -
6. Re: cmdButtom, modalPanel, response = IE7 memory leak at the
nbelaevski Mar 5, 2009 8:59 PM (in response to k85)Yes, there can be some issues with login pages... What type of login page are you using: Spring security, application server, custom-coded?
Also I suggest to try current 3.3.1-snapshot. -
7. Re: cmdButtom, modalPanel, response = IE7 memory leak at the
k85 Mar 7, 2009 6:20 AM (in response to k85)As I can see its custom code through applet.
The results with richfaces-*-3.3.1-20090307.050600-36 are the same. -
8. Re: cmdButtom, modalPanel, response = IE7 memory leak at the
nbelaevski Mar 9, 2009 9:00 AM (in response to k85)Is there a place to see this live anywhere?
-
9. Re: cmdButtom, modalPanel, response = IE7 memory leak at the
k85 Mar 11, 2009 7:24 PM (in response to k85)may be...
i think, it is possible to show(in the capital of BY) if the problem will stop me finally and if it is interesting for u. -
10. Re: cmdButtom, modalPanel, response = IE7 memory leak at the
nbelaevski Mar 11, 2009 8:43 PM (in response to k85)Just post instructions to reproduce and we'll take a look.