[JBoss JIRA] Created: (RF-11138) tree does not invoke selectionChangeListener in popupPanel
by Bastian Ulke (JIRA)
tree does not invoke selectionChangeListener in popupPanel
----------------------------------------------------------
Key: RF-11138
URL: https://issues.jboss.org/browse/RF-11138
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tree
Affects Versions: 4.0.0.Final
Environment: WinXP; JBoss 6.0.0.Final; RichFaces 4.0.0
Reporter: Bastian Ulke
I am having a tree for a selection of a node. To monitor a selection, I initialized the attribute "selectionType" to "ajax", added the attribute "selectionChangeListener" and made it point to a method of a managed bean. Everyhting is working extremely well, if I put the tree onto the form straight away: Everytime, a node is selected, the method is invoked and I get all the information I need to determine the selected node. The definition is as follows:
<rich:tree var="item"
id="tree2"
selection="#{treeController.selection}"
selectionType="ajax"
selectionChangeListener="#{treeController.selectionChanged}"
rendered="true">
Now, I want to have the same tree in a popup panel. All I do is wrapping a <rich:popupPanel id="abc2"> around it (so no moving to another place - both elements are directly located under the <h:form> node). Surprise: Nothing happens when a node is selected in the popup panel, the method, indicated in selectionChangeListener is never invoked. I remarked, that also the hidden input element form:tree2__SELECTION_STATE never changes its value throughout selecting differnt nodes.
Intersting: Adding toggleType="ajax" and toggleListener="#{orgTreeController.toggle}" to the same tree, works well in both cases.
Workaround:
1. Switch selectionType to "client"
2. Add a jsFunction and extend the controller with a property to accept the selected node's id
<a4j:jsFunction name="jsSetSelectedId">
<a4j:param name="name" assignTo="#{treeController.selectedId}"/>
</a4j:jsFunction>
3. Add a panel to the node's content and call the jsFunction from above in the onclick event
<rich:treeNode>
<a4j:outputPanel layout="block" onclick="jsSetSelectedId('#{item.id}');return true;">
...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] (RF-11625) Cannot install richfaces Forge Plugin
by Hendy Irawan (Created) (JIRA)
Cannot install richfaces Forge Plugin
-------------------------------------
Key: RF-11625
URL: https://issues.jboss.org/browse/RF-11625
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: third-party
Affects Versions: 4.1.0.Milestone3
Environment: Ubuntu 11.04 64-bit, Sun JDK 6, Forge 1.0.0.Beta3
Reporter: Hendy Irawan
[ecommerce-web] ecommerce-sample $ forge install-plugin richfaces
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
***INFO*** Preparing to install plugin: richfaces
***INFO*** Checking out plugin source files to [/tmp/forgetemp162131015872653215/repo] via 'git'
Receiving objects: 100% (165/165)
Resolving deltas: 100% (43/43)
***WARNING*** Dependency [org.jboss.forge:forge-shell-api:jar::1.0.0-SNAPSHOT] was not correctly marked as PROVIDED scope; this has been corrected.
***WARNING*** Dependency [org.jboss.forge:forge-javaee-api:jar::1.0.0-SNAPSHOT] was not correctly marked as PROVIDED scope; this has been corrected.
***INFO*** Invoking build with underlying build system.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.richfaces.forge:richfaces-forge-plugin:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 27, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building richfaces-forge-plugin 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-j...
Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-p...
Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-s...
Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-p...
Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-p...
Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-e...
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ richfaces-forge-plugin ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ richfaces-forge-plugin ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ richfaces-forge-plugin ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 3 source files to /tmp/forgetemp162131015872653215/repo/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ richfaces-forge-plugin ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /tmp/forgetemp162131015872653215/repo/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ richfaces-forge-plugin ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ richfaces-forge-plugin ---
[INFO] No tests to run.
[INFO] Surefire report directory: /tmp/forgetemp162131015872653215/repo/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ richfaces-forge-plugin ---
[INFO] Building jar: /tmp/forgetemp162131015872653215/repo/target/richfaces-forge-plugin-1.0.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.258s
[INFO] Finished at: Tue Nov 01 20:57:54 WIT 2011
[INFO] Final Memory: 10M/150M
[INFO] ------------------------------------------------------------------------
***SUCCESS*** Build successful.
***INFO*** Installing plugin artifact.
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
***SUCCESS*** Installed from [git://github.com/forge/plugin-richfaces.git] successfully.
Wrote /tmp/forgetemp162131015872653215/repo/pom.xml
Wrote /home/ceefour/.forge/plugins/org
Wrote /home/ceefour/.forge/plugins/org/richfaces
Wrote /home/ceefour/.forge/plugins/org/richfaces/forge
Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin
Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29
Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29/richfaces-forge-plugin.jar
Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29/module.xml
Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/dependencies
Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/dependencies/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29
Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/dependencies/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29/module.xml
Exception in thread "Thread-7" javax.enterprise.event.ObserverException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:395)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:216)
at org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:390)
at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40)
at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:92)
at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:214)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:628)
at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75)
at org.jboss.forge.shell.project.CurrentProject.setCurrentResource(CurrentProject.java:91)
at org.jboss.forge.shell.ShellImpl.init(ShellImpl.java:319)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.init(ShellImpl$Proxy$_$$_WeldClientProxy.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:85)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoSuchMethodError: org.jboss.forge.project.Project.hasAllFacets(Ljava/util/Collection;)Z
at org.richfaces.forge.RichFacesFacet.isInstalled(RichFacesFacet.java:55)
at org.jboss.forge.project.BaseProject.registerFacet(BaseProject.java:159)
at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:218)
at org.jboss.forge.project.services.ProjectFactory.registerFacets(ProjectFactory.java:188)
at org.jboss.forge.project.services.ProjectFactory.findProjectRecursively(ProjectFactory.java:129)
at org.jboss.forge.shell.project.ProjectInitializer.doInit(ProjectInitializer.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
... 34 more
Forge terminates, then it drops right to the Linux shell prompt.
The sample project that triggers this bug will be hosted on GitHub here: https://github.com/soluvas
It's currently live & running on OpenShift Express here: http://ecommerce-soluvas.rhcloud.com
--
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
13 years
[JBoss JIRA] (RF-11712) showcase - a4j:push via JMS- generates JS error on mobile devices
by Juraj Huska (Created) (JIRA)
showcase - a4j:push via JMS- generates JS error on mobile devices
-----------------------------------------------------------------
Key: RF-11712
URL: https://issues.jboss.org/browse/RF-11712
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-push/poll, mobile, showcase
Environment: app: richfaces-showcase-4.1.0.20111111-CR1
container: JBoss AS 7.0.2.Final, JBoss AS 6.0.0.Final, Tomcat 6.0.0.32
devices: iPad1, Motorola Xoom
Reporter: Juraj Huska
Attachments: pushJSError.PNG, remainInThisState.PNG
Push example *on mobile devices throws an JS erorr*, please see the attachment for further reference(pushJSError.png).
The error is generated constantly and the page remains in the state captured in the attachment remainsInThisState.png
- The *functionality is restored* when the page with push demo *is refreshed*, however generating of JS *errors still remains*.
- This behavior is noticeable *only* on the mobile devices, since the error is generated in the packaged.js.
- The behavior on JBoss AS 6.0.0.Final and Tomcat 6.0.32 is *slightly different*, it throws errors but the functionality works fine without refreshes
--
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
13 years
[JBoss JIRA] (RF-11719) showcase - rich:calendar - it is not possible to select year or month - JS error
by Juraj Huska (Created) (JIRA)
showcase - rich:calendar - it is not possible to select year or month - JS error
--------------------------------------------------------------------------------
Key: RF-11719
URL: https://issues.jboss.org/browse/RF-11719
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input, showcase
Affects Versions: 4.1.0.CR1
Environment: app: richfaces-showcase-4.1.0-CR1
browser: Chrome, Firefox
container: Tomcat 6.0.32, JBoss AS 6.0.32
Reporter: Juraj Huska
It is not possible *to select year or month in the calendar.* The popup will not react neither on clicking on OK or CANCEL button. It disappears only when clicking somewhere else then on the popup.
There is also *javascript error thrown*:
*on firefox*:
{code}
jQuery("j_idt2301:calendar").hideDateEditor is not a function
{code}
*on chrome:*
{code}
Uncaught TypeError: Object [object Object] has no method 'hideDateEditor'
(anonymous function)component-sample.jsf:1
onclick
{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
13 years
[JBoss JIRA] (RF-11682) 'tooltip.popup' is null or not an object
by Pavol Pitonak (Assigned) (JIRA)
[ https://issues.jboss.org/browse/RF-11682?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak reassigned RF-11682:
----------------------------------
Assignee: Brian Leathem (was: Pavol Pitonak)
It works fine in IE8 and IE9 with RichFaces 4.1.0.CR1. IE6 and IE7 are not supported in RF 4.1.
> 'tooltip.popup' is null or not an object
> ----------------------------------------
>
> Key: RF-11682
> URL: https://issues.jboss.org/browse/RF-11682
> Project: RichFaces
> Issue Type: Bug
> Components: component-output
> Affects Versions: 4.0.0.Final
> Environment: Windows
> Reporter: mani v
> Assignee: Brian Leathem
> Attachments: Tooltip.popup is null.jpg
>
>
> i am using <rich:tooltip> inside <rich:dataTable>.its working find but when i do filter or go to next page the popup is throwing js error.
>
> :246
> :21
> :'tooltip.popup' is null or not an object
>
>
> <code for review>
> {code}
> <rich:column filter="#{filter.name}" sortBy="#{row.name}" sortOrder="#{filter.nameOrder}">
> <f:facet name="header">
> <a4j:commandLink value="Name" action="#{filter.sortByName}" render="table" ></a4j:commandLink>
> </f:facet>
> <rich:tooltip>#{row.name}</rich:tooltip>
> <h:outputText value="#{row.name}"/>
> </rich:column>
> {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
13 years
[JBoss JIRA] (RF-11010) richfaces-showcase: fix grammatical issues
by Juraj Huska (Closed) (JIRA)
[ https://issues.jboss.org/browse/RF-11010?page=com.atlassian.jira.plugin.s... ]
Juraj Huska closed RF-11010.
----------------------------
Verified that it is ok now.
> richfaces-showcase: fix grammatical issues
> ------------------------------------------
>
> Key: RF-11010
> URL: https://issues.jboss.org/browse/RF-11010
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: examples
> Affects Versions: 4.0.0.Final
> Environment: richfaces-showcase
> Reporter: Juraj Huska
> Assignee: Brian Leathem
> Priority: Trivial
> Fix For: 4.1.0.Final
>
>
> a4j:status - sample: referenced status, there is adress instead of address
> a4j:status - sample: status simple, there is succesfully instead of successfully
> a4j:attachQueue - there is button with text label submit but the text above says that there should be button with label save
> a4j:mediaOutput - all names of selects are Color1, but there should be Color1, Color2, Color3
> rich:graphValidator - 1.in my opinion there should be the minimal and maximal length of password in the text which describes this component, 2. there is typo when passwords are typed correctly in info message, there is succesfully instead of successfully.
> rich:message - in the text is written click "Validate" button, but there is "Ajax Validate" button
> rich:messages - same as in rich:message
> rich:dataTable - sample: DataTableFiltering - there is a filter for mileage, where is filter, which should filter values which are less than filter value, since there is < sign, but actually the filter works in a way less or equal.
> rich:poppupPanel - there is coarse instead of course in the text description for component, in the sample for login panel positioning, in the first paragraph of text
> rich:autocomplete - there is: using tokens ', and ' ', but should be using tokens ',' and ' ' in the text for second input
--
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
13 years