2

ZK Custom theme for each user - Step by Step tutorial.

asked 2013-04-24 18:14:46 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2611 3 8
http://emrpms.blogspot.in...

updated 2013-06-30 13:07:51 +0800

  1. For step by step tutorial, check here.
  2. To Download the source, click here

  3. For online demo, click here.

    Use the following user id and password to check out different theme for each user

    a) For blue theme, user id : lee and password : lee.

    b) For brown theme, user id : wing and password : wing

    c) for Green theme, user id : dennis and password : dennis

    d) For purple theme, user id : senthil and password : senthil

    e) For red theme, user id : zkoss and password : zkoss

delete flag offensive retag edit

6 Answers

Sort by ยป oldest newest most voted
0

answered 2013-04-24 20:09:38 +0800

victorlegal3 gravatar image victorlegal3
1

very tranks

link publish delete flag offensive edit
0

answered 2013-04-26 13:24:04 +0800

sjoshi gravatar image sjoshi flag of India
3493 1 8
http://zkframeworkhint.bl...

good work man

link publish delete flag offensive edit
0

answered 2013-05-07 07:03:50 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2611 3 8
http://emrpms.blogspot.in...

Thank you all for your comments.

There is no software without any bugs. The following bugs are corrected and Updated the documentation and online demo.

  1. Bug on Message box confirmation on delete. When you try to delete user from the list on clicking delete button, we are asking the confirmation. In this confirmation, on clicking of ok , we should ask for the second final confirmation. But even system asking the second confirmation even when we click cancel for the first confirmation. With the help of this post, i found a good solution without disabling the event thread.

  2. After login, you can see some flickering happens to change the theme for the currently login user. Thanks to benbai, he helped me in this post

The above two bugs are corrected and updated the document here

link publish delete flag offensive edit
0

answered 2013-05-16 03:39:43 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2611 3 8
http://emrpms.blogspot.in...

Next Part 10 added which talks about Masking input stuff using jQuery plugin

link publish delete flag offensive edit
0

answered 2013-06-14 12:05:47 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2611 3 8
http://emrpms.blogspot.in...

Hi to all

Thank you for all your comments. I have added the next part 11 which explains how to bind image in MVVM and and also how to store the image in the database.

Thanks to joshi, who helped me to complete this part.

Here is the documentation

link publish delete flag offensive edit
0

answered 2013-06-30 13:06:36 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2611 3 8
http://emrpms.blogspot.in...

Basically i am not comfortable with ZK Validation either using constraints or new MVVM Form binding validation. So one of my friend recommend to use hibernate valiator. So in the above step by step tutorial, i added the next part 12 which basically validates the user input and show all the validation message in the windows as shown here.

image description

You can see the demo here User Name : wing password : wing

For source code, check here.

link publish delete flag offensive 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-04-24 18:14:46 +0800

Seen: 166 times

Last updated: Jun 30 '13

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