[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
14 years, 12 months
[JBoss JIRA] Created: (RF-8225) 4.x BUILD: cant build project from root folder.
by Ilya Shaikovsky (JIRA)
4.x BUILD: cant build project from root folder.
-----------------------------------------------
Key: RF-8225
URL: https://jira.jboss.org/jira/browse/RF-8225
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: build
Affects Versions: 4.0.0.ALPHA2
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
Fix For: 4.0.0.ALPHA2
maven config attached.
ERROR:
Missing:
----------
1) org.jboss.test-jsf:htmlunit-client:jar:1.0.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.jboss.test-jsf -DartifactId=htmluni
t-client -Dversion=1.0.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.jboss.test-jsf -DartifactId=htmlunit-
client -Dversion=1.0.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1) org.richfaces.framework:richfaces-impl:jar:4.0.0-SNAPSHOT
2) org.jboss.test-jsf:htmlunit-client:jar:1.0.0-SNAPSHOT
2) org.jboss.test-jsf:jsf-mock:jar:1.0.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.jboss.test-jsf -DartifactId=jsf-moc
k -Dversion=1.0.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.jboss.test-jsf -DartifactId=jsf-mock
-Dversion=1.0.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepo
sitoryId=[id]
Path to dependency:
1) org.richfaces.framework:richfaces-impl:jar:4.0.0-SNAPSHOT
2) org.jboss.test-jsf:jsf-mock:jar:1.0.0-SNAPSHOT
----------
2 required artifacts are missing.
for artifact:
org.richfaces.framework:richfaces-impl:jar:4.0.0-SNAPSHOT
from the specified remote repositories:
repository.jboss.com (http://repository.jboss.com/maven2/),
central (http://repo1.maven.org/maven2),
maven2-snapshots.jboss.com (http://snapshots.jboss.org/maven2),
repository.jboss.org (http://repository.jboss.org/maven2),
snapshots.jboss.org (http://snapshots.jboss.org/maven2),
maven-repository2.dev.java.net (http://download.java.net/maven/2)
--
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
15 years
[JBoss JIRA] Created: (RF-8229) ExtendedDataTable: programmatic changes in table state are not reflected visually
by Nick Belaevski (JIRA)
ExtendedDataTable: programmatic changes in table state are not reflected visually
----------------------------------------------------------------------------------
Key: RF-8229
URL: https://jira.jboss.org/jira/browse/RF-8229
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Nick Belaevski
Use case description: add new column to the rich:extendedDataTable and make it the first one.
Tried this:
public void addColumn() throws Exception {
UIExtendedDataTable table =(UIExtendedDataTable) component;
HtmlColumn column = new HtmlColumn();
column.setId("dynamicColumn");
column.getChildren().add(new HtmlOutputText());
table.getChildren().add(0, column);
}
but columns is always added the second, because rich:extendedDataTable maintains list of columns and sorting it accordingly. New column is just missing there after addition. Tried to bind "tableState" to the bean, but it's not read.
--
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
15 years
[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
15 years
[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
15 years