[JBoss JIRA] (RF-12296) Improve CDK c:forEach typing
by Paul Dijou (JIRA)
Paul Dijou created RF-12296:
-------------------------------
Summary: Improve CDK c:forEach typing
Key: RF-12296
URL: https://issues.jboss.org/browse/RF-12296
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: cdk
Affects Versions: 4.2.2.Final
Environment: All
Reporter: Paul Dijou
As we can see on [this comment|https://issues.jboss.org/browse/RF-10037?focusedCommentId=1269671...], you currently need to assign a list/array to a var before using it inside a {{<c:forEach>}} or the CDK doesn't know its correct type.
As suggested by Lukas, I agree to add a {{cdk:itemType}} (or {{cdk:type}} like in the {{<cdk:object>}} tag) to specify manually the type of the object inside the iteration. If this attribute is present in the {{<c:forEach>}}, then the CDK use it to cast the object, otherwise it does the same as currently, no regression.
In addition, for Enum, I would also try to use the initial import :
{code:xml}
<cdk:import package="org.richfaces.component" names="MyEnum" />
{code}
In order to know the type of each Enum and then be able to correctly cast the following code :
{code:xml}
<cc:implementation>
<c:forEach items="#{MyEnum.values()}" var="item">
#{item}
</c:forEach>
</cc:implementation>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] Created: (RF-11355) commandButton doesn't work at first click in popupPanel
by Loïc TALON (JIRA)
commandButton doesn't work at first click in popupPanel
-------------------------------------------------------
Key: RF-11355
URL: https://issues.jboss.org/browse/RF-11355
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 4.0.0.Final
Environment: OS : Windows Seven
Virtual server : easy php
Server JEE : Glassfish 3.1
JSF 2.0
Reporter: Loïc TALON
Hi,
Sorry i don't speak very well english.
I have a problem with a4j:commandButton in popupPanel.
The first click doesn't work for action to commandButton but the first clic work. That doesn't work only in popupPanel.
<a4j:commandButton value="Valid"
action="#{beanManaged.valid}"
id="validButton"
render="modalPanelInfo, formCreate"
/>
I think the problem is javax.faces.viewstate, beacause before the first clic doesn't have input hidden with javax.faces.viewstate but after the first clic i have input hidden with javax.faces.viewstate.
How to solve this problem ?
THX
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] Created: (RF-10835) File upload: progress bar doesn't show progress
by Pavol Pitonak (JIRA)
File upload: progress bar doesn't show progress
-----------------------------------------------
Key: RF-10835
URL: https://issues.jboss.org/browse/RF-10835
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.0.0.Final
Environment: RichFaces 4.1.0-SNAPSHOT r.22320
Metamer 4.1.0-SNAPSHOT r.22342
Mojarra 2.1.0-FCS
GlassFish Server Open Source Edition 3.1-SNAPSHOT
OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
Chrome 10.0.648.204 @ Linux x86_64
Reporter: Pavol Pitonak
Attachments: fileUpload3.png
When a file is uploaded using rich:fileUpload, progress bar doesn't show progress (see screenshot from Chrome).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month