[JBoss JIRA] Created: (RF-4981) FileUpload: "Add" Button Flickers If Mouse On Corner
by arin saghatelian (JIRA)
FileUpload: "Add" Button Flickers If Mouse On Corner
----------------------------------------------------
Key: RF-4981
URL: https://jira.jboss.org/jira/browse/RF-4981
Project: RichFaces
Issue Type: Bug
Reporter: arin saghatelian
To Reproduce the Bug:
- On the FileUpload screen, move mouse to the edges of the "Add..." button (left or top side) and if put in the right location, the button starts to "flicker" in other words keeps on turning on and off
To Fix the Issue:
- The issue seems to be with the div that encloses the input button. The div has a style attribute and my fix includes the following changes to the div style. None of these changes have any negative impact on the visual or performance of the fileUpload (tested in firefox and ie 7 only)
REMOVE THE FOLLOWING FROM THE STYLE:
height:21px;
left:0;
top:0;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 3 months
[JBoss JIRA] Created: (RF-4498) EndlessLoop in CssCompressor
by andreas_back (JIRA)
EndlessLoop in CssCompressor
----------------------------
Key: RF-4498
URL: https://jira.jboss.org/jira/browse/RF-4498
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: Browser independent
Reporter: andreas_back
When starting our application under RF 3.2.2 GA Tomcat consumes (on a Quad-Core-Processor) 25 % of the overall CPU performance, if the first page of the application is requested.
After adding
set CATALINA_OPTS="-Dcom.sun.management.jmxremote"
to the startup.bat and starting jconsole it was found the time is consumed in line 41 of CssCompressor.java,
see the code fragment.
sb = new StringBuffer(srcsb.toString());
while ((startIndex = sb.indexOf("/*")) >= 0) {
endIndex = sb.indexOf("*/", startIndex + 2);
if (endIndex >= startIndex + 2)
sb.delete(startIndex, endIndex + 2);
}
A simple code analysis shows that the code starts an endless loop for example for
the string
/*/
If the parameter org.ajax4jsf.COMPRESS_STYLE is set to false
then the endless loop disappears.
It could be noted that the single string in the CssCompressorTest class
does not contain the comment /* or */.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 3 months
[JBoss JIRA] Created: (RF-2613) ListShuttle: JS API
by Tsikhon Kuprevich (JIRA)
ListShuttle: JS API
-------------------
Key: RF-2613
URL: http://jira.jboss.com/jira/browse/RF-2613
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: 3.2.0.CR3
Reporter: Tsikhon Kuprevich
Assigned To: Nick Belaevski
Priority: Critical
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.doHide()" value="Hide"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.doShow()" value="Show"></a4j:commandLink>
<a4j:commandLink onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.isShown)" value="isShown"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.Enable()" value="Enable"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.Disable()" value="Disable"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.isEnabled()" value="isEnabled"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.moveUp" value="moveUp"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.moveDown" value="moveDown"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.moveTop" value="moveTop"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.moveBottom" value="moveBottom"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copy" value="copy"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.remove" value="remove"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copyAll" value="copyAll"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.removeAll" value="removeAll"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.getSelection" value="getSelection"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:listShuttleSubviewID:listShuttleID').component.getItems" value="getItems"></a4j:commandLink>
The next functions - isEnabled, Disable, doShow, Enable, doHide - cause the next JS error:
$("formID:listShuttleSubviewID:listShuttleID").component.doHide is not a function
other functions has no effect.
--
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, 3 months
[JBoss JIRA] Created: (RF-5438) rich:panelMenu does not work in chrome
by Jonathan Moores (JIRA)
rich:panelMenu does not work in chrome
--------------------------------------
Key: RF-5438
URL: https://jira.jboss.org/jira/browse/RF-5438
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: Chrome, Windows x64 Vista, Tomcat 6, JSF 1.2_10, RF 3.3.0 BETA 4
Reporter: Jonathan Moores
I have a similar problem to RF-4509 using 3.3.0 BETA 4.
Chrome does not do anything regardless of the mode=server|client|ajax or immediate=true|false
Should I create a new issue or piggy back off this?
Here is the code:
<h:form id="menuForm" >
<rich:panelMenu id="mainMenuPanel" mode="ajax" itemClass="itemClass" width="200px" immediate="true">
<rich:panelMenuItem label="Home" action="#{sessionBean.Homepage}" styleClass="itemClass">
</rich:panelMenuItem>
<rich:panelMenuItem label="Projects" action="#{sessionBean.Projects}" styleClass="itemClass">
</rich:panelMenuItem>
<rich:panelMenuItem label="Services" action="#{sessionBean.Services}" styleClass="itemClass">
</rich:panelMenuItem>
<rich:panelMenuItem label="Profiles" action="#{sessionBean.Profiles}" styleClass="itemClass">
</rich:panelMenuItem>
<rich:panelMenuItem label="Contact" action="#{sessionBean.Contact}" styleClass="itemClass">
</rich:panelMenuItem>
<rich:panelMenuItem styleClass="itemClass">
<a href="http://www.mooresolutions.nl/intranet" target="intranet">Intranet</a>
</rich:panelMenuItem>
</rich:panelMenu>
</h:form>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 3 months