0

ZKoss 3.5 to 5 problem ?

asked 2010-05-31 13:37:33 +0800

vinhvo gravatar image vinhvo
369 3

Rows rows= workQueueGrid.getRows();
		rows.getChildren().clear();
			for(int i=0;i<20;i++) {
				Row r= new Row();
				r.setValue(i);	
				Detail detail=new Detail();
				//detail.setAttribute("sideAttr", site.getId());
				//detail.setOpen(false);
				//detail.addForward(Events.ON_OPEN, self, "onLineDetail");
				r.appendChild(detail);
				Label lb=new Label(i+"");
				lb.setStyle("color:red");
				r.appendChild(lb);
				rows.appendChild(r);
			}
		}

This code used to work in ZK 3.6 . as I updated to ZK5
I had this problem :

 Widget class required for <Detail z_d__m02> with default

Thank you for your help.

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2010-05-31 20:13:19 +0800

samchuang gravatar image samchuang
4084 4

Hi

the detail component is inside zkex.jar, in ZK PE edition, you could download the evaluate version in here

link publish delete flag offensive edit

answered 2010-06-01 02:13:33 +0800

vinhvo gravatar image vinhvo
369 3

Oh, :(.

link publish delete flag offensive edit

answered 2010-06-01 02:22:03 +0800

vinhvo gravatar image vinhvo
369 3

Do we have any alternative to have the same effect like this :
http://www.zkoss.org/zkdemo/userguide/#g16

Cause It was there before, and customer gets used to it. We can not just remove it :(

link publish delete flag offensive edit

answered 2010-06-01 05:24:40 +0800

samchuang gravatar image samchuang
4084 4

Hi,
you will need zkex.jar, the ZK PE version

link publish delete flag offensive edit

answered 2010-06-01 06:39:18 +0800

vinhvo gravatar image vinhvo
369 3

I knew, but it is not free unfortunately. But I believe there should be a work around :(

link publish delete flag offensive edit

answered 2010-06-02 02:09:38 +0800

603424 gravatar image 603424
127 3

try out using the groupbox in place of detail...

Groupbox detail = new Groupbox();
detail.setAttribute("sideAttr", site.getId());
detail.setOpen(false);
detail.addForward(Events.ON_OPEN, self, "onLineDetail");
r.appendChild(detail);


its just a way around, i guess....


Regards,
Niral Soni

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: 2010-05-31 13:37:33 +0800

Seen: 462 times

Last updated: Jun 02 '10

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