Git Product home page Git Product logo

angularfaces's People

Contributors

bovino avatar brokenprogrammer avatar stephanrauh avatar stephanrauh0000 avatar stiemannkj1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angularfaces's Issues

BabbagesFaces error handling

Every once in a while BabbageFaces 1.0 RC 2 reacts a bit weird if an exception is thrown. Instead of showing the error page it simply shows a corrupt version of the previous page.

Optimization: optionally send attributes only once to the client

Add a attribute to indicate that an attribute is send once and only once to the client. It isn't send again on postbacks:

<ngsync value="{{staticOptionBean.colors}}" direction="serverToClient" once="true" />
<ngsync value="{{dynamicOptionBean.types}}" direction="serverToClient" />

The second attribute is send on every request. The first attribute is sent only once (because it never changes, as the bean name indicates).

AngularFaces integration error handling

Sep 08, 2014 7:20:21 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn;c:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies;C:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\MySQL\MySQL Utilities 1.4.3;C:\Program Files (x86)\MySQL\MySQL Utilities 1.4.3\Doctrine extensions for PHP;C:\Program Files\nodejs;C:\Users\HUNG-HOANG\AppData\Roaming\npm;C:\Program Files\Java\jdk1.7.0_25\bin;.
Sep 08, 2014 7:20:21 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Test3' did not find a matching property.
Sep 08, 2014 7:20:22 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Sep 08, 2014 7:20:22 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Sep 08, 2014 7:20:22 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 805 ms
Sep 08, 2014 7:20:22 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Sep 08, 2014 7:20:22 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.53
Sep 08, 2014 7:20:22 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(E:\Data_Eclipse.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Test3\WEB-INF\lib\el-api-2.2.1-b04.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class
Sep 08, 2014 7:20:22 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(E:\Data_Eclipse.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Test3\WEB-INF\lib\javax.el-api-2.2.1.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class
Sep 08, 2014 7:20:22 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(E:\Data_Eclipse.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Test3\WEB-INF\lib\jsp-api-2.1.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class
Sep 08, 2014 7:20:22 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(E:\Data_Eclipse.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Test3\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
Sep 08, 2014 7:20:28 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
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.
Sep 08, 2014 7:20:28 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.jboss.logging).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Sep 08, 2014 7:20:31 PM com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory
INFO: Starting up HazelcastLocalCacheRegionFactory
Sep 08, 2014 7:20:31 PM com.hazelcast.config.XmlConfigLocator
INFO: Loading 'hazelcast-default.xml' from classpath.
Sep 08, 2014 7:20:32 PM com.hazelcast.instance.DefaultAddressPicker
INFO: null [dev] [3.3-RC3] Prefer IPv4 stack is true.
Sep 08, 2014 7:20:32 PM com.hazelcast.instance.DefaultAddressPicker
INFO: null [dev] [3.3-RC3] Picked Address[192.168.1.33]:5701, using socket ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=5701], bind any local is true
Sep 08, 2014 7:20:32 PM com.hazelcast.spi.impl.BasicOperationScheduler
INFO: [192.168.1.33]:5701 [dev] [3.3-RC3] Starting with 8 generic operation threads and 8 partition operation threads.
Sep 08, 2014 7:20:32 PM com.hazelcast.system
INFO: [192.168.1.33]:5701 [dev] [3.3-RC3] Hazelcast 3.3-RC3 (20140823) starting at Address[192.168.1.33]:5701
Sep 08, 2014 7:20:32 PM com.hazelcast.system
INFO: [192.168.1.33]:5701 [dev] [3.3-RC3] Copyright (C) 2008-2014 Hazelcast.com
Sep 08, 2014 7:20:32 PM com.hazelcast.instance.Node
INFO: [192.168.1.33]:5701 [dev] [3.3-RC3] Creating MulticastJoiner
Sep 08, 2014 7:20:32 PM com.hazelcast.core.LifecycleService
INFO: [192.168.1.33]:5701 [dev] [3.3-RC3] Address[192.168.1.33]:5701 is STARTING
Sep 08, 2014 7:20:37 PM com.hazelcast.cluster.MulticastJoiner
INFO: [192.168.1.33]:5701 [dev] [3.3-RC3]

Members [1] {
Member [192.168.1.33]:5701 this
}

Sep 08, 2014 7:20:37 PM com.hazelcast.core.LifecycleService
INFO: [192.168.1.33]:5701 [dev] [3.3-RC3] Address[192.168.1.33]:5701 is STARTED
Sep 08, 2014 7:20:38 PM com.hazelcast.util.HealthMonitor
INFO: [192.168.1.33]:5701 [dev] [3.3-RC3] memory.used=160.0M, memory.free=182.0M, memory.total=342.1M, memory.max=864.0M, memory.used/total=46.78%, memory.used/max=18.52%, load.process=-100.00%, load.system=100.00%, load.systemAverage=-100.00%, thread.count=56, thread.peakCount=56, event.q.size=0, executor.q.async.size=0, executor.q.client.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operation.size=0, executor.q.priorityOperation.size=0, executor.q.response.size=0, operations.remote.size=0, operations.running.size=0, proxy.count=1, clientEndpoint.count=0, connection.active.count=0, connection.count=0
Sep 08, 2014 7:20:38 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra 2.1.11 ( 20120711-1632) for context '/Test3'
Sep 08, 2014 7:20:39 PM com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed.
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 18 at position 113
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 114
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 115
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 116
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 110 at position 117
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 18 at position 124
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 125
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 100 at position 127
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 100 at position 128
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 32 at position 129
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 108 at position 130
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 97 at position 131
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 98 at position 132
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 101 at position 133
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 108 at position 134
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 115 at position 135
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 18 at position 138
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 139
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 49 at position 141
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 142
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool -123 at position 143
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 18 at position 182
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 183
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool -83 at position 185
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 18 at position 187
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 188
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 105 at position 191
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 110 at position 192
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 116 at position 193
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 101 at position 194
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 114 at position 195
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 110 at position 196
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 97 at position 197
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 116 at position 198
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 105 at position 199
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 111 at position 200
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 110 at position 201
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 97 at position 202
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 108 at position 203
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 105 at position 204
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 122 at position 205
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 97 at position 206
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 116 at position 207
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 105 at position 208
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 111 at position 209
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 110 at position 210
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 18 at position 211
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 212
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 215
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 64 at position 217
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 218
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 219
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 220
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 221
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 0 at position 222
Sep 08, 2014 7:20:39 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation
SEVERE: Unknow type constant pool 15 at position 344
Sep 08, 2014 7:20:40 PM com.sun.faces.config.ConfigureListener contextInitialized
SEVERE: Critical error during deployment:
java.lang.UnsupportedClassVersionError: de/beyondjava/angularFaces/core/transformation/AngularViewContextWrapperFactory : Unsupported major.minor version 52.0 (unable to load class de.beyondjava.angularFaces.core.transformation.AngularViewContextWrapperFactory)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2961)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:621)
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:509)
at javax.faces.FactoryFinder.access$400(FactoryFinder.java:139)
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:996)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:343)
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:303)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:219)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:362)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4971)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Sep 08, 2014 7:20:40 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: java.lang.UnsupportedClassVersionError: de/beyondjava/angularFaces/core/transformation/AngularViewContextWrapperFactory : Unsupported major.minor version 52.0 (unable to load class de.beyondjava.angularFaces.core.transformation.AngularViewContextWrapperFactory)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:295)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4971)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsupportedClassVersionError: de/beyondjava/angularFaces/core/transformation/AngularViewContextWrapperFactory : Unsupported major.minor version 52.0 (unable to load class de.beyondjava.angularFaces.core.transformation.AngularViewContextWrapperFactory)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2961)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:621)
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:509)
at javax.faces.FactoryFinder.access$400(FactoryFinder.java:139)
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:996)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:343)
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:303)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:219)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:362)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228)
... 10 more

