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

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 retag edit

## 5 Replies

jumperchen
3909 2 8
http://jumperchen.blogspo...

Try this.

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

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

jumperchen
3909 2 8
http://jumperchen.blogspo...

You can use A component inside the listcell.

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

yaryan997
210 2

@jumperchen

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

Best Regards
Yogendra

jumperchen
3909 2 8
http://jumperchen.blogspo...

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

[hide preview]