[JBoss JIRA] Created: (RF-1480) Browser is blocked when dowloading ajax libraries
by Jim Vincent (JIRA)
Browser is blocked when dowloading ajax libraries
-------------------------------------------------
Key: RF-1480
URL: http://jira.jboss.com/jira/browse/RF-1480
Project: RichFaces
Issue Type: Bug
Environment: jdk 1.5.0_14-b03
Apache Tomcat/5.5.17
Reporter: Jim Vincent
I use MyFaces for the jsf impl.
If I remove the IE cache.
When I go to a complicated page for the first time.
The different buttons do not work.
Very Often, in the status bar I can read "dowloading http://...... /html/scripts/calendar.js.jsf "
Here is my code
*******************************************************
1) One main file cart.jsp
... <a4j:form id="MyCart">
<t:panelGrid columnClasses="columnMenu"
style="height:100%; width:100%;" columns="3">
<t:column width="18%">
<%@include file="/menu/menu.jsp"%>
<f:verbatim>
<br />
<br />
</f:verbatim>
<%@include file="cartAction.jsp"%>
<br />
<br />
...
*******************************************************
2) In the inluded file "cartAction.jsp", I have buttons which do not work properly during the download of ajax script
...
<rich:panel>
<t:panelGrid columns="1" style="margin-top:0" columnClasses="standardTable_ColumnCentered" cellpadding="0" cellspacing="2">
<t:panelGrid columns="2" style="margin-top:0" cellpadding="0" cellspacing="5">
<h:column>
<a4j:commandButton style="width:180px" onmouseover="this.className='mybutton_on'" onmouseout="this.className='mybutton_off'" styleClass="mybutton_off"
onclick="displayProgressBar('save')"
oncomplete="hideProgressBar()"
action="#{myCart.doSave}"
value="#{rs_messages['cart.save']}" />
</h:column>
...
*******************************************************
3) The included file, the menu does not work, even the mouseover does not work
<h:panelGrid columns="1"
style="margin-left:10px;">
<h:column>
<rich:panelMenu binding="#{menuBean.menu}" id="idMenu"
hoveredItemClass="rich-pmenu-item-label-hover"
topItemClass="rich-pmenu-item-label-normal"
rendered="#{(pipContainer.logged)}">
<rich:panelMenuItem id="idMenuCatalog"
icon="/images/bullet-dabdab.gif"
label="#{menu_messages['part_list']}"
action="#{partList.doShowCatalog}" />
*******************************************************
In IE It is blocked,
In Firefox I go back to a previous page when clicking on a button.
If I wait a little bit and refresh the same page, IT WORKS
Regards
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years
[JBoss JIRA] Created: (RF-1603) Quote in attribute value not handled correctly in ajax4jsf filter
by Alan Ballard (JIRA)
Quote in attribute value not handled correctly in ajax4jsf filter
-----------------------------------------------------------------
Key: RF-1603
URL: http://jira.jboss.com/jira/browse/RF-1603
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.1
Reporter: Alan Ballard
I ran into a problem with ajax responses not being handled correctly. The specific context was a <dndParam> where the value attibute specified a string with a single, unmatched, quote as part of the value, though I believe this could occur in other situations.
The response returned to the server is incorrectly generated with a cdata around an inappropriate portion of the response.
Debugging shows that dndparam and dragsupport have correctly generated javascript with a correctly escaped backslash-quote.
The problem is in the version of tidy included with richfaces, when it postprocesses the response for the script in ajax4jsf.Filter. This contains code (in lexer.java method getCDATA) that does handled excaped quotes, but only for nodes it considers javascript. And it only considers a node to be javascript if it specifies language="javascript" or type="javascript". Not type="text/javascript", which is (correctly) generated by the richfaces components.
Should probably be checking for attribute value contains (case independently) javascript.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years
[JBoss JIRA] Moved: (RF-1713) RichFaces 'double implementation' MethodNotFoundException bug
by Pete Muir (JIRA)
[ http://jira.jboss.com/jira/browse/RF-1713?page=all ]
Pete Muir moved JBSEAM-2416 to RF-1713:
---------------------------------------
Project: RichFaces (was: JBoss Seam)
Key: RF-1713 (was: JBSEAM-2416)
Affects Version/s: (was: 2.0.0.GA)
> RichFaces 'double implementation' MethodNotFoundException bug
> -------------------------------------------------------------
>
> Key: RF-1713
> URL: http://jira.jboss.com/jira/browse/RF-1713
> Project: RichFaces
> Issue Type: Bug
> Environment: Linux, Jboss AS 4.2.2, Seam 2.0.0 GA
> Reporter: Bram Biesbrouck
>
> When I use "adviseNodeOpened" in a rich:tree component, I end up with a javax.faces.el.MethodNotFoundException:
> adviseNodeOpened="#{fileSystemManager.adviseFileSystemTreeNodeOpened}": Method not found: FileSystemManagerImpl:3j011-9i11xv-faathdgv-1-faauxftc-h.adviseFileSystemTreeNodeOpened(org.richfaces.component.UITree)
> The former solution was to set UseJBossWebLoader to true, but this breaks the Seam Mail functionality.
> The new solution came when RichFaces impl and api were splitted, but nothing changed with "adviseNodeOpened"
> In the Wiki-example build.xml, I'm seeing this comment:
> <!-- Still need the * on richfaces due to bug in version mapper -->
> Could this be the reason (the fact that we can't split out the api in the war file just yet) for this exception to be thrown?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years