0

Listbox listcell with url link to another zul page with parameters having it.

asked 2011-03-18 04:21:41 +0800

yaryan997 gravatar image yaryan997
210 2

HI.. ZK friends

I am developing one application in that I am displaying all my records in LIstbox using LIstItemRenderer. I am able to retrieve all records from my query to my Listbox. listcell's but actually in my problem is that in that there in one listheader with the listcell value of useful codes.

What i want is this that user should be able to click those codes from the listcell and then redirected to their another zul page. with the listcell code value on which he clicked.

Something like HREF IN html that allows to pass parameter to another html page.

help me to solve this problem

Best Regards
Yogendra

delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2011-03-18 05:45:18 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Try this.

<listcell onClick='Exections.sendRedirect("url")'/>

link publish delete flag offensive edit

answered 2011-03-18 06:37:47 +0800

yaryan997 gravatar image yaryan997
210 2

@jumperchen

What i am asking you is that the listcell should show me the code value with underline and when i make a link to that it should open another zul page along with a parameter with it.

Best Regards
Yogendra

link publish delete flag offensive edit

answered 2011-03-18 08:07:19 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

You can use A component inside the listcell.

<listcell><a href="" label="xxx"/></listcell>

link publish delete flag offensive edit

answered 2011-03-18 23:19:25 +0800

yaryan997 gravatar image yaryan997
210 2

@jumperchen

ok.. that's good. But can it be possible with the java class..

Best Regards
Yogendra

link publish delete flag offensive edit

answered 2011-03-19 20:53:22 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Yes, you can, please take a look at the developer's reference.

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: 2011-03-18 04:21:41 +0800

Seen: 989 times

Last updated: Mar 19 '11

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