[JBoss JIRA] (RF-13394) Toggle control: attributes targetItem and targetPanel don't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13394?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-13394:
---------------------------------
The issue here is that the ToggleControl on "universal toggle button" renders wrong scripts:
initially: panel 1, item 1
click on "item 3" -> RichFaces.component('panel1').switchToItem('item1');
click on "item 2" -> RichFaces.component('panel1').switchToItem('item3');
click on "panel 2" -> RichFaces.component('panel1').switchToItem('item2');
...and so on. Notice how all the changes are one request back.
---
During debugging I have discrovered that a following difference between
* 4.5 (where the component doesn't work):
** In 4.5, JSF calls {{ToggleControl#setTargetItem(item)}} with *the state of variable in previous request*
** e.g. since you have chosen item3, the setTargetItem(item1) is called instead
and
* 5.0 (where the component works).
** the method {{ToggleControl#setTargetItem(item)}} is not called at all.
> Toggle control: attributes targetItem and targetPanel don't work
> ----------------------------------------------------------------
>
> Key: RF-13394
> URL: https://issues.jboss.org/browse/RF-13394
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes, regression
> Affects Versions: 4.5.0.Alpha1
> Environment: RichFaces 4.5.0-SNAPSHOT
> Metamer 4.5.0-SNAPSHOT
> EAP 6.1.1
> Mojarra 2.1.19
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 31.0.1650.57 @ Linux x86_64
> Reporter: Pavol Pitonak
> Assignee: Lukáš Fryč
> Labels: regression
> Fix For: 4.5.0.Alpha1
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richToggleControl/accordio...
> # set targetPanel=panel2
> # set targetItem=item3
> # click on "universal toggle control" button
> result:
> * nothing happens
> * third item on second panel should be active
> * when you change targetPanel and/or targetItem and press the button again, it is switched to panel2/item3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months
[JBoss JIRA] (RF-13400) PickList from Metamer is not responsive on real mobile device
by Juraj Húska (JIRA)
Juraj Húska created RF-13400:
--------------------------------
Summary: PickList from Metamer is not responsive on real mobile device
Key: RF-13400
URL: https://issues.jboss.org/browse/RF-13400
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-selects
Affects Versions: 5.0.0.Alpha2
Reporter: Juraj Húska
Priority: Critical
PickList in the _Metamer_ demo is not responsive at all on real mobile device.
When changing the size of the desktop browser screen it works correctly.
Note that RichWidgets are responsive correctly on mobile devices.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months
[JBoss JIRA] (RF-13394) Toggle control: attributes targetItem and targetPanel don't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13394?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-13394:
---------------------------------
Ah, I missed a fact this is 4.5 issue, I can really reproduce Pavol's issue.
> Toggle control: attributes targetItem and targetPanel don't work
> ----------------------------------------------------------------
>
> Key: RF-13394
> URL: https://issues.jboss.org/browse/RF-13394
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes, regression
> Affects Versions: 4.5.0.Alpha1
> Environment: RichFaces 4.5.0-SNAPSHOT
> Metamer 4.5.0-SNAPSHOT
> EAP 6.1.1
> Mojarra 2.1.19
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 31.0.1650.57 @ Linux x86_64
> Reporter: Pavol Pitonak
> Assignee: Pavol Pitonak
> Labels: regression
> Fix For: 4.5.0.Alpha1
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richToggleControl/accordio...
> # set targetPanel=panel2
> # set targetItem=item3
> # click on "universal toggle control" button
> result:
> * nothing happens
> * third item on second panel should be active
> * when you change targetPanel and/or targetItem and press the button again, it is switched to panel2/item3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months
[JBoss JIRA] (RF-13394) Toggle control: attributes targetItem and targetPanel don't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13394?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč reassigned RF-13394:
-------------------------------
Assignee: Lukáš Fryč (was: Pavol Pitonak)
> Toggle control: attributes targetItem and targetPanel don't work
> ----------------------------------------------------------------
>
> Key: RF-13394
> URL: https://issues.jboss.org/browse/RF-13394
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes, regression
> Affects Versions: 4.5.0.Alpha1
> Environment: RichFaces 4.5.0-SNAPSHOT
> Metamer 4.5.0-SNAPSHOT
> EAP 6.1.1
> Mojarra 2.1.19
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 31.0.1650.57 @ Linux x86_64
> Reporter: Pavol Pitonak
> Assignee: Lukáš Fryč
> Labels: regression
> Fix For: 4.5.0.Alpha1
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richToggleControl/accordio...
> # set targetPanel=panel2
> # set targetItem=item3
> # click on "universal toggle control" button
> result:
> * nothing happens
> * third item on second panel should be active
> * when you change targetPanel and/or targetItem and press the button again, it is switched to panel2/item3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months
[JBoss JIRA] (RF-13379) Build on Travis fails due to NoClassDefFoundEx.: javax/servlet/Servlet (during framework resource optimization)
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13379?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč resolved RF-13379.
-----------------------------
Assignee: Lukáš Fryč
Resolution: Duplicate Issue
Duplicated by RF-13399
> Build on Travis fails due to NoClassDefFoundEx.: javax/servlet/Servlet (during framework resource optimization)
> ---------------------------------------------------------------------------------------------------------------
>
> Key: RF-13379
> URL: https://issues.jboss.org/browse/RF-13379
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: resource handling
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Fix For: 5.0.0.Alpha3
>
>
> https://travis-ci.org/richfaces/richfaces/builds/14381706
> {code}
> [INFO] <<< exec-maven-plugin:1.2.1:java (static-resources) @ richfaces <<<
> [INFO]
> [INFO] --- exec-maven-plugin:1.2.1:java (static-resources) @ richfaces ---
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> Nov 24, 2013 8:04:06 AM org.richfaces.resource.optimizer.ResourceGenerator execute
> SEVERE: null
> java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: javax/servlet/Servlet
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:188)
> at org.richfaces.resource.optimizer.ResourceGenerator.execute(ResourceGenerator.java:437)
> at org.richfaces.resource.optimizer.GenerateResourcesMain.main(GenerateResourcesMain.java:39)
> at sun.reflect.NativethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativethodAccessorImpl.invoke(NativethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
> at java.lang.Thread.run(Thread.java:744)
> Caused by: java.lang.NoClassDefFoundError: javax/servlet/Servlet
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> at org.richfaces.resource.ResourceFactoryImpl.creatappedResource(ResourceFactoryImpl.java:356)
> at org.richfaces.resource.ResourceFactoryImpl.createResource(ResourceFactoryImpl.java:343)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months
[JBoss JIRA] (RF-12981) Expose the ResourceOptimizer for usage from command line
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12981?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-12981:
---------------------------------
I don't think this is Alpha-stage concern. We should do that in Beta releases once it is clear what is strategy for resource packaging in 5.0.
> Expose the ResourceOptimizer for usage from command line
> --------------------------------------------------------
>
> Key: RF-12981
> URL: https://issues.jboss.org/browse/RF-12981
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: resource handling
> Affects Versions: 5.0.0.Alpha1
> Reporter: Lukáš Fryč
> Fix For: 5.0.0.Alpha3
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> This is mainly issue for simplification of the usage of GenerateResourcesMain in order to allow users optimize resources from command line (or ant-based builds).
> The usage of Resource Optimizer should be documented.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months
[JBoss JIRA] (RF-13394) Toggle control: attributes targetItem and targetPanel don't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13394?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč reassigned RF-13394:
-------------------------------
Assignee: Pavol Pitonak (was: Lukáš Fryč)
> Toggle control: attributes targetItem and targetPanel don't work
> ----------------------------------------------------------------
>
> Key: RF-13394
> URL: https://issues.jboss.org/browse/RF-13394
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes, regression
> Affects Versions: 4.5.0.Alpha1
> Environment: RichFaces 4.5.0-SNAPSHOT
> Metamer 4.5.0-SNAPSHOT
> EAP 6.1.1
> Mojarra 2.1.19
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 31.0.1650.57 @ Linux x86_64
> Reporter: Pavol Pitonak
> Assignee: Pavol Pitonak
> Labels: regression
> Fix For: 4.5.0.Alpha1
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richToggleControl/accordio...
> # set targetPanel=panel2
> # set targetItem=item3
> # click on "universal toggle control" button
> result:
> * nothing happens
> * third item on second panel should be active
> * when you change targetPanel and/or targetItem and press the button again, it is switched to panel2/item3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 5 months