You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@deltaspike.apache.org by "l.penet@senat.fr" <l....@senat.fr> on 2015/07/22 12:09:13 UTC

dswh.init is not defined

Dear all,

I have a problem with latest 1.4.2-SNAPSHOT (SHA : 
2cdba8a995f177e67b8ab8b6e3e28cb88550d1f3 , just pulled sources).

The error was already there with 
1d8926572e4a3c5c4bde605b8934809a7474b947 , I just updated to latest to 
see if it was corrected prior to bothering you.

I have the following JS error :
     Uncaught ReferenceError: dswh is not defined

triggered by the following snippet

<script>(function(){dswh.init('818','LAZY',{'storeWindowTree':'true'});})();</script>

I am using chromium or chrome.

I am using @ViewAccessScoped beans.

If I include jsf.js and windowshandler.js, everything if fine again :

         <h:outputScript name="jsf.js" library="javax.faces" />
         <h:outputScript name="windowhandler.js" library="deltaspike" />


Thanks in advance for your help.

Ludovic

|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|


Re: dswh.init is not defined

Posted by Gerhard Petracek <ge...@gmail.com>.
hi ludovic,

i just tested it with [1] and windowhandler.js looks fine (also with
myfaces-core 2.2.8)

regards,
gerhard

[1] https://github.com/os890/ee6-ds-demo



2015-07-22 13:59 GMT+02:00 l.penet@senat.fr <l....@senat.fr>:

> On 22/07/2015 13:28, Thomas Andraschko wrote:
>
>> Don't know sorry. The playground uses TomEE 1.7.2.
>>
> ok, so the version is 2.1.17.
>
> So, sorry, I will not be able to test as I have JSF 2.2 as a requirement.
>
> I doubt I will have time to try to prepare a small sample before leaving
> for hollidays at the end of the week. That would leave that to the second
> half of August.
>
>
> Ludovic
>
> |
> | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
> |
>
>

Re: dswh.init is not defined

Posted by "l.penet@senat.fr" <l....@senat.fr>.
On 22/07/2015 13:28, Thomas Andraschko wrote:
> Don't know sorry. The playground uses TomEE 1.7.2.
ok, so the version is 2.1.17.

So, sorry, I will not be able to test as I have JSF 2.2 as a requirement.

I doubt I will have time to try to prepare a small sample before leaving 
for hollidays at the end of the week. That would leave that to the 
second half of August.

Ludovic

|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|


Re: dswh.init is not defined

Posted by Thomas Andraschko <an...@gmail.com>.
Don't know sorry. The playground uses TomEE 1.7.2.

2015-07-22 13:25 GMT+02:00 l.penet@senat.fr <l....@senat.fr>:

> On 22/07/2015 13:16, Thomas Andraschko wrote:
>
>> Could it be an MyFaces bug in newer version? The playground e.g. works
>> fine
>> on TomEE which uses an older MyFaces version.
>>
> I can try later today with an older version. Which version is TomEE using ?
>
>
> Ludovic
>
> |
> | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
> |
>
>

Re: dswh.init is not defined

Posted by "l.penet@senat.fr" <l....@senat.fr>.
On 22/07/2015 13:16, Thomas Andraschko wrote:
> Could it be an MyFaces bug in newer version? The playground e.g. works fine
> on TomEE which uses an older MyFaces version.
I can try later today with an older version. Which version is TomEE using ?

Ludovic

|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|


Re: dswh.init is not defined

Posted by Thomas Andraschko <an...@gmail.com>.
Could it be an MyFaces bug in newer version? The playground e.g. works fine
on TomEE which uses an older MyFaces version.

2015-07-22 13:01 GMT+02:00 l.penet@senat.fr <l....@senat.fr>:

