1

Issue with Atlantic Theme

asked 2013-10-25 12:18:17 +0800

georgeotoole gravatar image georgeotoole
13 2

This is my error:

[2013-10-25 12:08:00,484] Artifact T2ClaimsPortal:war exploded: Artifact is deployed successfully
Oct 25, 2013 12:08:03 PM org.zkoss.util.resource.impl.LabelLoader loadLabels:232
INFO: Loading labels for en_GB
Oct 25, 2013 12:08:03 PM org.zkoss.util.resource.impl.LabelLoader loadLabels:232
INFO: Loading labels for en
Oct 25, 2013 12:08:08 PM org.zkoss.web.util.resource.ExtendletLoader load:109
SEVERE: Failed to parse /atlantic/zul/css/norm.css.dsp
>>org.zkoss.zel.ELException: Function 'z:isEditionValid' not found
>>  at org.zkoss.zel.impl.lang.ExpressionBuilder.visit(ExpressionBuilder.java:196)
>>  at org.zkoss.zel.impl.parser.SimpleNode.accept(SimpleNode.java:134)
>>  at     org.zkoss.zel.impl.lang.ExpressionBuilder.prepare(ExpressionBuilder.java:154)
>>  at org.zkoss.zel.impl.lang.ExpressionBuilder.build(ExpressionBuilder.java:172)
>>  at     org.zkoss.zel.impl.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:215)
>>...
Oct 25, 2013 12:08:08 PM org.zkoss.web.util.resource.DspExtendlet service:81
SEVERE: Failed to load the resource: /atlantic/zul/css/norm.css.dsp
Oct 25, 2013 12:08:08 PM org.zkoss.zk.ui.http.WcsExtendlet service:114
SEVERE: Unable to load ~./zul/css/norm.css.dsp
>>java.io.FileNotFoundException: Failed to load the resource:     /atlantic/zul/css/norm.css.dsp
>>  at org.zkoss.web.util.resource.DspExtendlet.service(DspExtendlet.java:83)
>>  at org.zkoss.web.util.resource.ClassWebResource.web0(ClassWebResource.java:584)
>>  at org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:570)
>>  at     org.zkoss.web.util.resource.ClassWebResource.service(ClassWebResource.java:261)
>>  at     org.zkoss.web.util.resource.ClassWebResource$CWC.include(ClassWebResource.java:809)
>>  at org.zkoss.zk.ui.http.WcsExtendlet.service(WcsExtendlet.java:112)
>>...

I have ZK EE 7 in my pom:

<dependency>
    <groupId>org.zkoss.zk</groupId>
    <artifactId>zkmax</artifactId>
    <version>${zk.version}</version>
</dependency>
<!-- Omitted the rest -->

And I have followed this tutorial to enable the Atlantic theme: http[colon]//blog.zkoss.org/index.php/2013/10/22/zk-7-introduces-atlantic-theme-a-new-flat-design/

  • I have the atlantic.jar in my WEB-INF/lib/
  • I have set the library-property in my WEB-INF/zk.xml:

zk.xml:

<library-property>
    <name>org.zkoss.theme.preferred</name>
    <value>atlantic</value>
</library-property>

And yet it cannot parse part of the atlantic theme jar. Is there something missing from the tutorial link or from my webapp?

delete flag offensive retag edit

Comments

Bump !

I have exactly the same problem.

Anyone to help ?

jdutto ( 2013-11-15 08:29:41 +0800 )edit

Hi, what is the zk.version? Function 'z:isEditionValid' in only available since ZK 7.0.0-RC.

vincentjian ( 2013-11-18 07:30:41 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-11-26 09:38:01 +0800

jdutto gravatar image jdutto
1

Hello, I'm using the 7.0.0-RC:

<properties>
    <zk.version>7.0.0-RC</zk.version>
    <maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
    <packname>-${project.version}-FL-${maven.build.timestamp}</packname>
</properties>

I have the same problem when following the community blog post from ZK to create a custom theme.

Julien.

link publish delete flag offensive edit

Comments

My bad. Preview was in use in the project, not the RC.

jdutto ( 2013-11-26 09:49:57 +0800 )edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-10-25 12:18:17 +0800

Seen: 103 times

Last updated: Nov 26 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More