[JBoss JIRA] Created: (RF-10093) CDK: NPE when element fires of @JsfComponent is used.
by Konstantin Mishin (JIRA)
CDK: NPE when element fires of @JsfComponent is used.
-----------------------------------------------------
Key: RF-10093
URL: https://issues.jboss.org/browse/RF-10093
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: cdk
Affects Versions: 4.0.0.Milestone4, 4.0.0.Milestone5
Reporter: Konstantin Mishin
Attachments: patch.txt
Seem problem is appeared only when @Event and @JsfComponent are used in different projects.
Maven output:
An annotation processor threw an uncaught exception.
Consult the following stack trace for details.
java.lang.NullPointerException
at java.util.TreeMap.put(TreeMap.java:541)
at java.util.TreeSet.add(TreeSet.java:238)
at org.richfaces.cdk.generate.freemarker.ModelElementBaseTemplateModel.getImportClasses(ModelElementBaseTemplateModel.java:137)
at org.richfaces.cdk.generate.freemarker.ModelElementBaseTemplateModel.get(ModelElementBaseTemplateModel.java:111)
at freemarker.core.Environment.getGlobalVariable(Environment.java:976)
at freemarker.core.Environment.getVariable(Environment.java:962)
at freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:87)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.Environment.include(Environment.java:1375)
at freemarker.core.Include.accept(Include.java:155)
at freemarker.core.Environment.visit(Environment.java:196)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months
[JBoss JIRA] Created: (RF-9798) CDK: template attributes are ignored
by Nick Belaevski (JIRA)
CDK: template attributes are ignored
------------------------------------
Key: RF-9798
URL: https://jira.jboss.org/browse/RF-9798
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: CDK
Affects Versions: 4.0.0.Milestone5
Reporter: Nick Belaevski
Assignee: Alexander Smirnov
For the following declaration:
<cc:interface>
<cdk:class>org.richfaces.renderkit.html.TreeNodeRenderer
</cdk:class>
<cdk:superclass>org.richfaces.renderkit.TreeNodeRendererBase</cdk:superclass>
<cdk:component-family>org.richfaces.TreeNode
</cdk:component-family>
<cdk:renderer-type>org.richfaces.TreeNodeRenderer
</cdk:renderer-type>
<cc:attribute name="iconLeaf" type="java.lang.String" />
<cc:attribute name="iconExpanded" type="java.lang.String" />
<cc:attribute name="iconCollapsed" type="java.lang.String" />
</cc:interface>
Attributes are not added to the generated UI* class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months
[JBoss JIRA] Created: (RF-10190) TreeState.expandNode doesn't work recursively for leaf nodes
by Gergely Nagy (JIRA)
TreeState.expandNode doesn't work recursively for leaf nodes
------------------------------------------------------------
Key: RF-10190
URL: https://issues.jboss.org/browse/RF-10190
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tree
Affects Versions: 3.3.3.Final
Reporter: Gergely Nagy
TreeState.expandNode(UITree, TreeRowKey) is apparently supposed to expand the node at the specified key, going recursively up along its parents and opening those as well. However, there is an if-statement which skips this logic for leaf nodes (for no apparent reason since the traversal is going up not down). I would expect this expansion to also work for leaf nodes.
Offending code snippet:
if (!tree.isLeaf()) {
TreeRowKey key = rowKey;
while (key != null && key.depth() != 0) {
addQueuedState(key, NodeState.EXPANDED);
key = (TreeRowKey) tree.getParentRowKey(key);
};
}
Ugly workaround exists: add a dummy child to a leaf node, expand, and then remove the dummy child.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months
[JBoss JIRA] Created: (RF-9138) Core demo: multiple bugs when running with Myfaces
by Pavol Pitonak (JIRA)
Core demo: multiple bugs when running with Myfaces
--------------------------------------------------
Key: RF-9138
URL: https://jira.jboss.org/browse/RF-9138
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.Milestone2
Environment: JBoss 6 M4, Tomcat 6.0.28, Myfaces 2.0.1, all browsers
Reporter: Pavol Pitonak
* add Myfaces to JBoss 6 (see http://community.jboss.org/wiki/JSFonJBossAS6)
* build core-demo (http://anonsvn.jboss.org/repos/richfaces/tags/4.0.0.20100824-M2/examples/...) with "mvn clean package -P jee6"
* add following jboss-scanning.xml to war (into WEB-INF):
<scanning xmlns="urn:jboss:scanning:1.0">
<path name="WEB-INF/classes"/>
<path name="WEB-INF/lib/guava-r05.jar">
<exclude name="com.google.common.collect" />
</path>
</scanning>
* deploy to JBoss 6 M4
OR
* build core-demo with "mvn clean package -Djsf_profile=myfaces"
* deploy to Tomcat
There are several bugs:
1. http://localhost:8080/core-demo/actionListener.jsf
after clicking on whichever button, nothing happens (error message should be shown on page)
2. http://localhost:8080/core-demo/actionListener.jsf
clicking on a button is causing "Parameters: Invalid chunk ignored." warning in server log
3. http://localhost:8080/core-demo/ajax.jsf
a4j:ajax wrapping several elements doesn't work (seems to be know issue)
4. http://localhost:8080/core-demo/button.jsf
http://localhost:8080/core-demo/link.jsf
type something into input and press the first button, result: "Hello null!"
5. http://localhost:8080/core-demo/log.jsf
javax.faces.convert.ConverterException - j_id250207658_ee9ddc2:j_id250207658_ee9dd03: 'popup' must be convertible to an enum.
6. http://localhost:8080/core-demo/push.jsf
java.lang.NullPointerException - java.lang.NullPointerException
7. http://localhost:8080/core-demo/function.jsf
click "Call events bound function", result: only one alert is shown instead of 3
8. http://localhost:8080/core-demo/status.jsf
click first "Ajax error" link, wait until the request finishes, now press whichever link, result: nothing happens, no request is fired
9. http://localhost:8080/core-demo/region.jsf
set "@region" for all, generate values, click whichever button, result: output is not rerendered, only "last executed link value"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months
[JBoss JIRA] Created: (RF-10120) richfaces-showcase: rich:componentControl - show no page when scrolled to non-first page and use new filter
by Lukas Fryc (JIRA)
richfaces-showcase: rich:componentControl - show no page when scrolled to non-first page and use new filter
-----------------------------------------------------------------------------------------------------------
Key: RF-10120
URL: https://issues.jboss.org/browse/RF-10120
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 4.0.0.Milestone5
Environment: richfaces-showcase version v.4.0.0.20101226-M5
JBoss 6.0.0.Final
Firefox 3.6.13 @ Ubuntu
Reporter: Lukas Fryc
Attachments: Screenshot-13.png
When doring [Steps to Reproduce] I expect that if the table have no longer enough data available, the page number is automatically reset to closest less number (in this case the first page).
See attached screenshot how for overview how table looks in the state of FAIL.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months