0

12:/basicconcepts/zkthemer/index.dsp

asked 2009-07-03 06:26:48 +0800

anonymous gravatar image anonymous
1

Wow!
Fantastic!

Finally, a long awaited theme customization is available!

Great, fantastic job!

delete flag offensive retag edit

63 Replies

Sort by » oldest newest

answered 2009-07-03 07:01:51 +0800

anonymous gravatar image anonymous
1

Great !!!!!

link publish delete flag offensive edit

answered 2009-07-03 07:03:52 +0800

anonymous gravatar image anonymous
1

Nice job :x

link publish delete flag offensive edit

answered 2009-07-03 09:21:27 +0800

anonymous gravatar image anonymous
1

great !!
do you want to put this jar to zk forge download?

link publish delete flag offensive edit

answered 2009-07-03 11:56:11 +0800

anonymous gravatar image anonymous
1

Yes, I would like to put this jar in ZK forge. Once done, I will change the download link.
Thank you.

link publish delete flag offensive edit

answered 2009-07-03 12:21:03 +0800

anonymous gravatar image anonymous
1

Hola jlcasas,

Antes de nada, gracias por este magnifico aporte.
Llevo poco tiempo utilizando ZK y no tengo mucha experiencia y por eso supongo que no me funciona el cambio de color.
He realizado todos tus pasos tal y como indicas, pero no hay manera. Yo lo estoy ejecutando desde la línia de comandos de Windows Vista, y no se si ese puede ser el problema. De todos modos, me genera correctamente el fichero .jar. Lo añado al classpath (Web-Inf/lib) y pongo el trozo de código que indicas en el zk.xml, pero nada.

Alguna sugerencia?

Muchísimas gracias de antemano.

Un saludo

link publish delete flag offensive edit

answered 2009-07-03 12:45:08 +0800

anonymous gravatar image anonymous
1

Supongo que es un problema de configuración. El jar generado debe tener unos 190K. Comprueba que el zk.xml esté junto al web.xml y que tenga exactamente:
<zk>
<desktop-config>
<theme-provider-class>zkthemer.ThemeProvider</theme-provider-class>
</desktop-config>
</zk>

link publish delete flag offensive edit

answered 2009-07-03 12:54:46 +0800

anonymous gravatar image anonymous
1

Asi es, tiene extamente lo que me indicas.
El jar pesa 198K, ya he probado con varios colores pero nada.

El fichero jar qu me genera lo arrastro directamente a la carpeta WEB-Inf/lib, no se si eso debe influir en algo.


Un saludo y gracias por la rapida contestación.

link publish delete flag offensive edit

answered 2009-07-03 13:04:06 +0800

anonymous gravatar image anonymous
1

Hi José,

I'm able to create theme jar file and I kept theme jar under lib files directory alsoI added following lines into zk.xml

<desktop-config>
<theme-provider-class>zkthemer.ThemeProvider</theme-provider-class>
</desktop-config>

but its not working for me. has any other changes to be done?

-Dhana

link publish delete flag offensive edit

answered 2009-07-03 14:34:50 +0800

anonymous gravatar image anonymous
1

Hi Dhanapalan!
No, that's the only change to be done. I would copy-paste the code for the ThemeProvider class and add some logging to see if the class is being called and it is doing what is should. Notice you have to put in zk.xml the fully qualified name of your new copy-pasted class.

link publish delete flag offensive edit

answered 2009-07-03 17:22:24 +0800

anonymous gravatar image anonymous
1

this is fabolous thing to happen to zk after the release of zk itself. mehn zk rock

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2009-07-03 06:26:48 +0800

Seen: 71 times

Last updated: Feb 25 '11

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