[JBoss JIRA] Created: (RF-7206) SimpleTogglePanel's opened attribute only works with String bean properties
by Matthew Lieder (JIRA)
SimpleTogglePanel's opened attribute only works with String bean properties
---------------------------------------------------------------------------
Key: RF-7206
URL: https://jira.jboss.org/jira/browse/RF-7206
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Environment: JRE 6, Tomcat 6
Reporter: Matthew Lieder
Given the bean
public class MyBean {
public boolean getBooleanProp() {
return true;
}
public void setBooleanProp(boolean prop) {}
public boolean getStringProp() {
return "true";
}
public void setStringProp(String prop) {}
}
and the XHTML
<rich:simpleTogglePanel label="Close Me" switchType="client" opened="#{myBean.booleanProp}">
Blah blah blah
</rich:simpleTogglePanel>
I get the following error if I close the tab panel and then submit the page:
/test.xhtml @646,220 opened="#{myBean.booleanProp}": java.lang.IllegalArgumentException: argument type mismatch
If I change the opened attribute to #{myBean.stringProp} however, then it works fine.
The problem seems to narrow down to the following method in UISimpleTogglePanel:
public void setOpened(boolean opened) {
setValue(new Boolean(opened).toString());
}
--
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
16 years, 2 months
[JBoss JIRA] Created: (RF-2490) Header facet in the rich:dataTable ignore column "rendered" attribute
by Alexander Smirnov (JIRA)
Header facet in the rich:dataTable ignore column "rendered" attribute
---------------------------------------------------------------------
Key: RF-2490
URL: http://jira.jboss.com/jira/browse/RF-2490
Project: RichFaces
Issue Type: Bug
Environment: RichFaces 3.2 snapshot from 3/10.
Reporter: Alexander Smirnov
Assigned To: Alexander Smirnov
Fix For: 3.2.0
The headers of data tables are no longer following the render rule of its parent h:column tag.
The headers are rendering no matter what the rule is. The actual content is following the render rule. I noticed that if I wrap the whole h:column
into an a4j:region tag and place the render rule there instead, it all renders correctly. However, I think it should work the way it was before right ??
The f:facet tag should comply to the render rule in the h:column tag ?
Here's a code snippet.......
<rich:dataTable ...>
<h:column id="checkBoxCol" rendered="#{itemList_editableUser or itemList_subProfileView or itemList_DownloadableUser}">
<f:facet name="header">
<h:selectBooleanCheckbox styleClass="checkbox" immediate="true" id="headerCheckBox"
onclick="toggleElementCheckboxes(this, this.checked)"/>
</f:facet>
<h:selectBooleanCheckbox value="#{item.selected}" title="#{item.object.itemIdentifier.gtin}" styleClass="checkbox"
id="rowCheckBox"
disabled="#{(itemList_subProfileView and itemList_subProfRestr) or item.acctAccess == 'N'}"/>
</h:column>
........
</rich:dataTable>
--
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
16 years, 2 months
[JBoss JIRA] Created: (RF-4128) They all should be Trees:Panel Menu, Context Menu, Drop Down
by Francisco Jose Peredo Noguez (JIRA)
They all should be Trees:Panel Menu, Context Menu, Drop Down
------------------------------------------------------------
Key: RF-4128
URL: https://jira.jboss.org/jira/browse/RF-4128
Project: RichFaces
Issue Type: Feature Request
Reporter: Francisco Jose Peredo Noguez
I would like to be able to use recursiveTreeNodesAdaptor to configure Panel Menu, Context Menu, Drop Down Menu, after all, they all are recursive trees.
They all should be Trees:Panel Menu, Context Menu, Drop Down Menu. Shouldn't they? Why not? AFAIK there is no easy way to make this possible right now
--
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
16 years, 2 months
[JBoss JIRA] Created: (RF-6473) fileUpload allowFlash="true" not working when inside modalPanel, in IE6
by Daniel Wiell (JIRA)
fileUpload allowFlash="true" not working when inside modalPanel, in IE6
-----------------------------------------------------------------------
Key: RF-6473
URL: https://jira.jboss.org/jira/browse/RF-6473
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: RichFaces 3.3.0.GA, JSF 1.2_12, Seam 2.1.1.GA, Tomcat 5.5.26, Windows XP
Reporter: Daniel Wiell
fileUpload allowFlash="true" not working when inside modalPanel, in IE6
When using IE6, the actual upload "hangs" right away. It works fine with Firefox 3 and Chrome.
Note that this is not the same issue as RF-4480, where the button of the file upload didn't open the file dialog window.
Here is a snippet to recreate it:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8"/>
<title>File upload</title>
</head>
<body>
<rich:modalPanel id="panel" width="350" autosized="true">
<f:facet name="controls">
<h:panelGroup>
<h:outputText id="hidelink" value="close"/>
<rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>
</h:panelGroup>
</f:facet>
<h:form>
<rich:fileUpload allowFlash="true" fileUploadListener="#{test.onUpload}"/>
</h:form>
</rich:modalPanel>
<h:outputLink value="#" id="link">
Show Modal Panel
<rich:componentControl for="panel" attachTo="link" operation="show" event="onclick"/>
</h:outputLink>
<br/>
</body>
</html>
--
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
16 years, 3 months
[JBoss JIRA] Created: (RF-7927) rich:filupload some request blocked ad viternam set the cpu to 99.9%
by Adrien (JIRA)
rich:filupload some request blocked ad viternam set the cpu to 99.9%
--------------------------------------------------------------------
Key: RF-7927
URL: https://jira.jboss.org/jira/browse/RF-7927
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.2.CR1, 3.3.1
Environment: JBOSS 4.2.2 / richfaces 3.3.1 or 3.3.2 CR1
Reporter: Adrien
Hi,
Since some month, i have some time something with set the cpu at 99.9% and the cpu stay at 99.9% ad viternam.
The problem is 'rare' only 8 or 6 times(but when it occurs the cpu stay at 99.9%), and actually I've not reproduce the problem, but I'm search and trying .
I suspect fileupload, with the web-console/websatus/FullStatus I've detected the problem come from some request wich stay blocqued ad viternam and all these request use fileupload.
Here a copy a the 2 requests (see also the jpeg ) :
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
S 2297197684 ms 0 KB 0 KB 90.41.114.64 www.lorizon.com POST /pages/m/managephoto.jsf?_richfaces_upload_uid=0.33606938123632846&svupphotos:falbumphotos:upload=svupphotos:falbumphotos:upload&_richfaces_upload_file_indicator=true&AJAXREQUEST=_viewRoot HTTP/1.1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
S 2297003329 ms 0 KB 0 KB 90.41.114.64 www.lorizon.com POST /pages/m/managephoto.jsf?_richfaces_upload_uid=0.6245843087409002&svupphotos:falbumphotos:upload=svupphotos:falbumphotos:upload&_richfaces_upload_file_indicator=true&AJAXREQUEST=_viewRoot HTTP/1.1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I've put some source attachement of my project and screenshot of the web-console.
Actually my investigation continue on :
-If the image downloaded, erase an old image on the disk wich is read why another request at the same time
-There is a way with the web-console to stop manually thes request? Instead of restart all.
For richefaces Album Demo : they never had a problem like that?
--
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
16 years, 3 months