[JBoss JIRA] Created: (RF-4129) Expanding/collapsing a rich:tree nodes from model
by Francisco Jose Peredo Noguez (JIRA)
Expanding/collapsing a rich:tree nodes from model
-------------------------------------------------
Key: RF-4129
URL: https://jira.jboss.org/jira/browse/RF-4129
Project: RichFaces
Issue Type: Feature Request
Reporter: Francisco Jose Peredo Noguez
Lets say I bind my Rich Tree to a list of object using the recursiveTreeNodesAdaptor:
Code:
<rich:recursiveTreeNodesAdaptor roots="#{rootNodes}" var="node" nodes="#{node.childNodes}">
<rich:treeNode rendered="#{node.visible}">
#{node.name}
</rich:treeNode>
with this code:
rendered="#{node.visible}"
I can control if it is visible or not... I would like something similar to control if it is collapsed or not, something like:
Code:
collapsed="#{node.collapsed}"
It would look like this:
<rich:recursiveTreeNodesAdaptor roots="#{rootNodes}" var="node" nodes="#{node.childNodes}">
<rich:treeNode rendered="#{node.visible}" collapsed="#{node.collapsed}">
#{node.name}
</rich:treeNode>
It would be extra-nice if it could propagate back automatically (if a leaf node has collapsed = false, all its parent nodes would be expandend)
--
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, 11 months
[JBoss JIRA] Created: (RF-5166) fileUpload: fileUploadListener isn't call under myfaces.
by Mikhail Vitenkov (JIRA)
fileUpload: fileUploadListener isn't call under myfaces.
--------------------------------------------------------
Key: RF-5166
URL: https://jira.jboss.org/jira/browse/RF-5166
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: myfaces 1.2.5, IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0.BETA1)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Set org.apache.myfaces.CHECK_EXTENSIONS_FILTER context parameter to "false" in web.xml;
#2. Set fileUploadListener="#{fileUpload.fileUploadListener}", where listener defined following way:
public void fileUploadListener(UploadEvent event) throws Exception{
UploadItem upload = event.getUploadItem();
if (upload.isTempFile()) {
File file = upload.getFile();
System.out.println("FileUpload.fileUploadListener()");
} else {
ByteArrayOutputStream b = new ByteArrayOutputStream();
b.write(upload.getData());
}
System.out.println("FileUpload.fileUploadListener()");
}
#3. Navigate to page with component & try to upload any valid file(satisfied with maxFilesQuantity, size restriction and so on).
#4. Verify "FileUpload.fileUploadListener()" message in console.
Actual behavior:
fileUploadListener was not fired.
--
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, 11 months
[JBoss JIRA] Created: (RF-4450) HtmlInputSpinner freaks out with formatted numbers
by Richard Kennard (JIRA)
HtmlInputSpinner freaks out with formatted numbers
--------------------------------------------------
Key: RF-4450
URL: https://jira.jboss.org/jira/browse/RF-4450
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.2
Environment: All
Reporter: Richard Kennard
Priority: Minor
HtmlInputSpinner completely loses the plot if it has a Converter attached that formats the number.
For example, a Converter that formats the number from 1234 to $1,234.00 or 1234%. As soon as you click a spinner button, the value jumps to, say, 9E+2 or something, which I assume is a result of failure to parse the number. I appreciate that because the 'spinning' is client-side and JavaScript based it does not have access to the Converter to help it parse the number.
However, it would be great to have some level of support such as:
BEST: support formatted numbers directly (eg. HtmlInputSpinner.setNumberPattern)
STILL GOOD: strip non-numeric characters when parsing the number (eg. $ and % and ,)
OKAY: grab the original value server-side, pre-going through the Converter, and use that to drive the spinner's JavaScript (being wary, of course, if the user edits the value manually by typing in the text box)
--
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, 11 months