if (!empty($_SERVER['HTTP_CLIENT_IP']))
$ip=$_SERVER['HTTP_CLIENT_IP'];
else if (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];
else
$ip=$_SERVER['REMOTE_ADDR'];
?>
This blog post is the forth of a series which introduces more new features of ZK 6. To check out main features please click here.
Chosenbox is another new add-on component that comes with ZK6 which acts like a Combobox with the additional ability to select multiple items inside the box. Chosenbox supports ListSubModel, and keystroke to select, move-between and delete selected items.
It features just like the HTML multiple select except with better look and feel and more powerful within ZK’s event driven programming model.
Demo
The video provided below demonstrates how a Chosenbox works.
I use this component on my App. But I have problem: When I change chosenbox value, and do something like re-render page, I can’t focus to this component again.
how can i get label and value as a pair….. now i able to get only label’s value…. i not able to get … specific id list for selectedObjects ??? can any one help me to show how to write a code for that…. thanks
Hi,
Great component!!!
One question: Por qué al entrar a los foros está mostrando http://mainte.zkoss.org/under_maintenance.html ???
Hi,
Great component!!!
One question: Why upon entering the forum is showing http://mainte.zkoss.org/under_maintenance.html??
Great feature! 😀
Hi.
I use this component on my App. But I have problem: When I change chosenbox value, and do something like re-render page, I can’t focus to this component again.
Anyone can help me???
how can i get label and value as a pair….. now i able to get only label’s value…. i not able to get … specific id list for selectedObjects ??? can any one help me to show how to write a code for that…. thanks