[JBoss JIRA] (RF-12578) Setup integration tests for UI projects
by Lukáš Fryč (JIRA)
Lukáš Fryč created RF-12578:
-------------------------------
Summary: Setup integration tests for UI projects
Key: RF-12578
URL: https://issues.jboss.org/browse/RF-12578
Project: RichFaces
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: tests - functional
Affects Versions: 4.3.0.M2
Reporter: Lukáš Fryč
Assignee: Lukáš Fryč
Fix For: 4.3.0.M3
Integration tests (Warp/Graphene) are currently setup just for Core project - it would be great to setup that for UI projects as well - allow them to be reusable across submodules.
--
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
12 years
[JBoss JIRA] (RF-12590) Unified approach for finding input element under component's root
by Lukáš Fryč (JIRA)
Lukáš Fryč created RF-12590:
-------------------------------
Summary: Unified approach for finding input element under component's root
Key: RF-12590
URL: https://issues.jboss.org/browse/RF-12590
Project: RichFaces
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: core
Affects Versions: 4.3.0.M3
Reporter: Lukáš Fryč
Fix For: 4.3.0.M3
Some components like placeholder, focus and whole CSV use alghoritms for searching for appropriate input under a root of a DOM element tree (known by JSF component's clientId).
This alghoritm is used in CSV: https://github.com/richfaces/components/blob/develop/validator/ui/src/mai...
Alghoritm should be generalized and exposed as window.RichFaces (richfaces.js) function, e.g.:
{code:javascript}
window.RichFaces.findInputs = function(clientId, callback);
{code}
The callback will be called for each found input (the jQuery collection handle will be returned).
--
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
12 years
[JBoss JIRA] (RF-12580) Guava versions in Errai and RichFaces are not compatible
by Tomas Repel (JIRA)
Tomas Repel created RF-12580:
--------------------------------
Summary: Guava versions in Errai and RichFaces are not compatible
Key: RF-12580
URL: https://issues.jboss.org/browse/RF-12580
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.3.Final
Reporter: Tomas Repel
Description of problem:
RichFaces 4.2.3.Final-redhat-1 depends on com.google.guava:guava:11.0.2. This particular version is not compatible with Errai framework that needs guava of version 12.0.
Version-Release number of selected component (if applicable):
RichFaces 4.2.3.Final-redhat-1
Errai 2.1.0.Final-redhat-1
How reproducible:
Always.
Steps to Reproduce:
I discovered this when I tried to deploy Ticket Monster example (2.1.0.ER2 version) with administration pages generated by Forge 1.0.5.Final that uses Forge Richfaces plugin.
Actual results:
{noformat}
[ERROR] java.lang.NoClassDefFoundError: com/google/common/reflect/TypeToken
[ERROR] at org.jboss.errai.codegen.meta.impl.java.JavaReflectionMethod.getParameters(JavaReflectionMethod.java:62)
[ERROR] at org.jboss.errai.codegen.meta.MetaClassFactory.cloneToBuildMetaClass(MetaClassFactory.java:325)
[ERROR] at org.jboss.errai.codegen.meta.MetaClassFactory.parameterizedAs(MetaClassFactory.java:261)
[ERROR] at org.jboss.errai.codegen.meta.MetaClassFactory.parameterizedAs(MetaClassFactory.java:257)
[ERROR] at org.jboss.errai.codegen.meta.impl.java.JavaReflectionClass.getSuperClass(JavaReflectionClass.java:317)
[ERROR] at org.jboss.errai.codegen.meta.MetaClassFactory.cloneToBuildMetaClass(MetaClassFactory.java:279)
[ERROR] at org.jboss.errai.codegen.meta.MetaClassFactory.parameterizedAs(MetaClassFactory.java:261)
[ERROR] at org.jboss.errai.codegen.meta.MetaClassFactory.parameterizedAs(MetaClassFactory.java:257)
[ERROR] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.QualifierEqualityFactoryGenerator.generateQualifierEqualityFactory(QualifierEqualityFactoryGenerator.java:99)
[ERROR] at org.jboss.errai.ioc.rebind.ioc.bootstrapper.QualifierEqualityFactoryGenerator.generate(QualifierEqualityFactoryGenerator.java:65)
[ERROR] at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
[ERROR] at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
[ERROR] at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:647)
[ERROR] at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
[ERROR] at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
[ERROR] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:268)
[ERROR] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:257)
[ERROR] at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)
[ERROR] at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:96)
[ERROR] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254)
[ERROR] at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
[ERROR] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:173)
[ERROR] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288)
[ERROR] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:139)
[ERROR] at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:588)
[ERROR] at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:97)
[ERROR] at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:52)
[ERROR] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:569)
[ERROR] at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
[ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
[ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
[ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
[ERROR] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
[ERROR] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[ERROR] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[ERROR] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[ERROR] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
[ERROR] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[ERROR] Caused by: java.lang.ClassNotFoundException: com.google.common.reflect.TypeToken
[ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
[ERROR] at java.security.AccessController.doPrivileged(Native Method)
[ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
[ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
[ERROR] ... 38 more
{noformat}
Expected results:
It deploys.
--
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
12 years
[JBoss JIRA] (RF-11916) extendedDataTable partial update => extend the functionality with INSERT and DELETE row where scroll position does not go up.
by Tom Giberius (JIRA)
Tom Giberius created RF-11916:
---------------------------------
Summary: extendedDataTable partial update => extend the functionality with INSERT and DELETE row where scroll position does not go up.
Key: RF-11916
URL: https://issues.jboss.org/browse/RF-11916
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Tom Giberius
Situation:
1) extendDataTable with a verticall ScrollBar
2) Insert or delete record by insert/delete in myBean and by a re-render of the table.
3) The re-render causes a full rebuild of the table in the DOM and the effect is that the scrollbar goes up to the beginning.In fact this makes a scrollable extendedDataTable not useful for inserting/deleting records.
Partial Table Render for extendedDataTable is available in RF 4.1 with a construction like:
render="myTable@rows(myBean.listOfUpdateRows):myColumn"
This works fine for already available rows and indeed it is an UPDATE.
Also @body, @header and @footer are available for partial table update.
I would like to hava a kind of partitial table INSERT and UPDATE where not the whole table is "re-draw" by only the record(s) are INSERTED or DELETED and where the scroll position for the user visually stays the same.
It could look like:
render="myTable(a)insert(myBean.Row)
render="myTable(a)delete(myBean.RowKey)
If you have questions I will gladly elaborate on above.
--
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