> On 22/07/2015 12:11, Thomas Andraschko wrote:
>
>> Hi,
>>
>> thats weird as the @ResourceDependency is actually defined on the
>> WindowIdHtmlRenderer.
>>
> That's what I saw too.
>
> And, as I use     <ds:windowId/> in my template (just after the manual
> inclusion of the .js files that I added after), I expect those js files to
> be included
>
>
>
>
>
>  Could you try to move the @ResourceDependency to WindowIdComponent if it
>> works fine?
>>
> I tried, and it has no effet.
>
> I am using MyFaces 2.2.8.
>
> The webapp is running in a Tomcat 8.0.24 container with Java 8.
>
> Other dependencies below :
>
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building presences 1.0.35
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ presences ---
> [INFO] fr.senat.presences:presences:war:1.0.35
> [INFO] +- fr.senat.presences:presences-utils:jar:1.1.28:compile
> [INFO] |  +-
> fr.senat.presences:presences-nonjsf-utils:jar:1.1.22-SNAPSHOT:compile
> [INFO] |  |  \- fr.senat.presences:libpresences:jar:1.5.3-SNAPSHOT:compile
> [INFO] |  |     +- fr.senat.presences:jsf-stack:pom:1.0.10:compile
> [INFO] |  |     |  +- org.apache.commons:commons-lang3:jar:3.1:compile
> [INFO] |  |     |  +-
> org.apache.geronimo.specs:geronimo-atinject_1.0_spec:jar:1.0:compile
> [INFO] |  |     |  +-
> org.apache.geronimo.specs:geronimo-annotation_1.2_spec:jar:1.0:compile
> [INFO] |  |     |  +-
> org.apache.geronimo.specs:geronimo-validation_1.0_spec:jar:1.1:compile
> [INFO] |  |     |  +- jstl:jstl:jar:1.2:compile
> [INFO] |  |     |  +- org.apache.myfaces.core:myfaces-api:jar:2.2.8:compile
> [INFO] |  |     |  +-
> org.apache.myfaces.core:myfaces-impl:jar:2.2.8:compile
> [INFO] |  |     |  |  +-
> commons-collections:commons-collections:jar:3.2:compile
> [INFO] |  |     |  |  +-
> commons-beanutils:commons-beanutils:jar:1.8.3:compile
> [INFO] |  |     |  |  |  \-
> commons-logging:commons-logging:jar:1.1.1:compile
> [INFO] |  |     |  |  \- commons-digester:commons-digester:jar:1.8:compile
> [INFO] |  |     |  +-
> org.apache.openwebbeans:openwebbeans-impl:jar:1.5.0:runtime
> [INFO] |  |     |  |  +-
> org.apache.xbean:xbean-finder-shaded:jar:4.1:runtime
> [INFO] |  |     |  |  \- org.apache.xbean:xbean-asm5-shaded:jar:4.1:runtime
> [INFO] |  |     |  +-
> org.apache.openwebbeans:openwebbeans-spi:jar:1.5.0:runtime
> [INFO] |  |     |  +-
> org.apache.openwebbeans:openwebbeans-tomcat7:jar:1.5.0:runtime
> [INFO] |  |     |  +-
> org.apache.openwebbeans:openwebbeans-jsf:jar:1.5.0:runtime
> [INFO] |  |     |  +-
> org.apache.openwebbeans:openwebbeans-web:jar:1.5.0:runtime
> [INFO] |  |     |  +-
> org.apache.openwebbeans:openwebbeans-el22:jar:1.5.0:runtime
> [INFO] |  |     |  +-
> org.apache.openwebbeans:openwebbeans-resource:jar:1.5.0:runtime
> [INFO] |  |     |  +-
> org.apache.deltaspike.modules:deltaspike-bean-validation-module-impl:jar:1.4.2-senat-b:runtime
> [INFO] |  |     |  +-
> org.apache.deltaspike.modules:deltaspike-jpa-module-impl:jar:1.4.2-senat-b:runtime
> [INFO] |  |     |  +-
> org.apache.deltaspike.modules:deltaspike-jsf-module-impl:jar:1.4.2-senat-b:runtime
> [INFO] |  |     |  |  +-
> org.apache.deltaspike.modules:deltaspike-security-module-impl:jar:1.4.2-senat-b:runtime
> [INFO] |  |     |  |  +-
> org.apache.deltaspike.modules:deltaspike-proxy-module-api:jar:1.4.2-senat-b:runtime
> [INFO] |  |     |  |  \-
> org.apache.deltaspike.modules:deltaspike-proxy-module-impl-asm5:jar:1.4.2-senat-b:runtime
> [INFO] |  |     |  +-
> org.apache.deltaspike.modules:deltaspike-scheduler-module-api:jar:1.4.2-senat-b:compile
> [INFO] |  |     |  +- org.quartz-scheduler:quartz:jar:2.2.1:compile
> [INFO] |  |     |  |  \- c3p0:c3p0:jar:0.9.1.1:compile
> [INFO] |  |     |  +-
> org.apache.deltaspike.cdictrl:deltaspike-cdictrl-api:jar:1.4.2-senat-b:compile
> [INFO] |  |     |  +-
> org.hibernate:hibernate-entitymanager:jar:4.3.8.Final:compile
> [INFO] |  |     |  |  +- org.jboss.logging:jboss-logging:jar:3.1.3.GA:
> compile
> [INFO] |  |     |  |  +-
> org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile
> [INFO] |  |     |  |  +-
> org.hibernate:hibernate-core:jar:4.3.8.Final:compile
> [INFO] |  |     |  |  |  +- antlr:antlr:jar:2.7.7:compile
> [INFO] |  |     |  |  |  \- org.jboss:jandex:jar:1.1.0.Final:compile
> [INFO] |  |     |  |  +-
> org.hibernate.common:hibernate-commons-annotations:jar:4.0.5.Final:compile
> [INFO] |  |     |  |  +-
> org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
> [INFO] |  |     |  |  +-
> org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile
> [INFO] |  |     |  |  \- org.javassist:javassist:jar:3.18.1-GA:compile
> [INFO] |  |     |  +-
> org.hibernate:hibernate-ehcache:jar:4.3.8.Final:compile
> [INFO] |  |     |  |  \- net.sf.ehcache:ehcache-core:jar:2.4.3:compile
> [INFO] |  |     |  \-
> org.hibernate:hibernate-envers:jar:4.3.8.Final:compile
> [INFO] |  |     \- commons-io:commons-io:jar:2.4:compile
> [INFO] |  +-
> org.apache.deltaspike.modules:deltaspike-security-module-api:jar:1.4.2-senat-b:compile
> [INFO] |  +- org.omnifaces:omnifaces:jar:1.10:compile
> [INFO] |  +-
> org.apache.deltaspike.modules:deltaspike-jsf-module-api:jar:1.4.2-senat-b:compile
> [INFO] |  +- fr.senat:sensentinel:jar:1.0.10:compile
> [INFO] |  |  \- primefaces-elite:primefaces:jar:5.2.5:compile
> [INFO] |  +- senat.applications:libphotos:jar:3.26.2:compile
> [INFO] |  |  +- com.sun:ldapbp:jar:1.0:compile
> [INFO] |  |  \- log4j:log4j:jar:1.2.17:compile
> [INFO] |  \-
> org.apache.geronimo.specs:geronimo-interceptor_1.2_spec:jar:1.0:compile
> [INFO] +- org.projectlombok:lombok:jar:1.16.2:provided
> [INFO] +- org.apache.geronimo.specs:geronimo-jcdi_1.1_spec:jar:1.0:provided
> [INFO] +-
> org.apache.geronimo.specs:geronimo-servlet_3.0_spec:jar:1.0:provided
> [INFO] +- org.apache.tomcat:tomcat-catalina:jar:8.0.23:provided
> [INFO] |  +- org.apache.tomcat:tomcat-servlet-api:jar:8.0.23:provided
> [INFO] |  +- org.apache.tomcat:tomcat-jsp-api:jar:8.0.23:provided
> [INFO] |  |  \- org.apache.tomcat:tomcat-el-api:jar:8.0.23:provided
> [INFO] |  +- org.apache.tomcat:tomcat-juli:jar:8.0.23:provided
> [INFO] |  +- org.apache.tomcat:tomcat-annotations-api:jar:8.0.23:provided
> [INFO] |  +- org.apache.tomcat:tomcat-api:jar:8.0.23:provided
> [INFO] |  +- org.apache.tomcat:tomcat-jni:jar:8.0.23:provided
> [INFO] |  +- org.apache.tomcat:tomcat-coyote:jar:8.0.23:provided
> [INFO] |  +- org.apache.tomcat:tomcat-util:jar:8.0.23:provided
> [INFO] |  \- org.apache.tomcat:tomcat-util-scan:jar:8.0.23:provided
> [INFO] +-
> org.apache.deltaspike.modules:deltaspike-jpa-module-api:jar:1.4.2-senat-b:compile
> [INFO] |  \-
> org.apache.deltaspike.core:deltaspike-core-api:jar:1.4.2-senat-b:compile
> [INFO] +-
> org.apache.deltaspike.modules:deltaspike-servlet-module-api:jar:1.4.2-senat-b:runtime
> [INFO] +-
> org.apache.deltaspike.modules:deltaspike-servlet-module-impl:jar:1.4.2-senat-b:runtime
> [INFO] |  \-
> org.apache.deltaspike.core:deltaspike-core-impl:jar:1.4.2-senat-b:runtime
> [INFO] +- org.atmosphere:atmosphere-runtime:jar:2.3.2:compile
> [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.7:compile
> [INFO] +- com.google.collections:google-collections:jar:1.0:compile
> [INFO] +- org.apache.poi:poi:jar:3.12:compile
> [INFO] |  \- commons-codec:commons-codec:jar:1.9:compile
> [INFO] +- org.apache.poi:poi-ooxml:jar:3.10.1:compile
> [INFO] |  +- org.apache.poi:poi-ooxml-schemas:jar:3.10.1:compile
> [INFO] |  \- dom4j:dom4j:jar:1.6.1:compile
> [INFO] |     \- xml-apis:xml-apis:jar:1.0.b2:compile
> [INFO] +- org.apache.poi:ooxml-schemas:jar:1.1:compile
> [INFO] |  \- org.apache.xmlbeans:xmlbeans:jar:2.3.0:compile
> [INFO] |     \- stax:stax-api:jar:1.0.1:compile
> [INFO] +- org.apache.commons:commons-collections4:jar:4.0:compile
> [INFO] \- org.threeten:threeten-extra:jar:0.9:compile
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 0.764 s
> [INFO] Finished at: 2015-07-22T12:59:33+02:00
> [INFO] Final Memory: 16M/300M
> [INFO]
> ------------------------------------------------------------------------
>
>
> 1.4.2-senat-b is the same as 1.4.2-SNAPSHOT (SHA :
> 2cdba8a995f177e67b8ab8b6e3e28cb88550d1f3)
>
>
> Ludovic
>
> |
> | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
> |
>
>

Re: dswh.init is not defined

Posted by "l.penet@senat.fr" <l....@senat.fr>.
On 22/07/2015 12:11, Thomas Andraschko wrote:
> Hi,
>
> thats weird as the @ResourceDependency is actually defined on the
> WindowIdHtmlRenderer.
That's what I saw too.

And, as I use     <ds:windowId/> in my template (just after the manual 
inclusion of the .js files that I added after), I expect those js files 
to be included





> Could you try to move the @ResourceDependency to WindowIdComponent if it
> works fine?
I tried, and it has no effet.

I am using MyFaces 2.2.8.

The webapp is running in a Tomcat 8.0.24 container with Java 8.

Other dependencies below :

[INFO] Scanning for projects...
[INFO]
[INFO] 
------------------------------------------------------------------------
[INFO] Building presences 1.0.35
[INFO] 
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ presences ---
[INFO] fr.senat.presences:presences:war:1.0.35
[INFO] +- fr.senat.presences:presences-utils:jar:1.1.28:compile
[INFO] |  +- 
fr.senat.presences:presences-nonjsf-utils:jar:1.1.22-SNAPSHOT:compile
[INFO] |  |  \- fr.senat.presences:libpresences:jar:1.5.3-SNAPSHOT:compile
[INFO] |  |     +- fr.senat.presences:jsf-stack:pom:1.0.10:compile
[INFO] |  |     |  +- org.apache.commons:commons-lang3:jar:3.1:compile
[INFO] |  |     |  +- 
org.apache.geronimo.specs:geronimo-atinject_1.0_spec:jar:1.0:compile
[INFO] |  |     |  +- 
org.apache.geronimo.specs:geronimo-annotation_1.2_spec:jar:1.0:compile
[INFO] |  |     |  +- 
org.apache.geronimo.specs:geronimo-validation_1.0_spec:jar:1.1:compile
[INFO] |  |     |  +- jstl:jstl:jar:1.2:compile
[INFO] |  |     |  +- org.apache.myfaces.core:myfaces-api:jar:2.2.8:compile
[INFO] |  |     |  +- org.apache.myfaces.core:myfaces-impl:jar:2.2.8:compile
[INFO] |  |     |  |  +- 
commons-collections:commons-collections:jar:3.2:compile
[INFO] |  |     |  |  +- 
commons-beanutils:commons-beanutils:jar:1.8.3:compile
[INFO] |  |     |  |  |  \- 
commons-logging:commons-logging:jar:1.1.1:compile
[INFO] |  |     |  |  \- commons-digester:commons-digester:jar:1.8:compile
[INFO] |  |     |  +- 
org.apache.openwebbeans:openwebbeans-impl:jar:1.5.0:runtime
[INFO] |  |     |  |  +- 
org.apache.xbean:xbean-finder-shaded:jar:4.1:runtime
[INFO] |  |     |  |  \- org.apache.xbean:xbean-asm5-shaded:jar:4.1:runtime
[INFO] |  |     |  +- 
org.apache.openwebbeans:openwebbeans-spi:jar:1.5.0:runtime
[INFO] |  |     |  +- 
org.apache.openwebbeans:openwebbeans-tomcat7:jar:1.5.0:runtime
[INFO] |  |     |  +- 
org.apache.openwebbeans:openwebbeans-jsf:jar:1.5.0:runtime
[INFO] |  |     |  +- 
org.apache.openwebbeans:openwebbeans-web:jar:1.5.0:runtime
[INFO] |  |     |  +- 
org.apache.openwebbeans:openwebbeans-el22:jar:1.5.0:runtime
[INFO] |  |     |  +- 
org.apache.openwebbeans:openwebbeans-resource:jar:1.5.0:runtime
[INFO] |  |     |  +- 
org.apache.deltaspike.modules:deltaspike-bean-validation-module-impl:jar:1.4.2-senat-b:runtime
[INFO] |  |     |  +- 
org.apache.deltaspike.modules:deltaspike-jpa-module-impl:jar:1.4.2-senat-b:runtime
[INFO] |  |     |  +- 
org.apache.deltaspike.modules:deltaspike-jsf-module-impl:jar:1.4.2-senat-b:runtime
[INFO] |  |     |  |  +- 
org.apache.deltaspike.modules:deltaspike-security-module-impl:jar:1.4.2-senat-b:runtime
[INFO] |  |     |  |  +- 
org.apache.deltaspike.modules:deltaspike-proxy-module-api:jar:1.4.2-senat-b:runtime
[INFO] |  |     |  |  \- 
org.apache.deltaspike.modules:deltaspike-proxy-module-impl-asm5:jar:1.4.2-senat-b:runtime
[INFO] |  |     |  +- 
org.apache.deltaspike.modules:deltaspike-scheduler-module-api:jar:1.4.2-senat-b:compile
[INFO] |  |     |  +- org.quartz-scheduler:quartz:jar:2.2.1:compile
[INFO] |  |     |  |  \- c3p0:c3p0:jar:0.9.1.1:compile
[INFO] |  |     |  +- 
org.apache.deltaspike.cdictrl:deltaspike-cdictrl-api:jar:1.4.2-senat-b:compile
[INFO] |  |     |  +- 
org.hibernate:hibernate-entitymanager:jar:4.3.8.Final:compile
[INFO] |  |     |  |  +- 
org.jboss.logging:jboss-logging:jar:3.1.3.GA:compile
[INFO] |  |     |  |  +- 
org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile
[INFO] |  |     |  |  +- 
org.hibernate:hibernate-core:jar:4.3.8.Final:compile
[INFO] |  |     |  |  |  +- antlr:antlr:jar:2.7.7:compile
[INFO] |  |     |  |  |  \- org.jboss:jandex:jar:1.1.0.Final:compile
[INFO] |  |     |  |  +- 
org.hibernate.common:hibernate-commons-annotations:jar:4.0.5.Final:compile
[INFO] |  |     |  |  +- 
org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
[INFO] |  |     |  |  +- 
org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile
[INFO] |  |     |  |  \- org.javassist:javassist:jar:3.18.1-GA:compile
[INFO] |  |     |  +- 
org.hibernate:hibernate-ehcache:jar:4.3.8.Final:compile
[INFO] |  |     |  |  \- net.sf.ehcache:ehcache-core:jar:2.4.3:compile
[INFO] |  |     |  \- org.hibernate:hibernate-envers:jar:4.3.8.Final:compile
[INFO] |  |     \- commons-io:commons-io:jar:2.4:compile
[INFO] |  +- 
org.apache.deltaspike.modules:deltaspike-security-module-api:jar:1.4.2-senat-b:compile
[INFO] |  +- org.omnifaces:omnifaces:jar:1.10:compile
[INFO] |  +- 
org.apache.deltaspike.modules:deltaspike-jsf-module-api:jar:1.4.2-senat-b:compile
[INFO] |  +- fr.senat:sensentinel:jar:1.0.10:compile
[INFO] |  |  \- primefaces-elite:primefaces:jar:5.2.5:compile
[INFO] |  +- senat.applications:libphotos:jar:3.26.2:compile
[INFO] |  |  +- com.sun:ldapbp:jar:1.0:compile
[INFO] |  |  \- log4j:log4j:jar:1.2.17:compile
[INFO] |  \- 
org.apache.geronimo.specs:geronimo-interceptor_1.2_spec:jar:1.0:compile
[INFO] +- org.projectlombok:lombok:jar:1.16.2:provided
[INFO] +- org.apache.geronimo.specs:geronimo-jcdi_1.1_spec:jar:1.0:provided
[INFO] +- 
org.apache.geronimo.specs:geronimo-servlet_3.0_spec:jar:1.0:provided
[INFO] +- org.apache.tomcat:tomcat-catalina:jar:8.0.23:provided
[INFO] |  +- org.apache.tomcat:tomcat-servlet-api:jar:8.0.23:provided
[INFO] |  +- org.apache.tomcat:tomcat-jsp-api:jar:8.0.23:provided
[INFO] |  |  \- org.apache.tomcat:tomcat-el-api:jar:8.0.23:provided
[INFO] |  +- org.apache.tomcat:tomcat-juli:jar:8.0.23:provided
[INFO] |  +- org.apache.tomcat:tomcat-annotations-api:jar:8.0.23:provided
[INFO] |  +- org.apache.tomcat:tomcat-api:jar:8.0.23:provided
[INFO] |  +- org.apache.tomcat:tomcat-jni:jar:8.0.23:provided
[INFO] |  +- org.apache.tomcat:tomcat-coyote:jar:8.0.23:provided
[INFO] |  +- org.apache.tomcat:tomcat-util:jar:8.0.23:provided
[INFO] |  \- org.apache.tomcat:tomcat-util-scan:jar:8.0.23:provided
[INFO] +- 
org.apache.deltaspike.modules:deltaspike-jpa-module-api:jar:1.4.2-senat-b:compile
[INFO] |  \- 
org.apache.deltaspike.core:deltaspike-core-api:jar:1.4.2-senat-b:compile
[INFO] +- 
org.apache.deltaspike.modules:deltaspike-servlet-module-api:jar:1.4.2-senat-b:runtime
[INFO] +- 
org.apache.deltaspike.modules:deltaspike-servlet-module-impl:jar:1.4.2-senat-b:runtime
[INFO] |  \- 
org.apache.deltaspike.core:deltaspike-core-impl:jar:1.4.2-senat-b:runtime
[INFO] +- org.atmosphere:atmosphere-runtime:jar:2.3.2:compile
[INFO] |  \- org.slf4j:slf4j-api:jar:1.7.7:compile
[INFO] +- com.google.collections:google-collections:jar:1.0:compile
[INFO] +- org.apache.poi:poi:jar:3.12:compile
[INFO] |  \- commons-codec:commons-codec:jar:1.9:compile
[INFO] +- org.apache.poi:poi-ooxml:jar:3.10.1:compile
[INFO] |  +- org.apache.poi:poi-ooxml-schemas:jar:3.10.1:compile
[INFO] |  \- dom4j:dom4j:jar:1.6.1:compile
[INFO] |     \- xml-apis:xml-apis:jar:1.0.b2:compile
[INFO] +- org.apache.poi:ooxml-schemas:jar:1.1:compile
[INFO] |  \- org.apache.xmlbeans:xmlbeans:jar:2.3.0:compile
[INFO] |     \- stax:stax-api:jar:1.0.1:compile
[INFO] +- org.apache.commons:commons-collections4:jar:4.0:compile
[INFO] \- org.threeten:threeten-extra:jar:0.9:compile
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 0.764 s
[INFO] Finished at: 2015-07-22T12:59:33+02:00
[INFO] Final Memory: 16M/300M
[INFO] 
------------------------------------------------------------------------


1.4.2-senat-b is the same as 1.4.2-SNAPSHOT (SHA : 
2cdba8a995f177e67b8ab8b6e3e28cb88550d1f3)

Ludovic

|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|


Re: dswh.init is not defined

Posted by Thomas Andraschko <an...@gmail.com>.
Hi,

thats weird as the @ResourceDependency is actually defined on the
WindowIdHtmlRenderer.
Could you try to move the @ResourceDependency to WindowIdComponent if it
works fine?

2015-07-22 12:09 GMT+02:00 l.penet@senat.fr <l....@senat.fr>:

> Dear all,
>
> I have a problem with latest 1.4.2-SNAPSHOT (SHA :
> 2cdba8a995f177e67b8ab8b6e3e28cb88550d1f3 , just pulled sources).
>
> The error was already there with 1d8926572e4a3c5c4bde605b8934809a7474b947
> , I just updated to latest to see if it was corrected prior to bothering
> you.
>
> I have the following JS error :
>     Uncaught ReferenceError: dswh is not defined
>
> triggered by the following snippet
>
>
> <script>(function(){dswh.init('818','LAZY',{'storeWindowTree':'true'});})();</script>
>
> I am using chromium or chrome.
>
> I am using @ViewAccessScoped beans.
>
> If I include jsf.js and windowshandler.js, everything if fine again :
>
>         <h:outputScript name="jsf.js" library="javax.faces" />
>         <h:outputScript name="windowhandler.js" library="deltaspike" />
>
>
> Thanks in advance for your help.
>
> Ludovic
>
> |
> | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
> |
>
>