Sep 08, 2014 7:20:40 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Sep 08, 2014 7:20:40 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/Test3] startup failed due to previous errors
Sep 08, 2014 7:20:40 PM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Sep 08, 2014 7:20:40 PM com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory
INFO: Shutting down HazelcastLocalCacheRegionFactory
Sep 08, 2014 7:20:40 PM com.hazelcast.core.LifecycleService
INFO: [192.168.1.33]:5701 [dev] [3.3-RC3] Address[192.168.1.33]:5701 is SHUTTING_DOWN
Sep 08, 2014 7:20:40 PM com.hazelcast.initializer
INFO: [192.168.1.33]:5701 [dev] [3.3-RC3] Destroying node initializer.
Sep 08, 2014 7:20:40 PM com.hazelcast.instance.Node
INFO: [192.168.1.33]:5701 [dev] [3.3-RC3] Hazelcast Shutdown is completed in 61 ms.
Sep 08, 2014 7:20:40 PM com.hazelcast.core.LifecycleService
INFO: [192.168.1.33]:5701 [dev] [3.3-RC3] Address[192.168.1.33]:5701 is SHUTDOWN
Sep 08, 2014 7:20:40 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/Test3] created a ThreadLocal with key of type [java.lang.ThreadLocal](value [java.lang.ThreadLocal@5e35e48c]) and a value of type [com.zaxxer.hikari.util.FastList](value [com.zaxxer.hikari.util.FastList@242fd3a6]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Sep 08, 2014 7:20:40 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/Test3] created a ThreadLocal with key of type [com.hazelcast.util.UuidUtil$1](value [com.hazelcast.util.UuidUtil$1@75bfbbb0]) and a value of type [java.util.Random](value [java.util.Random@7ebb5c34]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Sep 08, 2014 7:20:40 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Sep 08, 2014 7:20:40 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Sep 08, 2014 7:20:40 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 18471 ms

Support alternative JSON serializers

In an app, where I am already using JAX-RS with Jackson (as opposed to the default provider), it's quite a hassle to setup two different serializers to provide identical representation of the data-model (think JDK8 time classes and entity graphs).

It would be great if angularFaces could use one of several JSON serializers (MOXY, Jackson, GSON, or the j2ee7 JSON interfaces)

Tutorial out of date?

Hi,

I was trying to dig into AngularFaces but have noticed that your tutorial seems to be out of date?
Downloading the master didn't get me any "Tutorial"-Project which was listed by eclipse.
Further no folder was also included in that case.

Is my assumption wrong and can you correct me?
I'd love to dig into AngularFaces but need a well prepared start with your tutorial.

Regards,
Stefan

Javascript API of ngsync

AngularFaces 2.1 should include a Javascript API allowing to send beans back to the server (without having to wait for a button click).

Put maven-gpg plugin into a profile

The maven-gpg plugin is only needed when you push your artefact to the central Nexus repository.

For local usages, it is not needed.

So put it in a maven profile (like release) so that it can be activated it needed.

enhance <input> elements with HTML5 attributes based on JSR-303

Since AngularFaces can already process JSR-303 annotations and pass these to angular, how about enhancing the tag's attributes with:

  • required
  • maxlength
  • minlength
  • pattern
    and other similar attributes so that even if javascript is disabled, the browser can do client-side validation?

"required" attribute gets lost on postback

Observed in the BootsFaces AngularFaces demo: the input fields are mandatory, hence have an "required" attribute. After submitting the form the "required" attribute gets lost. However, "min" and "max" survive the postback.

label HTML passthrough element not recognized

AngularFaces does not detect if an input element already has an assigned label, if instead the standard JSF <h:outputLabel> a html5 passthrough <label jsf:for="myInputField"> tag is used.

Nesting addLabels causes errors

Observed in the Tetris demo: overriding the global setting addLabels="false" in the modal form by addLabels="true" in the modal dialog (roughly line 350 of the index.xhtml) causes weird Javascript errors because main.js isn't loaded. The Java console contains an error message "response already submitted".

Error when loading the Hello world (calculator) page

Hi,
I'm trying to use the AngularFaces and seems I'm doing somthing wrong...?
I'm getting the below javascript error (in the console) when loading the page.

index.xhtml:1 GET http://me:8181/test/RES_NOT_FOUND 404 (Not Found)
angular.js.xhtml?ln=AngularJS:11594 Error: [ng:areq] Argument 'calculatorController' is not a function, got undefined
http://errors.angularjs.org/1.3.9/ng/areq?p0=calculatorController&p1=not%20a%20function%2C%20got%20undefined
at REGEX_STRING_REGEXP (angular.js.xhtml?ln=AngularJS:63)
at assertArg (angular.js.xhtml?ln=AngularJS:1577)
at assertArgFn (angular.js.xhtml?ln=AngularJS:1587)
at angular.js.xhtml?ln=AngularJS:8418
at angular.js.xhtml?ln=AngularJS:7592
at forEach (angular.js.xhtml?ln=AngularJS:331)
at nodeLinkFn (angular.js.xhtml?ln=AngularJS:7579)
at compositeLinkFn (angular.js.xhtml?ln=AngularJS:7075)
at publicLinkFn (angular.js.xhtml?ln=AngularJS:6954)
at angular.js.xhtml?ln=AngularJS:1451
angular.js.xhtml?ln=AngularJS:11594(anonymous function)
angular.js.xhtml?ln=AngularJS:8544$get
angular.js.xhtml?ln=AngularJS:14485$get.Scope.$apply
angular.js.xhtml?ln=AngularJS:1449bootstrapApply
angular.js.xhtml?ln=AngularJS:4182invoke
angular.js.xhtml?ln=AngularJS:1447doBootstrap
angular.js.xhtml?ln=AngularJS:1467bootstrap
angular.js.xhtml?ln=AngularJS:1361angularInit
angular.js.xhtml?ln=AngularJS:26054(anonymous function)
jquery-1.11.1.js.xhtml?ln=jQuery:3119jQuery.Callbacks.fire
jquery-1.11.1.js.xhtml?ln=jQuery:3231jQuery.Callbacks.self.fireWith
jquery-1.11.1.js.xhtml?ln=jQuery:3443jQuery.extend.ready
jquery-1.11.1.js.xhtml?ln=jQuery:3474completed
revjet_contentscript.js:10 GET http://ads.dfgio.com/loader.js?client=dvn1201 net::ERR_BLOCKED_BY_CLIENT

Add options to suppress loading of JS libraries

AngularFaces checks whether third-party libraries such as AngularJS and jQuery are included by the current JSF page. If not, it adds the dependency itself. Unfortunately, this check fails if the third-party files are renamed or merged into a single file containing every JS dependency. This is a common scenario, so AngularFaces needs an option to suppress to automatic include of AngularJS and jQuery.

Check MyFaces compatibility

Its quite important as perf. oriented users mostly use MyFaces

e.g. AngularViewContextWrapper relies on Mojarra attribute names

Improve file resolution of angularJSFile

This is a bug reported by ratcashdev:
angularJSFile attribute tries to load my .js file from the /ui/ folder. As it happes, /ui is the ServletMapping for JSF and there's no such folder in my project. Fortunately, the servlet is forgiving enough, so if I specify angularJSFile="/resources/assets/js/myScript.js" it gets loaded anyway.

Remove non-serializable components from session

MyFaces keeps complaining about the non-serializable HTMLInputText in the session. The problem roots in how PuiModelSync stores information about the JSF attributes in a HashMap in the session.

Labels and messages are displayed to late

puilabels and puimessages aren't displayed immediately, but one key stroke to late. In the case of labels, they aren't shown at all until the user starts typing.

This may be an AngularJS 1.3 problem.

PropertyNotFoundException in ELTools

Hi,
When you invoking evalAsObject from inside ELTools itself you are not treating the PropertyNotFoundException that is thrown from AstValue.getTarget for example.
Such scenario is possible in case I don't really have a field behind a component when you are trying to get the field annotations for the NGBeanAttributeInfo.readJSR303Annotations

How to make JSF recognize I am trying to edit a record from an AngularTable

This is really just a support question, no bug or similar. Let assume we have an ngTable:

<table ng-table="tableParams" value="{{personController.list}}" class="table ng-table-responsive">
    <tbody>
        <tr ng-repeat="person in $data">
            <td data-title="'ID'">{{person.id}}</td>
            <td data-title="'Name'">{{person.firstName}} {{person.lastName}}</td>
            <td data-title="'Gender'">{{person.gender}}</td>
            <td><div class="btn-toolbar"><input type="submit" value="edit" jsf:action="#{personController.doEdit(person.id)}" class="btn btn-primary btn-sm"/> 
                <input type="submit" value="delete" jsf:action="#{personController.delete(person.id)}" class="btn btn-sm btn-danger"/></div></td>
        </tr>
    </tbody>
</table>

How would I tell JSF that I want to edit/delete certain rows when clicking on the buttons in the btn-toolbar? The current solution correctly tells JSF that I want to edit (and the proper edit form is rendered below the table), but JSF does not know which item is to be edited, and therefore the form stays empty.

Missing message bundle can cause errors

AngularFaces 2.1.4.0+ now features an improved resolution of the correctly localized message bundle. The old version caused the BootsFaces showcase to break for Polish (and many other) users.

angularfaces module not found

Trying to use angularfaces, I stumbled on the following:
JConsole:
Uncaught Error: [$injector:modulerr] Failed to instantiate module MyApp due to:
Error: [$injector:modulerr] Failed to instantiate module angularfaces due to:
Error: [$injector:nomod] Module 'angularfaces' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.2.22/$injector/nomod?p0=angularfaces

I can see that the components.js is part of angularFaces-core-2.0.0.jar which I included via Maven. But how does this js get into the html page so that angular knows about it?

[perf] check I18n bean

Currently it's ViewScoped and therefore ALL translations will be in the viewstate
if you have many translations, the viewstate will be really big...

Add ac:remoteCommand

Add something similar to <prime:remoteCommand /> using AngularFaces API. The remote command should also be accessible by a JavaScript API.

Prefix AngularFaces context parameters

To avoid namespace conflicts, the parameters in the web.xml should be prefixed. In the case of clientSideMessages, keep the original version as an option to prevent a breaking change.

    <context-param>
        <param-name>AngularFaces.clientSideMessages</param-name>
        <param-value>false</param-value>
    </context-param>

[perf] optimize TagAttributeUtilities

possible solutions:

  1. check if there is really no API-based way
  2. provide a implementation for mojarra/myfaces in own maven modules
  3. cache the constructor

MyFaces compatibility

Apache MyFaces hasn't moved to the new JSF 2.2 response format. BabbageFaces has to generate different XML depending on the JSF framework it's running on.

AngularJS is not initialized if JSF templates are used

I observed two errors that need further evalutation:

  • div tags are not converted to JSF tags in files that are included by a template
  • if ng-app is in the template file, the ng-controller of included files are not initialized

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.